Interface ListPoliciesResponseOrBuilder (1.23.0)

public interface ListPoliciesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getPolicies(int index)

public abstract Policy getPolicies(int index)

Metadata for the policies that are attached to the resource.

repeated .google.iam.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Policy

getPoliciesCount()

public abstract int getPoliciesCount()

Metadata for the policies that are attached to the resource.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
int

getPoliciesList()

public abstract List<Policy> getPoliciesList()

Metadata for the policies that are attached to the resource.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
List<Policy>

getPoliciesOrBuilder(int index)

public abstract PolicyOrBuilder getPoliciesOrBuilder(int index)

Metadata for the policies that are attached to the resource.

repeated .google.iam.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PolicyOrBuilder

getPoliciesOrBuilderList()

public abstract List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()

Metadata for the policies that are attached to the resource.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
List<? extends com.google.iam.v2.PolicyOrBuilder>