public class Analytics.Management.Goals.Get extends AnalyticsRequest<Goal>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String accountId,
String webPropertyId,
String profileId,
String goalId)
Gets a goal to which the user has access.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getAccountId()
Account ID to retrieve the goal for.
|
String |
getGoalId()
Goal ID to retrieve the goal for.
|
String |
getProfileId()
View (Profile) ID to retrieve the goal for.
|
String |
getWebPropertyId()
Web property ID to retrieve the goal for.
|
Analytics.Management.Goals.Get |
set(String parameterName,
Object value) |
Analytics.Management.Goals.Get |
setAccountId(String accountId)
Account ID to retrieve the goal for.
|
Analytics.Management.Goals.Get |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Goals.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Goals.Get |
setGoalId(String goalId)
Goal ID to retrieve the goal for.
|
Analytics.Management.Goals.Get |
setKey(String key)
API key.
|
Analytics.Management.Goals.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Goals.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Goals.Get |
setProfileId(String profileId)
View (Profile) ID to retrieve the goal for.
|
Analytics.Management.Goals.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Analytics.Management.Goals.Get |
setUserIp(String userIp)
Deprecated.
|
Analytics.Management.Goals.Get |
setWebPropertyId(String webPropertyId)
Web property ID to retrieve the goal for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String accountId, String webPropertyId, String profileId, String goalId)
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 the goal for.webPropertyId
- Web property ID to retrieve the goal for.profileId
- View (Profile) ID to retrieve the goal for.goalId
- Goal ID to retrieve the goal for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Goal>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Goal>
IOException
public Analytics.Management.Goals.Get setAlt(String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setFields(String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setKey(String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setOauthToken(String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setPrettyPrint(Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setQuotaUser(String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Get setUserIp(String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<Goal>
public String getAccountId()
public Analytics.Management.Goals.Get setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Goals.Get setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.Goals.Get setProfileId(String profileId)
public String getGoalId()
public Analytics.Management.Goals.Get setGoalId(String goalId)
public Analytics.Management.Goals.Get set(String parameterName, Object value)
set
in class AnalyticsRequest<Goal>
Copyright © 2011–2020 Google. All rights reserved.