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.



20703
20704
20705
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20703

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

Instance Attribute Details

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

A list of triggers. Corresponds to the JSON property triggers



20701
20702
20703
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20701

def triggers
  @triggers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20708
20709
20710
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20708

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