Class: Google::Apis::BigqueryreservationV1beta1::ListCapacityCommitmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::ListCapacityCommitmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigqueryreservation_v1beta1/classes.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb
Overview
The response for ReservationService.ListCapacityCommitments.
Instance Attribute Summary collapse
-
#capacity_commitments ⇒ Array<Google::Apis::BigqueryreservationV1beta1::CapacityCommitment>
List of capacity commitments visible to the user.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCapacityCommitmentsResponse
constructor
A new instance of ListCapacityCommitmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListCapacityCommitmentsResponse
Returns a new instance of ListCapacityCommitmentsResponse.
223 224 225 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#capacity_commitments ⇒ Array<Google::Apis::BigqueryreservationV1beta1::CapacityCommitment>
List of capacity commitments visible to the user.
Corresponds to the JSON property capacityCommitments
215 216 217 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 215 def capacity_commitments @capacity_commitments end |
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no
more results in the list.
Corresponds to the JSON property nextPageToken
221 222 223 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 221 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
228 229 230 231 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 228 def update!(**args) @capacity_commitments = args[:capacity_commitments] if args.key?(:capacity_commitments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |