Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_SiteVerification_WebResource_Resource Class Reference

The "webResource" collection of methods. More...

Inheritance diagram for Google_Service_SiteVerification_WebResource_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($id, $optParams=array())
 Relinquish ownership of a website or domain.
 
 get ($id, $optParams=array())
 Get the most current data for a website or domain.
 
 getToken (Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams=array())
 Get a verification token for placing on a website or domain.
 
 insert ($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams=array())
 Attempt verification of a website or domain.
 
 listWebResource ($optParams=array())
 Get the list of your verified websites and domains.
 
 patch ($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams=array())
 Modify the list of owners for your website or domain.
 
 update ($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams=array())
 Modify the list of owners for your website or domain.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "webResource" collection of methods.

Typical usage is: $siteVerificationService = new Google_Service_SiteVerification(...); $webResource = $siteVerificationService->webResource;

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

◆ delete()

Google_Service_SiteVerification_WebResource_Resource::delete ( $id,
$optParams = array() )

Relinquish ownership of a website or domain.

(webResource.delete)

Parameters
string$idThe id of a verified site or domain.
array$optParamsOptional parameters.

◆ get()

Google_Service_SiteVerification_WebResource_Resource::get ( $id,
$optParams = array() )

Get the most current data for a website or domain.

(webResource.get)

Parameters
string$idThe id of a verified site or domain.
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource

◆ getToken()

Google_Service_SiteVerification_WebResource_Resource::getToken ( Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody,
$optParams = array() )

Get a verification token for placing on a website or domain.

(webResource.getToken)

Parameters
Google_SiteVerificationWebResourceGettokenRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse

◆ insert()

Google_Service_SiteVerification_WebResource_Resource::insert ( $verificationMethod,
Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody,
$optParams = array() )

Attempt verification of a website or domain.

(webResource.insert)

Parameters
string$verificationMethodThe method to use for verifying a site or domain.
Google_SiteVerificationWebResourceResource$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource

◆ listWebResource()

Google_Service_SiteVerification_WebResource_Resource::listWebResource ( $optParams = array())

Get the list of your verified websites and domains.

(webResource.listWebResource)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceListResponse

◆ patch()

Google_Service_SiteVerification_WebResource_Resource::patch ( $id,
Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody,
$optParams = array() )

Modify the list of owners for your website or domain.

This method supports patch semantics. (webResource.patch)

Parameters
string$idThe id of a verified site or domain.
Google_SiteVerificationWebResourceResource$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource

◆ update()

Google_Service_SiteVerification_WebResource_Resource::update ( $id,
Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody,
$optParams = array() )

Modify the list of owners for your website or domain.

(webResource.update)

Parameters
string$idThe id of a verified site or domain.
Google_SiteVerificationWebResourceResource$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource

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