Class: Google::Apis::AppsmarketV2::LicenseNotification

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/appsmarket_v2/classes.rb,
lib/google/apis/appsmarket_v2/representations.rb,
lib/google/apis/appsmarket_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LicenseNotification

Returns a new instance of LicenseNotification.



206
207
208
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 206

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#application_idString

The ID of the application according to this notification. Corresponds to the JSON property applicationId

Returns:

  • (String)


164
165
166
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 164

def application_id
  @application_id
end

#customer_idString

The domain name of the customer corresponding to this notification. Corresponds to the JSON property customerId

Returns:

  • (String)


169
170
171
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 169

def customer_id
  @customer_id
end

#deletesArray<Google::Apis::AppsmarketV2::Deletes>

The list of deletion notifications. Corresponds to the JSON property deletes



174
175
176
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 174

def deletes
  @deletes
end

#expiriesArray<Google::Apis::AppsmarketV2::Expiries>

The list of expiry notifications. Corresponds to the JSON property expiries



179
180
181
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 179

def expiries
  @expiries
end

#idString

The ID of the license notification. Corresponds to the JSON property id

Returns:

  • (String)


184
185
186
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 184

def id
  @id
end

#kindString

The type of API resource. This is always appsmarket#licenseNotification. Corresponds to the JSON property kind

Returns:

  • (String)


189
190
191
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 189

def kind
  @kind
end

#provisionsArray<Google::Apis::AppsmarketV2::Provisions>

The list of provisioning notifications. Corresponds to the JSON property provisions



194
195
196
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 194

def provisions
  @provisions
end

#reassignmentsArray<Google::Apis::AppsmarketV2::Reassignments>

The list of reassignment notifications. Corresponds to the JSON property reassignments



199
200
201
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 199

def reassignments
  @reassignments
end

#timestampFixnum

The time the event occurred, measuring in milliseconds since the UNIX epoch. Corresponds to the JSON property timestamp

Returns:

  • (Fixnum)


204
205
206
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 204

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



211
212
213
214
215
216
217
218
219
220
221
# 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