REST Resource: assetMatchPolicy
Stay organized with collections
Save and categorize content based on your preferences.
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
|
|
Retrieves the match policy assigned to the specified asset by the content owner associated with the authenticated user.
|
|
Patches the asset's match policy.
|
|
Updates the asset's match policy.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]