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



1259
1260
1261
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1259

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)


1252
1253
1254
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1252

def description
  @description
end

#nameString

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

Returns:

  • (String)


1257
1258
1259
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1257

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1264
1265
1266
1267
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1264

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