google_api_drive v0.1.0 GoogleApi.Drive.V3.Model.Change View Source

A change to a file or Team Drive.

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Drive.V3.Model.Change{
  file: GoogleApi.Drive.V3.Model.File.t(),
  fileId: any(),
  kind: any(),
  removed: any(),
  teamDrive: GoogleApi.Drive.V3.Model.TeamDrive.t(),
  teamDriveId: any(),
  time: DateTime.t(),
  type: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.