public class Analytics.Management.Goals.List extends AnalyticsRequest<Goals>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String accountId,
String webPropertyId,
String profileId)
Lists goals to which the user has access.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getAccountId()
Account ID to retrieve goals for.
|
Integer |
getMaxResults()
The maximum number of goals to include in this response.
|
String |
getProfileId()
View (Profile) ID to retrieve goals for.
|
Integer |
getStartIndex()
An index of the first goal to retrieve.
|
String |
getWebPropertyId()
Web property ID to retrieve goals for.
|
Analytics.Management.Goals.List |
set(String parameterName,
Object value) |
Analytics.Management.Goals.List |
setAccountId(String accountId)
Account ID to retrieve goals for.
|
Analytics.Management.Goals.List |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Goals.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Goals.List |
setKey(String key)
API key.
|
Analytics.Management.Goals.List |
setMaxResults(Integer maxResults)
The maximum number of goals to include in this response.
|
Analytics.Management.Goals.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Goals.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Goals.List |
setProfileId(String profileId)
View (Profile) ID to retrieve goals for.
|
Analytics.Management.Goals.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Analytics.Management.Goals.List |
setStartIndex(Integer startIndex)
An index of the first goal to retrieve.
|
Analytics.Management.Goals.List |
setUserIp(String userIp)
Deprecated.
|
Analytics.Management.Goals.List |
setWebPropertyId(String webPropertyId)
Web property ID to retrieve goals for.
|
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(String accountId, String webPropertyId, String profileId)
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.
accountId - Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all
the accounts that user has access to.webPropertyId - Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
refers to all the web properties that user has access to.profileId - View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which
refers to all the views (profiles) that user has access to.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Goals>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Goals>IOExceptionpublic Analytics.Management.Goals.List setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Goals>public Analytics.Management.Goals.List setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Goals>public String getAccountId()
public Analytics.Management.Goals.List setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Goals.List setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.Goals.List setProfileId(String profileId)
public Integer getMaxResults()
public Analytics.Management.Goals.List setMaxResults(Integer maxResults)
public Integer getStartIndex()
public Analytics.Management.Goals.List setStartIndex(Integer startIndex)
public Analytics.Management.Goals.List set(String parameterName, Object value)
set in class AnalyticsRequest<Goals>Copyright © 2011–2022 Google. All rights reserved.