public class Analytics.Management.Experiments.Get extends AnalyticsRequest<Experiment>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Analytics.Management.Experiments.Get(String accountId,
String webPropertyId,
String profileId,
String experimentId)
Returns an experiment to which the user has access.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getAccountId()
Account ID to retrieve the experiment for.
|
String |
getExperimentId()
Experiment ID to retrieve the experiment for.
|
String |
getProfileId()
Profile ID to retrieve the experiment for.
|
String |
getWebPropertyId()
Web property ID to retrieve the experiment for.
|
Analytics.Management.Experiments.Get |
setAccountId(String accountId)
Account ID to retrieve the experiment for.
|
Analytics.Management.Experiments.Get |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Experiments.Get |
setExperimentId(String experimentId)
Experiment ID to retrieve the experiment for.
|
Analytics.Management.Experiments.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Experiments.Get |
setKey(String key)
API key.
|
Analytics.Management.Experiments.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Experiments.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Experiments.Get |
setProfileId(String profileId)
Profile ID to retrieve the experiment for.
|
Analytics.Management.Experiments.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Experiments.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Experiments.Get |
setWebPropertyId(String webPropertyId)
Web property ID to retrieve the experiment for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Analytics.Management.Experiments.Get(String accountId, String webPropertyId, String profileId, String experimentId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Analytics.initialize(AbstractGoogleClientRequest) must be called to initialize this instance
immediately after invoking the constructor.
accountId - Account ID to retrieve the experiment for.webPropertyId - Web property ID to retrieve the experiment for.profileId - Profile ID to retrieve the experiment for.experimentId - Experiment ID to retrieve the experiment for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Experiment>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Experiment>IOExceptionpublic Analytics.Management.Experiments.Get setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Experiment>public Analytics.Management.Experiments.Get setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Experiment>public String getAccountId()
public Analytics.Management.Experiments.Get setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Experiments.Get setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.Experiments.Get setProfileId(String profileId)
public String getExperimentId()
public Analytics.Management.Experiments.Get setExperimentId(String experimentId)