Reference documentation and code samples for the Access Context Manager V1 Client class IngressTo.
Defines the conditions under which an IngressPolicy
matches a request. Conditions are based on information about the
ApiOperation
intended to be performed on the target resource of the request. The request
must satisfy what is defined in operations
AND resources
in order to
match.
Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo
Namespace
Google \ Identity \ AccessContextManager \ V1 \ ServicePerimeterConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ operations |
array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\ApiOperation>
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in corresponding [IngressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom] in this [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. |
↳ resources |
array
A list of resources, currently only projects in the form |
getOperations
A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setOperations
A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\ApiOperation>
|
Returns | |
---|---|
Type | Description |
$this |
getResources
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this ServicePerimeter that are
allowed to be accessed by sources defined in the corresponding
IngressFrom.
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setResources
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this ServicePerimeter that are
allowed to be accessed by sources defined in the corresponding
IngressFrom.
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |