Compute V1 Client - Class ResourceStatusScheduling (1.33.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ availability_domain int

Specifies the availability ___domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.

getAvailabilityDomain

Specifies the availability ___domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.

Returns
Type Description
int

hasAvailabilityDomain

clearAvailabilityDomain

setAvailabilityDomain

Specifies the availability ___domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.

Parameter
Name Description
var int
Returns
Type Description
$this