public class Analytics.Management.CustomDimensions.Update extends AnalyticsRequest<CustomDimension>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Analytics.Management.CustomDimensions.Update(String accountId,
String webPropertyId,
String customDimensionId,
CustomDimension content)
Updates an existing custom dimension.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccountId()
Account ID for the custom dimension to update.
|
String |
getCustomDimensionId()
Custom dimension ID for the custom dimension to update.
|
Boolean |
getIgnoreCustomDataSourceLinks()
Force the update and ignore any warnings related to the custom dimension being linked to a custom
data source / data set.
|
String |
getWebPropertyId()
Web property ID for the custom dimension to update.
|
boolean |
isIgnoreCustomDataSourceLinks()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
Analytics.Management.CustomDimensions.Update |
set(String parameterName,
Object value) |
Analytics.Management.CustomDimensions.Update |
setAccountId(String accountId)
Account ID for the custom dimension to update.
|
Analytics.Management.CustomDimensions.Update |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.CustomDimensions.Update |
setCustomDimensionId(String customDimensionId)
Custom dimension ID for the custom dimension to update.
|
Analytics.Management.CustomDimensions.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.CustomDimensions.Update |
setIgnoreCustomDataSourceLinks(Boolean ignoreCustomDataSourceLinks)
Force the update and ignore any warnings related to the custom dimension being linked to
a custom data source / data set.
|
Analytics.Management.CustomDimensions.Update |
setKey(String key)
API key.
|
Analytics.Management.CustomDimensions.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.CustomDimensions.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.CustomDimensions.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.CustomDimensions.Update |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.CustomDimensions.Update |
setWebPropertyId(String webPropertyId)
Web property ID for the custom dimension to update.
|
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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Analytics.Management.CustomDimensions.Update(String accountId, String webPropertyId, String customDimensionId, CustomDimension 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 for the custom dimension to update.webPropertyId
- Web property ID for the custom dimension to update.customDimensionId
- Custom dimension ID for the custom dimension to update.content
- the CustomDimension
public Analytics.Management.CustomDimensions.Update setAlt(String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setFields(String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setKey(String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setOauthToken(String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setPrettyPrint(Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setQuotaUser(String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<CustomDimension>
public Analytics.Management.CustomDimensions.Update setUserIp(String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<CustomDimension>
public String getAccountId()
public Analytics.Management.CustomDimensions.Update setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.CustomDimensions.Update setWebPropertyId(String webPropertyId)
public String getCustomDimensionId()
public Analytics.Management.CustomDimensions.Update setCustomDimensionId(String customDimensionId)
public Boolean getIgnoreCustomDataSourceLinks()
public Analytics.Management.CustomDimensions.Update setIgnoreCustomDataSourceLinks(Boolean ignoreCustomDataSourceLinks)
public boolean isIgnoreCustomDataSourceLinks()
Boolean.TRUE
or Boolean.FALSE
.
Boolean properties can have four possible values:
null
, Data.NULL_BOOLEAN
, Boolean.TRUE
or Boolean.FALSE
.
This method returns Boolean.TRUE
if the default of the property is Boolean.TRUE
and it is null
or Data.NULL_BOOLEAN
.
Boolean.FALSE
is returned if the default of the property is Boolean.FALSE
and
it is null
or Data.NULL_BOOLEAN
.
Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
public Analytics.Management.CustomDimensions.Update set(String parameterName, Object value)
set
in class AnalyticsRequest<CustomDimension>