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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ErrorInfo

Returns a new instance of ErrorInfo.



7947
7948
7949
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7947

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

Instance Attribute Details

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

Corresponds to the JSON property errorMessages



7945
7946
7947
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7945

def error_messages
  @error_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7952
7953
7954
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7952

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