Class Activity
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.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class Activity : IDirectResponseSchemaProperties
ContentDetails
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.
Declaration
[JsonProperty("contentDetails")]
public virtual ActivityContentDetails ContentDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| ActivityContentDetails | 
ETag
Etag of this resource
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Id
The ID that YouTube uses to uniquely identify the activity.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Kind
Identifies what kind of resource this is. Value: the fixed string "youtube#activity".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Snippet
The snippet object contains basic details about the activity, including the activity's type and group ID.
Declaration
[JsonProperty("snippet")]
public virtual ActivitySnippet Snippet { get; set; }Property Value
| Type | Description | 
|---|---|
| ActivitySnippet |