public class Analytics.Management.Goals.Update extends AnalyticsRequest<Goal>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Analytics.Management.Goals.Update(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId,
java.lang.String goalId,
Goal content)
Updates an existing goal.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccountId()
Account ID to update the goal.
|
java.lang.String |
getGoalId()
Index of the goal to be updated.
|
java.lang.String |
getProfileId()
View (Profile) ID to update the goal.
|
java.lang.String |
getWebPropertyId()
Web property ID to update the goal.
|
Analytics.Management.Goals.Update |
set(java.lang.String parameterName,
java.lang.Object value) |
Analytics.Management.Goals.Update |
setAccountId(java.lang.String accountId)
Account ID to update the goal.
|
Analytics.Management.Goals.Update |
setAlt(java.lang.String alt)
Data format for the response.
|
Analytics.Management.Goals.Update |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Goals.Update |
setGoalId(java.lang.String goalId)
Index of the goal to be updated.
|
Analytics.Management.Goals.Update |
setKey(java.lang.String key)
API key.
|
Analytics.Management.Goals.Update |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Goals.Update |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Goals.Update |
setProfileId(java.lang.String profileId)
View (Profile) ID to update the goal.
|
Analytics.Management.Goals.Update |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Goals.Update |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Goals.Update |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID to update the goal.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Analytics.Management.Goals.Update(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId, java.lang.String goalId, Goal content)
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 update the goal.webPropertyId
- Web property ID to update the goal.profileId
- View (Profile) ID to update the goal.goalId
- Index of the goal to be updated.content
- the Goal
public Analytics.Management.Goals.Update setAlt(java.lang.String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setFields(java.lang.String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setKey(java.lang.String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setOauthToken(java.lang.String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setPrettyPrint(java.lang.Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setQuotaUser(java.lang.String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<Goal>
public Analytics.Management.Goals.Update setUserIp(java.lang.String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<Goal>
public java.lang.String getAccountId()
public Analytics.Management.Goals.Update setAccountId(java.lang.String accountId)
public java.lang.String getWebPropertyId()
public Analytics.Management.Goals.Update setWebPropertyId(java.lang.String webPropertyId)
public java.lang.String getProfileId()
public Analytics.Management.Goals.Update setProfileId(java.lang.String profileId)
public java.lang.String getGoalId()
public Analytics.Management.Goals.Update setGoalId(java.lang.String goalId)
public Analytics.Management.Goals.Update set(java.lang.String parameterName, java.lang.Object value)
set
in class AnalyticsRequest<Goal>