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.
3870 3871 3872 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3870 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
3858 3859 3860 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3858 def description @description end |
#label ⇒ String
Optional. The label to display for the enum option.
Corresponds to the JSON property label
3863 3864 3865 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3863 def label @label end |
#value ⇒ String
Required. The value of the enum option.
Corresponds to the JSON property value
3868 3869 3870 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3868 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3875 3876 3877 3878 3879 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3875 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 |