Class Video
A video resource represents a YouTube video.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class Video : IDirectResponseSchemaProperties
AgeGating
Age restriction details related to a video. This data can only be retrieved by the video owner.
Declaration
[JsonProperty("ageGating")]
public virtual VideoAgeGating AgeGating { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoAgeGating | 
ContentDetails
The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
Declaration
[JsonProperty("contentDetails")]
public virtual VideoContentDetails ContentDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoContentDetails | 
ETag
Etag of this resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
FileDetails
The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
Declaration
[JsonProperty("fileDetails")]
public virtual VideoFileDetails FileDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoFileDetails | 
Id
The ID that YouTube uses to uniquely identify the video.
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#video".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
LiveStreamingDetails
The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
Declaration
[JsonProperty("liveStreamingDetails")]
public virtual VideoLiveStreamingDetails LiveStreamingDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoLiveStreamingDetails | 
Localizations
The localizations object contains localized versions of the basic details about the video, such as its title and description.
Declaration
[JsonProperty("localizations")]
public virtual IDictionary<string, VideoLocalization> Localizations { get; set; }Property Value
| Type | Description | 
|---|---|
| IDictionary<string, VideoLocalization> | 
MonetizationDetails
The monetizationDetails object encapsulates information about the monetization status of the video.
Declaration
[JsonProperty("monetizationDetails")]
public virtual VideoMonetizationDetails MonetizationDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoMonetizationDetails | 
PaidProductPlacementDetails
Declaration
[JsonProperty("paidProductPlacementDetails")]
public virtual VideoPaidProductPlacementDetails PaidProductPlacementDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoPaidProductPlacementDetails | 
Player
The player object contains information that you would use to play the video in an embedded player.
Declaration
[JsonProperty("player")]
public virtual VideoPlayer Player { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoPlayer | 
ProcessingDetails
The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
Declaration
[JsonProperty("processingDetails")]
public virtual VideoProcessingDetails ProcessingDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoProcessingDetails | 
ProjectDetails
The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
Declaration
[JsonProperty("projectDetails")]
public virtual VideoProjectDetails ProjectDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoProjectDetails | 
RecordingDetails
The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
Declaration
[JsonProperty("recordingDetails")]
public virtual VideoRecordingDetails RecordingDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoRecordingDetails | 
Snippet
The snippet object contains basic details about the video, such as its title, description, and category.
Declaration
[JsonProperty("snippet")]
public virtual VideoSnippet Snippet { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoSnippet | 
Statistics
The statistics object contains statistics about the video.
Declaration
[JsonProperty("statistics")]
public virtual VideoStatistics Statistics { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoStatistics | 
Status
The status object contains information about the video's uploading, processing, and privacy statuses.
Declaration
[JsonProperty("status")]
public virtual VideoStatus Status { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoStatus | 
Suggestions
The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
Declaration
[JsonProperty("suggestions")]
public virtual VideoSuggestions Suggestions { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoSuggestions | 
TopicDetails
The topicDetails object encapsulates information about Freebase topics associated with the video.
Declaration
[JsonProperty("topicDetails")]
public virtual VideoTopicDetails TopicDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| VideoTopicDetails |