Show / Hide Table of Contents

Class VideoContentDetailsRegionRestriction

DEPRECATED Region restriction of the video.

Inheritance
System.Object
VideoContentDetailsRegionRestriction
Implements
IDirectResponseSchema
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 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
System.Collections.Generic.IList<System.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
System.Collections.Generic.IList<System.String>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top