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

The "sites" collection of methods. More...

Inheritance diagram for Google_Service_Webmasters_Sites_Resource:
Google_Service_Resource

Public Member Functions

 add ($siteUrl, $optParams=array())
 Adds a site to the set of the user's sites in Webmaster Tools.
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($siteUrl, $optParams=array())
 Removes a site from the set of the user's Webmaster Tools sites.
 
 get ($siteUrl, $optParams=array())
 Retrieves information about specific site.
 
 listSites ($optParams=array())
 Lists the user's Webmaster Tools sites.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "sites" collection of methods.

Typical usage is: $webmastersService = new Google_Service_Webmasters(...); $sites = $webmastersService->sites;

Member Function Documentation

◆ add()

Google_Service_Webmasters_Sites_Resource::add ( $siteUrl,
$optParams = array() )

Adds a site to the set of the user's sites in Webmaster Tools.

(sites.add)

Parameters
string$siteUrlThe URL of the site to add.
array$optParamsOptional parameters.

◆ 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

◆ delete()

Google_Service_Webmasters_Sites_Resource::delete ( $siteUrl,
$optParams = array() )

Removes a site from the set of the user's Webmaster Tools sites.

(sites.delete)

Parameters
string$siteUrlThe URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/
array$optParamsOptional parameters.

◆ get()

Google_Service_Webmasters_Sites_Resource::get ( $siteUrl,
$optParams = array() )

Retrieves information about specific site.

(sites.get)

Parameters
string$siteUrlThe URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/
array$optParamsOptional parameters.
Return values
Google_Service_Webmasters_WmxSite

◆ listSites()

Google_Service_Webmasters_Sites_Resource::listSites ( $optParams = array())

Lists the user's Webmaster Tools sites.

(sites.listSites)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_Webmasters_SitesListResponse

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