Class: Google::Apis::CloudsearchV1::ErrorMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ErrorMessage
- 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 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.
Constructor Details
#initialize(**args) ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
3242 3243 3244 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_message ⇒ String
Corresponds to the JSON property errorMessage
3235 3236 3237 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3235 def @error_message end |
#source ⇒ Google::Apis::CloudsearchV1::Source
Defines sources for the suggest/search APIs.
Corresponds to the JSON property source
3240 3241 3242 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3240 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3247 3248 3249 3250 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3247 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @source = args[:source] if args.key?(:source) end |