class Google::Apis::AppsmarketV2::LicenseNotification

Attributes

application_id[RW]

The ID of the application according to this notification. Corresponds to the JSON property `applicationId` @return [String]

customer_id[RW]

The domain name of the customer corresponding to this notification. Corresponds to the JSON property `customerId` @return [String]

deletes[RW]

The list of deletion notifications. Corresponds to the JSON property `deletes` @return [Array<Google::Apis::AppsmarketV2::Deletes>]

expiries[RW]

The list of expiry notifications. Corresponds to the JSON property `expiries` @return [Array<Google::Apis::AppsmarketV2::Expiries>]

id[RW]

The ID of the license notification. Corresponds to the JSON property `id` @return [String]

kind[RW]

The type of API resource. This is always appsmarket#licenseNotification. Corresponds to the JSON property `kind` @return [String]

provisions[RW]

The list of provisioning notifications. Corresponds to the JSON property `provisions` @return [Array<Google::Apis::AppsmarketV2::Provisions>]

reassignments[RW]

The list of reassignment notifications. Corresponds to the JSON property `reassignments` @return [Array<Google::Apis::AppsmarketV2::Reassignments>]

timestamp[RW]

The time the event occurred, measuring in milliseconds since the UNIX epoch. Corresponds to the JSON property `timestamp` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appsmarket_v2/classes.rb, line 206
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appsmarket_v2/classes.rb, line 211
def update!(**args)
  @application_id = args[:application_id] if args.key?(:application_id)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @deletes = args[:deletes] if args.key?(:deletes)
  @expiries = args[:expiries] if args.key?(:expiries)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @provisions = args[:provisions] if args.key?(:provisions)
  @reassignments = args[:reassignments] if args.key?(:reassignments)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
end