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

View Source

Rights management policy for YouTube resources.

Attributes

  • allowed (type: boolean(), default: nil) - The value of allowed indicates whether the access to the policy is allowed or denied by default.
  • exception (type: list(String.t), default: nil) - A list of region codes that identify countries where the default policy do not apply.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.