Class VideoAgeGating
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class VideoAgeGating : IDirectResponseSchemaProperties
AlcoholContent
Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
Declaration
[JsonProperty("alcoholContent")]
public virtual bool? AlcoholContent { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Restricted
Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
Declaration
[JsonProperty("restricted")]
public virtual bool? Restricted { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | 
VideoGameRating
Video game rating, if any.
Declaration
[JsonProperty("videoGameRating")]
public virtual string VideoGameRating { get; set; }Property Value
| Type | Description | 
|---|---|
| string |