|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.analytics.model.Experiment
public final class Experiment
JSON template for Analytics experiment resource.
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Analytics API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary | |
|---|---|
static class |
Experiment.ParentLink
Parent link for an experiment. |
static class |
Experiment.Variations
Model definition for ExperimentVariations. |
| 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 | |
|---|---|
Experiment()
|
|
| Method Summary | |
|---|---|
Experiment |
clone()
|
String |
getAccountId()
Account ID to which this experiment belongs. |
DateTime |
getCreated()
Time the experiment was created. |
String |
getDescription()
Notes about this experiment. |
Object |
getEditableInGaUi()
If true, the end user will be able to edit the experiment via the Google Analytics user interface. |
DateTime |
getEndTime()
The ending time of the experiment (the time the status changed from RUNNING to ENDED). |
String |
getId()
Experiment ID. |
String |
getInternalWebPropertyId()
Internal ID for the web property to which this experiment belongs. |
String |
getKind()
Resource type for an Analytics experiment. |
Integer |
getMinimumExperimentLengthInDays()
Specifies the minimum length of the experiment. |
String |
getName()
Experiment name. |
String |
getObjectiveMetric()
The metric that the experiment is optimizing. |
String |
getOptimizationType()
Whether the objectiveMetric should be minimized or maximized. |
Experiment.ParentLink |
getParentLink()
Parent link for an experiment. |
String |
getProfileId()
Profile ID to which this experiment belongs. |
String |
getReasonExperimentEnded()
Why the experiment ended. |
Boolean |
getRewriteVariationUrlsAsOriginal()
Boolean specifying whether variations URLS are rewritten to match those of the original. |
String |
getSelfLink()
Link for this experiment. |
Object |
getServingFramework()
The framework used to serve the experiment variations and evaluate the results. |
String |
getSnippet()
The snippet of code to include on the control page(s). |
DateTime |
getStartTime()
The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). |
String |
getStatus()
Experiment status. |
Double |
getTrafficCoverage()
A floating-point number between 0 and 1. |
DateTime |
getUpdated()
Time the experiment was last modified. |
List<Experiment.Variations> |
getVariations()
Array of variations. |
String |
getWebPropertyId()
Web property ID to which this experiment belongs. |
Double |
getWinnerConfidenceLevel()
A floating-point number between 0 and 1. |
Boolean |
getWinnerFound()
Boolean specifying whether a winner has been found for this experiment. |
Experiment |
set(String fieldName,
Object value)
|
Experiment |
setAccountId(String accountId)
Account ID to which this experiment belongs. |
Experiment |
setCreated(DateTime created)
Time the experiment was created. |
Experiment |
setDescription(String description)
Notes about this experiment. |
Experiment |
setEditableInGaUi(Object editableInGaUi)
If true, the end user will be able to edit the experiment via the Google Analytics user interface. |
Experiment |
setEndTime(DateTime endTime)
The ending time of the experiment (the time the status changed from RUNNING to ENDED). |
Experiment |
setId(String id)
Experiment ID. |
Experiment |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this experiment belongs. |
Experiment |
setKind(String kind)
Resource type for an Analytics experiment. |
Experiment |
setMinimumExperimentLengthInDays(Integer minimumExperimentLengthInDays)
Specifies the minimum length of the experiment. |
Experiment |
setName(String name)
Experiment name. |
Experiment |
setObjectiveMetric(String objectiveMetric)
The metric that the experiment is optimizing. |
Experiment |
setOptimizationType(String optimizationType)
Whether the objectiveMetric should be minimized or maximized. |
Experiment |
setParentLink(Experiment.ParentLink parentLink)
Parent link for an experiment. |
Experiment |
setProfileId(String profileId)
Profile ID to which this experiment belongs. |
Experiment |
setReasonExperimentEnded(String reasonExperimentEnded)
Why the experiment ended. |
Experiment |
setRewriteVariationUrlsAsOriginal(Boolean rewriteVariationUrlsAsOriginal)
Boolean specifying whether variations URLS are rewritten to match those of the original. |
Experiment |
setSelfLink(String selfLink)
Link for this experiment. |
Experiment |
setServingFramework(Object servingFramework)
The framework used to serve the experiment variations and evaluate the results. |
Experiment |
setSnippet(String snippet)
The snippet of code to include on the control page(s). |
Experiment |
setStartTime(DateTime startTime)
The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). |
Experiment |
setStatus(String status)
Experiment status. |
Experiment |
setTrafficCoverage(Double trafficCoverage)
A floating-point number between 0 and 1. |
Experiment |
setUpdated(DateTime updated)
Time the experiment was last modified. |
Experiment |
setVariations(List<Experiment.Variations> variations)
Array of variations. |
Experiment |
setWebPropertyId(String webPropertyId)
Web property ID to which this experiment belongs. |
Experiment |
setWinnerConfidenceLevel(Double winnerConfidenceLevel)
A floating-point number between 0 and 1. |
Experiment |
setWinnerFound(Boolean winnerFound)
Boolean specifying whether a winner has been found for this experiment. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Experiment()
| Method Detail |
|---|
public String getAccountId()
null for nonepublic Experiment setAccountId(String accountId)
accountId - accountId or null for nonepublic DateTime getCreated()
null for nonepublic Experiment setCreated(DateTime created)
created - created or null for nonepublic String getDescription()
null for nonepublic Experiment setDescription(String description)
description - description or null for nonepublic Object getEditableInGaUi()
null for nonepublic Experiment setEditableInGaUi(Object editableInGaUi)
editableInGaUi - editableInGaUi or null for nonepublic DateTime getEndTime()
null for nonepublic Experiment setEndTime(DateTime endTime)
endTime - endTime or null for nonepublic String getId()
null for nonepublic Experiment setId(String id)
id - id or null for nonepublic String getInternalWebPropertyId()
null for nonepublic Experiment setInternalWebPropertyId(String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic String getKind()
null for nonepublic Experiment setKind(String kind)
kind - kind or null for nonepublic Integer getMinimumExperimentLengthInDays()
null for nonepublic Experiment setMinimumExperimentLengthInDays(Integer minimumExperimentLengthInDays)
minimumExperimentLengthInDays - minimumExperimentLengthInDays or null for nonepublic String getName()
null for nonepublic Experiment setName(String name)
name - name or null for nonepublic String getObjectiveMetric()
null for nonepublic Experiment setObjectiveMetric(String objectiveMetric)
objectiveMetric - objectiveMetric or null for nonepublic String getOptimizationType()
null for nonepublic Experiment setOptimizationType(String optimizationType)
optimizationType - optimizationType or null for nonepublic Experiment.ParentLink getParentLink()
null for nonepublic Experiment setParentLink(Experiment.ParentLink parentLink)
parentLink - parentLink or null for nonepublic String getProfileId()
null for nonepublic Experiment setProfileId(String profileId)
profileId - profileId or null for nonepublic String getReasonExperimentEnded()
null for nonepublic Experiment setReasonExperimentEnded(String reasonExperimentEnded)
reasonExperimentEnded - reasonExperimentEnded or null for nonepublic Boolean getRewriteVariationUrlsAsOriginal()
null for nonepublic Experiment setRewriteVariationUrlsAsOriginal(Boolean rewriteVariationUrlsAsOriginal)
rewriteVariationUrlsAsOriginal - rewriteVariationUrlsAsOriginal or null for nonepublic String getSelfLink()
null for nonepublic Experiment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Object getServingFramework()
null for nonepublic Experiment setServingFramework(Object servingFramework)
servingFramework - servingFramework or null for nonepublic String getSnippet()
null for nonepublic Experiment setSnippet(String snippet)
snippet - snippet or null for nonepublic DateTime getStartTime()
null for nonepublic Experiment setStartTime(DateTime startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic Experiment setStatus(String status)
status - status or null for nonepublic Double getTrafficCoverage()
null for nonepublic Experiment setTrafficCoverage(Double trafficCoverage)
trafficCoverage - trafficCoverage or null for nonepublic DateTime getUpdated()
null for nonepublic Experiment setUpdated(DateTime updated)
updated - updated or null for nonepublic List<Experiment.Variations> getVariations()
null for nonepublic Experiment setVariations(List<Experiment.Variations> variations)
variations - variations or null for nonepublic String getWebPropertyId()
null for nonepublic Experiment setWebPropertyId(String webPropertyId)
webPropertyId - webPropertyId or null for nonepublic Double getWinnerConfidenceLevel()
null for nonepublic Experiment setWinnerConfidenceLevel(Double winnerConfidenceLevel)
winnerConfidenceLevel - winnerConfidenceLevel or null for nonepublic Boolean getWinnerFound()
null for nonepublic Experiment setWinnerFound(Boolean winnerFound)
winnerFound - winnerFound or null for none
public Experiment set(String fieldName,
Object value)
set in class GenericJsonpublic Experiment clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||