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 \ ServicePerimeterConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ method |
string
Value for |
↳ permission |
string
Value for |
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 |