Google BigQuery Reservation V1 Client - Class DeleteCapacityCommitmentRequest (1.2.3)

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

The request for ReservationService.DeleteCapacityCommitment.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the capacity commitment to delete. E.g., projects/myproject/locations/US/capacityCommitments/123

↳ force bool

Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.

getName

Required. Resource name of the capacity commitment to delete. E.g., projects/myproject/locations/US/capacityCommitments/123

Returns
TypeDescription
string

setName

Required. Resource name of the capacity commitment to delete. E.g., projects/myproject/locations/US/capacityCommitments/123

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForce

Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.

Returns
TypeDescription
bool

setForce

Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name of the capacity commitment to delete. E.g., projects/myproject/locations/US/capacityCommitments/123 Please see Google\Cloud\BigQuery\Reservation\V1\ReservationServiceClient::capacityCommitmentName() for help formatting this field.

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