
target.apidocs.com.google.api.services.factchecktools.v1alpha1.FactCheckTools.Pages.Update.html Maven / Gradle / Ivy
FactCheckTools.Pages.Update (Fact Check Tools API v1alpha1-rev20240929-2.0.0)
com.google.api.services.factchecktools.v1alpha1
Class FactCheckTools.Pages.Update
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.factchecktools.v1alpha1.FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
- com.google.api.services.factchecktools.v1alpha1.FactCheckTools.Pages.Update
-
- Enclosing class:
- FactCheckTools.Pages
public class FactCheckTools.Pages.Update
extends FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Update(String name,
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
Update for all `ClaimReview` markup on a page Note that this is a full update.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
String
getName()
The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`.
FactCheckTools.Pages.Update
set(String parameterName,
Object value)
FactCheckTools.Pages.Update
set$Xgafv(String $Xgafv)
V1 error format.
FactCheckTools.Pages.Update
setAccessToken(String accessToken)
OAuth access token.
FactCheckTools.Pages.Update
setAlt(String alt)
Data format for response.
FactCheckTools.Pages.Update
setCallback(String callback)
JSONP
FactCheckTools.Pages.Update
setFields(String fields)
Selector specifying which fields to include in a partial response.
FactCheckTools.Pages.Update
setKey(String key)
API key.
FactCheckTools.Pages.Update
setName(String name)
The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`.
FactCheckTools.Pages.Update
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
FactCheckTools.Pages.Update
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
FactCheckTools.Pages.Update
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
FactCheckTools.Pages.Update
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
FactCheckTools.Pages.Update
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
-
Methods inherited from class com.google.api.services.factchecktools.v1alpha1.FactCheckToolsRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Update
protected Update(String name,
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage content)
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 the factchecktools server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
FactCheckTools.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- 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
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public FactCheckTools.Pages.Update set$Xgafv(String $Xgafv)
Description copied from class: FactCheckToolsRequest
V1 error format.
- Overrides:
set$Xgafv
in class FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
setAccessToken
public FactCheckTools.Pages.Update setAccessToken(String accessToken)
Description copied from class: FactCheckToolsRequest
OAuth access token.
-
setAlt
public FactCheckTools.Pages.Update setAlt(String alt)
Description copied from class: FactCheckToolsRequest
Data format for response.
- Overrides:
setAlt
in class FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
setCallback
public FactCheckTools.Pages.Update setCallback(String callback)
Description copied from class: FactCheckToolsRequest
JSONP
-
setFields
public FactCheckTools.Pages.Update setFields(String fields)
Description copied from class: FactCheckToolsRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
setKey
public FactCheckTools.Pages.Update setKey(String key)
Description copied from class: FactCheckToolsRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
-
setOauthToken
public FactCheckTools.Pages.Update setOauthToken(String oauthToken)
Description copied from class: FactCheckToolsRequest
OAuth 2.0 token for the current user.
-
setPrettyPrint
public FactCheckTools.Pages.Update setPrettyPrint(Boolean prettyPrint)
Description copied from class: FactCheckToolsRequest
Returns response with indentations and line breaks.
-
setQuotaUser
public FactCheckTools.Pages.Update setQuotaUser(String quotaUser)
Description copied from class: FactCheckToolsRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
-
setUploadType
public FactCheckTools.Pages.Update setUploadType(String uploadType)
Description copied from class: FactCheckToolsRequest
Legacy upload protocol for media (e.g. "media", "multipart").
-
setUploadProtocol
public FactCheckTools.Pages.Update setUploadProtocol(String uploadProtocol)
Description copied from class: FactCheckToolsRequest
Upload protocol for media (e.g. "raw", "multipart").
-
getName
public String getName()
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.
-
setName
public FactCheckTools.Pages.Update setName(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.
-
set
public FactCheckTools.Pages.Update set(String parameterName,
Object value)
- Overrides:
set
in class FactCheckToolsRequest<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy