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.



20882
20883
20884
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20882

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

Instance Attribute Details

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

A list of triggers. Corresponds to the JSON property triggers



20880
20881
20882
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20880

def triggers
  @triggers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20887
20888
20889
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20887

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