public class Analytics.Management.Profiles.Patch extends AnalyticsRequest<Profile>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String accountId,
String webPropertyId,
String profileId,
Profile content)
Updates an existing view (profile).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Account ID to which the view (profile) belongs
|
String |
getProfileId()
ID of the view (profile) to be updated.
|
String |
getWebPropertyId()
Web property ID to which the view (profile) belongs
|
Analytics.Management.Profiles.Patch |
set(String parameterName,
Object value) |
Analytics.Management.Profiles.Patch |
setAccountId(String accountId)
Account ID to which the view (profile) belongs
|
Analytics.Management.Profiles.Patch |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Profiles.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Profiles.Patch |
setKey(String key)
API key.
|
Analytics.Management.Profiles.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Profiles.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Profiles.Patch |
setProfileId(String profileId)
ID of the view (profile) to be updated.
|
Analytics.Management.Profiles.Patch |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Analytics.Management.Profiles.Patch |
setUserIp(String userIp)
Deprecated.
|
Analytics.Management.Profiles.Patch |
setWebPropertyId(String webPropertyId)
Web property ID to which the view (profile) belongs
|
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, 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 Patch(String accountId, String webPropertyId, String profileId, Profile 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 which the view (profile) belongswebPropertyId - Web property ID to which the view (profile) belongsprofileId - ID of the view (profile) to be updated.content - the Profilepublic Analytics.Management.Profiles.Patch setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Patch setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Profile>public String getAccountId()
public Analytics.Management.Profiles.Patch setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Profiles.Patch setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.Profiles.Patch setProfileId(String profileId)
public Analytics.Management.Profiles.Patch set(String parameterName, Object value)
set in class AnalyticsRequest<Profile>Copyright © 2011–2022 Google. All rights reserved.