Class: Google::Apis::RunV1alpha1::TriggerImporterSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TriggerImporterSpec

Returns a new instance of TriggerImporterSpec



4683
4684
4685
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4683

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

Instance Attribute Details

#argumentsHash<String,String>

Arguments to use for the importer. These must match the parameters in the EventType's importer. Corresponds to the JSON property arguments

Returns:

  • (Hash<String,String>)


4676
4677
4678
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4676

def arguments
  @arguments
end

#event_type_nameString

Name of the EventType that this importer provides. Corresponds to the JSON property eventTypeName

Returns:

  • (String)


4681
4682
4683
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4681

def event_type_name
  @event_type_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4688
4689
4690
4691
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4688

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