Interface ServicePerimeterConfig.ApiOperationOrBuilder (1.16.0)

public static interface ServicePerimeterConfig.ApiOperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMethodSelectors(int index)

public abstract ServicePerimeterConfig.MethodSelector getMethodSelectors(int index)

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterConfig.MethodSelector

getMethodSelectorsCount()

public abstract int getMethodSelectorsCount()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
TypeDescription
int

getMethodSelectorsList()

public abstract List<ServicePerimeterConfig.MethodSelector> getMethodSelectorsList()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
TypeDescription
List<MethodSelector>

getMethodSelectorsOrBuilder(int index)

public abstract ServicePerimeterConfig.MethodSelectorOrBuilder getMethodSelectorsOrBuilder(int index)

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterConfig.MethodSelectorOrBuilder

getMethodSelectorsOrBuilderList()

public abstract List<? extends ServicePerimeterConfig.MethodSelectorOrBuilder> getMethodSelectorsOrBuilderList()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelectorOrBuilder>

getServiceName()

public abstract String getServiceName()

The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.

string service_name = 1;

Returns
TypeDescription
String

The serviceName.

getServiceNameBytes()

public abstract ByteString getServiceNameBytes()

The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.

string service_name = 1;

Returns
TypeDescription
ByteString

The bytes for serviceName.