Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_YouTube_VideoCategories_Resource Class Reference

The "videoCategories" collection of methods. More...

Inheritance diagram for Google_Service_YouTube_VideoCategories_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listVideoCategories ($part, $optParams=array())
 Returns a list of categories that can be associated with YouTube videos.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "videoCategories" collection of methods.

Typical usage is: $youtubeService = new Google_Service_YouTube(...); $videoCategories = $youtubeService->videoCategories;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ listVideoCategories()

Google_Service_YouTube_VideoCategories_Resource::listVideoCategories ( $part,
$optParams = array() )

Returns a list of categories that can be associated with YouTube videos.

(videoCategories.listVideoCategories)

Parameters
string$partThe part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.
array$optParamsOptional parameters.

@opt_param string regionCode The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. @opt_param string id The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving. @opt_param string hl The hl parameter specifies the language that should be used for text values in the API response.

Return values
Google_Service_YouTube_VideoCategoryListResponse

The documentation for this class was generated from the following file: