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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LicenseNotificationList

Returns a new instance of LicenseNotificationList



315
316
317
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 315

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


297
298
299
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 297

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)


303
304
305
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 303

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


313
314
315
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 313

def notifications
  @notifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
323
324
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 320

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