# BeyondCorp AppConnections V1 API - Class Google::Cloud::BeyondCorp::AppConnections::V1::AppConnection::Gateway (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::Gateway.

Gateway represents a user facing component that serves as an entrance to
enable connectivity.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #app_gateway

    def app_gateway() -> ::String

**Returns**

- (::String) --- Required. AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`

### #app_gateway=

    def app_gateway=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`
**Returns**

- (::String) --- Required. AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`

### #ingress_port

    def ingress_port() -> ::Integer

**Returns**

- (::Integer) --- Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

### #type

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

**Returns**

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

### #type=

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

**Parameter**

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

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

### #uri

    def uri() -> ::String

**Returns**

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