{"kind":"discovery#restDescription","parameters":{"key":{"type":"string","description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","location":"query"},"alt":{"enum":["json","media","proto"],"location":"query","type":"string","default":"json","description":"Data format for response.","enumDescriptions":["Responses with Content-Type of application/json","Media download with context-dependent Content-Type","Responses with Content-Type of application/x-protobuf"]},"oauth_token":{"type":"string","location":"query","description":"OAuth 2.0 token for the current user."},"callback":{"description":"JSONP","location":"query","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","location":"query","type":"boolean","default":"true"},"access_token":{"location":"query","description":"OAuth access token.","type":"string"},"quotaUser":{"type":"string","description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","location":"query"},"upload_protocol":{"type":"string","location":"query","description":"Upload protocol for media (e.g. \"raw\", \"multipart\")."},"fields":{"type":"string","description":"Selector specifying which fields to include in a partial response.","location":"query"},"$.xgafv":{"type":"string","enum":["1","2"],"location":"query","description":"V1 error format.","enumDescriptions":["v1 error format","v2 error format"]},"uploadType":{"location":"query","description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"}},"batchPath":"batch","rootUrl":"https://youtube.googleapis.com/","servicePath":"","id":"youtube:v3","name":"youtube","version":"v3","resources":{"tests":{"methods":{"insert":{"scopes":["https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/tests","id":"youtube.tests.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"part":{"type":"string","required":true,"repeated":true,"location":"query"},"externalChannelId":{"type":"string","location":"query"},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query"}},"request":{"$ref":"TestItem"},"description":"POST method.","flatPath":"youtube/v3/tests","response":{"$ref":"TestItem"}}}},"watermarks":{"methods":{"set":{"supportsMediaUpload":true,"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.upload","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/watermarks/set","id":"youtube.watermarks.set","parameterOrder":["channelId"],"httpMethod":"POST","parameters":{"channelId":{"required":true,"location":"query","type":"string"},"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"}},"mediaUpload":{"maxSize":"10485760","accept":["image/jpeg","image/png","application/octet-stream"],"protocols":{"resumable":{"path":"/resumable/upload/youtube/v3/watermarks/set","multipart":true},"simple":{"multipart":true,"path":"/upload/youtube/v3/watermarks/set"}}},"request":{"$ref":"InvideoBranding"},"description":"Allows upload of watermark image and setting it for a channel.","flatPath":"youtube/v3/watermarks/set"},"unset":{"path":"youtube/v3/watermarks/unset","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/watermarks/unset","httpMethod":"POST","parameters":{"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"channelId":{"location":"query","required":true,"type":"string"}},"description":"Allows removal of channel watermark.","id":"youtube.watermarks.unset","parameterOrder":["channelId"]}}},"thumbnails":{"methods":{"set":{"response":{"$ref":"ThumbnailSetResponse"},"supportsMediaUpload":true,"path":"youtube/v3/thumbnails/set","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.upload","https://www.googleapis.com/auth/youtubepartner"],"httpMethod":"POST","parameters":{"videoId":{"type":"string","description":"Returns the Thumbnail with the given video IDs for Stubby or Apiary.","required":true,"location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"mediaUpload":{"maxSize":"2097152","protocols":{"resumable":{"path":"/resumable/upload/youtube/v3/thumbnails/set","multipart":true},"simple":{"multipart":true,"path":"/upload/youtube/v3/thumbnails/set"}},"accept":["image/jpeg","image/png","application/octet-stream"]},"description":"As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here.","id":"youtube.thumbnails.set","parameterOrder":["videoId"],"flatPath":"youtube/v3/thumbnails/set"}}},"i18nRegions":{"methods":{"list":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/i18nRegions","flatPath":"youtube/v3/i18nRegions","id":"youtube.i18nRegions.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"hl":{"type":"string","default":"en_US","location":"query"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","response":{"$ref":"I18nRegionListResponse"}}}},"playlistItems":{"methods":{"delete":{"flatPath":"youtube/v3/playlistItems","id":"youtube.playlistItems.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"id":{"type":"string","required":true,"location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"description":"Deletes a resource.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlistItems"},"list":{"flatPath":"youtube/v3/playlistItems","httpMethod":"GET","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, if you set *part=snippet*, the API response will contain all of those properties.","required":true,"repeated":true},"maxResults":{"description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"50","location":"query","minimum":"0","type":"integer","format":"uint32","default":"5"},"videoId":{"location":"query","description":"Return the playlist items associated with the given video ID.","type":"string"},"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"pageToken":{"type":"string","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query"},"id":{"location":"query","repeated":true,"type":"string"},"playlistId":{"type":"string","location":"query","description":"Return the playlist items within the given playlist."}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.playlistItems.list","parameterOrder":["part"],"path":"youtube/v3/playlistItems","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"response":{"$ref":"PlaylistItemListResponse"}},"insert":{"response":{"$ref":"PlaylistItem"},"httpMethod":"POST","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"request":{"$ref":"PlaylistItem"},"description":"Inserts a new resource into this collection.","id":"youtube.playlistItems.insert","parameterOrder":["part"],"flatPath":"youtube/v3/playlistItems","path":"youtube/v3/playlistItems","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"]},"update":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlistItems","flatPath":"youtube/v3/playlistItems","id":"youtube.playlistItems.update","parameterOrder":["part"],"httpMethod":"PUT","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlist. If your request is updating a playlist item that sets these values, and the request's part parameter value includes the contentDetails part, the playlist item's start and end times will be updated to whatever value the request body specifies. If the request body does not specify values, the existing start and end times will be removed and replaced with the default settings.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."}},"request":{"$ref":"PlaylistItem"},"description":"Updates an existing resource.","response":{"$ref":"PlaylistItem"}}}},"videoCategories":{"methods":{"list":{"response":{"$ref":"VideoCategoryListResponse"},"flatPath":"youtube/v3/videoCategories","httpMethod":"GET","parameters":{"id":{"location":"query","description":"Returns the video categories with the given IDs for Stubby or Apiary.","repeated":true,"type":"string"},"hl":{"location":"query","default":"en-US","type":"string"},"regionCode":{"location":"query","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.videoCategories.list","parameterOrder":["part"],"path":"youtube/v3/videoCategories","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"]}}},"thirdPartyLinks":{"methods":{"list":{"httpMethod":"GET","parameters":{"linkingToken":{"location":"query","description":"Get a third party link with the given linking token.","type":"string"},"type":{"description":"Get a third party link of the given type.","enumDescriptions":["","A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube."],"type":"string","location":"query","enum":["linkUnspecified","channelToStoreLink"]},"externalChannelId":{"description":"Channel ID to which changes should be applied, for delegation.","location":"query","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet.","required":true,"repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.thirdPartyLinks.list","parameterOrder":["part"],"flatPath":"youtube/v3/thirdPartyLinks","path":"youtube/v3/thirdPartyLinks","response":{"$ref":"ThirdPartyLinkListResponse"}},"insert":{"path":"youtube/v3/thirdPartyLinks","id":"youtube.thirdPartyLinks.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"externalChannelId":{"description":"Channel ID to which changes should be applied, for delegation.","location":"query","type":"string"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.","required":true,"repeated":true}},"request":{"$ref":"ThirdPartyLink"},"description":"Inserts a new resource into this collection.","flatPath":"youtube/v3/thirdPartyLinks","response":{"$ref":"ThirdPartyLink"}},"update":{"response":{"$ref":"ThirdPartyLink"},"httpMethod":"PUT","parameters":{"externalChannelId":{"type":"string","location":"query","description":"Channel ID to which changes should be applied, for delegation."},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.","required":true,"repeated":true}},"request":{"$ref":"ThirdPartyLink"},"description":"Updates an existing resource.","id":"youtube.thirdPartyLinks.update","parameterOrder":["part"],"flatPath":"youtube/v3/thirdPartyLinks","path":"youtube/v3/thirdPartyLinks"},"delete":{"httpMethod":"DELETE","parameters":{"linkingToken":{"description":"Delete the partner links with the given linking token.","required":true,"location":"query","type":"string"},"type":{"description":"Type of the link to be deleted.","required":true,"enumDescriptions":["","A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube."],"type":"string","enum":["linkUnspecified","channelToStoreLink"],"location":"query"},"externalChannelId":{"type":"string","description":"Channel ID to which changes should be applied, for delegation.","location":"query"},"part":{"description":"Do not use. Required for compatibility.","repeated":true,"location":"query","type":"string"}},"description":"Deletes a resource.","id":"youtube.thirdPartyLinks.delete","parameterOrder":["linkingToken","type"],"flatPath":"youtube/v3/thirdPartyLinks","path":"youtube/v3/thirdPartyLinks"}}},"channelBanners":{"methods":{"insert":{"supportsMediaUpload":true,"response":{"$ref":"ChannelBannerResource"},"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.upload"],"path":"youtube/v3/channelBanners/insert","flatPath":"youtube/v3/channelBanners/insert","id":"youtube.channelBanners.insert","parameterOrder":[],"httpMethod":"POST","parameters":{"channelId":{"type":"string","location":"query","description":"Unused, channel_id is currently derived from the security context of the requestor."},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."}},"mediaUpload":{"accept":["image/jpeg","image/png","application/octet-stream"],"protocols":{"resumable":{"path":"/resumable/upload/youtube/v3/channelBanners/insert","multipart":true},"simple":{"multipart":true,"path":"/upload/youtube/v3/channelBanners/insert"}},"maxSize":"6291456"},"request":{"$ref":"ChannelBannerResource"},"description":"Inserts a new resource into this collection."}}},"liveBroadcasts":{"methods":{"list":{"flatPath":"youtube/v3/liveBroadcasts","id":"youtube.liveBroadcasts.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"part":{"description":"The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics.","required":true,"repeated":true,"type":"string","location":"query"},"mine":{"location":"query","type":"boolean"},"id":{"location":"query","description":"Return broadcasts with the given ids from Stubby or Apiary.","repeated":true,"type":"string"},"broadcastType":{"description":"Return only broadcasts with the selected type.","enumDescriptions":["","Return all broadcasts.","Return only scheduled event broadcasts.","Return only persistent broadcasts."],"type":"string","default":"event","enum":["broadcastTypeFilterUnspecified","all","event","persistent"],"location":"query"},"broadcastStatus":{"type":"string","enum":["broadcastStatusFilterUnspecified","all","active","upcoming","completed"],"location":"query","description":"Return broadcasts with a certain status, e.g. active broadcasts.","enumDescriptions":["","Return all broadcasts.","Return current live broadcasts.","Return broadcasts that have not yet started.","Return broadcasts that have already ended."]},"maxResults":{"minimum":"0","type":"integer","format":"uint32","default":"5","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","type":"string"}},"description":"Retrieve the list of broadcasts associated with the given channel.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/liveBroadcasts","response":{"$ref":"LiveBroadcastListResponse"}},"bind":{"flatPath":"youtube/v3/liveBroadcasts/bind","httpMethod":"POST","parameters":{"id":{"description":"Broadcast to bind to the stream","required":true,"location":"query","type":"string"},"streamId":{"location":"query","description":"Stream to bind, if not set unbind the current one.","type":"string"},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"part":{"description":"The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.","required":true,"repeated":true,"location":"query","type":"string"},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"}},"description":"Bind a broadcast to a stream.","id":"youtube.liveBroadcasts.bind","parameterOrder":["id","part"],"path":"youtube/v3/liveBroadcasts/bind","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"response":{"$ref":"LiveBroadcast"}},"insert":{"path":"youtube/v3/liveBroadcasts","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"flatPath":"youtube/v3/liveBroadcasts","httpMethod":"POST","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"}},"request":{"$ref":"LiveBroadcast"},"description":"Inserts a new stream for the authenticated user.","id":"youtube.liveBroadcasts.insert","parameterOrder":["part"],"response":{"$ref":"LiveBroadcast"}},"update":{"flatPath":"youtube/v3/liveBroadcasts","httpMethod":"PUT","parameters":{"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting.","required":true,"repeated":true}},"request":{"$ref":"LiveBroadcast"},"description":"Updates an existing broadcast for the authenticated user.","id":"youtube.liveBroadcasts.update","parameterOrder":["part"],"path":"youtube/v3/liveBroadcasts","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"response":{"$ref":"LiveBroadcast"}},"transition":{"response":{"$ref":"LiveBroadcast"},"id":"youtube.liveBroadcasts.transition","parameterOrder":["broadcastStatus","id","part"],"httpMethod":"POST","parameters":{"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"broadcastStatus":{"enum":["statusUnspecified","testing","live","complete"],"location":"query","type":"string","description":"The status to which the broadcast is going to transition.","required":true,"enumDescriptions":["","Start testing the broadcast. YouTube transmits video to the broadcast's monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.\",","Return only persistent broadcasts.","The broadcast is over. YouTube stops transmitting video."]},"part":{"description":"The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.","required":true,"repeated":true,"type":"string","location":"query"},"id":{"description":"Broadcast to transition.","required":true,"location":"query","type":"string"},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."}},"description":"Transition a broadcast to a given status.","flatPath":"youtube/v3/liveBroadcasts/transition","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveBroadcasts/transition"},"delete":{"httpMethod":"DELETE","parameters":{"id":{"type":"string","location":"query","description":"Broadcast to delete.","required":true},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"onBehalfOfContentOwnerChannel":{"type":"string","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query"}},"description":"Delete a given broadcast.","id":"youtube.liveBroadcasts.delete","parameterOrder":["id"],"flatPath":"youtube/v3/liveBroadcasts","path":"youtube/v3/liveBroadcasts","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"]},"insertCuepoint":{"httpMethod":"POST","parameters":{"id":{"location":"query","description":"Broadcast to insert ads to, or equivalently `external_video_id` for internal use.","type":"string"},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"part":{"type":"string","description":"The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.","repeated":true,"location":"query"}},"request":{"$ref":"Cuepoint"},"description":"Insert cuepoints in a broadcast","id":"youtube.liveBroadcasts.insertCuepoint","parameterOrder":[],"flatPath":"youtube/v3/liveBroadcasts/cuepoint","path":"youtube/v3/liveBroadcasts/cuepoint","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"response":{"$ref":"Cuepoint"}}}},"liveChatModerators":{"methods":{"delete":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveChat/moderators","id":"youtube.liveChatModerators.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"id":{"location":"query","required":true,"type":"string"}},"description":"Deletes a chat moderator.","flatPath":"youtube/v3/liveChat/moderators"},"list":{"httpMethod":"GET","parameters":{"maxResults":{"default":"5","minimum":"0","type":"integer","format":"uint32","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"pageToken":{"type":"string","location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."},"part":{"description":"The *part* parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.","required":true,"repeated":true,"location":"query","type":"string"},"liveChatId":{"description":"The id of the live chat for which moderators should be returned.","required":true,"location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.liveChatModerators.list","parameterOrder":["liveChatId","part"],"flatPath":"youtube/v3/liveChat/moderators","path":"youtube/v3/liveChat/moderators","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"response":{"$ref":"LiveChatModeratorListResponse"}},"insert":{"response":{"$ref":"LiveChatModerator"},"httpMethod":"POST","parameters":{"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.","required":true,"repeated":true,"location":"query","type":"string"}},"request":{"$ref":"LiveChatModerator"},"description":"Inserts a new resource into this collection.","id":"youtube.liveChatModerators.insert","parameterOrder":["part"],"flatPath":"youtube/v3/liveChat/moderators","path":"youtube/v3/liveChat/moderators","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"]}}},"channelSections":{"methods":{"list":{"flatPath":"youtube/v3/channelSections","httpMethod":"GET","parameters":{"mine":{"type":"boolean","location":"query","description":"Return the ChannelSections owned by the authenticated user."},"channelId":{"type":"string","description":"Return the ChannelSections owned by the specified channel ID.","location":"query"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set *part=snippet*, the API response will also contain all of those nested properties.","required":true,"repeated":true},"hl":{"type":"string","description":"Return content in specified language","deprecated":true,"location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"id":{"type":"string","location":"query","description":"Return the ChannelSections with the given IDs for Stubby or Apiary.","repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.channelSections.list","parameterOrder":["part"],"path":"youtube/v3/channelSections","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"response":{"$ref":"ChannelSectionListResponse"}},"insert":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/channelSections","flatPath":"youtube/v3/channelSections","id":"youtube.channelSections.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails.","required":true,"repeated":true,"type":"string","location":"query"}},"request":{"$ref":"ChannelSection"},"description":"Inserts a new resource into this collection.","response":{"$ref":"ChannelSection"}},"update":{"path":"youtube/v3/channelSections","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"httpMethod":"PUT","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails.","required":true,"repeated":true},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"}},"request":{"$ref":"ChannelSection"},"description":"Updates an existing resource.","id":"youtube.channelSections.update","parameterOrder":["part"],"flatPath":"youtube/v3/channelSections","response":{"$ref":"ChannelSection"}},"delete":{"path":"youtube/v3/channelSections","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/channelSections","httpMethod":"DELETE","parameters":{"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"id":{"type":"string","location":"query","required":true}},"description":"Deletes a resource.","id":"youtube.channelSections.delete","parameterOrder":["id"]}}},"liveChatBans":{"methods":{"insert":{"path":"youtube/v3/liveChat/bans","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"httpMethod":"POST","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.","required":true,"repeated":true}},"request":{"$ref":"LiveChatBan"},"description":"Inserts a new resource into this collection.","id":"youtube.liveChatBans.insert","parameterOrder":["part"],"flatPath":"youtube/v3/liveChat/bans","response":{"$ref":"LiveChatBan"}},"delete":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveChat/bans","flatPath":"youtube/v3/liveChat/bans","id":"youtube.liveChatBans.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"id":{"required":true,"location":"query","type":"string"}},"description":"Deletes a chat ban."}}},"members":{"methods":{"list":{"response":{"$ref":"MemberListResponse"},"flatPath":"youtube/v3/members","httpMethod":"GET","parameters":{"filterByMemberChannelId":{"type":"string","location":"query","description":"Comma separated list of channel IDs. Only data about members that are part of this list will be included in the response."},"mode":{"description":"Parameter that specifies which channel members to return.","enumDescriptions":["","Return only members that joined after the first call with this mode was made.","Return all current members, from newest to oldest."],"location":"query","enum":["listMembersModeUnknown","updates","all_current"],"default":"all_current","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the member resource parts that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true},"maxResults":{"location":"query","default":"5","minimum":"0","type":"integer","format":"uint32","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"1000"},"hasAccessToLevel":{"type":"string","location":"query","description":"Filter members in the results set to the ones that have access to a level."},"pageToken":{"type":"string","location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."}},"description":"Retrieves a list of members that match the request criteria for a channel.","id":"youtube.members.list","parameterOrder":["part"],"path":"youtube/v3/members","scopes":["https://www.googleapis.com/auth/youtube.channel-memberships.creator"]}}},"captions":{"methods":{"delete":{"httpMethod":"DELETE","parameters":{"onBehalfOf":{"type":"string","description":"ID of the Google+ Page for the channel that the request is be on behalf of","location":"query"},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"id":{"required":true,"location":"query","type":"string"}},"description":"Deletes a resource.","id":"youtube.captions.delete","parameterOrder":["id"],"flatPath":"youtube/v3/captions","path":"youtube/v3/captions","scopes":["https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"]},"download":{"useMediaDownloadService":true,"flatPath":"youtube/v3/captions/{id}","id":"youtube.captions.download","parameterOrder":["id"],"httpMethod":"GET","parameters":{"onBehalfOf":{"type":"string","description":"ID of the Google+ Page for the channel that the request is be on behalf of","location":"query"},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"tlang":{"type":"string","description":"tlang is the language code; machine translate the captions into this language.","location":"query"},"id":{"description":"The ID of the caption track to download, required for One Platform.","required":true,"location":"path","type":"string"},"tfmt":{"description":"Convert the captions into this format. Supported options are sbv, srt, and vtt.","location":"query","type":"string"}},"description":"Downloads a caption track.","supportsMediaDownload":true,"scopes":["https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/captions/{id}"},"insert":{"scopes":["https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/captions","id":"youtube.captions.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"part":{"description":"The *part* parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true,"type":"string","location":"query"},"sync":{"type":"boolean","location":"query","description":"Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio."},"onBehalfOf":{"type":"string","location":"query","description":"ID of the Google+ Page for the channel that the request is be on behalf of"},"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"}},"mediaUpload":{"maxSize":"104857600","accept":["text/xml","application/octet-stream","*/*"],"protocols":{"resumable":{"multipart":true,"path":"/resumable/upload/youtube/v3/captions"},"simple":{"multipart":true,"path":"/upload/youtube/v3/captions"}}},"request":{"$ref":"Caption"},"description":"Inserts a new resource into this collection.","flatPath":"youtube/v3/captions","response":{"$ref":"Caption"},"supportsMediaUpload":true},"update":{"response":{"$ref":"Caption"},"supportsMediaUpload":true,"scopes":["https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/captions","id":"youtube.captions.update","parameterOrder":["part"],"httpMethod":"PUT","parameters":{"sync":{"location":"query","description":"Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio.","type":"boolean"},"onBehalfOf":{"type":"string","description":"ID of the Google+ Page for the channel that the request is on behalf of.","location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.","required":true,"repeated":true}},"mediaUpload":{"accept":["text/xml","application/octet-stream","*/*"],"protocols":{"resumable":{"multipart":true,"path":"/resumable/upload/youtube/v3/captions"},"simple":{"multipart":true,"path":"/upload/youtube/v3/captions"}},"maxSize":"104857600"},"request":{"$ref":"Caption"},"description":"Updates an existing resource.","flatPath":"youtube/v3/captions"},"list":{"id":"youtube.captions.list","parameterOrder":["part","videoId"],"httpMethod":"GET","parameters":{"videoId":{"location":"query","description":"Returns the captions for the specified video.","required":true,"type":"string"},"onBehalfOf":{"location":"query","description":"ID of the Google+ Page for the channel that the request is on behalf of.","type":"string"},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.","required":true,"repeated":true},"id":{"description":"Returns the captions with the given IDs for Stubby or Apiary.","repeated":true,"location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","flatPath":"youtube/v3/captions","scopes":["https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/captions","response":{"$ref":"CaptionListResponse"}}}},"liveStreams":{"methods":{"list":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/liveStreams","flatPath":"youtube/v3/liveStreams","id":"youtube.liveStreams.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status.","required":true,"repeated":true},"mine":{"location":"query","type":"boolean"},"maxResults":{"default":"5","minimum":"0","type":"integer","format":"uint32","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"id":{"type":"string","description":"Return LiveStreams with the given ids from Stubby or Apiary.","repeated":true,"location":"query"},"pageToken":{"type":"string","location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."}},"description":"Retrieve the list of streams associated with the given channel. --","response":{"$ref":"LiveStreamListResponse"}},"insert":{"flatPath":"youtube/v3/liveStreams","httpMethod":"POST","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, content_details, and status.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"onBehalfOfContentOwnerChannel":{"type":"string","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query"}},"request":{"$ref":"LiveStream"},"description":"Inserts a new stream for the authenticated user.","id":"youtube.liveStreams.insert","parameterOrder":["part"],"path":"youtube/v3/liveStreams","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"response":{"$ref":"LiveStream"}},"update":{"response":{"$ref":"LiveStream"},"id":"youtube.liveStreams.update","parameterOrder":["part"],"httpMethod":"PUT","parameters":{"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."},"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.","required":true,"repeated":true,"type":"string","location":"query"}},"request":{"$ref":"LiveStream"},"description":"Updates an existing stream for the authenticated user.","flatPath":"youtube/v3/liveStreams","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveStreams"},"delete":{"flatPath":"youtube/v3/liveStreams","id":"youtube.liveStreams.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"onBehalfOfContentOwnerChannel":{"type":"string","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query"},"id":{"required":true,"location":"query","type":"string"}},"description":"Deletes an existing stream for the authenticated user.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveStreams"}}},"channels":{"methods":{"list":{"response":{"$ref":"ChannelListResponse"},"id":"youtube.channels.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"hl":{"type":"string","location":"query","description":"Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX)."},"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"mine":{"description":"Return the ids of channels owned by the authenticated user.","location":"query","type":"boolean"},"mySubscribers":{"description":"Return the channels subscribed to the authenticated user","location":"query","type":"boolean"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set *part=contentDetails*, the API response will also contain all of those nested properties.","required":true,"repeated":true},"id":{"description":"Return the channels with the specified IDs.","repeated":true,"location":"query","type":"string"},"categoryId":{"type":"string","description":"Return the channels within the specified guide category ID.","location":"query"},"forHandle":{"type":"string","location":"query","description":"Return the channel associated with a YouTube handle."},"maxResults":{"maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","default":"5","minimum":"0","type":"integer","format":"uint32","location":"query"},"managedByMe":{"description":"Return the channels managed by the authenticated user.","location":"query","type":"boolean"},"forUsername":{"type":"string","location":"query","description":"Return the channel associated with a YouTube username."},"pageToken":{"type":"string","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query"}},"description":"Retrieves a list of resources, possibly filtered.","flatPath":"youtube/v3/channels","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner","https://www.googleapis.com/auth/youtubepartner-channel-audit"],"path":"youtube/v3/channels"},"update":{"response":{"$ref":"Channel"},"httpMethod":"PUT","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.) Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","description":"The *onBehalfOfContentOwner* parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.","location":"query"}},"request":{"$ref":"Channel"},"description":"Updates an existing resource.","id":"youtube.channels.update","parameterOrder":["part"],"flatPath":"youtube/v3/channels","path":"youtube/v3/channels","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"]}}},"comments":{"methods":{"setModerationStatus":{"httpMethod":"POST","parameters":{"id":{"description":"Modifies the moderation status of the comments with the given IDs","required":true,"repeated":true,"type":"string","location":"query"},"moderationStatus":{"type":"string","location":"query","enum":["published","heldForReview","likelySpam","rejected"],"description":"Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: 'heldForReview', 'published' or 'rejected'.","required":true,"enumDescriptions":["The comment is available for public display.","The comment is awaiting review by a moderator.","","The comment is unfit for display."]},"banAuthor":{"description":"If set to true the author of the comment gets added to the ban list. This means all future comments of the author will autmomatically be rejected. Only valid in combination with STATUS_REJECTED.","location":"query","type":"boolean","default":"false"}},"description":"Sets the moderation status of one or more comments.","id":"youtube.comments.setModerationStatus","parameterOrder":["id","moderationStatus"],"flatPath":"youtube/v3/comments/setModerationStatus","path":"youtube/v3/comments/setModerationStatus","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"]},"insert":{"response":{"$ref":"Comment"},"flatPath":"youtube/v3/comments","httpMethod":"POST","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.","required":true,"repeated":true}},"request":{"$ref":"Comment"},"description":"Inserts a new resource into this collection.","id":"youtube.comments.insert","parameterOrder":["part"],"path":"youtube/v3/comments","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"]},"update":{"path":"youtube/v3/comments","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"httpMethod":"PUT","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.","required":true,"repeated":true}},"request":{"$ref":"Comment"},"description":"Updates an existing resource.","id":"youtube.comments.update","parameterOrder":["part"],"flatPath":"youtube/v3/comments","response":{"$ref":"Comment"}},"delete":{"id":"youtube.comments.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"id":{"type":"string","required":true,"location":"query"}},"description":"Deletes a resource.","flatPath":"youtube/v3/comments","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/comments"},"markAsSpam":{"scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/comments/markAsSpam","id":"youtube.comments.markAsSpam","parameterOrder":["id"],"httpMethod":"POST","parameters":{"id":{"location":"query","type":"string","description":"Flags the comments with the given IDs as spam in the caller's opinion.","required":true,"repeated":true}},"description":"Expresses the caller's opinion that one or more comments should be flagged as spam.","flatPath":"youtube/v3/comments/markAsSpam"},"list":{"path":"youtube/v3/comments","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"httpMethod":"GET","parameters":{"id":{"type":"string","description":"Returns the comments with the given IDs for One Platform.","repeated":true,"location":"query"},"pageToken":{"type":"string","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query"},"textFormat":{"location":"query","enum":["textFormatUnspecified","html","plainText"],"default":"html","type":"string","description":"The requested text format for the returned comments.","enumDescriptions":["","Returns the comments in HTML format. This is the default value.","Returns the comments in plain text format."]},"parentId":{"location":"query","description":"Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.","type":"string"},"maxResults":{"location":"query","default":"20","minimum":"1","type":"integer","format":"uint32","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"100"},"part":{"description":"The *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.","required":true,"repeated":true,"location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.comments.list","parameterOrder":["part"],"flatPath":"youtube/v3/comments","response":{"$ref":"CommentListResponse"}}}},"membershipsLevels":{"methods":{"list":{"flatPath":"youtube/v3/membershipsLevels","httpMethod":"GET","parameters":{"part":{"description":"The *part* parameter specifies the membershipsLevel resource parts that the API response will include. Supported values are id and snippet.","required":true,"repeated":true,"location":"query","type":"string"}},"description":"Retrieves a list of all pricing levels offered by a creator to the fans.","id":"youtube.membershipsLevels.list","parameterOrder":["part"],"path":"youtube/v3/membershipsLevels","scopes":["https://www.googleapis.com/auth/youtube.channel-memberships.creator"],"response":{"$ref":"MembershipsLevelListResponse"}}}},"videoAbuseReportReasons":{"methods":{"list":{"response":{"$ref":"VideoAbuseReportReasonListResponse"},"path":"youtube/v3/videoAbuseReportReasons","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"flatPath":"youtube/v3/videoAbuseReportReasons","httpMethod":"GET","parameters":{"hl":{"location":"query","type":"string","default":"en-US"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet.","required":true,"repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.videoAbuseReportReasons.list","parameterOrder":["part"]}}},"i18nLanguages":{"methods":{"list":{"path":"youtube/v3/i18nLanguages","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/i18nLanguages","httpMethod":"GET","parameters":{"hl":{"type":"string","default":"en_US","location":"query"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.i18nLanguages.list","parameterOrder":["part"],"response":{"$ref":"I18nLanguageListResponse"}}}},"search":{"methods":{"list":{"flatPath":"youtube/v3/search","httpMethod":"GET","parameters":{"topicId":{"type":"string","location":"query","description":"Restrict results to a particular topic."},"safeSearch":{"description":"Indicates whether the search results should include restricted content as well as standard content.","enumDescriptions":["","YouTube will not filter the search result set.","YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or demoted in search results. This is the default parameter value.","YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results."],"location":"query","enum":["safeSearchSettingUnspecified","none","moderate","strict"],"default":"moderate","type":"string"},"videoCaption":{"description":"Filter on the presence of captions on the videos.","enumDescriptions":["","Do not filter results based on caption availability.","Only include videos that have captions.","Only include videos that do not have captions."],"location":"query","enum":["videoCaptionUnspecified","any","closedCaption","none"],"type":"string"},"videoSyndicated":{"enum":["videoSyndicatedUnspecified","any","true"],"location":"query","type":"string","description":"Filter on syndicated videos.","enumDescriptions":["","Return all videos, syndicated or not.","Only retrieve syndicated videos."]},"channelId":{"location":"query","description":"Filter on resources belonging to this channelId.","type":"string"},"publishedBefore":{"description":"Filter on resources published before this date.","location":"query","type":"string","format":"google-datetime"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"pageToken":{"description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query","type":"string"},"type":{"description":"Restrict results to a particular set of resource types from One Platform.","repeated":true,"location":"query","type":"string"},"videoCategoryId":{"type":"string","description":"Filter on videos in a specific category.","location":"query"},"videoType":{"type":"string","location":"query","enum":["videoTypeUnspecified","any","movie","episode"],"description":"Filter on videos of a specific type.","enumDescriptions":["","Return all videos.","Only retrieve movies.","Only retrieve episodes of shows."]},"videoEmbeddable":{"location":"query","enum":["videoEmbeddableUnspecified","any","true"],"type":"string","description":"Filter on embeddable videos.","enumDescriptions":["","Return all videos, embeddable or not.","Only retrieve embeddable videos."]},"videoDimension":{"type":"string","enum":["any","2d","3d"],"location":"query","description":"Filter on 3d videos.","enumDescriptions":["Include both 3D and non-3D videos in returned results. This is the default value.","Restrict search results to exclude 3D videos.","Restrict search results to only include 3D videos."]},"forMine":{"location":"query","description":"Search for the private videos of the authenticated user.","type":"boolean"},"q":{"type":"string","location":"query","description":"Textual search terms to match."},"forDeveloper":{"type":"boolean","location":"query","description":"Restrict the search to only retrieve videos uploaded using the project id of the authenticated user."},"channelType":{"description":"Add a filter on the channel search.","enumDescriptions":["","Return all channels.","Only retrieve shows."],"type":"string","enum":["channelTypeUnspecified","any","show"],"location":"query"},"order":{"description":"Sort order of the results.","enumDescriptions":["","Resources are sorted in reverse chronological order based on the date they were created.","Resources are sorted from highest to lowest rating.","Resources are sorted from highest to lowest number of views.","Resources are sorted based on their relevance to the search query. This is the default value for this parameter.","Resources are sorted alphabetically by title.","Channels are sorted in descending order of their number of uploaded videos."],"type":"string","default":"relevance","enum":["searchSortUnspecified","date","rating","viewCount","relevance","title","videoCount"],"location":"query"},"videoLicense":{"description":"Filter on the license of the videos.","enumDescriptions":["Return all videos, regardless of which license they have, that match the query parameters.","Only return videos that have the standard YouTube license.","Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more."],"enum":["any","youtube","creativeCommon"],"location":"query","type":"string"},"publishedAfter":{"description":"Filter on resources published after this date.","location":"query","type":"string","format":"google-datetime"},"location":{"type":"string","location":"query","description":"Filter on location of the video"},"eventType":{"type":"string","location":"query","enum":["none","upcoming","live","completed"],"description":"Filter on the livestream status of the videos.","enumDescriptions":["","The live broadcast is upcoming.","The live broadcast is active.","The live broadcast has been completed."]},"videoDefinition":{"description":"Filter on the definition of the videos.","enumDescriptions":["Return all videos, regardless of their resolution.","Only retrieve videos in standard definition.","Only retrieve HD videos."],"location":"query","enum":["any","standard","high"],"type":"string"},"relevanceLanguage":{"type":"string","description":"Return results relevant to this language.","location":"query"},"videoDuration":{"type":"string","enum":["videoDurationUnspecified","any","short","medium","long"],"location":"query","description":"Filter on the duration of the videos.","enumDescriptions":["","Do not filter video search results based on their duration. This is the default value.","Only include videos that are less than four minutes long.","Only include videos that are between four and 20 minutes long (inclusive).","Only include videos longer than 20 minutes."]},"videoPaidProductPlacement":{"type":"string","location":"query","enumDescriptions":["","Return all videos, paid product placement or not.","Restrict results to only videos with paid product placement."],"enum":["videoPaidProductPlacementUnspecified","any","true"]},"regionCode":{"description":"Display the content as seen by viewers in this country.","location":"query","type":"string"},"locationRadius":{"location":"query","description":"Filter on distance from the location (specified above).","type":"string"},"maxResults":{"description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"50","location":"query","minimum":"0","type":"integer","format":"uint32","default":"5"},"forContentOwner":{"location":"query","description":"Search owned by a content owner.","type":"boolean"}},"description":"Retrieves a list of search resources","id":"youtube.search.list","parameterOrder":["part"],"path":"youtube/v3/search","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"response":{"$ref":"SearchListResponse"}}}},"playlists":{"methods":{"delete":{"flatPath":"youtube/v3/playlists","id":"youtube.playlists.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"onBehalfOfContentOwner":{"type":"string","location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner."},"id":{"type":"string","location":"query","required":true}},"description":"Deletes a resource.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlists"},"list":{"id":"youtube.playlists.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"hl":{"type":"string","description":"Return content in specified language","location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"mine":{"description":"Return the playlists owned by the authenticated user.","location":"query","type":"boolean"},"channelId":{"location":"query","description":"Return the playlists owned by the specified channel ID.","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set *part=snippet*, the API response will contain all of those properties.","required":true,"repeated":true},"id":{"location":"query","description":"Return the playlists with the given IDs for Stubby or Apiary.","repeated":true,"type":"string"},"maxResults":{"minimum":"0","type":"integer","format":"uint32","default":"5","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."},"pageToken":{"type":"string","location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved."}},"description":"Retrieves a list of resources, possibly filtered.","flatPath":"youtube/v3/playlists","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlists","response":{"$ref":"PlaylistListResponse"}},"insert":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlists","id":"youtube.playlists.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"onBehalfOfContentOwnerChannel":{"location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.","required":true,"repeated":true}},"request":{"$ref":"Playlist"},"description":"Inserts a new resource into this collection.","flatPath":"youtube/v3/playlists","response":{"$ref":"Playlist"}},"update":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlists","flatPath":"youtube/v3/playlists","id":"youtube.playlists.update","parameterOrder":["part"],"httpMethod":"PUT","parameters":{"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist's existing description will be deleted.","required":true,"repeated":true,"location":"query","type":"string"},"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"}},"request":{"$ref":"Playlist"},"description":"Updates an existing resource.","response":{"$ref":"Playlist"}}}},"liveChatMessages":{"methods":{"delete":{"flatPath":"youtube/v3/liveChat/messages","id":"youtube.liveChatMessages.delete","parameterOrder":["id"],"httpMethod":"DELETE","parameters":{"id":{"location":"query","required":true,"type":"string"}},"description":"Deletes a chat message.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/liveChat/messages"},"list":{"httpMethod":"GET","parameters":{"hl":{"type":"string","description":"Specifies the localization language in which the system messages should be returned.","location":"query"},"maxResults":{"maximum":"2000","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.","minimum":"200","type":"integer","format":"uint32","default":"500","location":"query"},"profileImageSize":{"location":"query","minimum":"16","type":"integer","format":"uint32","description":"Specifies the size of the profile image that should be returned for each user.","maximum":"720"},"part":{"description":"The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails.","required":true,"repeated":true,"type":"string","location":"query"},"liveChatId":{"type":"string","location":"query","description":"The id of the live chat for which comments should be returned.","required":true},"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.liveChatMessages.list","parameterOrder":["liveChatId","part"],"flatPath":"youtube/v3/liveChat/messages","path":"youtube/v3/liveChat/messages","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"response":{"$ref":"LiveChatMessageListResponse"}},"insert":{"response":{"$ref":"LiveChatMessage"},"path":"youtube/v3/liveChat/messages","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"flatPath":"youtube/v3/liveChat/messages","httpMethod":"POST","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.","required":true,"repeated":true}},"request":{"$ref":"LiveChatMessage"},"description":"Inserts a new resource into this collection.","id":"youtube.liveChatMessages.insert","parameterOrder":["part"]},"transition":{"response":{"$ref":"LiveChatMessage"},"path":"youtube/v3/liveChat/messages/transition","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"],"flatPath":"youtube/v3/liveChat/messages/transition","httpMethod":"POST","parameters":{"id":{"description":"The ID that uniquely identify the chat message event to transition.","location":"query","type":"string"},"status":{"description":"The status to which the chat event is going to transition.","enumDescriptions":["Default unknown enum value.","The durable chat event is over."],"type":"string","location":"query","enum":["statusUnspecified","closed"]}},"description":"Transition a durable chat event.","id":"youtube.liveChatMessages.transition","parameterOrder":[]}}},"subscriptions":{"methods":{"list":{"response":{"$ref":"SubscriptionListResponse"},"path":"youtube/v3/subscriptions","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/subscriptions","httpMethod":"GET","parameters":{"order":{"description":"The order of the returned subscriptions","enumDescriptions":["","Sort by relevance.","Sort by order of activity.","Sort alphabetically."],"default":"relevance","type":"string","location":"query","enum":["subscriptionOrderUnspecified","relevance","unread","alphabetical"]},"maxResults":{"default":"5","minimum":"0","type":"integer","format":"uint32","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"myRecentSubscribers":{"location":"query","type":"boolean"},"pageToken":{"type":"string","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query"},"onBehalfOfContentOwnerChannel":{"description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query","type":"string"},"part":{"description":"The *part* parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set *part=snippet*, the API response will also contain all of those nested properties.","required":true,"repeated":true,"location":"query","type":"string"},"mine":{"type":"boolean","description":"Flag for returning the subscriptions of the authenticated user.","location":"query"},"channelId":{"location":"query","description":"Return the subscriptions of the given channel owner.","type":"string"},"mySubscribers":{"description":"Return the subscribers of the given channel owner.","location":"query","type":"boolean"},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"forChannelId":{"description":"Return the subscriptions to the subset of these channels that the authenticated user is subscribed to.","location":"query","type":"string"},"id":{"location":"query","description":"Return the subscriptions with the given IDs for Stubby or Apiary.","repeated":true,"type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.subscriptions.list","parameterOrder":["part"]},"insert":{"response":{"$ref":"Subscription"},"path":"youtube/v3/subscriptions","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"httpMethod":"POST","parameters":{"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.","required":true,"repeated":true,"type":"string","location":"query"}},"request":{"$ref":"Subscription"},"description":"Inserts a new resource into this collection.","id":"youtube.subscriptions.insert","parameterOrder":["part"],"flatPath":"youtube/v3/subscriptions"},"delete":{"path":"youtube/v3/subscriptions","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/subscriptions","httpMethod":"DELETE","parameters":{"id":{"type":"string","location":"query","required":true}},"description":"Deletes a resource.","id":"youtube.subscriptions.delete","parameterOrder":["id"]}}},"abuseReports":{"methods":{"insert":{"response":{"$ref":"AbuseReport"},"httpMethod":"POST","parameters":{"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.","required":true,"repeated":true,"type":"string","location":"query"}},"request":{"$ref":"AbuseReport"},"description":"Inserts a new resource into this collection.","id":"youtube.abuseReports.insert","parameterOrder":["part"],"flatPath":"youtube/v3/abuseReports","path":"youtube/v3/abuseReports","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl"]}}},"playlistImages":{"methods":{"delete":{"httpMethod":"DELETE","parameters":{"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"id":{"description":"Id to identify this image. This is returned from by the List method.","location":"query","type":"string"}},"description":"Deletes a resource.","id":"youtube.playlistImages.delete","parameterOrder":[],"flatPath":"youtube/v3/playlistImages","path":"youtube/v3/playlistImages","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"]},"list":{"response":{"$ref":"PlaylistImageListResponse"},"path":"youtube/v3/playlistImages","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/playlistImages","httpMethod":"GET","parameters":{"maxResults":{"minimum":"0","type":"integer","format":"uint32","default":"5","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."},"parent":{"location":"query","description":"Return PlaylistImages for this playlist id.","type":"string"},"part":{"location":"query","description":"The *part* parameter specifies a comma-separated list of one or more playlistImage resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response.","repeated":true,"type":"string"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"pageToken":{"type":"string","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query"},"onBehalfOfContentOwnerChannel":{"description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","id":"youtube.playlistImages.list","parameterOrder":[]},"insert":{"response":{"$ref":"PlaylistImage"},"supportsMediaUpload":true,"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlistImages","id":"youtube.playlistImages.insert","parameterOrder":[],"httpMethod":"POST","parameters":{"part":{"type":"string","description":"The *part* parameter specifies the properties that the API response will include.","repeated":true,"location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"},"onBehalfOfContentOwnerChannel":{"type":"string","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.","location":"query"}},"mediaUpload":{"maxSize":"2097152","accept":["image/jpeg","image/png","application/octet-stream"],"protocols":{"resumable":{"multipart":true,"path":"/resumable/upload/youtube/v3/playlistImages"},"simple":{"multipart":true,"path":"/upload/youtube/v3/playlistImages"}}},"request":{"$ref":"PlaylistImage"},"description":"Inserts a new resource into this collection.","flatPath":"youtube/v3/playlistImages"},"update":{"supportsMediaUpload":true,"response":{"$ref":"PlaylistImage"},"flatPath":"youtube/v3/playlistImages","id":"youtube.playlistImages.update","parameterOrder":[],"httpMethod":"PUT","parameters":{"part":{"type":"string","description":"The *part* parameter specifies the properties that the API response will include.","repeated":true,"location":"query"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"mediaUpload":{"maxSize":"2097152","protocols":{"resumable":{"multipart":true,"path":"/resumable/upload/youtube/v3/playlistImages"},"simple":{"path":"/upload/youtube/v3/playlistImages","multipart":true}},"accept":["image/jpeg","image/png","application/octet-stream"]},"request":{"$ref":"PlaylistImage"},"description":"Updates an existing resource.","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/playlistImages"}}},"youtube":{"resources":{"v3":{"resources":{"liveChat":{"resources":{"messages":{"methods":{"stream":{"id":"youtube.youtube.v3.liveChat.messages.stream","parameterOrder":[],"httpMethod":"GET","parameters":{"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.","type":"string"},"liveChatId":{"type":"string","description":"The id of the live chat for which comments should be returned.","location":"query"},"maxResults":{"maximum":"2000","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.","minimum":"200","type":"integer","format":"uint32","default":"500","location":"query"},"profileImageSize":{"minimum":"16","type":"integer","format":"uint32","location":"query","maximum":"720","description":"Specifies the size of the profile image that should be returned for each user."},"part":{"description":"The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails.","repeated":true,"location":"query","type":"string"},"hl":{"location":"query","description":"Specifies the localization language in which the system messages should be returned.","type":"string"}},"description":"Allows a user to load live chat through a server-streamed RPC.","flatPath":"youtube/v3/liveChat/messages/stream","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/liveChat/messages/stream","response":{"$ref":"LiveChatMessageListResponse"}}}}}}},"methods":{"updateCommentThreads":{"response":{"$ref":"CommentThread"},"id":"youtube.youtube.v3.updateCommentThreads","parameterOrder":[],"httpMethod":"PUT","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.","repeated":true}},"request":{"$ref":"CommentThread"},"description":"Updates an existing resource.","flatPath":"youtube/v3/commentThreads","path":"youtube/v3/commentThreads"}}}}},"videos":{"methods":{"delete":{"path":"youtube/v3/videos","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/videos","httpMethod":"DELETE","parameters":{"onBehalfOfContentOwner":{"location":"query","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","type":"string"},"id":{"location":"query","required":true,"type":"string"}},"description":"Deletes a resource.","id":"youtube.videos.delete","parameterOrder":["id"]},"reportAbuse":{"id":"youtube.videos.reportAbuse","parameterOrder":[],"httpMethod":"POST","parameters":{"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"}},"request":{"$ref":"VideoAbuseReport"},"description":"Report abuse for a video.","flatPath":"youtube/v3/videos/reportAbuse","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/videos/reportAbuse"},"rate":{"path":"youtube/v3/videos/rate","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"flatPath":"youtube/v3/videos/rate","httpMethod":"POST","parameters":{"rating":{"required":true,"enumDescriptions":["","The entity is liked.","The entity is disliked."],"type":"string","enum":["none","like","dislike"],"location":"query"},"id":{"location":"query","required":true,"type":"string"}},"description":"Adds a like or dislike rating to a video or removes a rating from a video.","id":"youtube.videos.rate","parameterOrder":["id","rating"]},"insert":{"response":{"$ref":"Video"},"supportsMediaUpload":true,"path":"youtube/v3/videos","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.upload","https://www.googleapis.com/auth/youtubepartner"],"httpMethod":"POST","parameters":{"part":{"location":"query","type":"string","description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.","required":true,"repeated":true},"autoLevels":{"description":"Should auto-levels be applied to the upload.","location":"query","type":"boolean"},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"stabilize":{"description":"Should stabilize be applied to the upload.","location":"query","type":"boolean"},"notifySubscribers":{"type":"boolean","default":"true","description":"Notify the channel subscribers about the new video. As default, the notification is enabled.","location":"query"},"onBehalfOfContentOwnerChannel":{"type":"string","location":"query","description":"This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel."}},"mediaUpload":{"maxSize":"274877906944","accept":["video/*","application/octet-stream"],"protocols":{"resumable":{"multipart":true,"path":"/resumable/upload/youtube/v3/videos"},"simple":{"multipart":true,"path":"/upload/youtube/v3/videos"}}},"request":{"$ref":"Video"},"description":"Inserts a new resource into this collection.","id":"youtube.videos.insert","parameterOrder":["part"],"flatPath":"youtube/v3/videos"},"update":{"response":{"$ref":"Video"},"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/videos","flatPath":"youtube/v3/videos","id":"youtube.videos.update","parameterOrder":["part"],"httpMethod":"PUT","parameters":{"part":{"description":"The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting. In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.","required":true,"repeated":true,"location":"query","type":"string"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"request":{"$ref":"Video"},"description":"Updates an existing resource."},"list":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/videos","flatPath":"youtube/v3/videos","id":"youtube.videos.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more video resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set *part=snippet*, the API response will contain all of those properties.","required":true,"repeated":true},"onBehalfOfContentOwner":{"description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query","type":"string"},"id":{"type":"string","description":"Return videos with the given ids.","repeated":true,"location":"query"},"maxHeight":{"maximum":"8192","minimum":"72","type":"integer","format":"int32","location":"query"},"videoCategoryId":{"default":"0","type":"string","location":"query","description":"Use chart that is specific to the specified video category"},"locale":{"location":"query","deprecated":true,"type":"string"},"myRating":{"description":"Return videos liked/disliked by the authenticated user. Does not support RateType.RATED_TYPE_NONE.","enumDescriptions":["","The entity is liked.","The entity is disliked."],"type":"string","enum":["none","like","dislike"],"location":"query"},"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.","type":"string"},"maxWidth":{"description":"Return the player with maximum height specified in","maximum":"8192","location":"query","minimum":"72","type":"integer","format":"int32"},"hl":{"description":"Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX).","location":"query","type":"string"},"chart":{"description":"Return the videos that are in the specified chart.","enumDescriptions":["","Return the most popular videos for the specified content region and video category."],"type":"string","enum":["chartUnspecified","mostPopular"],"location":"query"},"maxResults":{"location":"query","minimum":"1","type":"integer","format":"uint32","default":"5","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.","maximum":"50"},"regionCode":{"description":"Use a chart that is specific to the specified region","location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","response":{"$ref":"VideoListResponse"}},"getRating":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtubepartner"],"path":"youtube/v3/videos/getRating","id":"youtube.videos.getRating","parameterOrder":["id"],"httpMethod":"GET","parameters":{"id":{"required":true,"repeated":true,"location":"query","type":"string"},"onBehalfOfContentOwner":{"type":"string","description":"*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.","location":"query"}},"description":"Retrieves the ratings that the authorized user gave to a list of specified videos.","flatPath":"youtube/v3/videos/getRating","response":{"$ref":"VideoGetRatingResponse"}}}},"activities":{"methods":{"list":{"response":{"$ref":"ActivityListResponse"},"id":"youtube.activities.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"publishedBefore":{"type":"string","format":"google-datetime","location":"query"},"part":{"location":"query","type":"string","description":"The *part* parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set *part=snippet*, the API response will also contain all of those nested properties.","required":true,"repeated":true},"channelId":{"type":"string","location":"query"},"mine":{"type":"boolean","location":"query"},"regionCode":{"location":"query","type":"string"},"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","type":"string"},"publishedAfter":{"type":"string","format":"google-datetime","location":"query"},"home":{"type":"boolean","location":"query","deprecated":true},"maxResults":{"minimum":"0","type":"integer","format":"uint32","default":"5","location":"query","maximum":"50","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set."}},"description":"Retrieves a list of resources, possibly filtered.","flatPath":"youtube/v3/activities","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/activities"}}},"videoTrainability":{"methods":{"get":{"path":"youtube/v3/videoTrainability","scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly","https://www.googleapis.com/auth/youtubepartner"],"httpMethod":"GET","parameters":{"id":{"location":"query","description":"The ID of the video to retrieve.","type":"string"}},"description":"Returns the trainability status of a video.","id":"youtube.videoTrainability.get","parameterOrder":[],"flatPath":"youtube/v3/videoTrainability","response":{"$ref":"VideoTrainability"}}}},"commentThreads":{"methods":{"list":{"response":{"$ref":"CommentThreadListResponse"},"flatPath":"youtube/v3/commentThreads","id":"youtube.commentThreads.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"id":{"type":"string","description":"Returns the comment threads with the given IDs for Stubby or Apiary.","repeated":true,"location":"query"},"allThreadsRelatedToChannelId":{"description":"Returns the comment threads of all videos of the channel and the channel comments as well.","location":"query","type":"string"},"moderationStatus":{"description":"Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.","enumDescriptions":["The comment is available for public display.","The comment is awaiting review by a moderator.","","The comment is unfit for display."],"type":"string","default":"published","enum":["published","heldForReview","likelySpam","rejected"],"location":"query"},"videoId":{"type":"string","location":"query","description":"Returns the comment threads of the specified video."},"textFormat":{"description":"The requested text format for the returned comments.","enumDescriptions":["","Returns the comments in HTML format. This is the default value.","Returns the comments in plain text format."],"default":"html","type":"string","location":"query","enum":["textFormatUnspecified","html","plainText"]},"part":{"type":"string","location":"query","description":"The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.","required":true,"repeated":true},"channelId":{"location":"query","description":"Returns the comment threads for all the channel comments (ie does not include comments left on videos).","type":"string"},"pageToken":{"location":"query","description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","type":"string"},"postId":{"type":"string","location":"query","description":"Returns the comment threads of the specified post."},"order":{"type":"string","default":"time","enum":["orderUnspecified","time","relevance"],"location":"query","enumDescriptions":["","Order by time.","Order by relevance."]},"searchTerms":{"location":"query","description":"Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.","type":"string"},"maxResults":{"location":"query","default":"20","minimum":"1","type":"integer","format":"uint32","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"100"}},"description":"Retrieves a list of resources, possibly filtered.","scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/commentThreads"},"insert":{"response":{"$ref":"CommentThread"},"scopes":["https://www.googleapis.com/auth/youtube.force-ssl"],"path":"youtube/v3/commentThreads","id":"youtube.commentThreads.insert","parameterOrder":["part"],"httpMethod":"POST","parameters":{"part":{"description":"The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.","required":true,"repeated":true,"type":"string","location":"query"}},"request":{"$ref":"CommentThread"},"description":"Inserts a new resource into this collection.","flatPath":"youtube/v3/commentThreads"}}},"superChatEvents":{"methods":{"list":{"scopes":["https://www.googleapis.com/auth/youtube","https://www.googleapis.com/auth/youtube.force-ssl","https://www.googleapis.com/auth/youtube.readonly"],"path":"youtube/v3/superChatEvents","id":"youtube.superChatEvents.list","parameterOrder":["part"],"httpMethod":"GET","parameters":{"hl":{"location":"query","description":"Return rendered funding amounts in specified language.","type":"string"},"part":{"type":"string","location":"query","description":"The *part* parameter specifies the superChatEvent resource parts that the API response will include. This parameter is currently not supported.","required":true,"repeated":true},"maxResults":{"location":"query","default":"5","minimum":"1","type":"integer","format":"uint32","description":"The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.","maximum":"50"},"pageToken":{"description":"The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.","location":"query","type":"string"}},"description":"Retrieves a list of resources, possibly filtered.","flatPath":"youtube/v3/superChatEvents","response":{"$ref":"SuperChatEventListResponse"}}}}}}