Access Context Manager V1 Client - Class ApiOperation (0.4.5)

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 \ ServicePerimeterConfig

Methods

__construct

Constructor.

Parameters
NameDescription
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 service_name field set to * will allow all methods AND permissions for all services.

↳ 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 service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\MethodSelector>
Returns
TypeDescription
$this