File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -955,6 +955,10 @@ public function __construct(Google_Client $client)
955955 'location ' => 'query ' ,
956956 'type ' => 'string ' ,
957957 ),
958+ 'relevanceLanguage ' => array (
959+ 'location ' => 'query ' ,
960+ 'type ' => 'string ' ,
961+ ),
958962 'forMine ' => array (
959963 'location ' => 'query ' ,
960964 'type ' => 'boolean ' ,
@@ -2966,6 +2970,12 @@ class Google_Service_YouTube_Search_Resource extends Google_Service_Resource
29662970 * 720p, though higher resolutions, like 1080p, might also be available.
29672971 * @opt_param string videoDuration The videoDuration parameter filters video
29682972 * search results based on their duration.
2973+ * @opt_param string relevanceLanguage The relevanceLanguage parameter instructs
2974+ * the API to return search results that are most relevant to the specified
2975+ * language. The parameter value is typically an ISO 639-1 two-letter language
2976+ * code. However, you should use the values zh-Hans for simplified Chinese and
2977+ * zh-Hant for traditional Chinese. Please note that results in other languages
2978+ * will still be returned if they are highly relevant to the search query term.
29692979 * @opt_param bool forMine The forMine parameter restricts the search to only
29702980 * retrieve videos owned by the authenticated user. If you set this parameter to
29712981 * true, then the type parameter's value must also be set to video.
You can’t perform that action at this time.
0 commit comments