Google BigQuery Reservation V1 Client - Class SplitCapacityCommitmentRequest (2.0.1)

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSlotCount

Number of slots in the capacity commitment after the split.

Returns
Type Description
int|string

setSlotCount

Number of slots in the capacity commitment after the split.

Parameter
Name Description
var int|string
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\BigQuery\Reservation\V1\SplitCapacityCommitmentRequest