Class PagesResource
The "pages" collection of methods.
Inherited Members
Namespace: Google.Apis.FactCheckTools.v1alpha1
Assembly: Google.Apis.FactCheckTools.v1alpha1.dll
Syntax
public class PagesResource
Constructors
PagesResource(IClientService)
Constructs a new resource.
Declaration
public PagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage)
Create ClaimReview
markup on a page.
Declaration
public virtual PagesResource.CreateRequest Create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage body)
Parameters
Type | Name | Description |
---|---|---|
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage | body | The body of the request. |
Returns
Type | Description |
---|---|
PagesResource.CreateRequest |
Delete(string)
Delete all ClaimReview
markup on a page.
Declaration
public virtual PagesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the resource to delete, in the form of |
Returns
Type | Description |
---|---|
PagesResource.DeleteRequest |
Get(string)
Get all ClaimReview
markup on a page.
Declaration
public virtual PagesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the resource to get, in the form of |
Returns
Type | Description |
---|---|
PagesResource.GetRequest |
List()
List the ClaimReview
markup pages for a specific URL or for an organization.
Declaration
public virtual PagesResource.ListRequest List()
Returns
Type | Description |
---|---|
PagesResource.ListRequest |
Update(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage, string)
Update for all ClaimReview
markup on a page Note that this is a full update. To retain the existing
ClaimReview
markup on a page, first perform a Get operation, then modify the returned markup, and finally
call Update with the entire ClaimReview
markup as the body.
Declaration
public virtual PagesResource.UpdateRequest Update(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage | body | The body of the request. |
string | name | The name of this |
Returns
Type | Description |
---|---|
PagesResource.UpdateRequest |