Class ResourceId
A resource id is a generic reference that points to another YouTube resource.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ResourceId : IDirectResponseSchemaProperties
ChannelId
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.
Declaration
[JsonProperty("channelId")]
public virtual string ChannelId { 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 | 
Kind
The type of the API resource.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
PlaylistId
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist.
Declaration
[JsonProperty("playlistId")]
public virtual string PlaylistId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
VideoId
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.
Declaration
[JsonProperty("videoId")]
public virtual string VideoId { get; set; }Property Value
| Type | Description | 
|---|---|
| string |