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

Request to change the type of a Field.

Attributes

  • dateOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDateOptions.t, default: nil) - Update field to Date.
  • id (type: String.t, default: nil) - Required. The Field to update.
  • integerOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldIntegerOptions.t, default: nil) - Update field to Integer.
  • selectionOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptions.t, default: nil) - Update field to Selection.
  • textOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldTextOptions.t, default: nil) - Update field to Text.
  • updateMask (type: String.t, default: nil) - The fields that should be updated. At least one field must be specified. The root of type_options is implied and should not be specified. A single * can be used as short-hand for updating every field.
  • userOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldUserOptions.t, default: nil) - Update field to User.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest{
    dateOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDateOptions.t()
      | nil,
    id: String.t() | nil,
    integerOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldIntegerOptions.t()
      | nil,
    selectionOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptions.t()
      | nil,
    textOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldTextOptions.t()
      | nil,
    updateMask: String.t() | nil,
    userOptions:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldUserOptions.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.