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 |
|---|---|---|
| IClientService | 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 |
|---|---|
| WebResourceResource.DeleteRequest |
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 |
|---|---|
| WebResourceResource.GetRequest |
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 |
|---|---|---|
| SiteVerificationWebResourceGettokenRequest | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| WebResourceResource.GetTokenRequest |
Insert(SiteVerificationWebResourceResource, string)
Attempt verification of a website or domain.
Declaration
public virtual WebResourceResource.InsertRequest Insert(SiteVerificationWebResourceResource body, string verificationMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| SiteVerificationWebResourceResource | body | The body of the request. |
| string | verificationMethod | The method to use for verifying a site or domain. |
Returns
| Type | Description |
|---|---|
| WebResourceResource.InsertRequest |
List()
Get the list of your verified websites and domains.
Declaration
public virtual WebResourceResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| WebResourceResource.ListRequest |
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 |
|---|---|---|
| SiteVerificationWebResourceResource | body | The body of the request. |
| string | id | The id of a verified site or domain. |
Returns
| Type | Description |
|---|---|
| WebResourceResource.PatchRequest |
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 |
|---|---|---|
| SiteVerificationWebResourceResource | body | The body of the request. |
| string | id | The id of a verified site or domain. |
Returns
| Type | Description |
|---|---|
| WebResourceResource.UpdateRequest |