Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListEntitlementsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListEntitlementsResponse
- 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
-
#entitlements ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Entitlement>
The reseller customer's entitlements.
-
#next_page_token ⇒ String
A token to list the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ListEntitlementsResponse
constructor
A new instance of GoogleCloudChannelV1ListEntitlementsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ListEntitlementsResponse
Returns a new instance of GoogleCloudChannelV1ListEntitlementsResponse.
1360 1361 1362 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlements ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Entitlement>
The reseller customer's entitlements.
Corresponds to the JSON property entitlements
1352 1353 1354 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1352 def entitlements @entitlements end |
#next_page_token ⇒ String
A token to list the next page of results. Pass to ListEntitlementsRequest.
page_token to obtain that page.
Corresponds to the JSON property nextPageToken
1358 1359 1360 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1358 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1365 1366 1367 1368 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1365 def update!(**args) @entitlements = args[:entitlements] if args.key?(:entitlements) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |