Class: Google::Apis::RunV1alpha1::EventTypeParameter

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

Returns a new instance of EventTypeParameter



1384
1385
1386
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1384

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Description of the parameter. E.g. "Google Cloud Project Id." Corresponds to the JSON property description

Returns:

  • (String)


1377
1378
1379
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1377

def description
  @description
end

#nameString

Name of the parameter. E.g. googleCloudProject. Corresponds to the JSON property name

Returns:

  • (String)


1382
1383
1384
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1382

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1389
1390
1391
1392
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1389

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
end