Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::VmExtensionPolicyInstanceSelector.
Defines how to select VMs to apply a zone VM extension policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#label_selector
def label_selector() -> ::Google::Cloud::Compute::V1::VmExtensionPolicyLabelSelector
Returns
- (::Google::Cloud::Compute::V1::VmExtensionPolicyLabelSelector) — Optional. LabelSelector selects VMs based on their labels.
#label_selector=
def label_selector=(value) -> ::Google::Cloud::Compute::V1::VmExtensionPolicyLabelSelector
Parameter
- value (::Google::Cloud::Compute::V1::VmExtensionPolicyLabelSelector) — Optional. LabelSelector selects VMs based on their labels.
Returns
- (::Google::Cloud::Compute::V1::VmExtensionPolicyLabelSelector) — Optional. LabelSelector selects VMs based on their labels.