Show / Hide Table of Contents

Class ActivitySnippet

Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12

Inheritance
object
ActivitySnippet
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ActivitySnippet : IDirectResponseSchema

Properties

ChannelId

The ID that YouTube uses to uniquely identify the channel associated with the activity.

Declaration
[JsonProperty("channelId")]
public virtual string ChannelId { get; set; }
Property Value
Type Description
string

ChannelTitle

Channel title for the channel responsible for this activity

Declaration
[JsonProperty("channelTitle")]
public virtual string ChannelTitle { get; set; }
Property Value
Type Description
string

Description

The description of the resource primarily associated with the activity. @mutable youtube.activities.insert

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GroupId

The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In your user interface, you can avoid repetition by grouping events with the same groupId value.

Declaration
[JsonProperty("groupId")]
public virtual string GroupId { get; set; }
Property Value
Type Description
string

PublishedAt

DateTime representation of PublishedAtRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAtDateTimeOffset instead.")]
public virtual DateTime? PublishedAt { get; set; }
Property Value
Type Description
DateTime?

PublishedAtDateTimeOffset

DateTimeOffset representation of PublishedAtRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishedAtDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

PublishedAtRaw

The date and time that the video was uploaded.

Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }
Property Value
Type Description
string

Thumbnails

A map of thumbnail images associated with the resource that is primarily associated with the activity. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

Declaration
[JsonProperty("thumbnails")]
public virtual ThumbnailDetails Thumbnails { get; set; }
Property Value
Type Description
ThumbnailDetails

Title

The title of the resource primarily associated with the activity.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

Type

The type of activity that the resource describes.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX