Class ResourceId
A resource id is a generic reference that points to another YouTube resource.
Inheritance
System.Object
ResourceId
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ResourceId : IDirectResponseSchema
Properties
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 |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The type of the API resource.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |