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 AppConnections V1 Client class AppConnection.

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

Generated from protobuf message `google.cloud.beyondcorp.appconnections.v1.AppConnection`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ AppConnections \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection. |
| `↳ 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 AppConnection. 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 AppConnection. |
| `↳ application_endpoint` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.ApplicationEndpoint` Required. Address of the remote application endpoint for the BeyondCorp AppConnection. |
| `↳ connectors` | `string[]` Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are authorized to be associated with this AppConnection. |
| `↳ state` | `int` Output only. The current state of the AppConnection. |
| `↳ gateway` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.Gateway` Optional. Gateway used by the AppConnection. |
| `↳ 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 AppConnection.

The name is ignored when creating a AppConnection.

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

### setName

Required. Unique resource name of the AppConnection.

The name is ignored when creating a AppConnection.

| **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 AppConnection. Cannot
exceed 64 characters.

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

### setDisplayName

Optional. An arbitrary user-provided name for the AppConnection. 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 AppConnection.

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

### setType

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

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

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

### getApplicationEndpoint

Required. Address of the remote application endpoint for the BeyondCorp
AppConnection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.ApplicationEndpoint|null` |   |

### hasApplicationEndpoint

### clearApplicationEndpoint

### setApplicationEndpoint

Required. Address of the remote application endpoint for the BeyondCorp
AppConnection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.ApplicationEndpoint` |

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

### getConnectors

Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are
authorized to be associated with this AppConnection.

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

### setConnectors

Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are
authorized to be associated with this AppConnection.

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

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

### getState

Output only. The current state of the AppConnection.

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

### setState

Output only. The current state of the AppConnection.

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

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

### getGateway

Optional. Gateway used by the AppConnection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.Gateway|null` |   |

### hasGateway

### clearGateway

### setGateway

Optional. Gateway used by the AppConnection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.Gateway` |

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