Show / Hide Table of Contents

Class VideoContentDetailsRegionRestriction

DEPRECATED Region restriction of the video.

Inheritance
object
VideoContentDetailsRegionRestriction
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX