Compute V1 Client - Class GlobalVmExtensionPolicyLabelSelector (2.10.0)

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

A LabelSelector is applicable for a VM only if it matches all labels in the LabelSelector.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inclusion_labels array|Google\Protobuf\Internal\MapField

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

getInclusionLabels

Optional. Labels as key value pairs.

A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

Returns
Type Description
Google\Protobuf\Internal\MapField

setInclusionLabels

Optional. Labels as key value pairs.

A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this