Interface ServicePerimeterConfig.MethodSelectorOrBuilder (1.17.0)

public static interface ServicePerimeterConfig.MethodSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKindCase()

public abstract ServicePerimeterConfig.MethodSelector.KindCase getKindCase()
Returns
TypeDescription
ServicePerimeterConfig.MethodSelector.KindCase

getMethod()

public abstract String getMethod()

Value for method should be a valid method name for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]. If * used as value for method, then ALL methods and permissions are allowed.

string method = 1;

Returns
TypeDescription
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

Value for method should be a valid method name for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]. If * used as value for method, then ALL methods and permissions are allowed.

string method = 1;

Returns
TypeDescription
ByteString

The bytes for method.

getPermission()

public abstract String getPermission()

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].

string permission = 2;

Returns
TypeDescription
String

The permission.

getPermissionBytes()

public abstract ByteString getPermissionBytes()

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].

string permission = 2;

Returns
TypeDescription
ByteString

The bytes for permission.

hasMethod()

public abstract boolean hasMethod()

Value for method should be a valid method name for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]. If * used as value for method, then ALL methods and permissions are allowed.

string method = 1;

Returns
TypeDescription
boolean

Whether the method field is set.

hasPermission()

public abstract boolean hasPermission()

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].

string permission = 2;

Returns
TypeDescription
boolean

Whether the permission field is set.