View Source GoogleApi.Drive.V3.Model.Change (google_api_drive v0.25.0)

A change to a file or shared drive.

Attributes

  • changeType (type: String.t, default: nil) - The type of the change. Possible values are file and drive.
  • drive (type: GoogleApi.Drive.V3.Model.Drive.t, default: nil) - The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.
  • driveId (type: String.t, default: nil) - The ID of the shared drive associated with this change.
  • file (type: GoogleApi.Drive.V3.Model.File.t, default: nil) - The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
  • fileId (type: String.t, default: nil) - The ID of the file which has changed.
  • kind (type: String.t, default: drive#change) - Identifies what kind of resource this is. Value: the fixed string "drive#change".
  • removed (type: boolean(), default: nil) - Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
  • teamDrive (type: GoogleApi.Drive.V3.Model.TeamDrive.t, default: nil) - Deprecated - use drive instead.
  • teamDriveId (type: String.t, default: nil) - Deprecated - use driveId instead.
  • time (type: DateTime.t, default: nil) - The time of this change (RFC 3339 date-time).
  • type (type: String.t, default: nil) - Deprecated - use changeType instead.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Drive.V3.Model.Change{
  changeType: String.t() | nil,
  drive: GoogleApi.Drive.V3.Model.Drive.t() | nil,
  driveId: String.t() | nil,
  file: GoogleApi.Drive.V3.Model.File.t() | nil,
  fileId: String.t() | nil,
  kind: String.t() | nil,
  removed: boolean() | nil,
  teamDrive: GoogleApi.Drive.V3.Model.TeamDrive.t() | nil,
  teamDriveId: String.t() | nil,
  time: DateTime.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.