Interface OSPolicy.ResourceGroupOrBuilder (2.3.2)

public static interface OSPolicy.ResourceGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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];

Parameter
NameDescription
indexint
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Parameter
NameDescription
indexint
Returns
TypeDescription
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];

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the osFilter field is set.