The "sites" collection of methods.
More...
|
| 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.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "sites" collection of methods.
Typical usage is: $webmastersService = new Google_Service_Webmasters(...); $sites = $webmastersService->sites;
◆ 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 | $siteUrl | The URL of the site to add. |
array | $optParams | Optional 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
-
◆ 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 | $siteUrl | The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Webmasters_Sites_Resource::get |
( |
| $siteUrl, |
|
|
| $optParams = array() ) |
Retrieves information about specific site.
(sites.get)
- Parameters
-
string | $siteUrl | The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ |
array | $optParams | Optional parameters. |
- Return values
-
◆ listSites()
Google_Service_Webmasters_Sites_Resource::listSites |
( |
| $optParams = array() | ) |
|
Lists the user's Webmaster Tools sites.
(sites.listSites)
- Parameters
-
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Webmasters.php