Interface OSPolicyAssignment.InstanceFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OSPolicyAssignment.InstanceFilter, OSPolicyAssignment.InstanceFilter.Builder
Enclosing class:
OSPolicyAssignment

public static interface OSPolicyAssignment.InstanceFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAll

      boolean getAll()
       Target all VMs in the project. If true, no other criteria is
       permitted.
       
      bool all = 1;
      Returns:
      The all.
    • getInclusionLabelsList

      List<OSPolicyAssignment.LabelSet> getInclusionLabelsList()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
    • getInclusionLabels

      OSPolicyAssignment.LabelSet getInclusionLabels(int index)
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
    • getInclusionLabelsCount

      int getInclusionLabelsCount()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
    • getInclusionLabelsOrBuilderList

      List<? extends OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsOrBuilderList()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
    • getInclusionLabelsOrBuilder

      OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder(int index)
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
    • getExclusionLabelsList

      List<OSPolicyAssignment.LabelSet> getExclusionLabelsList()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
    • getExclusionLabels

      OSPolicyAssignment.LabelSet getExclusionLabels(int index)
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
    • getExclusionLabelsCount

      int getExclusionLabelsCount()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
    • getExclusionLabelsOrBuilderList

      List<? extends OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsOrBuilderList()
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
    • getExclusionLabelsOrBuilder

      OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder(int index)
       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.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
    • getInventoriesList

       List of inventories to select VMs.
      
       A VM is selected if its inventory data matches at least one of the
       following inventories.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
    • getInventories

       List of inventories to select VMs.
      
       A VM is selected if its inventory data matches at least one of the
       following inventories.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
    • getInventoriesCount

      int getInventoriesCount()
       List of inventories to select VMs.
      
       A VM is selected if its inventory data matches at least one of the
       following inventories.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
    • getInventoriesOrBuilderList

      List<? extends OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesOrBuilderList()
       List of inventories to select VMs.
      
       A VM is selected if its inventory data matches at least one of the
       following inventories.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
    • getInventoriesOrBuilder

      OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder(int index)
       List of inventories to select VMs.
      
       A VM is selected if its inventory data matches at least one of the
       following inventories.
       
      repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;