public class Translate.Projects.Locations.List extends TranslateRequest<ListLocationsResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String name)
Lists information about the supported locations for this service.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getFilter()
A filter to narrow down results to a preferred subset.
|
String |
getName()
The resource that owns the locations collection, if applicable.
|
Integer |
getPageSize()
The maximum number of results to return.
|
String |
getPageToken()
A page token received from the `next_page_token` field in the response.
|
Translate.Projects.Locations.List |
set(String parameterName,
Object value) |
Translate.Projects.Locations.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Translate.Projects.Locations.List |
setAccessToken(String accessToken)
OAuth access token.
|
Translate.Projects.Locations.List |
setAlt(String alt)
Data format for response.
|
Translate.Projects.Locations.List |
setCallback(String callback)
JSONP
|
Translate.Projects.Locations.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Translate.Projects.Locations.List |
setFilter(String filter)
A filter to narrow down results to a preferred subset.
|
Translate.Projects.Locations.List |
setKey(String key)
API key.
|
Translate.Projects.Locations.List |
setName(String name)
The resource that owns the locations collection, if applicable.
|
Translate.Projects.Locations.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Translate.Projects.Locations.List |
setPageSize(Integer pageSize)
The maximum number of results to return.
|
Translate.Projects.Locations.List |
setPageToken(String pageToken)
A page token received from the `next_page_token` field in the response.
|
Translate.Projects.Locations.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Translate.Projects.Locations.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Translate.Projects.Locations.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Translate.Projects.Locations.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
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 List(String name)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Translate.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
name - The resource that owns the locations collection, if applicable.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ListLocationsResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ListLocationsResponse>IOExceptionpublic Translate.Projects.Locations.List set$Xgafv(String $Xgafv)
TranslateRequestset$Xgafv in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setAccessToken(String accessToken)
TranslateRequestsetAccessToken in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setAlt(String alt)
TranslateRequestsetAlt in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setCallback(String callback)
TranslateRequestsetCallback in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setFields(String fields)
TranslateRequestsetFields in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setKey(String key)
TranslateRequestsetKey in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setOauthToken(String oauthToken)
TranslateRequestsetOauthToken in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setPrettyPrint(Boolean prettyPrint)
TranslateRequestsetPrettyPrint in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setQuotaUser(String quotaUser)
TranslateRequestsetQuotaUser in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setUploadType(String uploadType)
TranslateRequestsetUploadType in class TranslateRequest<ListLocationsResponse>public Translate.Projects.Locations.List setUploadProtocol(String uploadProtocol)
TranslateRequestsetUploadProtocol in class TranslateRequest<ListLocationsResponse>public String getName()
public Translate.Projects.Locations.List setName(String name)
public String getFilter()
public Translate.Projects.Locations.List setFilter(String filter)
public Integer getPageSize()
public Translate.Projects.Locations.List setPageSize(Integer pageSize)
public String getPageToken()
public Translate.Projects.Locations.List setPageToken(String pageToken)
public Translate.Projects.Locations.List set(String parameterName, Object value)
set in class TranslateRequest<ListLocationsResponse>Copyright © 2011–2021 Google. All rights reserved.