Class: Google::Apis::CloudsearchV1::TriggerAction
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::TriggerAction
- 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
Instance Attribute Summary collapse
-
#action ⇒ String
Corresponds to the JSON property
action. -
#data ⇒ String
Clients should use extensions on the Trigger message instead.
-
#data_int ⇒ Fixnum
Corresponds to the JSON property
dataInt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerAction
constructor
A new instance of TriggerAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TriggerAction
Returns a new instance of TriggerAction.
19925 19926 19927 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19925 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
19912 19913 19914 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19912 def action @action end |
#data ⇒ String
Clients should use extensions on the Trigger message instead.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
19918 19919 19920 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19918 def data @data end |
#data_int ⇒ Fixnum
Corresponds to the JSON property dataInt
19923 19924 19925 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19923 def data_int @data_int end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19930 19931 19932 19933 19934 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19930 def update!(**args) @action = args[:action] if args.key?(:action) @data = args[:data] if args.key?(:data) @data_int = args[:data_int] if args.key?(:data_int) end |