# Cloud Controls Partner V1 API - Class Google::Cloud::CloudControlsPartner::V1::EkmConnection (v2.3.0)

2.3.0 (latest) 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Cloud Controls Partner V1 API class Google::Cloud::CloudControlsPartner::V1::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::V1::EkmConnection::ConnectionError

**Returns**

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

### #connection_error=

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

**Parameter**

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

- ([::Google::Cloud::CloudControlsPartner::V1::EkmConnection::ConnectionError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-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::V1::EkmConnection::ConnectionState

**Returns**

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