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
1277 1278 1279 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1277 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
1270 1271 1272 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1270 def description @description end |
#name ⇒ String
Name of the parameter. E.g. googleCloudProject.
Corresponds to the JSON property name
1275 1276 1277 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1275 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1282 1283 1284 1285 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1282 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) end |