Class: Google::Apis::CloudcommerceprocurementV1::ListEntitlementsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudcommerceprocurementV1::ListEntitlementsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcommerceprocurement_v1/classes.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb
Overview
Response message for PartnerProcurementService.ListEntitlements.
Instance Attribute Summary collapse
-
#entitlements ⇒ Array<Google::Apis::CloudcommerceprocurementV1::Entitlement>
The list of entitlements in this response.
-
#next_page_token ⇒ String
The token for fetching the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListEntitlementsResponse
constructor
A new instance of ListEntitlementsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListEntitlementsResponse
Returns a new instance of ListEntitlementsResponse.
429 430 431 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlements ⇒ Array<Google::Apis::CloudcommerceprocurementV1::Entitlement>
The list of entitlements in this response.
Corresponds to the JSON property entitlements
422 423 424 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 422 def entitlements @entitlements end |
#next_page_token ⇒ String
The token for fetching the next page.
Corresponds to the JSON property nextPageToken
427 428 429 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 427 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
434 435 436 437 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 434 def update!(**args) @entitlements = args[:entitlements] if args.key?(:entitlements) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |