Google BigQuery Reservation V1 Client - Class GetReservationRequest (1.2.3)

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\GetReservationRequest