Reference documentation and code samples for the Compute V1 Client class GetReservationBlockRequest.
A request message for ReservationBlocks.Get. See the method description for details.
Generated from protobuf message google.cloud.compute.v1.GetReservationBlockRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Project ID for this request. |
↳ reservation |
string
The name of the reservation. Name should conform to RFC1035 or be a resource ID. |
↳ reservation_block |
string
The name of the reservation block. Name should conform to RFC1035 or be a resource ID. |
↳ zone |
string
Name of the zone for this request. Zone name should conform to RFC1035. |
getProject
Project ID for this request.
Returns | |
---|---|
Type | Description |
string |
setProject
Project ID for this request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReservation
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
Returns | |
---|---|
Type | Description |
string |
setReservation
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReservationBlock
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
Returns | |
---|---|
Type | Description |
string |
setReservationBlock
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getZone
Name of the zone for this request. Zone name should conform to RFC1035.
Returns | |
---|---|
Type | Description |
string |
setZone
Name of the zone for this request. Zone name should conform to RFC1035.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
project |
string
Project ID for this request. |
zone |
string
Name of the zone for this request. Zone name should conform to RFC1035. |
reservation |
string
The name of the reservation. Name should conform to RFC1035 or be a resource ID. |
reservationBlock |
string
The name of the reservation block. Name should conform to RFC1035 or be a resource ID. |
Returns | |
---|---|
Type | Description |
GetReservationBlockRequest |