Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 405 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 classes

Google_Service_SiteVerification:: (1 method):
  __construct()

Google_Service_SiteVerification_WebResource_Resource:: (7 methods):
  delete()
  get()
  getToken()
  insert()
  listWebResource()
  patch()
  update()

Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest:: (4 methods):
  setSite()
  getSite()
  setVerificationMethod()
  getVerificationMethod()

Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite:: (4 methods):
  setIdentifier()
  getIdentifier()
  setType()
  getType()

Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse:: (4 methods):
  setMethod()
  getMethod()
  setToken()
  getToken()

Google_Service_SiteVerification_SiteVerificationWebResourceListResponse:: (2 methods):
  setItems()
  getItems()

Google_Service_SiteVerification_SiteVerificationWebResourceResource:: (6 methods):
  setId()
  getId()
  setOwners()
  getOwners()
  setSite()
  getSite()

Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite:: (4 methods):
  setIdentifier()
  getIdentifier()
  setType()
  getType()


Class: Google_Service_SiteVerification  - X-Ref

Service definition for SiteVerification (v1).

<p>
Lets you programatically verify ownership of websites or domains with Google.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/site-verification/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the SiteVerification service.

param: Google_Client $client

Class: Google_Service_SiteVerification_WebResource_Resource  - X-Ref

The "webResource" collection of methods.
Typical usage is:
<code>
$siteVerificationService = new Google_Service_SiteVerification(...);
$webResource = $siteVerificationService->webResource;
</code>

delete($id, $optParams = array()   X-Ref
Relinquish ownership of a website or domain. (webResource.delete)

param: string $id The id of a verified site or domain.
param: array $optParams Optional parameters.

get($id, $optParams = array()   X-Ref
Get the most current data for a website or domain. (webResource.get)

param: string $id The id of a verified site or domain.
param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceResource

getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array()   X-Ref
Get a verification token for placing on a website or domain.
(webResource.getToken)

param: Google_SiteVerificationWebResourceGettokenRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse

insert($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()   X-Ref
Attempt verification of a website or domain. (webResource.insert)

param: string $verificationMethod The method to use for verifying a site or
param: Google_SiteVerificationWebResourceResource $postBody
param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceResource

listWebResource($optParams = array()   X-Ref
Get the list of your verified websites and domains.
(webResource.listWebResource)

param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceListResponse

patch($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()   X-Ref
Modify the list of owners for your website or domain. This method supports
patch semantics. (webResource.patch)

param: string $id The id of a verified site or domain.
param: Google_SiteVerificationWebResourceResource $postBody
param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceResource

update($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()   X-Ref
Modify the list of owners for your website or domain. (webResource.update)

param: string $id The id of a verified site or domain.
param: Google_SiteVerificationWebResourceResource $postBody
param: array $optParams Optional parameters.
return: Google_Service_SiteVerification_SiteVerificationWebResourceResource

Class: Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest  - X-Ref

setSite(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite $site)   X-Ref
No description

getSite()   X-Ref
No description

setVerificationMethod($verificationMethod)   X-Ref
No description

getVerificationMethod()   X-Ref
No description

Class: Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite  - X-Ref

setIdentifier($identifier)   X-Ref
No description

getIdentifier()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse  - X-Ref

setMethod($method)   X-Ref
No description

getMethod()   X-Ref
No description

setToken($token)   X-Ref
No description

getToken()   X-Ref
No description

Class: Google_Service_SiteVerification_SiteVerificationWebResourceResource  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setOwners($owners)   X-Ref
No description

getOwners()   X-Ref
No description

setSite(Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite $site)   X-Ref
No description

getSite()   X-Ref
No description

Class: Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite  - X-Ref

setIdentifier($identifier)   X-Ref
No description

getIdentifier()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description