1.3.0 (latest) 1.2.4 1.1.3 1.0.4 0.5.5 0.4.5 0.3.5 Reference documentation and code samples for the Access Context Manager V1 Client class IngressTo.

Defines the conditions under which an [IngressPolicy](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.IngressPolicy)
matches a request. Conditions are based on information about the
[ApiOperation](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/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`

## Namespace

Google \\ Identity \\ AccessContextManager \\ V1 \\ ServicePerimeterConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operations` | `array<https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/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` | `string[]` 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](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.ApiOperation)
allowed to be performed by the sources specified in corresponding
[IngressFrom](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.IngressFrom)
in this [ServicePerimeter](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeter).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.ApiOperation>` |   |

### setOperations

A list of [ApiOperations](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.ApiOperation)
allowed to be performed by the sources specified in corresponding
[IngressFrom](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.IngressFrom)
in this [ServicePerimeter](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeter).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.ApiOperation>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getResources

A list of resources, currently only projects in the form
`projects/<projectnumber>`, protected by this [ServicePerimeter](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeter) that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.IngressFrom).

If a single `*` is specified, then access to all resources inside the
perimeter are allowed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setResources

A list of resources, currently only projects in the form
`projects/<projectnumber>`, protected by this [ServicePerimeter](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeter) that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom](https://docs.cloud.google.com/php/docs/reference/access-context-manager/latest/V1.ServicePerimeterConfig.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` |   |