Access Context Manager V1 Client - Class MethodSelector (0.3.5)

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] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].

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

Methods

__construct

Constructor.

Parameters
NameDescription
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] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].

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

Returns
TypeDescription
string

hasMethod

setMethod

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPermission

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

Returns
TypeDescription
string

hasPermission

setPermission

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKind

Returns
TypeDescription
string