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.
6881 6882 6883 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6881 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
6874 6875 6876 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6874 def @error_message end |
#value ⇒ Object
The value that resulted from running the custom function.
Corresponds to the JSON property value
6879 6880 6881 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6879 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6886 6887 6888 6889 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6886 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @value = args[:value] if args.key?(:value) end |