Class: Google::Apis::CloudsearchV1::CustomFunctionReturnValueMarkup
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CustomFunctionReturnValueMarkup
- 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
The result of a user running a custom function.
Instance Attribute Summary collapse
-
#error_message ⇒ String
The error message to show to the user if something went wrong.
-
#value ⇒ Object
The value that resulted from running the custom function.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomFunctionReturnValueMarkup
constructor
A new instance of CustomFunctionReturnValueMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomFunctionReturnValueMarkup
Returns a new instance of CustomFunctionReturnValueMarkup.
6945 6946 6947 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6945 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_message ⇒ String
The error message to show to the user if something went wrong.
Corresponds to the JSON property errorMessage
6938 6939 6940 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6938 def @error_message end |
#value ⇒ Object
The value that resulted from running the custom function.
Corresponds to the JSON property value
6943 6944 6945 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6943 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6950 6951 6952 6953 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6950 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @value = args[:value] if args.key?(:value) end |