public class Analytics.Management.Accounts.List extends AnalyticsRequest<Accounts>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List()
Lists all accounts to which the user has access.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
Integer |
getMaxResults()
The maximum number of accounts to include in this response.
|
Integer |
getStartIndex()
An index of the first account to retrieve.
|
Analytics.Management.Accounts.List |
set(String parameterName,
Object value) |
Analytics.Management.Accounts.List |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Accounts.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Accounts.List |
setKey(String key)
API key.
|
Analytics.Management.Accounts.List |
setMaxResults(Integer maxResults)
The maximum number of accounts to include in this response.
|
Analytics.Management.Accounts.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Accounts.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Accounts.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Analytics.Management.Accounts.List |
setStartIndex(Integer startIndex)
An index of the first account to retrieve.
|
Analytics.Management.Accounts.List |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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()
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Analytics.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Accounts>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Accounts>IOExceptionpublic Analytics.Management.Accounts.List setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Accounts>public Analytics.Management.Accounts.List setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Accounts>public Integer getMaxResults()
public Analytics.Management.Accounts.List setMaxResults(Integer maxResults)
public Integer getStartIndex()
public Analytics.Management.Accounts.List setStartIndex(Integer startIndex)
public Analytics.Management.Accounts.List set(String parameterName, Object value)
set in class AnalyticsRequest<Accounts>Copyright © 2011–2022 Google. All rights reserved.