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
4683 4684 4685 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4683 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
4676 4677 4678 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4676 def arguments @arguments end |
#event_type_name ⇒ String
Name of the EventType that this importer provides.
Corresponds to the JSON property eventTypeName
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 |