public class Analytics.Management.Goals.Patch extends AnalyticsRequest<Goal>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Analytics.Management.Goals.Patch(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing view (profile).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Account ID to update the goal.
|
String |
getGoalId()
Index of the goal to be updated.
|
String |
getProfileId()
View (Profile) ID to update the goal.
|
String |
getWebPropertyId()
Web property ID to update the goal.
|
Analytics.Management.Goals.Patch |
set(String parameterName,
Object value) |
Analytics.Management.Goals.Patch |
setAccountId(String accountId)
Account ID to update the goal.
|
Analytics.Management.Goals.Patch |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Goals.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Goals.Patch |
setGoalId(String goalId)
Index of the goal to be updated.
|
Analytics.Management.Goals.Patch |
setKey(String key)
API key.
|
Analytics.Management.Goals.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Goals.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Goals.Patch |
setProfileId(String profileId)
View (Profile) ID to update the goal.
|
Analytics.Management.Goals.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Goals.Patch |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Goals.Patch |
setWebPropertyId(String webPropertyId)
Web property ID to update the goal.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Analytics.Management.Goals.Patch(String accountId, String webPropertyId, String profileId, 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 Goalpublic Analytics.Management.Goals.Patch setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Goal>public Analytics.Management.Goals.Patch setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Goal>public String getAccountId()
public Analytics.Management.Goals.Patch setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Goals.Patch setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.Goals.Patch setProfileId(String profileId)
public String getGoalId()
public Analytics.Management.Goals.Patch setGoalId(String goalId)
public Analytics.Management.Goals.Patch set(String parameterName, Object value)
set in class AnalyticsRequest<Goal>