# BeyondCorp AppGateways V1 API - Class Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway (v0.12.0)

0.12.0 (latest) 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 AppGateways V1 API class Google::Cloud::BeyondCorp::AppGateways::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allocated_connections

    def allocated_connections() -> ::Array<::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::AllocatedConnection>

**Returns**

- (::Array\<[::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::AllocatedConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway-AllocatedConnection)\>) --- Output only. A list of connections allocated for the Gateway

### #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_gateways-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 AppGateway. Cannot exceed 64 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

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

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

### #host_type

    def host_type() -> ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::HostType

**Returns**

- ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::HostType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway-HostType)) --- Required. The type of hosting used by the AppGateway.

### #host_type=

    def host_type=(value) -> ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::HostType

**Parameter**

- **value** ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::HostType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway-HostType)) --- Required. The type of hosting used by the AppGateway.
**Returns**

- ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::HostType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway-HostType)) --- Required. The type of hosting used by the AppGateway.

### #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 AppGateway. The name is ignored when creating an AppGateway.

### #name=

    def name=(value) -> ::String

**Parameter**

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

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

### #state

    def state() -> ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::State

**Returns**

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

### #type

    def type() -> ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::Type

**Returns**

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

### #type=

    def type=(value) -> ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway::Type

**Parameter**

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

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

### #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_gateways-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when the resource was last modified.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- Output only. Server-defined URI for this resource.