Interface AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder (0.94.0)

public static interface AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResources(int index)

public abstract String getResources(int index)

Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resources at the given index.

getResourcesBytes(int index)

public abstract ByteString getResourcesBytes(int index)

Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the resources at the given index.

getResourcesCount()

public abstract int getResourcesCount()

Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of resources.

getResourcesList()

public abstract List<String> getResourcesList()

Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.

repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the resources.