Compute V1 Client - Class GetReservationBlockRequest (1.33.0)

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 \ V1

Methods

__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.

↳ view
string

View of the Block. Check the View enum for the list of possible values.

↳ 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

getView

View of the Block.

Check the View enum for the list of possible values.

Returns
Type
Description
string

hasView

clearView

setView

View of the Block.

Check the View enum for the list of possible values.

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: