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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name e.g.,: |
↳ 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.,:
|
slotCount |
int
Number of slots in the capacity commitment after the split. |
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\Reservation\V1\SplitCapacityCommitmentRequest |