Class VideoContentDetailsRegionRestriction
DEPRECATED Region restriction of the video.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class VideoContentDetailsRegionRestriction : IDirectResponseSchema
Properties
Allowed
A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
Declaration
[JsonProperty("allowed")]
public virtual IList<string> Allowed { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Blocked
A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
Declaration
[JsonProperty("blocked")]
public virtual IList<string> Blocked { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |