Resource: Policy
A policy
resource specifies rules that define a particular usage or match policy that a partner can associate with an asset or claim.
JSON representation |
---|
{
"kind": string,
"name": string,
"description": string,
"timeUpdated": string,
"rules": [
{
object ( |
Fields | |
---|---|
kind |
Identifies this as a policy. Value: " |
name |
The policy's name. |
description |
The policy's description. |
timeUpdated |
The time the policy was updated. |
rules[] |
A list of rules that specify the action that YouTube should take and may optionally specify the conditions under which that action is enforced. |
id |
A value that YouTube assigns and uses to uniquely identify the policy. |
Methods |
|
---|---|
|
Retrieves the specified saved policy. |
|
Creates a saved policy. |
|
Retrieves a list of the content owner's saved policies. |
|
Patches the specified saved policy. |
|
Updates the specified saved policy. |