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

The "searchanalytics" collection of methods. More...

Inheritance diagram for Google_Service_Webmasters_Searchanalytics_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 query ($siteUrl, Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody, $optParams=array())
 Query your data with filters and parameters that you define.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "searchanalytics" collection of methods.

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

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

◆ query()

Google_Service_Webmasters_Searchanalytics_Resource::query ( $siteUrl,
Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody,
$optParams = array() )

Query your data with filters and parameters that you define.

Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days.

When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned. (searchanalytics.query)

Parameters
string$siteUrlThe site's URL, including protocol. For example: http://www.example.com/
Google_SearchAnalyticsQueryRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Webmasters_SearchAnalyticsQueryResponse

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