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

Label constraints governing the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.

Attributes

  • fieldLimits (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldLimits.t, default: nil) - The limits for Fields.
  • maxDeletedFields (type: integer(), default: nil) - The maximum number of published Fields that can be deleted.
  • maxDescriptionLength (type: integer(), default: nil) - The maximum number of characters allowed for the description.
  • maxDraftRevisions (type: integer(), default: nil) - The maximum number of draft revisions that will be kept before deleting old drafts.
  • maxFields (type: integer(), default: nil) - The maximum number of Fields allowed within the label.
  • maxTitleLength (type: integer(), default: nil) - The maximum number of characters allowed for the title.
  • name (type: String.t, default: nil) - Resource name.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelLimits{
  fieldLimits:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldLimits.t() | nil,
  maxDeletedFields: integer() | nil,
  maxDescriptionLength: integer() | nil,
  maxDraftRevisions: integer() | nil,
  maxFields: integer() | nil,
  maxTitleLength: integer() | nil,
  name: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.