GoogleApi.YouTube.V3.Model.Activity (google_api_you_tube v0.54.0)
View SourceAn activity resource contains information about an action that a particular channel, or user, has taken on YouTube.The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, commenting on a video, uploading a video, and so forth. Each activity resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded.
Attributes
-
contentDetails
(type:GoogleApi.YouTube.V3.Model.ActivityContentDetails.t
, default:nil
) - The contentDetails object contains information about the content associated with the activity. For example, if the snippet.type value is videoRated, then the contentDetails object's content identifies the rated video. -
etag
(type:String.t
, default:nil
) - Etag of this resource -
id
(type:String.t
, default:nil
) - The ID that YouTube uses to uniquely identify the activity. -
kind
(type:String.t
, default:youtube#activity
) - Identifies what kind of resource this is. Value: the fixed string "youtube#activity". -
snippet
(type:GoogleApi.YouTube.V3.Model.ActivitySnippet.t
, default:nil
) - The snippet object contains basic details about the activity, including the activity's type and group ID.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.YouTube.V3.Model.Activity{ contentDetails: GoogleApi.YouTube.V3.Model.ActivityContentDetails.t() | nil, etag: String.t() | nil, id: String.t() | nil, kind: String.t() | nil, snippet: GoogleApi.YouTube.V3.Model.ActivitySnippet.t() | nil }