google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.Activity View Source
An 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 (ActivityContentDetails): 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. Defaults to:
null
. - etag (String.t): Etag of this resource. Defaults to:
null
. - id (String.t): The ID that YouTube uses to uniquely identify the activity. Defaults to:
null
. - kind (String.t): Identifies what kind of resource this is. Value: the fixed string "youtube#activity". Defaults to:
null
. - snippet (ActivitySnippet): The snippet object contains basic details about the activity, including the activity's type and group ID. 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()
View Source
t() :: %GoogleApi.YouTube.V3.Model.Activity{
contentDetails: GoogleApi.YouTube.V3.Model.ActivityContentDetails.t(),
etag: any(),
id: any(),
kind: any(),
snippet: GoogleApi.YouTube.V3.Model.ActivitySnippet.t()
}
t() :: %GoogleApi.YouTube.V3.Model.Activity{ contentDetails: GoogleApi.YouTube.V3.Model.ActivityContentDetails.t(), etag: any(), id: any(), kind: any(), snippet: GoogleApi.YouTube.V3.Model.ActivitySnippet.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.