Class: Google::Apis::CloudcontrolspartnerV1::EkmConnection

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb

Overview

Details about the EKM connection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EkmConnection

Returns a new instance of EkmConnection.



263
264
265
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 263

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connection_errorGoogle::Apis::CloudcontrolspartnerV1::ConnectionError

Information around the error that occurred if the connection state is anything other than available or unspecified Corresponds to the JSON property connectionError



250
251
252
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 250

def connection_error
  @connection_error
end

#connection_nameString

Resource name of the EKM connection in the format: projects/project/ locations/location/ekmConnections/ekm_connection Corresponds to the JSON property connectionName

Returns:

  • (String)


256
257
258
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 256

def connection_name
  @connection_name
end

#connection_stateString

Output only. The connection state Corresponds to the JSON property connectionState

Returns:

  • (String)


261
262
263
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 261

def connection_state
  @connection_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



268
269
270
271
272
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 268

def update!(**args)
  @connection_error = args[:connection_error] if args.key?(:connection_error)
  @connection_name = args[:connection_name] if args.key?(:connection_name)
  @connection_state = args[:connection_state] if args.key?(:connection_state)
end