Class: Google::Apis::CloudsearchV1::ErrorInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb

Overview

Error information about the response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ErrorInfo

Returns a new instance of ErrorInfo.



930
931
932
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 930

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_messagesArray<Google::Apis::CloudsearchV1::ErrorMessage>

Corresponds to the JSON property errorMessages



928
929
930
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 928

def error_messages
  @error_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



935
936
937
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 935

def update!(**args)
  @error_messages = args[:error_messages] if args.key?(:error_messages)
end