Class: Google::Apis::DataflowV1b3::ParameterMetadataEnumOption
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ParameterMetadataEnumOption
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
ParameterMetadataEnumOption specifies the option shown in the enum form.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#label ⇒ String
Optional.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParameterMetadataEnumOption
constructor
A new instance of ParameterMetadataEnumOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParameterMetadataEnumOption
Returns a new instance of ParameterMetadataEnumOption.
4017 4018 4019 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. The description to display for the enum option.
Corresponds to the JSON property description
4005 4006 4007 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4005 def description @description end |
#label ⇒ String
Optional. The label to display for the enum option.
Corresponds to the JSON property label
4010 4011 4012 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4010 def label @label end |
#value ⇒ String
Required. The value of the enum option.
Corresponds to the JSON property value
4015 4016 4017 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4015 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4022 4023 4024 4025 4026 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4022 def update!(**args) @description = args[:description] if args.key?(:description) @label = args[:label] if args.key?(:label) @value = args[:value] if args.key?(:value) end |