Class ManagementResource.ExperimentsResource
The "experiments" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ExperimentsResource
Constructors
ExperimentsResource(IClientService)
Constructs a new resource.
Declaration
public ExperimentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service |
Methods
Delete(String, String, String, String)
Delete an experiment.
Declaration
public virtual ManagementResource.ExperimentsResource.DeleteRequest Delete(string accountId, string webPropertyId, string profileId, string experimentId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accountId | Account ID to which the experiment belongs |
| System.String | webPropertyId | Web property ID to which the experiment belongs |
| System.String | profileId | View (Profile) ID to which the experiment belongs |
| System.String | experimentId | ID of the experiment to delete |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.DeleteRequest |
Get(String, String, String, String)
Returns an experiment to which the user has access.
Declaration
public virtual ManagementResource.ExperimentsResource.GetRequest Get(string accountId, string webPropertyId, string profileId, string experimentId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accountId | Account ID to retrieve the experiment for. |
| System.String | webPropertyId | Web property ID to retrieve the experiment for. |
| System.String | profileId | View (Profile) ID to retrieve the experiment for. |
| System.String | experimentId | Experiment ID to retrieve the experiment for. |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.GetRequest |
Insert(Experiment, String, String, String)
Create a new experiment.
Declaration
public virtual ManagementResource.ExperimentsResource.InsertRequest Insert(Experiment body, string accountId, string webPropertyId, string profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| Experiment | body | The body of the request. |
| System.String | accountId | Account ID to create the experiment for. |
| System.String | webPropertyId | Web property ID to create the experiment for. |
| System.String | profileId | View (Profile) ID to create the experiment for. |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.InsertRequest |
List(String, String, String)
Lists experiments to which the user has access.
Declaration
public virtual ManagementResource.ExperimentsResource.ListRequest List(string accountId, string webPropertyId, string profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accountId | Account ID to retrieve experiments for. |
| System.String | webPropertyId | Web property ID to retrieve experiments for. |
| System.String | profileId | View (Profile) ID to retrieve experiments for. |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.ListRequest |
Patch(Experiment, String, String, String, String)
Update an existing experiment. This method supports patch semantics.
Declaration
public virtual ManagementResource.ExperimentsResource.PatchRequest Patch(Experiment body, string accountId, string webPropertyId, string profileId, string experimentId)
Parameters
| Type | Name | Description |
|---|---|---|
| Experiment | body | The body of the request. |
| System.String | accountId | Account ID of the experiment to update. |
| System.String | webPropertyId | Web property ID of the experiment to update. |
| System.String | profileId | View (Profile) ID of the experiment to update. |
| System.String | experimentId | Experiment ID of the experiment to update. |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.PatchRequest |
Update(Experiment, String, String, String, String)
Update an existing experiment.
Declaration
public virtual ManagementResource.ExperimentsResource.UpdateRequest Update(Experiment body, string accountId, string webPropertyId, string profileId, string experimentId)
Parameters
| Type | Name | Description |
|---|---|---|
| Experiment | body | The body of the request. |
| System.String | accountId | Account ID of the experiment to update. |
| System.String | webPropertyId | Web property ID of the experiment to update. |
| System.String | profileId | View (Profile) ID of the experiment to update. |
| System.String | experimentId | Experiment ID of the experiment to update. |
Returns
| Type | Description |
|---|---|
| ManagementResource.ExperimentsResource.UpdateRequest |