Class: Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigqueryreservation_v1/classes.rb,
generated/google/apis/bigqueryreservation_v1/representations.rb,
generated/google/apis/bigqueryreservation_v1/representations.rb

Overview

The request for ReservationService.MergeCapacityCommitments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MergeCapacityCommitmentsRequest

Returns a new instance of MergeCapacityCommitmentsRequest.



324
325
326
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 324

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

Instance Attribute Details

#capacity_commitment_idsArray<String>

Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. Corresponds to the JSON property capacityCommitmentIds

Returns:

  • (Array<String>)


322
323
324
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 322

def capacity_commitment_ids
  @capacity_commitment_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



329
330
331
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 329

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