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.



20136
20137
20138
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20136

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

Instance Attribute Details

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

A list of triggers. Corresponds to the JSON property triggers



20134
20135
20136
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20134

def triggers
  @triggers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20141
20142
20143
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20141

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