GoogleApi.DriveActivity.V2.Model.TargetReference (google_api_drive_activity v0.9.0)

View Source

A lightweight reference to the target of activity.

Attributes

  • drive (type: GoogleApi.DriveActivity.V2.Model.DriveReference.t, default: nil) - The target is a shared drive.
  • driveItem (type: GoogleApi.DriveActivity.V2.Model.DriveItemReference.t, default: nil) - The target is a Drive item.
  • teamDrive (type: GoogleApi.DriveActivity.V2.Model.TeamDriveReference.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

t()

@type t() :: %GoogleApi.DriveActivity.V2.Model.TargetReference{
  drive: GoogleApi.DriveActivity.V2.Model.DriveReference.t() | nil,
  driveItem: GoogleApi.DriveActivity.V2.Model.DriveItemReference.t() | nil,
  teamDrive: GoogleApi.DriveActivity.V2.Model.TeamDriveReference.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.