Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListEntitlementsResponse

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

Overview

Response message for CloudChannelService.ListEntitlements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ListEntitlementsResponse

Returns a new instance of GoogleCloudChannelV1ListEntitlementsResponse.



1636
1637
1638
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1636

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

Instance Attribute Details

#entitlementsArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Entitlement>

The reseller customer's entitlements. Corresponds to the JSON property entitlements



1628
1629
1630
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1628

def entitlements
  @entitlements
end

#next_page_tokenString

A token to list the next page of results. Pass to ListEntitlementsRequest. page_token to obtain that page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1634
1635
1636
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1634

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1641
1642
1643
1644
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1641

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