Class: Google::Apis::RunV1alpha1::TriggerImporterSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::TriggerImporterSpec
- 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
-
#arguments ⇒ Hash<String,String>
Arguments to use for the importer.
-
#event_type_name ⇒ String
Name of the EventType that this importer provides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerImporterSpec
constructor
A new instance of TriggerImporterSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#arguments ⇒ Hash<String,String>
Arguments to use for the importer. These must match the parameters in the
EventType's importer.
Corresponds to the JSON property arguments
4374 4375 4376 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4374 def arguments @arguments end |
#event_type_name ⇒ String
Name of the EventType that this importer provides.
Corresponds to the JSON property eventTypeName
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 |