View Source GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties (google_api_drive_labels v0.2.0)

Basic properties of the choice.

Attributes

  • badgeConfig (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeConfig.t, default: nil) - The badge configuration for this choice. When set, the label that owns this choice is considered a "badged label".
  • description (type: String.t, default: nil) - The description of this label.
  • displayName (type: String.t, default: nil) - Required. The display text to show in the UI identifying this field.
  • insertBeforeChoice (type: String.t, default: nil) - Input only. Insert or move this choice before the indicated choice. If empty, the choice is placed at the end of the list.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties{
    badgeConfig:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeConfig.t()
      | nil,
    description: String.t() | nil,
    displayName: String.t() | nil,
    insertBeforeChoice: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.