Google_Service_SiteVerification_Resource_WebResource
extends Google_Service_Resource
in package
The "webResource" collection of methods.
Typical usage is:
$siteVerificationService = new Google_Service_SiteVerification(...);
$webResource = $siteVerificationService->webResource;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : mixed
- Relinquish ownership of a website or domain. (webResource.delete)
- get() : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- Get the most current data for a website or domain. (webResource.get)
- getToken() : Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse
- Get a verification token for placing on a website or domain.
- insert() : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- Attempt verification of a website or domain. (webResource.insert)
- listWebResource() : Google_Service_SiteVerification_SiteVerificationWebResourceListResponse
- Get the list of your verified websites and domains.
- patch() : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- Modify the list of owners for your website or domain. This method supports patch semantics. (webResource.patch)
- update() : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- Modify the list of owners for your website or domain. (webResource.update)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Relinquish ownership of a website or domain. (webResource.delete)
public
delete(string $id[, array<string|int, mixed> $optParams = array() ]) : mixed
Parameters
- $id : string
-
The id of a verified site or domain.
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
mixed —get()
Get the most current data for a website or domain. (webResource.get)
public
get(string $id[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceResource
Parameters
- $id : string
-
The id of a verified site or domain.
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource —getToken()
Get a verification token for placing on a website or domain.
public
getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse
(webResource.getToken)
Parameters
- $postBody : Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse —insert()
Attempt verification of a website or domain. (webResource.insert)
public
insert(string $verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceResource
Parameters
- $verificationMethod : string
-
The method to use for verifying a site or domain.
- $postBody : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource —listWebResource()
Get the list of your verified websites and domains.
public
listWebResource([array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceListResponse
(webResource.listWebResource)
Parameters
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceListResponse —patch()
Modify the list of owners for your website or domain. This method supports patch semantics. (webResource.patch)
public
patch(string $id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceResource
Parameters
- $id : string
-
The id of a verified site or domain.
- $postBody : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource —update()
Modify the list of owners for your website or domain. (webResource.update)
public
update(string $id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SiteVerification_SiteVerificationWebResourceResource
Parameters
- $id : string
-
The id of a verified site or domain.
- $postBody : Google_Service_SiteVerification_SiteVerificationWebResourceResource
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_SiteVerification_SiteVerificationWebResourceResource —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed