GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
import type { GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints } from "https://googleapis.deno.dev/v1/drivelabels:v2.ts";
UI display hints for rendering an option.
interface GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints {
badgeColors?: GoogleAppsDriveLabelsV2BadgeColors;
badgePriority?: bigint;
darkBadgeColors?: GoogleAppsDriveLabelsV2BadgeColors;
disabled?: boolean;
hiddenInSearch?: boolean;
shownInApply?: boolean;
}§Properties
§
badgeColors?: GoogleAppsDriveLabelsV2BadgeColors
[src]The colors to use for the badge. Changed to Google Material colors based
on the chosen properties.badge_config.color
.
§
badgePriority?: bigint
[src]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.
§
darkBadgeColors?: GoogleAppsDriveLabelsV2BadgeColors
[src]The dark-mode color to use for the badge. Changed to Google Material
colors based on the chosen properties.badge_config.color
.