REST Resource: assetMatchPolicy

Resource: AssetMatchPolicy

The assetMatchPolicy resource identifies an asset's match policy, which YouTube applies to user-uploaded videos that match the asset.

JSON representation
{

  "kind"
: 
string
,

  "rules"
: 
[

    {

      object (
PolicyRule
)

    }

  ]
,

  "policyId"
: 
string

}
Fields
kind

string

The type of the API resource. Value: youtubePartner#assetMatchPolicy .

rules[]

object ( PolicyRule )

A list of rules that collectively define the policy that the content owner wants to apply to user-uploaded videos that match the asset. Each rule specifies the action that YouTube should take and may optionally specify the conditions under which that action is enforced.

policyId

string

A value that uniquely identifies the Policy resource that YouTube applies to user-uploaded videos that match the asset.

Methods

get

Retrieves the match policy assigned to the specified asset by the content owner associated with the authenticated user.

patch

Patches the asset's match policy.

update

Updates the asset's match policy.