Class: Google::Apis::AppsmarketV2::LicenseNotificationList
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::LicenseNotificationList
- 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
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#next_page_token ⇒ String
The token used to continue querying for notifications after the final notification in the current result set.
-
#notifications ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification>
The list of notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseNotificationList
constructor
A new instance of LicenseNotificationList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LicenseNotificationList
Returns a new instance of LicenseNotificationList.
248 249 250 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 248 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
231 232 233 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 231 def kind @kind end |
#next_page_token ⇒ String
The token used to continue querying for notifications after the final
notification in the current result set.
Corresponds to the JSON property nextPageToken
237 238 239 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 237 def next_page_token @next_page_token end |
#notifications ⇒ Array<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 'lib/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 'lib/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 |