public class HangoutsChat.Users.Spaces.Threads.GetThreadReadState extends HangoutsChatRequest<ThreadReadState>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
GetThreadReadState(String name)
Returns details about a user's read state within a thread, used to identify read and unread
messages.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetThreadReadState(String name)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. GetThreadReadState#initialize(com.google.api.client.googleapis.services.A
bstractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
name - Required. Resource name of the thread read state to retrieve. Only supports getting read state for
the calling user. To refer to the calling user, set one of the following: - The `me`
alias. For example, `users/me/spaces/{space}/threads/{thread}/threadReadState`. - Their
Workspace email address. For example,
`users/user@example.com/spaces/{space}/threads/{thread}/threadReadState`. - Their user id.
For example, `users/123456789/spaces/{space}/threads/{thread}/threadReadState`. Format:
users/{user}/spaces/{space}/threads/{thread}/threadReadStatepublic com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ThreadReadState>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ThreadReadState>IOExceptionpublic HangoutsChat.Users.Spaces.Threads.GetThreadReadState set$Xgafv(String $Xgafv)
HangoutsChatRequestset$Xgafv in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setAccessToken(String accessToken)
HangoutsChatRequestsetAccessToken in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setAlt(String alt)
HangoutsChatRequestsetAlt in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setCallback(String callback)
HangoutsChatRequestsetCallback in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setFields(String fields)
HangoutsChatRequestsetFields in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setKey(String key)
HangoutsChatRequestsetKey in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setOauthToken(String oauthToken)
HangoutsChatRequestsetOauthToken in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setPrettyPrint(Boolean prettyPrint)
HangoutsChatRequestsetPrettyPrint in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setQuotaUser(String quotaUser)
HangoutsChatRequestsetQuotaUser in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setUploadType(String uploadType)
HangoutsChatRequestsetUploadType in class HangoutsChatRequest<ThreadReadState>public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setUploadProtocol(String uploadProtocol)
HangoutsChatRequestsetUploadProtocol in class HangoutsChatRequest<ThreadReadState>public String getName()
public HangoutsChat.Users.Spaces.Threads.GetThreadReadState setName(String name)
public HangoutsChat.Users.Spaces.Threads.GetThreadReadState set(String parameterName, Object value)
set in class HangoutsChatRequest<ThreadReadState>Copyright © 2011–2025 Google. All rights reserved.