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
1233 1234 1235 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1233 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
1221 1222 1223 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1221 def api_version @api_version end |
#kind ⇒ String
The kind of the importer CRD.
Corresponds to the JSON property kind
1226 1227 1228 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1226 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
1231 1232 1233 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1231 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1238 1239 1240 1241 1242 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1238 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 |