Compute V1 Client - Class LocationPolicyZoneConfiguration (2.7.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ zone string

The URL of the zone. The zone must exist in the region where the request is called. Zones must be represented as valid partial URLs, such as zones/us-central1-a.

getZone

The URL of the zone.

The zone must exist in the region where the request is called. Zones must be represented as valid partial URLs, such as zones/us-central1-a.

Returns
Type Description
string

hasZone

clearZone

setZone

The URL of the zone.

The zone must exist in the region where the request is called. Zones must be represented as valid partial URLs, such as zones/us-central1-a.

Parameter
Name Description
var string
Returns
Type Description
$this