GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Field (google_api_drive_labels v0.3.0)

View Source

Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.

Attributes

  • appliedCapabilities (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldAppliedCapabilities.t, default: nil) - Output only. The capabilities this user has on this field and its value when the label is applied on Drive items.
  • createTime (type: DateTime.t, default: nil) - Output only. The time this field was created.
  • creator (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who created this field.
  • dateOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDateOptions.t, default: nil) - Date field options.
  • disableTime (type: DateTime.t, default: nil) - Output only. The time this field was disabled. This value has no meaning when the field is not disabled.
  • disabler (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who disabled this field. This value has no meaning when the field is not disabled.
  • displayHints (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDisplayHints.t, default: nil) - Output only. UI display hints for rendering a field.
  • id (type: String.t, default: nil) - Output only. The key of a field, unique within a label or library. This value is autogenerated. Matches the regex: ([a-zA-Z0-9])+
  • integerOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldIntegerOptions.t, default: nil) - Integer field options.
  • lifecycle (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Lifecycle.t, default: nil) - Output only. The lifecycle of this field.
  • lockStatus (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LockStatus.t, default: nil) - Output only. The LockStatus of this field.
  • properties (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldProperties.t, default: nil) - The basic properties of the field.
  • publisher (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who published this field. This value has no meaning when the field is not published.
  • queryKey (type: String.t, default: nil) - Output only. The key to use when constructing Drive search queries to find files based on values defined for this field on files. For example, "{query_key} > 2001-01-01".
  • schemaCapabilities (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSchemaCapabilities.t, default: nil) - Output only. The capabilities this user has when editing this field.
  • selectionOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptions.t, default: nil) - Selection field options.
  • textOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldTextOptions.t, default: nil) - Text field options.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time this field was updated.
  • updater (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who modified this field.
  • userOptions (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldUserOptions.t, default: nil) - User field options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Field{
  appliedCapabilities:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldAppliedCapabilities.t()
    | nil,
  createTime: DateTime.t() | nil,
  creator:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t() | nil,
  dateOptions:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDateOptions.t()
    | nil,
  disableTime: DateTime.t() | nil,
  disabler:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t() | nil,
  displayHints:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldDisplayHints.t()
    | nil,
  id: String.t() | nil,
  integerOptions:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldIntegerOptions.t()
    | nil,
  lifecycle:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Lifecycle.t() | nil,
  lockStatus:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LockStatus.t() | nil,
  properties:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldProperties.t()
    | nil,
  publisher:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t() | nil,
  queryKey: String.t() | nil,
  schemaCapabilities:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSchemaCapabilities.t()
    | nil,
  selectionOptions:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldSelectionOptions.t()
    | nil,
  textOptions:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldTextOptions.t()
    | nil,
  updateTime: DateTime.t() | nil,
  updater:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t() | nil,
  userOptions:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2FieldUserOptions.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.