# Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::VpnConnection::Details (v1.4.0)

1.4.0 (latest) 1.3.1 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::VpnConnection::Details.

The created connection details.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_router

    def cloud_router() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter

**Returns**

- ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudRouter)) --- The Cloud Router info.

### #cloud_router=

    def cloud_router=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter

**Parameter**

- **value** ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudRouter)) --- The Cloud Router info.
**Returns**

- ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudRouter)) --- The Cloud Router info.

### #cloud_vpns

    def cloud_vpns() -> ::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>

**Returns**

- (::Array\<[::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudVpn)\>) --- Each connection has multiple Cloud VPN gateways.

### #cloud_vpns=

    def cloud_vpns=(value) -> ::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>

**Parameter**

- **value** (::Array\<[::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudVpn)\>) --- Each connection has multiple Cloud VPN gateways.
**Returns**

- (::Array\<[::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-CloudVpn)\>) --- Each connection has multiple Cloud VPN gateways.

### #error

    def error() -> ::String

**Returns**

- (::String) --- The error message. This is only populated when state=ERROR.

### #error=

    def error=(value) -> ::String

**Parameter**

- **value** (::String) --- The error message. This is only populated when state=ERROR.
**Returns**

- (::String) --- The error message. This is only populated when state=ERROR.

### #state

    def state() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State

**Returns**

- ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-State)) --- The state of this connection.

### #state=

    def state=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State

**Parameter**

- **value** ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-State)) --- The state of this connection.
**Returns**

- ([::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-VpnConnection-Details-State)) --- The state of this connection.