GoogleApi.YouTube.V3.Model.VideoContentDetailsRegionRestriction (google_api_you_tube v0.54.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.VideoContentDetailsRegionRestriction{
  allowed: [String.t()] | nil,
  blocked: [String.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.