public class MyBusinessQA.Locations.Questions.Patch extends MyBusinessQARequest<Question>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Patch(String name,
Question content)
Updates a specific question written by the current user.
|
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 Patch(String name, Question 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.
name
- Immutable. The unique name for the question. locations/questions This field will be ignored if set
during question creation.content
- the Question
public MyBusinessQA.Locations.Questions.Patch set$Xgafv(String $Xgafv)
MyBusinessQARequest
set$Xgafv
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setAccessToken(String accessToken)
MyBusinessQARequest
setAccessToken
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setAlt(String alt)
MyBusinessQARequest
setAlt
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setCallback(String callback)
MyBusinessQARequest
setCallback
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setFields(String fields)
MyBusinessQARequest
setFields
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setKey(String key)
MyBusinessQARequest
setKey
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setOauthToken(String oauthToken)
MyBusinessQARequest
setOauthToken
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setPrettyPrint(Boolean prettyPrint)
MyBusinessQARequest
setPrettyPrint
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setQuotaUser(String quotaUser)
MyBusinessQARequest
setQuotaUser
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setUploadType(String uploadType)
MyBusinessQARequest
setUploadType
in class MyBusinessQARequest<Question>
public MyBusinessQA.Locations.Questions.Patch setUploadProtocol(String uploadProtocol)
MyBusinessQARequest
setUploadProtocol
in class MyBusinessQARequest<Question>
public String getName()
public MyBusinessQA.Locations.Questions.Patch setName(String name)
public String getUpdateMask()
public MyBusinessQA.Locations.Questions.Patch setUpdateMask(String updateMask)
public MyBusinessQA.Locations.Questions.Patch set(String parameterName, Object value)
set
in class MyBusinessQARequest<Question>
Copyright © 2011–2022 Google. All rights reserved.