Access Context Manager V1 Client - Class IngressTo (0.3.5)

Reference documentation and code samples for the Access Context Manager V1 Client class IngressTo.

Defines the conditions under which an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] matches a request. Conditions are based on information about the [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.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

Methods

__construct

Constructor.

Parameters
NameDescription
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 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] [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].

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOperations

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

Parameter
NameDescription
var array<Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\ApiOperation>
Returns
TypeDescription
$this

getResources

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResources

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this