public static interface OSPolicy.ResourceGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
OSPolicy.InventoryFilter |
getInventoryFilters(int index)
List of inventory filters for the resource group.
|
int |
getInventoryFiltersCount()
List of inventory filters for the resource group.
|
List<OSPolicy.InventoryFilter> |
getInventoryFiltersList()
List of inventory filters for the resource group.
|
OSPolicy.InventoryFilterOrBuilder |
getInventoryFiltersOrBuilder(int index)
List of inventory filters for the resource group.
|
List<? extends OSPolicy.InventoryFilterOrBuilder> |
getInventoryFiltersOrBuilderList()
List of inventory filters for the resource group.
|
OSPolicy.OSFilter |
getOsFilter()
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See
google/cloud/osconfig/v1alpha/os_policy.proto;l=511
|
OSPolicy.OSFilterOrBuilder |
getOsFilterOrBuilder()
Deprecated.
|
OSPolicy.Resource |
getResources(int index)
Required.
|
int |
getResourcesCount()
Required.
|
List<OSPolicy.Resource> |
getResourcesList()
Required.
|
OSPolicy.ResourceOrBuilder |
getResourcesOrBuilder(int index)
Required.
|
List<? extends OSPolicy.ResourceOrBuilder> |
getResourcesOrBuilderList()
Required.
|
boolean |
hasOsFilter()
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See
google/cloud/osconfig/v1alpha/os_policy.proto;l=511
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof@Deprecated boolean hasOsFilter()
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];
@Deprecated OSPolicy.OSFilter getOsFilter()
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];
@Deprecated OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder()
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];
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;
OSPolicy.InventoryFilter getInventoryFilters(int index)
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;
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;
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;
OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder(int index)
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;
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];
OSPolicy.Resource getResources(int index)
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];
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];
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];
OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index)
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];
Copyright © 2023 Google LLC. All rights reserved.