Compute V1 Client - Class ReservationSlotPhysicalTopology (2.7.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ block string

The unique identifier of the capacity block within the cluster.

↳ cluster string

The cluster name of the reservation sub-block.

↳ host string

The unique identifier of the capacity host within the capacity sub-block.

↳ sub_block string

The unique identifier of the capacity sub-block within the capacity block.

getBlock

The unique identifier of the capacity block within the cluster.

Returns
Type Description
string

hasBlock

clearBlock

setBlock

The unique identifier of the capacity block within the cluster.

Parameter
Name Description
var string
Returns
Type Description
$this

getCluster

The cluster name of the reservation sub-block.

Returns
Type Description
string

hasCluster

clearCluster

setCluster

The cluster name of the reservation sub-block.

Parameter
Name Description
var string
Returns
Type Description
$this

getHost

The unique identifier of the capacity host within the capacity sub-block.

Returns
Type Description
string

hasHost

clearHost

setHost

The unique identifier of the capacity host within the capacity sub-block.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubBlock

The unique identifier of the capacity sub-block within the capacity block.

Returns
Type Description
string

hasSubBlock

clearSubBlock

setSubBlock

The unique identifier of the capacity sub-block within the capacity block.

Parameter
Name Description
var string
Returns
Type Description
$this