View Source GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentInstanceFilter (google_api_os_config v0.21.1)

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

Attributes

  • all (type: boolean(), default: nil) - Target all VMs in the project. If true, no other criteria is permitted.
  • exclusionLabels (type: list(GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet.t), default: nil) - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
  • inclusionLabels (type: list(GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet.t), default: nil) - List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM.
  • inventories (type: list(GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentInstanceFilterInventory.t), default: nil) - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentInstanceFilter{
  all: boolean() | nil,
  exclusionLabels:
    [GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet.t()] | nil,
  inclusionLabels:
    [GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentLabelSet.t()] | nil,
  inventories:
    [GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentInstanceFilterInventory.t()]
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.