1.3.0 (latest) 1.2.3 1.1.4 1.0.5 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp AppGateways V1 Client class AppGateway.

A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway
to a remote application. It creates all the necessary GCP components needed
for creating a BeyondCorp protected AppGateway. Multiple connectors can be
authorised for a single AppGateway.

Generated from protobuf message `google.cloud.beyondcorp.appgateways.v1.AppGateway`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ AppGateways \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. Timestamp when the resource was created. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. Timestamp when the resource was last modified. |
| `↳ labels` | `array|Google\Protobuf\Internal\MapField` Optional. Resource labels to represent user provided metadata. |
| `↳ display_name` | `string` Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters. |
| `↳ uid` | `string` Output only. A unique identifier for the instance generated by the system. |
| `↳ type` | `int` Required. The type of network connectivity used by the AppGateway. |
| `↳ state` | `int` Output only. The current state of the AppGateway. |
| `↳ uri` | `string` Output only. Server-defined URI for this resource. |
| `↳ allocated_connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.AllocatedConnection>` Output only. A list of connections allocated for the Gateway |
| `↳ host_type` | `int` Required. The type of hosting used by the AppGateway. |
| `↳ satisfies_pzs` | `bool` Output only. Reserved for future use. |
| `↳ satisfies_pzi` | `bool` Output only. Reserved for future use. |

### getName

Required. Unique resource name of the AppGateway.

The name is ignored when creating an AppGateway.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Unique resource name of the AppGateway.

The name is ignored when creating an AppGateway.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getCreateTime

Output only. Timestamp when the resource was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Timestamp when the resource was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getUpdateTime

Output only. Timestamp when the resource was last modified.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Timestamp when the resource was last modified.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getLabels

Optional. Resource labels to represent user provided metadata.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setLabels

Optional. Resource labels to represent user provided metadata.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getDisplayName

Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed
64 characters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed
64 characters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getUid

Output only. A unique identifier for the instance generated by the
system.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUid

Output only. A unique identifier for the instance generated by the
system.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getType

Required. The type of network connectivity used by the AppGateway.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.Type). |

### setType

Required. The type of network connectivity used by the AppGateway.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.Type). |

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

### getState

Output only. The current state of the AppGateway.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.State). |

### setState

Output only. The current state of the AppGateway.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.State). |

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

### getUri

Output only. Server-defined URI for this resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUri

Output only. Server-defined URI for this resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getAllocatedConnections

Output only. A list of connections allocated for the Gateway

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.AllocatedConnection>` |   |

### setAllocatedConnections

Output only. A list of connections allocated for the Gateway

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.AllocatedConnection>` |

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

### getHostType

Required. The type of hosting used by the AppGateway.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [HostType](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.HostType). |

### setHostType

Required. The type of hosting used by the AppGateway.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [HostType](https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appgateways/latest/V1.AppGateway.HostType). |

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

### getSatisfiesPzs

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzs

### clearSatisfiesPzs

### setSatisfiesPzs

Output only. Reserved for future use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getSatisfiesPzi

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzi

### clearSatisfiesPzi

### setSatisfiesPzi

Output only. Reserved for future use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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