Google BigQuery Reservation V1 Client - Class GetReservationRequest (2.0.1)

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

The request for ReservationService.GetReservation.

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

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 reservation to retrieve. E.g., projects/myproject/locations/US/reservations/team1-prod

getName

Required. Resource name of the reservation to retrieve. E.g., projects/myproject/locations/US/reservations/team1-prod

Returns
Type Description
string

setName

Required. Resource name of the reservation to retrieve. E.g., projects/myproject/locations/US/reservations/team1-prod

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name of the reservation to retrieve. E.g., projects/myproject/locations/US/reservations/team1-prod Please see Google\Cloud\BigQuery\Reservation\V1\ReservationServiceClient::reservationName() for help formatting this field.

Returns
Type Description
Google\Cloud\BigQuery\Reservation\V1\GetReservationRequest