Reference documentation and code samples for the Compute V1 Client class FutureResourcesSpecLocationPolicyLocation.
Preference for a single specified location.
Generated from protobuf message google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ preference |
string
Preference for this location. Check the Preference enum for the list of possible values. |
getPreference
Preference for this location.
Check the Preference enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPreference
clearPreference
setPreference
Preference for this location.
Check the Preference enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|