# Cloud Controls Partner V1BETA API - Class Google::Cloud::CloudControlsPartner::V1beta::EkmConnection (v0.9.0)

0.9.0 (latest) 0.8.0 0.7.1 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Controls Partner V1BETA API class Google::Cloud::CloudControlsPartner::V1beta::EkmConnection.

Details about the EKM connection

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #connection_error

    def connection_error() -> ::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionError

**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-EkmConnection-ConnectionError)) --- The connection error that occurred if any

### #connection_error=

    def connection_error=(value) -> ::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionError

**Parameter**

- **value** ([::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-EkmConnection-ConnectionError)) --- The connection error that occurred if any
**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-EkmConnection-ConnectionError)) --- The connection error that occurred if any

### #connection_name

    def connection_name() -> ::String

**Returns**

- (::String) --- Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}

### #connection_name=

    def connection_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
**Returns**

- (::String) --- Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}

### #connection_state

    def connection_state() -> ::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionState

**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection::ConnectionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-EkmConnection-ConnectionState)) --- Output only. The connection state