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

View Source

A Lock that can be applied to a Label, Field, or Choice.

Attributes

  • capabilities (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelLockCapabilities.t, default: nil) - Output only. The user's capabilities on this LabelLock.
  • choiceId (type: String.t, default: nil) - The ID of the Selection Field Choice that should be locked. If present, field_id must also be present.
  • createTime (type: DateTime.t, default: nil) - Output only. The time this LabelLock was created.
  • creator (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user whose credentials were used to create the LabelLock. This will not be present if no user was responsible for creating the LabelLock.
  • deleteTime (type: DateTime.t, default: nil) - Output only. A timestamp indicating when this LabelLock was scheduled for deletion. This will be present only if this LabelLock is in the DELETING state.
  • fieldId (type: String.t, default: nil) - The ID of the Field that should be locked. Empty if the whole Label should be locked.
  • name (type: String.t, default: nil) - Output only. Resource name of this LabelLock.
  • state (type: String.t, default: nil) - Output only. This LabelLock's state.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelLock{
  capabilities:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelLockCapabilities.t()
    | nil,
  choiceId: String.t() | nil,
  createTime: DateTime.t() | nil,
  creator:
    GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t() | nil,
  deleteTime: DateTime.t() | nil,
  fieldId: String.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.