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
1259 1260 1261 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1259 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
1252 1253 1254 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1252 def description @description end |
#name ⇒ String
Name of the parameter. E.g. googleCloudProject.
Corresponds to the JSON property name
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 |