Google BigQuery Reservation V1 Client - Class SplitCapacityCommitmentRequest (1.2.3)

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

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

static::build

Parameters
NameDescription
name string

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123 Please see Google\Cloud\BigQuery\Reservation\V1\ReservationServiceClient::capacityCommitmentName() for help formatting this field.

slotCount int

Number of slots in the capacity commitment after the split.

Returns
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\SplitCapacityCommitmentRequest