Class: Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentRequest
- 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 request for ReservationService.SplitCapacityCommitment.
Instance Attribute Summary collapse
-
#slot_count ⇒ Fixnum
Number of slots in the capacity commitment after the split.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SplitCapacityCommitmentRequest
constructor
A new instance of SplitCapacityCommitmentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SplitCapacityCommitmentRequest
Returns a new instance of SplitCapacityCommitmentRequest.
389 390 391 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#slot_count ⇒ Fixnum
Number of slots in the capacity commitment after the split.
Corresponds to the JSON property slotCount
387 388 389 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 387 def slot_count @slot_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
394 395 396 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 394 def update!(**args) @slot_count = args[:slot_count] if args.key?(:slot_count) end |