Reference documentation and code samples for the Google BigQuery Reservation V1 Client class CreateReservationRequest.
The request for ReservationService.CreateReservation.
Generated from protobuf message google.cloud.bigquery.reservation.v1.CreateReservationRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Project, location. E.g., |
↳ reservation_id |
string
The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. |
↳ reservation |
Google\Cloud\BigQuery\Reservation\V1\Reservation
Definition of the new reservation to create. |
getParent
Required. Project, location. E.g.,
projects/myproject/locations/US
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Project, location. E.g.,
projects/myproject/locations/US
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReservationId
The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
Returns | |
---|---|
Type | Description |
string |
setReservationId
The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReservation
Definition of the new reservation to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\Reservation\V1\Reservation|null |
hasReservation
clearReservation
setReservation
Definition of the new reservation to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\Reservation\V1\Reservation
|
Returns | |
---|---|
Type | Description |
$this |