Google BigQuery Reservation V1 Client - Class SplitCapacityCommitmentRequest (1.1.2)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class SplitCapacityCommitmentRequest.

The request for ReservationService.SplitCapacityCommitment.

Generated from protobuf message google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123

↳ slot_count int|string

Number of slots in the capacity commitment after the split.

getName

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123

Returns
TypeDescription
string

setName

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSlotCount

Number of slots in the capacity commitment after the split.

Returns
TypeDescription
int|string

setSlotCount

Number of slots in the capacity commitment after the split.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this