View Source GoogleApi.DriveActivity.V2.Model.Target (google_api_drive_activity v0.8.0)

Information about the target of activity. For more information on how activity history is shared with users, see Activity history visibility.

Attributes

  • drive (type: GoogleApi.DriveActivity.V2.Model.Drive.t, default: nil) - The target is a shared drive.
  • driveItem (type: GoogleApi.DriveActivity.V2.Model.DriveItem.t, default: nil) - The target is a Drive item.
  • fileComment (type: GoogleApi.DriveActivity.V2.Model.FileComment.t, default: nil) - The target is a comment on a Drive file.
  • teamDrive (type: GoogleApi.DriveActivity.V2.Model.TeamDrive.t, default: nil) - This field is deprecated; please use the drive field instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DriveActivity.V2.Model.Target{
  drive: GoogleApi.DriveActivity.V2.Model.Drive.t() | nil,
  driveItem: GoogleApi.DriveActivity.V2.Model.DriveItem.t() | nil,
  fileComment: GoogleApi.DriveActivity.V2.Model.FileComment.t() | nil,
  teamDrive: GoogleApi.DriveActivity.V2.Model.TeamDrive.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.