Google BigQuery Reservation V1 Client - Class GetCapacityCommitmentRequest (1.2.3)

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

The request for ReservationService.GetCapacityCommitment.

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

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 retrieve. E.g., projects/myproject/locations/US/capacityCommitments/123

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name of the capacity commitment to retrieve. 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\GetCapacityCommitmentRequest