Interface GoogleApiYouTubeActivityResource

Index

Properties

Properties

public contentDetails: { upload: { videoId: string; }; like: { resourceId: { kind: string; videoId: string; }; }; favorite: { resourceId: { kind: string; videoId: string; }; }; comment: { resourceId: { kind: string; videoId: string; channelId: string; }; }; subscription: { resourceId: { kind: string; channelId: string; }; }; playlistItem: { resourceId: { kind: string; videoId: string; }; playlistId: string; playlistItemId: string; }; recommendation: { resourceId: { kind: string; videoId: string; channelId: string; }; reason: string; seedResourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; }; bulletin: { resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; }; social: { type: string; resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; author: string; referenceUrl: string; imageUrl: string; }; channelItem: { resourceId: {}; }; }

The contentDetails object contains information about the content associated with the activity.

public bulletin.resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }

The resourceId object contains information that identifies the resource associated with a bulletin post.

public channelItem.resourceId: {}

The resourceId object contains information that identifies the resource that was added to the channel.

public comment.resourceId: { kind: string; videoId: string; channelId: string; }

The resourceId object contains information that identifies the resource associated with the comment.

public contentDetails.bulletin: { resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; }

The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.

public contentDetails.channelItem: { resourceId: {}; }

The channelItem object contains details about a resource that was added to a channel. This property is only present if the snippet.type is channelItem.

public contentDetails.comment: { resourceId: { kind: string; videoId: string; channelId: string; }; }

The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.

public contentDetails.favorite: { resourceId: { kind: string; videoId: string; }; }

The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.

public contentDetails.like: { resourceId: { kind: string; videoId: string; }; }

The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.

public contentDetails.playlistItem: { resourceId: { kind: string; videoId: string; }; playlistId: string; playlistItemId: string; }

The playlistItem object contains information about an item that was added to a playlist. This property is only present if the snippet.type is playlistItem.

public contentDetails.recommendation: { resourceId: { kind: string; videoId: string; channelId: string; }; reason: string; seedResourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; }

The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.

public contentDetails.social: { type: string; resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }; author: string; referenceUrl: string; imageUrl: string; }

The social object contains details about a social network post. This property is only present if the snippet.type is social.

public contentDetails.subscription: { resourceId: { kind: string; channelId: string; }; }

The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.

public contentDetails.upload: { videoId: string; }

The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.

public favorite.resourceId: { kind: string; videoId: string; }

The resourceId object contains information that identifies the resource that was marked as a favorite.

public like.resourceId: { kind: string; videoId: string; }

The resourceId object contains information that identifies the rated resource.

public playlistItem.playlistId: string

The value that YouTube uses to uniquely identify the playlist.

public playlistItem.playlistItemId: string

The value that YouTube uses to uniquely identify the item in the playlist.

public playlistItem.resourceId: { kind: string; videoId: string; }

The resourceId object contains information that identifies the resource that was added to the playlist.

public recommendation.reason: string

The reason that the resource is recommended to the user.

public recommendation.resourceId: { kind: string; videoId: string; channelId: string; }

The resourceId object contains information that identifies the recommended resource.

public recommendation.seedResourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }

The seedResourceId object contains information about the resource that caused the recommendation.

public resourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel, if the recommended resource is a channel. This property is only present if the resourceId.kind is youtube#channel.

public resourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel featured in a bulletin post, if the post refers to a channel. This property will only be present if the value of the bulletin.resourceId.kind property is youtube#channel.

public resourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel featured in a social network post, if the post refers to a channel. This property will only be present if the value of the social.resourceId.kind property is youtube#channel.

public resourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel associated with a comment. This property is only present if the resourceId.kind is youtube#channel.

public resourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel that the user subscribed to. This property is only present if the resourceId.kind is youtube#channel.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.kind: string

The type of the API resource.

public resourceId.playlistId: string

The ID that YouTube uses to uniquely identify the playlist featured in a bulletin post, if the post refers to a playlist. This property will only be present if the value of the bulletin.resourceId.kind property is youtube#playlist.

public resourceId.playlistId: string

The ID that YouTube uses to uniquely identify the playlist featured in a social network post, if the post refers to a playlist. This property will only be present if the value of the social.resourceId.kind property is youtube#playlist.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the favorite video. This property is only present if the resourceId.kind is youtube#video.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video, if the rated resource is a video. This property is only present if the resourceId.kind is youtube#video

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video, if the recommended resource is a video. This property is only present if the resourceId.kind is youtube#video.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video featured in a bulletin post, if the post refers to a video. This property will only be present if the value of the bulletin.resourceId.kind property is youtube#video.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video that was added to the playlist. This property is only present if the resourceId.kind is youtube#video.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video featured in a social network post, if the post refers to a video. This property will only be present if the value of the social.resourceId.kind property is youtube#video.

public resourceId.videoId: string

The ID that YouTube uses to uniquely identify the video associated with a comment. This property is only present if the resourceId.kind is youtube#video.

public seedResourceId.channelId: string

The ID that YouTube uses to uniquely identify the channel, if the recommendation was caused by a particular channel. This property is only present if the seedResourceId.kind is youtube#channel.

public seedResourceId.kind: string

The type of the API resource.

public seedResourceId.playlistId: string

The ID that YouTube uses to uniquely identify the playlist, if the recommendation was caused by a particular playlist. This property is only present if the seedResourceId.kind is youtube#playlist.

public seedResourceId.videoId: string

The ID that YouTube uses to uniquely identify the video, if the recommendation was caused by a particular video. This property is only present if the seedResourceId.kind is youtube#video.

public social.author: string

The author of the social network post.

public social.imageUrl: string

An image of the posts author.

public social.referenceUrl: string

The URL of the social network post.

public social.resourceId: { kind: string; videoId: string; channelId: string; playlistId: string; }

The resourceId object encapsulates information that identifies the resource associated with a social network post.

public social.type: string

The name of the social network.

public subscription.resourceId: { kind: string; channelId: string; }

The resourceId object contains information that identifies the resource that the user subscribed to.

public upload.videoId: string

The ID that YouTube uses to uniquely identify the uploaded video.

public etag: string

The ETag of the activity resource.

public id: string

The ID that YouTube uses to uniquely identify the activity.

public kind: string

The type of the API resource. For activity resources, the value will be youtube#activity.

public snippet: { publishedAt: string; channelId: string; title: string; description: string; thumbnails: GoogleApiYouTubeThumbnailItemResource[]; channelTitle: string; type: string; groupId: string; }

The snippet object contains basic details about the activity, including the activitys type and group ID.

public snippet.channelId: string

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

public snippet.channelTitle: string

Channel title for the channel responsible for this activity

public snippet.description: string

The description of the resource primarily associated with the activity.

public snippet.groupId: string

The group ID associated with the activity.

public snippet.publishedAt: string

The date and time that the activity occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

public snippet.thumbnails: GoogleApiYouTubeThumbnailItemResource[]

A map of thumbnail images associated with the resource that is primarily associated with the activity.

public snippet.title: string

The title of the resource primarily associated with the activity.

public snippet.type: string

The type of activity that the resource describes.