Access Context Manager V1 Client - Class ApiOperation (0.4.5)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Access Context Manager V1 Client class ApiOperation.
Identification for an API Operation.
Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation
Namespace
Google \ Identity \ AccessContextManager \ V1 \ ServicePerimeterConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_name |
string
The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with |
↳ method_selectors |
array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\MethodSelector>
API methods or permissions to allow. Method or permission must belong to the service specified by |
getServiceName
The name of the API whose methods or permissions the IngressPolicy
or EgressPolicy
want to allow. A single ApiOperation
with service_name field set to * will allow all methods AND
permissions for all services.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServiceName
The name of the API whose methods or permissions the IngressPolicy
or EgressPolicy
want to allow. A single ApiOperation
with service_name field set to * will allow all methods AND
permissions for all services.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMethodSelectors
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name field. A single MethodSelector
entry with * specified for the method field will allow all methods
AND permissions for the service specified in service_name.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setMethodSelectors
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name field. A single MethodSelector
entry with * specified for the method field will allow all methods
AND permissions for the service specified in service_name.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\MethodSelector>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|