class WebResource extends Resource (View source)

The "webResource" collection of methods.

Typical usage is:

 $siteVerificationService = new Google\Service\SiteVerification(...);
 $webResource = $siteVerificationService->webResource;

Methods

delete(string $id, array $optParams = [])

Relinquish ownership of a website or domain. (webResource.delete)

get(string $id, array $optParams = [])

Get the most current data for a website or domain. (webResource.get)

getToken(SiteVerificationWebResourceGettokenRequest $postBody, array $optParams = [])

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

insert(string $verificationMethod, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Attempt verification of a website or domain. (webResource.insert)

listWebResource(array $optParams = [])

Get the list of your verified websites and domains.

patch(string $id, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Modify the list of owners for your website or domain. This method supports patch semantics. (webResource.patch)

update(string $id, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Modify the list of owners for your website or domain. (webResource.update)

Details

delete(string $id, array $optParams = [])

Relinquish ownership of a website or domain. (webResource.delete)

Parameters

string $id

The id of a verified site or domain.

array $optParams

Optional parameters.

Exceptions

Exception

SiteVerificationWebResourceResource get(string $id, array $optParams = [])

Get the most current data for a website or domain. (webResource.get)

Parameters

string $id

The id of a verified site or domain.

array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceResource

Exceptions

Exception

SiteVerificationWebResourceGettokenResponse getToken(SiteVerificationWebResourceGettokenRequest $postBody, array $optParams = [])

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

(webResource.getToken)

Parameters

SiteVerificationWebResourceGettokenRequest $postBody
array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceGettokenResponse

Exceptions

Exception

SiteVerificationWebResourceResource insert(string $verificationMethod, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Attempt verification of a website or domain. (webResource.insert)

Parameters

string $verificationMethod

The method to use for verifying a site or domain.

SiteVerificationWebResourceResource $postBody
array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceResource

Exceptions

Exception

SiteVerificationWebResourceListResponse listWebResource(array $optParams = [])

Get the list of your verified websites and domains.

(webResource.listWebResource)

Parameters

array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceListResponse

Exceptions

Exception

SiteVerificationWebResourceResource patch(string $id, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Modify the list of owners for your website or domain. This method supports patch semantics. (webResource.patch)

Parameters

string $id

The id of a verified site or domain.

SiteVerificationWebResourceResource $postBody
array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceResource

Exceptions

Exception

SiteVerificationWebResourceResource update(string $id, SiteVerificationWebResourceResource $postBody, array $optParams = [])

Modify the list of owners for your website or domain. (webResource.update)

Parameters

string $id

The id of a verified site or domain.

SiteVerificationWebResourceResource $postBody
array $optParams

Optional parameters.

Return Value

SiteVerificationWebResourceResource

Exceptions

Exception