Class ManagementResource.ExperimentsResource
The "experiments" collection of methods.
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.ExperimentsResource
Constructors
ExperimentsResource(IClientService)
Constructs a new resource.
Declaration
public ExperimentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
string | accountId | Account ID to which the experiment belongs |
string | webPropertyId | Web property ID to which the experiment belongs |
string | profileId | View (Profile) ID to which the experiment belongs |
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 |
---|---|---|
string | accountId | Account ID to retrieve the experiment for. |
string | webPropertyId | Web property ID to retrieve the experiment for. |
string | profileId | View (Profile) ID to retrieve the experiment for. |
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. |
string | accountId | Account ID to create the experiment for. |
string | webPropertyId | Web property ID to create the experiment for. |
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 |
---|---|---|
string | accountId | Account ID to retrieve experiments for. |
string | webPropertyId | Web property ID to retrieve experiments for. |
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. |
string | accountId | Account ID of the experiment to update. |
string | webPropertyId | Web property ID of the experiment to update. |
string | profileId | View (Profile) ID of the experiment to update. |
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. |
string | accountId | Account ID of the experiment to update. |
string | webPropertyId | Web property ID of the experiment to update. |
string | profileId | View (Profile) ID of the experiment to update. |
string | experimentId | Experiment ID of the experiment to update. |
Returns
Type | Description |
---|---|
ManagementResource.ExperimentsResource.UpdateRequest |