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

Options for the selection field type.

Attributes

  • choices (type: list(GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice.t), default: nil) - The options available for this selection field. The list order is consistent, and modified with insert_before_choice.
  • listOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldListOptions.t, default: nil) - When specified, indicates this field supports a list of values. Once the field is published, this cannot be changed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptions{
    choices:
      [
        GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice.t()
      ]
      | nil,
    listOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldListOptions.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.