Access Context Manager V1 Client - Class MethodSelector (1.0.1)

Reference documentation and code samples for the Access Context Manager V1 Client class MethodSelector.

An allowed method or permission of a service specified in ApiOperation.

Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector

Namespace

Google \ Identity \ AccessContextManager \ V1 \ ServicePerimeterConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ method string

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.

↳ permission string

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

getMethod

Value for method should be a valid method name for the corresponding service_name in ApiOperation.

If * used as value for method, then ALL methods and permissions are allowed.

Returns
Type Description
string

hasMethod

setMethod

Value for method should be a valid method name for the corresponding service_name in ApiOperation.

If * used as value for method, then ALL methods and permissions are allowed.

Parameter
Name Description
var string
Returns
Type Description
$this

getPermission

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in ApiOperation.

Returns
Type Description
string

hasPermission

setPermission

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in ApiOperation.

Parameter
Name Description
var string
Returns
Type Description
$this

getKind

Returns
Type Description
string