Google BigQuery Reservation V1 Client - Class GetCapacityCommitmentRequest (2.1.1)

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

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name of the capacity commitment to retrieve. E.g., projects/myproject/locations/US/capacityCommitments/123 Please see ReservationServiceClient::capacityCommitmentName() for help formatting this field.

Returns
Type Description
GetCapacityCommitmentRequest