Class: Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SplitCapacityCommitmentRequest

Returns a new instance of SplitCapacityCommitmentRequest.



410
411
412
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 410

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

Instance Attribute Details

#slot_countFixnum

Number of slots in the capacity commitment after the split. Corresponds to the JSON property slotCount

Returns:

  • (Fixnum)


408
409
410
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 408

def slot_count
  @slot_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



415
416
417
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 415

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