Class: Google::Apis::CloudcontrolspartnerV1::ConnectionError

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

Information around the error that occurred if the connection state is anything other than available or unspecified

Instance Attribute Summary collapse

Instance Method Summary collapse

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_domainString

The error domain for the error Corresponds to the JSON property errorDomain

Returns:

  • (String)


98
99
100
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 98

def error_domain
  @error_domain
end

#error_messageString

The error message for the error Corresponds to the JSON property errorMessage

Returns:

  • (String)


103
104
105
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 103

def error_message
  @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