Class: Google::Apis::CloudsearchV1::ErrorInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ErrorInfo
- 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
Error information about the response.
Instance Attribute Summary collapse
-
#error_messages ⇒ Array<Google::Apis::CloudsearchV1::ErrorMessage>
Corresponds to the JSON property
errorMessages
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorInfo
constructor
A new instance of ErrorInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ErrorInfo
Returns a new instance of ErrorInfo.
3218 3219 3220 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_messages ⇒ Array<Google::Apis::CloudsearchV1::ErrorMessage>
Corresponds to the JSON property errorMessages
3216 3217 3218 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3216 def @error_messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3223 3224 3225 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3223 def update!(**args) @error_messages = args[:error_messages] if args.key?(:error_messages) end |