Google Analytics API v3 (revision 41)



com.google.api.services.analytics
Class Analytics.Management.Experiments.Update

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
              extended by com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
                  extended by com.google.api.services.analytics.AnalyticsRequest<Experiment>
                      extended by com.google.api.services.analytics.Analytics.Management.Experiments.Update
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Analytics.Management.Experiments

public class Analytics.Management.Experiments.Update
extends AnalyticsRequest<Experiment>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
protected Analytics.Management.Experiments.Update(String accountId, String webPropertyId, String profileId, String experimentId, Experiment content)
          Update an existing experiment.
 
Method Summary
 String getAccountId()
          Account ID of the experiment to update.
 String getExperimentId()
          Experiment ID of the experiment to update.
 String getProfileId()
          Profile ID of the experiment to update.
 String getWebPropertyId()
          Web property ID of the experiment to update.
 Analytics.Management.Experiments.Update set(String parameterName, Object value)
           
 Analytics.Management.Experiments.Update setAccountId(String accountId)
          Account ID of the experiment to update.
 Analytics.Management.Experiments.Update setAlt(String alt)
          Data format for the response.
 Analytics.Management.Experiments.Update setExperimentId(String experimentId)
          Experiment ID of the experiment to update.
 Analytics.Management.Experiments.Update setFields(String fields)
          Selector specifying which fields to include in a partial response.
 Analytics.Management.Experiments.Update setKey(String key)
          API key.
 Analytics.Management.Experiments.Update setOauthToken(String oauthToken)
          OAuth 2.0 token for the current user.
 Analytics.Management.Experiments.Update setPrettyPrint(Boolean prettyPrint)
          Returns response with indentations and line breaks.
 Analytics.Management.Experiments.Update setProfileId(String profileId)
          Profile ID of the experiment to update.
 Analytics.Management.Experiments.Update setQuotaUser(String quotaUser)
          Available to use for quota purposes for server-side applications.
 Analytics.Management.Experiments.Update setUserIp(String userIp)
          IP address of the site where the request originates.
 Analytics.Management.Experiments.Update setWebPropertyId(String webPropertyId)
          Web property ID of the experiment to update.
 
Methods inherited from class com.google.api.services.analytics.AnalyticsRequest
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
 
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
 
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
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
 
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Analytics.Management.Experiments.Update

protected Analytics.Management.Experiments.Update(String accountId,
                                                  String webPropertyId,
                                                  String profileId,
                                                  String experimentId,
                                                  Experiment content)
Update an existing experiment. Create a request for the method "experiments.update". This request holds the parameters needed by the the analytics server. After setting any optional parameters, call the 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.

Parameters:
accountId - Account ID of the experiment to update.
webPropertyId - Web property ID of the experiment to update.
profileId - Profile ID of the experiment to update.
experimentId - Experiment ID of the experiment to update.
content - the Experiment
Since:
1.13
Method Detail

setAlt

public Analytics.Management.Experiments.Update setAlt(String alt)
Description copied from class: AnalyticsRequest
Data format for the response.

Overrides:
setAlt in class AnalyticsRequest<Experiment>

setFields

public Analytics.Management.Experiments.Update setFields(String fields)
Description copied from class: AnalyticsRequest
Selector specifying which fields to include in a partial response.

Overrides:
setFields in class AnalyticsRequest<Experiment>

setKey

public Analytics.Management.Experiments.Update setKey(String key)
Description copied from class: AnalyticsRequest
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Overrides:
setKey in class AnalyticsRequest<Experiment>

setOauthToken

public Analytics.Management.Experiments.Update setOauthToken(String oauthToken)
Description copied from class: AnalyticsRequest
OAuth 2.0 token for the current user.

Overrides:
setOauthToken in class AnalyticsRequest<Experiment>

setPrettyPrint

public Analytics.Management.Experiments.Update setPrettyPrint(Boolean prettyPrint)
Description copied from class: AnalyticsRequest
Returns response with indentations and line breaks.

Overrides:
setPrettyPrint in class AnalyticsRequest<Experiment>

setQuotaUser

public Analytics.Management.Experiments.Update setQuotaUser(String quotaUser)
Description copied from class: AnalyticsRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.

Overrides:
setQuotaUser in class AnalyticsRequest<Experiment>

setUserIp

public Analytics.Management.Experiments.Update setUserIp(String userIp)
Description copied from class: AnalyticsRequest
IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Overrides:
setUserIp in class AnalyticsRequest<Experiment>

getAccountId

public String getAccountId()
Account ID of the experiment to update.


setAccountId

public Analytics.Management.Experiments.Update setAccountId(String accountId)
Account ID of the experiment to update.


getWebPropertyId

public String getWebPropertyId()
Web property ID of the experiment to update.


setWebPropertyId

public Analytics.Management.Experiments.Update setWebPropertyId(String webPropertyId)
Web property ID of the experiment to update.


getProfileId

public String getProfileId()
Profile ID of the experiment to update.


setProfileId

public Analytics.Management.Experiments.Update setProfileId(String profileId)
Profile ID of the experiment to update.


getExperimentId

public String getExperimentId()
Experiment ID of the experiment to update.


setExperimentId

public Analytics.Management.Experiments.Update setExperimentId(String experimentId)
Experiment ID of the experiment to update.


set

public Analytics.Management.Experiments.Update set(String parameterName,
                                                   Object value)
Overrides:
set in class AnalyticsRequest<Experiment>