target.apidocs.com.google.api.services.analytics.Analytics.Management.Experiments.html Maven / Gradle / Ivy
Analytics.Management.Experiments (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics
Class Analytics.Management.Experiments
- java.lang.Object
-
- 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
Nested Classes
Modifier and Type
Class and Description
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
Constructors
Constructor and Description
Experiments()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
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.
-
-
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 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
- View (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 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
- View (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 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
- View (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 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
- View (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 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
- View (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 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
- View (Profile) ID of the experiment to update.
experimentId
- Experiment ID of the experiment to update.
content
- the Experiment
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.