View Source GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet (google_api_os_config v0.20.0)

Message representing label set. A label is a key value pair set for a VM. A LabelSet is a set of labels. Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.

Attributes

  • labels (type: map(), default: nil) - Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet{
  labels: map() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.