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

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

Parameter
Name Description
index int
Returns
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];

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

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

Parameter
Name Description
index int
Returns
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];

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

Returns
Type Description
boolean

Whether the osFilter field is set.