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 | |
|---|---|
| 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]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.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]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.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]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
| Returns | |
|---|---|
| Type | Description |
string |
|