Class: Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest

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

Overview

The request for ReservationService.SplitCapacityCommitment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SplitCapacityCommitmentRequest

Returns a new instance of SplitCapacityCommitmentRequest.



585
586
587
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 585

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)


583
584
585
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 583

def slot_count
  @slot_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



590
591
592
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 590

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