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

View Source

The capabilities related to this label when editing the label.

Attributes

  • canDelete (type: boolean(), default: nil) - Whether the user can delete this label. The user must have permission and the label must be disabled.
  • canDisable (type: boolean(), default: nil) - Whether the user can disable this label. The user must have permission and this label must not already be disabled.
  • canEnable (type: boolean(), default: nil) - Whether the user can enable this label. The user must have permission and this label must be disabled.
  • canUpdate (type: boolean(), default: nil) - Whether the user can change this label.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelSchemaCapabilities{
    canDelete: boolean() | nil,
    canDisable: boolean() | nil,
    canEnable: boolean() | nil,
    canUpdate: boolean() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.