The "experiments" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($accountId, $webPropertyId, $profileId, $experimentId, $optParams=array()) |
| Delete an experiment.
|
|
| get ($accountId, $webPropertyId, $profileId, $experimentId, $optParams=array()) |
| Returns an experiment to which the user has access.
|
|
| insert ($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams=array()) |
| Create a new experiment.
|
|
| listManagementExperiments ($accountId, $webPropertyId, $profileId, $optParams=array()) |
| Lists experiments to which the user has access.
|
|
| patch ($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams=array()) |
| Update an existing experiment.
|
|
| update ($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams=array()) |
| Update an existing experiment.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "experiments" collection of methods.
Typical usage is: $analyticsService = new Google_Service_Analytics(...); $experiments = $analyticsService->experiments;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Analytics_ManagementExperiments_Resource::delete |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $experimentId, |
|
|
| $optParams = array() ) |
Delete an experiment.
(experiments.delete)
- Parameters
-
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 |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Analytics_ManagementExperiments_Resource::get |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $experimentId, |
|
|
| $optParams = array() ) |
Returns an experiment to which the user has access.
(experiments.get)
- Parameters
-
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. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Google_Service_Analytics_ManagementExperiments_Resource::insert |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
Google_Service_Analytics_Experiment | $postBody, |
|
|
| $optParams = array() ) |
Create a new experiment.
(experiments.insert)
- Parameters
-
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. |
Google_Experiment | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listManagementExperiments()
Google_Service_Analytics_ManagementExperiments_Resource::listManagementExperiments |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $optParams = array() ) |
Lists experiments to which the user has access.
(experiments.listManagementExperiments)
- Parameters
-
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. |
array | $optParams | Optional parameters. |
@opt_param int max-results The maximum number of experiments to include in this response. @opt_param int start-index An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
- Return values
-
◆ patch()
Google_Service_Analytics_ManagementExperiments_Resource::patch |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $experimentId, |
|
|
Google_Service_Analytics_Experiment | $postBody, |
|
|
| $optParams = array() ) |
Update an existing experiment.
This method supports patch semantics. (experiments.patch)
- Parameters
-
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. |
Google_Experiment | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Google_Service_Analytics_ManagementExperiments_Resource::update |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $experimentId, |
|
|
Google_Service_Analytics_Experiment | $postBody, |
|
|
| $optParams = array() ) |
Update an existing experiment.
(experiments.update)
- Parameters
-
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. |
Google_Experiment | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Analytics.php