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

The "guideCategories" collection of methods. More...

Inheritance diagram for Google_Service_YouTube_GuideCategories_Resource:
Google_Service_Resource

Public Member Functions

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

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "guideCategories" collection of methods.

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

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

◆ listGuideCategories()

Google_Service_YouTube_GuideCategories_Resource::listGuideCategories ( $part,
$optParams = array() )

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

(guideCategories.listGuideCategories)

Parameters
string$partThe part parameter specifies the guideCategory 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 guide 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 the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID. @opt_param string hl The hl parameter specifies the language that will be used for text values in the API response.

Return values
Google_Service_YouTube_GuideCategoryListResponse

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