Reference documentation and code samples for the Compute V1 Client class CapacityAdviceRequestDistributionPolicyZoneConfiguration.
Zone configuration for the distribution policy.
Generated from protobuf message google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ zone |
string
The URL of the zone. It can be a partial or full URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone |
getZone
The URL of the zone. It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
| Returns | |
|---|---|
| Type | Description |
string |
|
hasZone
clearZone
setZone
The URL of the zone. It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|