Class: Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryreservation_v1/classes.rb,
lib/google/apis/bigqueryreservation_v1/representations.rb,
lib/google/apis/bigqueryreservation_v1/representations.rb
Overview
The request for ReservationService.MergeCapacityCommitments.
Instance Attribute Summary collapse
-
#capacity_commitment_ids ⇒ Array<String>
Ids of capacity commitments to merge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MergeCapacityCommitmentsRequest
constructor
A new instance of MergeCapacityCommitmentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MergeCapacityCommitmentsRequest
Returns a new instance of MergeCapacityCommitmentsRequest.
359 360 361 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#capacity_commitment_ids ⇒ Array<String>
Ids of capacity commitments to merge. These capacity commitments must exist
under admin project and location specified in the parent. ID is the last
portion of capacity commitment name e.g., 'abc' for projects/myproject/
locations/US/capacityCommitments/abc
Corresponds to the JSON property capacityCommitmentIds
357 358 359 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 357 def capacity_commitment_ids @capacity_commitment_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
364 365 366 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 364 def update!(**args) @capacity_commitment_ids = args[:capacity_commitment_ids] if args.key?(:capacity_commitment_ids) end |