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.



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

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



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

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)


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

def connection_name
  @connection_name
end

#connection_stateString

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

Returns:

  • (String)


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

def connection_state
  @connection_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



275
276
277
278
279
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 275

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