public class MyBusinessQA.Locations.Questions.Answers.Upsert extends MyBusinessQARequest<Answer>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Upsert(String parent,
UpsertAnswerRequest content)
Creates an answer or updates the existing answer written by the user for the specified
question.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
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
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Upsert(String parent, UpsertAnswerRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
MyBusinessQA.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
parent
- Required. The name of the question to write an answer for.content
- the UpsertAnswerRequest
public MyBusinessQA.Locations.Questions.Answers.Upsert set$Xgafv(String $Xgafv)
MyBusinessQARequest
set$Xgafv
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setAccessToken(String accessToken)
MyBusinessQARequest
setAccessToken
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setAlt(String alt)
MyBusinessQARequest
setAlt
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setCallback(String callback)
MyBusinessQARequest
setCallback
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setFields(String fields)
MyBusinessQARequest
setFields
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setKey(String key)
MyBusinessQARequest
setKey
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setOauthToken(String oauthToken)
MyBusinessQARequest
setOauthToken
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setPrettyPrint(Boolean prettyPrint)
MyBusinessQARequest
setPrettyPrint
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setQuotaUser(String quotaUser)
MyBusinessQARequest
setQuotaUser
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setUploadType(String uploadType)
MyBusinessQARequest
setUploadType
in class MyBusinessQARequest<Answer>
public MyBusinessQA.Locations.Questions.Answers.Upsert setUploadProtocol(String uploadProtocol)
MyBusinessQARequest
setUploadProtocol
in class MyBusinessQARequest<Answer>
public String getParent()
public MyBusinessQA.Locations.Questions.Answers.Upsert setParent(String parent)
public MyBusinessQA.Locations.Questions.Answers.Upsert set(String parameterName, Object value)
set
in class MyBusinessQARequest<Answer>
Copyright © 2011–2022 Google. All rights reserved.