# BeyondCorp AppConnections V1 API - Class Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection (v0.13.0)

0.13.0 (latest) 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.1 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the BeyondCorp AppConnections V1 API class Google::Cloud::BeyondCorp::AppConnections::V1::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 authorised for a single AppConnection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #application_endpoint

    def application_endpoint() -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::ApplicationEndpoint

**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::ApplicationEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-ApplicationEndpoint)) --- Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

### #application_endpoint=

    def application_endpoint=(value) -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::ApplicationEndpoint

**Parameter**

- **value** ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::ApplicationEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-ApplicationEndpoint)) --- Required. Address of the remote application endpoint for the BeyondCorp AppConnection.
**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::ApplicationEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-ApplicationEndpoint)) --- Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

### #connectors

    def connectors() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are authorised to be associated with this AppConnection.

### #connectors=

    def connectors=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are authorised to be associated with this AppConnection.
**Returns**

- (::Array\<::String\>) --- Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are authorised to be associated with this AppConnection.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when the resource was created.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.
**Returns**

- (::String) --- Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

### #gateway

    def gateway() -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway

**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Gateway)) --- Optional. Gateway used by the AppConnection.

### #gateway=

    def gateway=(value) -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway

**Parameter**

- **value** ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Gateway)) --- Optional. Gateway used by the AppConnection.
**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Gateway)) --- Optional. Gateway used by the AppConnection.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource labels to represent user provided metadata.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource labels to represent user provided metadata.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource labels to represent user provided metadata.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.
**Returns**

- (::String) --- Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

### #state

    def state() -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::State

**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-State)) --- Output only. The current state of the AppConnection.

### #type

    def type() -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Type

**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Type)) --- Required. The type of network connectivity used by the AppConnection.

### #type=

    def type=(value) -> ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Type

**Parameter**

- **value** ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Type)) --- Required. The type of network connectivity used by the AppConnection.
**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnection-Type)) --- Required. The type of network connectivity used by the AppConnection.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. A unique identifier for the instance generated by the system.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when the resource was last modified.