google_api_you_tube v0.12.0 GoogleApi.YouTube.V3.Model.VideoContentDetailsRegionRestriction View Source

DEPRECATED Region restriction of the video.

Attributes

  • allowed (type: list(String.t), default: nil) - 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.
  • blocked (type: list(String.t), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.YouTube.V3.Model.VideoContentDetailsRegionRestriction{
  allowed: [String.t()],
  blocked: [String.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.