Class: Google::Apis::AppsmarketV2::LicenseNotificationList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LicenseNotificationList

Returns a new instance of LicenseNotificationList.



248
249
250
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 248

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


231
232
233
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 231

def kind
  @kind
end

#next_page_tokenString

The token used to continue querying for notifications after the final notification in the current result set. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


237
238
239
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 237

def next_page_token
  @next_page_token
end

#notificationsArray<Google::Apis::AppsmarketV2::LicenseNotification>

The list of notifications. One or more of: - provisions: A new license of the application has been provisioned. - expiries: A license of the application has expired. - deletions: An application has been deleted from a domain. - reassignments: An administrator has assigned or revoked a seat license for the application on the provided domain. Corresponds to the JSON property notifications



246
247
248
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 246

def notifications
  @notifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



253
254
255
256
257
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 253

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @notifications = args[:notifications] if args.key?(:notifications)
end