Reference documentation and code samples for the Compute V1 Client class GlobalVmExtensionPolicyInstanceSelector.
Selector to target VMs for a zone VM extension policy.
Generated from protobuf message google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ label_selector |
GlobalVmExtensionPolicyLabelSelector
Optional. Labels within the LabelSelector are OR'd. |
getLabelSelector
Optional. Labels within the LabelSelector are OR'd.
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyLabelSelector|null |
|
hasLabelSelector
clearLabelSelector
setLabelSelector
Optional. Labels within the LabelSelector are OR'd.
| Parameter | |
|---|---|
| Name | Description |
var |
GlobalVmExtensionPolicyLabelSelector
|
| Returns | |
|---|---|
| Type | Description |
$this |
|