Class WebResourceResource
The "webResource" collection of methods.
Inherited Members
Namespace: Google.Apis.SiteVerification .v1
Assembly: Google.Apis.SiteVerification.v1.dll
Syntax
public class WebResourceResource
Constructors
WebResourceResource(IClientService)
Constructs a new resource.
Declaration
public WebResourceResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Delete(string)
Relinquish ownership of a website or domain.
Declaration
public virtual WebResourceResource.DeleteRequest Delete(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id of a verified site or domain. |
Returns
Type | Description |
---|---|
Web |
Get(string)
Get the most current data for a website or domain.
Declaration
public virtual WebResourceResource.GetRequest Get(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id of a verified site or domain. |
Returns
Type | Description |
---|---|
Web |
GetToken(SiteVerificationWebResourceGettokenRequest)
Get a verification token for placing on a website or domain.
Declaration
public virtual WebResourceResource.GetTokenRequest GetToken(SiteVerificationWebResourceGettokenRequest body)
Parameters
Type | Name | Description |
---|---|---|
Site |
body | The body of the request. |
Returns
Type | Description |
---|---|
Web |
Insert(SiteVerificationWebResourceResource, string)
Attempt verification of a website or domain.
Declaration
public virtual WebResourceResource.InsertRequest Insert(SiteVerificationWebResourceResource body, string verificationMethod)
Parameters
Type | Name | Description |
---|---|---|
Site |
body | The body of the request. |
string | verificationMethod | The method to use for verifying a site or domain. |
Returns
Type | Description |
---|---|
Web |
List()
Get the list of your verified websites and domains.
Declaration
public virtual WebResourceResource.ListRequest List()
Returns
Type | Description |
---|---|
Web |
Patch(SiteVerificationWebResourceResource, string)
Modify the list of owners for your website or domain. This method supports patch semantics.
Declaration
public virtual WebResourceResource.PatchRequest Patch(SiteVerificationWebResourceResource body, string id)
Parameters
Type | Name | Description |
---|---|---|
Site |
body | The body of the request. |
string | id | The id of a verified site or domain. |
Returns
Type | Description |
---|---|
Web |
Update(SiteVerificationWebResourceResource, string)
Modify the list of owners for your website or domain.
Declaration
public virtual WebResourceResource.UpdateRequest Update(SiteVerificationWebResourceResource body, string id)
Parameters
Type | Name | Description |
---|---|---|
Site |
body | The body of the request. |
string | id | The id of a verified site or domain. |
Returns
Type | Description |
---|---|
Web |