Interface DisksAddResourcePoliciesRequestOrBuilder (1.32.0)

public interface DisksAddResourcePoliciesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourcePolicies(int index)

public abstract String getResourcePolicies(int index)

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

repeated string resource_policies = 22220385;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourcePolicies at the given index.

getResourcePoliciesBytes(int index)

public abstract ByteString getResourcePoliciesBytes(int index)

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

repeated string resource_policies = 22220385;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourcePolicies at the given index.

getResourcePoliciesCount()

public abstract int getResourcePoliciesCount()

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

repeated string resource_policies = 22220385;

Returns
TypeDescription
int

The count of resourcePolicies.

getResourcePoliciesList()

public abstract List<String> getResourcePoliciesList()

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

repeated string resource_policies = 22220385;

Returns
TypeDescription
List<String>

A list containing the resourcePolicies.