Class: Google::Apis::RunV1alpha1::EventTypeParameter
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::EventTypeParameter
- 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
-
#description ⇒ String
Description of the parameter.
-
#name ⇒ String
Name of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventTypeParameter
constructor
A new instance of EventTypeParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#description ⇒ String
Description of the parameter. E.g. "Google Cloud Project Id."
Corresponds to the JSON property description
1377 1378 1379 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1377 def description @description end |
#name ⇒ String
Name of the parameter. E.g. googleCloudProject.
Corresponds to the JSON property name
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 |