Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
Basic properties of the choice.
Instance Attribute Summary collapse
-
#badge_config ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaBadgeConfig
Badge status of the label.
-
#description ⇒ String
The description of this label.
-
#display_name ⇒ String
Required.
-
#insert_before_choice ⇒ String
Input only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
constructor
A new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
Returns a new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties.
2054 2055 2056 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2054 def initialize(**args) update!(**args) end |
Instance Attribute Details
#badge_config ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaBadgeConfig
Badge status of the label.
Corresponds to the JSON property badgeConfig
2036 2037 2038 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2036 def badge_config @badge_config end |
#description ⇒ String
The description of this label.
Corresponds to the JSON property description
2041 2042 2043 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2041 def description @description end |
#display_name ⇒ String
Required. The display text to show in the UI identifying this field.
Corresponds to the JSON property displayName
2046 2047 2048 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2046 def display_name @display_name end |
#insert_before_choice ⇒ String
Input only. Insert or move this choice before the indicated choice. If empty,
the choice is placed at the end of the list.
Corresponds to the JSON property insertBeforeChoice
2052 2053 2054 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2052 def insert_before_choice @insert_before_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2059 2060 2061 2062 2063 2064 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2059 def update!(**args) @badge_config = args[:badge_config] if args.key?(:badge_config) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @insert_before_choice = args[:insert_before_choice] if args.key?(:insert_before_choice) end |