Class: Google::Apis::RunV1alpha1::EventTypeImporter
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::EventTypeImporter
- 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
-
#api_version ⇒ String
The API version of the importer CRD.
-
#kind ⇒ String
The kind of the importer CRD.
-
#parameters ⇒ Array<Google::Apis::RunV1alpha1::EventTypeParameter>
Parameters required to create an importer for the EventType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventTypeImporter
constructor
A new instance of EventTypeImporter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventTypeImporter
Returns a new instance of EventTypeImporter
1358 1359 1360 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version of the importer CRD.
Corresponds to the JSON property apiVersion
1346 1347 1348 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1346 def api_version @api_version end |
#kind ⇒ String
The kind of the importer CRD.
Corresponds to the JSON property kind
1351 1352 1353 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1351 def kind @kind end |
#parameters ⇒ Array<Google::Apis::RunV1alpha1::EventTypeParameter>
Parameters required to create an importer for the EventType.
Corresponds to the JSON property parameters
1356 1357 1358 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1356 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1363 1364 1365 1366 1367 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1363 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @parameters = args[:parameters] if args.key?(:parameters) end |