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



4364
4365
4366
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4364

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>)


4357
4358
4359
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4357

def arguments
  @arguments
end

#event_type_nameString

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

Returns:

  • (String)


4362
4363
4364
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4362

def event_type_name
  @event_type_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4369
4370
4371
4372
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4369

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