Class: Google::Apis::CloudsearchV1::RepositoryError
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RepositoryError
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Errors when the connector is communicating to the source repository.
Instance Attribute Summary collapse
-
#error_message ⇒ String
Message that describes the error.
-
#http_status_code ⇒ Fixnum
Error codes.
-
#type ⇒ String
The type of error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepositoryError
constructor
A new instance of RepositoryError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepositoryError
Returns a new instance of RepositoryError.
17298 17299 17300 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_message ⇒ String
Message that describes the error. The maximum allowable length of the message
is 8192 characters.
Corresponds to the JSON property errorMessage
17286 17287 17288 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17286 def @error_message end |
#http_status_code ⇒ Fixnum
Error codes. Matches the definition of HTTP status codes.
Corresponds to the JSON property httpStatusCode
17291 17292 17293 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17291 def http_status_code @http_status_code end |
#type ⇒ String
The type of error.
Corresponds to the JSON property type
17296 17297 17298 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17296 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17303 17304 17305 17306 17307 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17303 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @http_status_code = args[:http_status_code] if args.key?(:http_status_code) @type = args[:type] if args.key?(:type) end |