Class: Google::Apis::CloudcontrolspartnerV1::ConnectionError
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::ConnectionError
- 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
Information around the error that occurred if the connection state is anything other than available or unspecified
Instance Attribute Summary collapse
-
#error_domain ⇒ String
The error domain for the error Corresponds to the JSON property
errorDomain
. -
#error_message ⇒ String
The error message for the error Corresponds to the JSON property
errorMessage
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionError
Returns a new instance of ConnectionError.
105 106 107 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_domain ⇒ String
The error domain for the error
Corresponds to the JSON property errorDomain
98 99 100 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 98 def error_domain @error_domain end |
#error_message ⇒ String
The error message for the error
Corresponds to the JSON property errorMessage
103 104 105 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 103 def @error_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 110 def update!(**args) @error_domain = args[:error_domain] if args.key?(:error_domain) @error_message = args[:error_message] if args.key?(:error_message) end |