target.apidocs.com.google.api.services.factchecktools.v1alpha1.FactCheckTools.Pages.html Maven / Gradle / Ivy
The newest version!
FactCheckTools.Pages (Fact Check Tools API v1alpha1-rev20240929-2.0.0)
com.google.api.services.factchecktools.v1alpha1
Class FactCheckTools.Pages
- java.lang.Object
-
- com.google.api.services.factchecktools.v1alpha1.FactCheckTools.Pages
-
- Enclosing class:
- FactCheckTools
public class FactCheckTools.Pages
extends Object
The "pages" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
FactCheckTools.Pages.Create
class
FactCheckTools.Pages.Delete
class
FactCheckTools.Pages.Get
class
FactCheckTools.Pages.List
class
FactCheckTools.Pages.Update
-
Constructor Summary
Constructors
Constructor and Description
Pages()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FactCheckTools.Pages.Create
create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
Create `ClaimReview` markup on a page.
FactCheckTools.Pages.Delete
delete(String name)
Delete all `ClaimReview` markup on a page.
FactCheckTools.Pages.Get
get(String name)
Get all `ClaimReview` markup on a page.
FactCheckTools.Pages.List
list()
List the `ClaimReview` markup pages for a specific URL or for an organization.
FactCheckTools.Pages.Update
update(String name,
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
Update for all `ClaimReview` markup on a page Note that this is a full update.
-
-
Method Detail
-
create
public FactCheckTools.Pages.Create create(GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
throws IOException
Create `ClaimReview` markup on a page.
Create a request for the method "pages.create".
This request holds the parameters needed by the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
content
- the GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
- Returns:
- the request
- Throws:
IOException
-
delete
public FactCheckTools.Pages.Delete delete(String name)
throws IOException
Delete all `ClaimReview` markup on a page.
Create a request for the method "pages.delete".
This request holds the parameters needed by the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The name of the resource to delete, in the form of `pages/{page_id}`.
- Returns:
- the request
- Throws:
IOException
-
get
public FactCheckTools.Pages.Get get(String name)
throws IOException
Get all `ClaimReview` markup on a page.
Create a request for the method "pages.get".
This request holds the parameters needed by the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The name of the resource to get, in the form of `pages/{page_id}`.
- Returns:
- the request
- Throws:
IOException
-
list
public FactCheckTools.Pages.List list()
throws IOException
List the `ClaimReview` markup pages for a specific URL or for an organization.
Create a request for the method "pages.list".
This request holds the parameters needed by the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException
-
update
public FactCheckTools.Pages.Update update(String name,
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
throws IOException
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.
Create a request for the method "pages.update".
This request holds the parameters needed by the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
content
- the GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy