Class: Google::Apis::RunV1alpha1::EventTypeImporter

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

The API version of the importer CRD. Corresponds to the JSON property apiVersion

Returns:

  • (String)


1346
1347
1348
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1346

def api_version
  @api_version
end

#kindString

The kind of the importer CRD. Corresponds to the JSON property kind

Returns:

  • (String)


1351
1352
1353
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1351

def kind
  @kind
end

#parametersArray<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