Interface ServicePerimeterConfig.MethodSelectorOrBuilder (1.50.0)

public static interface ServicePerimeterConfig.MethodSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKindCase()

public abstract ServicePerimeterConfig.MethodSelector.KindCase getKindCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the permission field is set.