Class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
UI display hints for rendering an option.
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints : IDirectResponseSchema
Properties
BadgeColors
The colors to use for the badge. Changed to Google Material colors based on the chosen
properties.badge_config.color
.
Declaration
[JsonProperty("badgeColors")]
public virtual GoogleAppsDriveLabelsV2BadgeColors BadgeColors { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsDriveLabelsV2BadgeColors |
BadgePriority
The priority of this badge. Used to compare and sort between multiple badges. A lower number means the badge
should be shown first. When a badging configuration is not present, this will be 0. Otherwise, this will be
set to BadgeConfig.priority_override
or the default heuristic which prefers creation date of the label,
and field and option priority.
Declaration
[JsonProperty("badgePriority")]
public virtual long? BadgePriority { get; set; }
Property Value
Type | Description |
---|---|
long? |
DarkBadgeColors
The dark-mode color to use for the badge. Changed to Google Material colors based on the chosen
properties.badge_config.color
.
Declaration
[JsonProperty("darkBadgeColors")]
public virtual GoogleAppsDriveLabelsV2BadgeColors DarkBadgeColors { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsDriveLabelsV2BadgeColors |
Disabled
Whether the option should be shown in the UI as disabled.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HiddenInSearch
This option should be hidden in the search menu when searching for Drive items.
Declaration
[JsonProperty("hiddenInSearch")]
public virtual bool? HiddenInSearch { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ShownInApply
This option should be shown in the apply menu when applying values to a Drive item.
Declaration
[JsonProperty("shownInApply")]
public virtual bool? ShownInApply { get; set; }
Property Value
Type | Description |
---|---|
bool? |