Interface OSPolicy.ResourceGroupOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSPolicy.ResourceGroup,OSPolicy.ResourceGroup.Builder
- Enclosing class:
- OSPolicy
public static interface OSPolicy.ResourceGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetInventoryFilters(int index) List of inventory filters for the resource group.intList of inventory filters for the resource group.List of inventory filters for the resource group.getInventoryFiltersOrBuilder(int index) List of inventory filters for the resource group.List<? extends OSPolicy.InventoryFilterOrBuilder>List of inventory filters for the resource group.Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated.Deprecated.getResources(int index) Required.intRequired.Required.getResourcesOrBuilder(int index) Required.List<? extends OSPolicy.ResourceOrBuilder>Required.booleanDeprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasOsFilter
Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See google/cloud/osconfig/v1alpha/os_policy.proto;l=511Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true];- Returns:
- Whether the osFilter field is set.
-
getOsFilter
Deprecated.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See google/cloud/osconfig/v1alpha/os_policy.proto;l=511Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true];- Returns:
- The osFilter.
-
getOsFilterOrBuilder
Deprecated.Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; -
getInventoryFiltersList
List<OSPolicy.InventoryFilter> getInventoryFiltersList()List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFilters
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersCount
int getInventoryFiltersCount()List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersOrBuilderList
List<? extends OSPolicy.InventoryFilterOrBuilder> getInventoryFiltersOrBuilderList()List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getInventoryFiltersOrBuilder
List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; -
getResourcesList
List<OSPolicy.Resource> getResourcesList()Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResources
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesCount
int getResourcesCount()Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesOrBuilderList
List<? extends OSPolicy.ResourceOrBuilder> getResourcesOrBuilderList()Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getResourcesOrBuilder
Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.
repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED];
-