Compute V1 Client - Class GetReservationSlotRequest (2.8.0)

Reference documentation and code samples for the Compute V1 Client class GetReservationSlotRequest.

A request message for ReservationSlots.Get. See the method description for details.

Generated from protobuf message google.cloud.compute.v1.GetReservationSlotRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent_name
string

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

↳ project
string

The project ID for this request.

↳ reservation_slot
string

The name of the reservation slot, formatted as RFC1035 or a resource ID number.

↳ zone
string

The name of the zone for this request, formatted as RFC1035.

getParentName

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

Returns
Type
Description
string

setParentName

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getProject

The project ID for this request.

Returns
Type
Description
string

setProject

The project ID for this request.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getReservationSlot

The name of the reservation slot, formatted as RFC1035 or a resource ID number.

Returns
Type
Description
string

setReservationSlot

The name of the reservation slot, formatted as RFC1035 or a resource ID number.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getZone

The name of the zone for this request, formatted as RFC1035.

Returns
Type
Description
string

setZone

The name of the zone for this request, formatted as RFC1035.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameters
Name
Description
project
string

The project ID for this request.

zone
string

The name of the zone for this request, formatted as RFC1035.

parentName
string

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

reservationSlot
string

The name of the reservation slot, formatted as RFC1035 or a resource ID number.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: