Access Context Manager V1 Client - Class IngressTo (1.0.2)

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operations array<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 projects/<projectnumber>, protected by this [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] that are allowed to be accessed by sources defined in the corresponding [IngressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]. If a single * is specified, then access to all resources inside the perimeter are allowed.

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