class Google::Apis::ResellerV1::Subscriptions

JSON template for a subscription list.

Attributes

kind[RW]

Identifies the resource as a collection of subscriptions. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]

subscriptions[RW]

The subscriptions in this page of results. Corresponds to the JSON property `subscriptions` @return [Array<Google::Apis::ResellerV1::Subscription>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/reseller_v1/classes.rb, line 532
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
end