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



4381
4382
4383
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4381

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


4374
4375
4376
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4374

def arguments
  @arguments
end

#event_type_nameString

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

Returns:

  • (String)


4379
4380
4381
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4379

def event_type_name
  @event_type_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4386
4387
4388
4389
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4386

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