Google Analytics API v3 (revision 41)



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

java.lang.Object
  extended by com.google.api.services.analytics.Analytics.Management.Experiments
Enclosing class:
Analytics.Management

public class Analytics.Management.Experiments
extends Object

The "experiments" collection of methods.


Nested Class Summary
 class Analytics.Management.Experiments.Delete
           
 class Analytics.Management.Experiments.Get
           
 class Analytics.Management.Experiments.Insert
           
 class Analytics.Management.Experiments.List
           
 class Analytics.Management.Experiments.Patch
           
 class Analytics.Management.Experiments.Update
           
 
Constructor Summary
Analytics.Management.Experiments()
           
 
Method Summary
 Analytics.Management.Experiments.Delete delete(String accountId, String webPropertyId, String profileId, String experimentId)
          Delete an experiment.
 Analytics.Management.Experiments.Get get(String accountId, String webPropertyId, String profileId, String experimentId)
          Returns an experiment to which the user has access.
 Analytics.Management.Experiments.Insert insert(String accountId, String webPropertyId, String profileId, Experiment content)
          Create a new experiment.
 Analytics.Management.Experiments.List list(String accountId, String webPropertyId, String profileId)
          Lists experiments to which the user has access.
 Analytics.Management.Experiments.Patch patch(String accountId, String webPropertyId, String profileId, String experimentId, Experiment content)
          Update an existing experiment.
 Analytics.Management.Experiments.Update update(String accountId, String webPropertyId, String profileId, String experimentId, Experiment content)
          Update an existing experiment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Analytics.Management.Experiments

public Analytics.Management.Experiments()
Method Detail

delete

public Analytics.Management.Experiments.Delete delete(String accountId,
                                                      String webPropertyId,
                                                      String profileId,
                                                      String experimentId)
                                               throws IOException
Delete an experiment. Create a request for the method "experiments.delete". 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.

Parameters:
accountId - Account ID to which the experiment belongs
webPropertyId - Web property ID to which the experiment belongs
profileId - Profile ID to which the experiment belongs
experimentId - ID of the experiment to delete
Returns:
the request
Throws:
IOException

get

public Analytics.Management.Experiments.Get get(String accountId,
                                                String webPropertyId,
                                                String profileId,
                                                String experimentId)
                                         throws IOException
Returns an experiment to which the user has access. Create a request for the method "experiments.get". 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.

Parameters:
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.
Returns:
the request
Throws:
IOException

insert

public Analytics.Management.Experiments.Insert insert(String accountId,
                                                      String webPropertyId,
                                                      String profileId,
                                                      Experiment content)
                                               throws IOException
Create a new experiment. Create a request for the method "experiments.insert". 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.

Parameters:
accountId - Account ID to create the experiment for.
webPropertyId - Web property ID to create the experiment for.
profileId - Profile ID to create the experiment for.
content - the Experiment
Returns:
the request
Throws:
IOException

list

public Analytics.Management.Experiments.List list(String accountId,
                                                  String webPropertyId,
                                                  String profileId)
                                           throws IOException
Lists experiments to which the user has access. Create a request for the method "experiments.list". 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.

Parameters:
accountId - Account ID to retrieve experiments for.
webPropertyId - Web property ID to retrieve experiments for.
profileId - Profile ID to retrieve experiments for.
Returns:
the request
Throws:
IOException

patch

public Analytics.Management.Experiments.Patch patch(String accountId,
                                                    String webPropertyId,
                                                    String profileId,
                                                    String experimentId,
                                                    Experiment content)
                                             throws IOException
Update an existing experiment. This method supports patch semantics. Create a request for the method "experiments.patch". 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.

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
Returns:
the request
Throws:
IOException

update

public Analytics.Management.Experiments.Update update(String accountId,
                                                      String webPropertyId,
                                                      String profileId,
                                                      String experimentId,
                                                      Experiment content)
                                               throws IOException
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.

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
Returns:
the request
Throws:
IOException