Class: Google::Apis::CloudcontrolspartnerV1::EkmConnection
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::EkmConnection
- 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
-
#connection_error ⇒ Google::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
. -
#connection_name ⇒ String
Resource name of the EKM connection in the format: projects/
project
/ locations/location
/ekmConnections/ekm_connection
Corresponds to the JSON propertyconnectionName
. -
#connection_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EkmConnection
constructor
A new instance of EkmConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_error ⇒ Google::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_name ⇒ String
Resource name of the EKM connection in the format: projects/project
/
locations/location
/ekmConnections/ekm_connection
Corresponds to the JSON property connectionName
263 264 265 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 263 def connection_name @connection_name end |
#connection_state ⇒ String
Output only. The connection state
Corresponds to the JSON property connectionState
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 |