Class: Google::Apis::CloudsearchV1::Triggers

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Triggers

Returns a new instance of Triggers.



19999
20000
20001
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19999

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#triggersArray<Google::Apis::CloudsearchV1::Trigger>

A list of triggers. Corresponds to the JSON property triggers



19997
19998
19999
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19997

def triggers
  @triggers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20004
20005
20006
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20004

def update!(**args)
  @triggers = args[:triggers] if args.key?(:triggers)
end