Class: Google::Apis::CloudsearchV1::ErrorMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ErrorMessage
- 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 message per source response.
Instance Attribute Summary collapse
-
#error_message ⇒ String
Corresponds to the JSON property
errorMessage
. -
#source ⇒ Google::Apis::CloudsearchV1::Source
Defines sources for the suggest/search APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorMessage
Returns a new instance of ErrorMessage
851 852 853 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 851 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_message ⇒ String
Corresponds to the JSON property errorMessage
844 845 846 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 844 def @error_message end |
#source ⇒ Google::Apis::CloudsearchV1::Source
Defines sources for the suggest/search APIs.
Corresponds to the JSON property source
849 850 851 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 849 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
856 857 858 859 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 856 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @source = args[:source] if args.key?(:source) end |