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



1233
1234
1235
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1233

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)


1221
1222
1223
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1221

def api_version
  @api_version
end

#kindString

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

Returns:

  • (String)


1226
1227
1228
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1226

def kind
  @kind
end

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