class Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentResponse

The response for ReservationService.SplitCapacityCommitment.

Attributes

first[RW]

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` @return [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment]

second[RW]

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` @return [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigqueryreservation_v1beta1/classes.rb, line 435
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigqueryreservation_v1beta1/classes.rb, line 440
def update!(**args)
  @first = args[:first] if args.key?(:first)
  @second = args[:second] if args.key?(:second)
end