class Pages extends Resource (View source)

The "pages" collection of methods.

Typical usage is:

 $factchecktoolsService = new Google\Service\FactCheckTools(...);
 $pages = $factchecktoolsService->pages;

Methods

create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody, array $optParams = [])

Create ClaimReview markup on a page. (pages.create)

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

Delete all ClaimReview markup on a page. (pages.delete)

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

Get all ClaimReview markup on a page. (pages.get)

listPages(array $optParams = [])

List the ClaimReview markup pages for a specific URL or for an organization. (pages.listPages)

update(string $name, GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody, array $optParams = [])

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. (pages.update)

Details

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody, array $optParams = [])

Create ClaimReview markup on a page. (pages.create)

Parameters

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody
array $optParams

Optional parameters.

Return Value

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Delete all ClaimReview markup on a page. (pages.delete)

Parameters

string $name

The name of the resource to delete, in the form of pages/{page_id}.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage get(string $name, array $optParams = [])

Get all ClaimReview markup on a page. (pages.get)

Parameters

string $name

The name of the resource to get, in the form of pages/{page_id}.

array $optParams

Optional parameters.

Return Value

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage

Exceptions

Exception

GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse listPages(array $optParams = [])

List the ClaimReview markup pages for a specific URL or for an organization. (pages.listPages)

Parameters

array $optParams

Optional parameters.

Return Value

GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse

Exceptions

Exception

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage update(string $name, GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody, array $optParams = [])

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. (pages.update)

Parameters

string $name

The name of this ClaimReview markup page resource, in the form of pages/{page_id}. Except for update requests, this field is output-only and should not be set by the user.

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage $postBody
array $optParams

Optional parameters.

Return Value

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage

Exceptions

Exception