public static interface OSPolicy.ResourceGroupOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getOsFilter()
public abstract OSPolicy.OSFilter getOsFilter()
Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1;
Type | Description |
OSPolicy.OSFilter | The osFilter. |
getOsFilterOrBuilder()
public abstract OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder()
Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1;
Type | Description |
OSPolicy.OSFilterOrBuilder |
getResources(int index)
public abstract 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];
Name | Description |
index | int |
Type | Description |
OSPolicy.Resource |
getResourcesCount()
public abstract 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];
Type | Description |
int |
getResourcesList()
public abstract 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];
Type | Description |
List<Resource> |
getResourcesOrBuilder(int index)
public abstract 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];
Name | Description |
index | int |
Type | Description |
OSPolicy.ResourceOrBuilder |
getResourcesOrBuilderList()
public abstract 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];
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> |
hasOsFilter()
public abstract boolean hasOsFilter()
Used to specify the OS filter for a resource group
.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1;
Type | Description |
boolean | Whether the osFilter field is set. |