Class: Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryreservation_v1beta1/classes.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb
Overview
The response for ReservationService.SplitCapacityCommitment.
Instance Attribute Summary collapse
-
#first ⇒ Google::Apis::BigqueryreservationV1beta1::CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs ( in the form of slots) with some committed period of usage.
-
#second ⇒ Google::Apis::BigqueryreservationV1beta1::CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs ( in the form of slots) with some committed period of usage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SplitCapacityCommitmentResponse
constructor
A new instance of SplitCapacityCommitmentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SplitCapacityCommitmentResponse
Returns a new instance of SplitCapacityCommitmentResponse.
480 481 482 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first ⇒ Google::Apis::BigqueryreservationV1beta1::CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (
in the form of slots) with some committed period of usage. Annual commitments
renew by default. Commitments can be removed after their commitment end time
passes. In order to remove annual commitment, its plan needs to be changed to
monthly or flex first. A capacity commitment resource exists as a child
resource of the admin project.
Corresponds to the JSON property first
468 469 470 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 468 def first @first end |
#second ⇒ Google::Apis::BigqueryreservationV1beta1::CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (
in the form of slots) with some committed period of usage. Annual commitments
renew by default. Commitments can be removed after their commitment end time
passes. In order to remove annual commitment, its plan needs to be changed to
monthly or flex first. A capacity commitment resource exists as a child
resource of the admin project.
Corresponds to the JSON property second
478 479 480 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 478 def second @second end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
485 486 487 488 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 485 def update!(**args) @first = args[:first] if args.key?(:first) @second = args[:second] if args.key?(:second) end |