The "webproperties" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($accountId, $webPropertyId, $optParams=array()) |
| Gets a web property to which the user has access.
|
|
| insert ($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams=array()) |
| Create a new property if the account has fewer than 20 properties.
|
|
| listManagementWebproperties ($accountId, $optParams=array()) |
| Lists web properties to which the user has access.
|
|
| patch ($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams=array()) |
| Updates an existing web property.
|
|
| update ($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams=array()) |
| Updates an existing web property.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "webproperties" collection of methods.
Typical usage is: $analyticsService = new Google_Service_Analytics(...); $webproperties = $analyticsService->webproperties;
◆ 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
-
◆ get()
Google_Service_Analytics_ManagementWebproperties_Resource::get |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $optParams = array() ) |
Gets a web property to which the user has access.
(webproperties.get)
- Parameters
-
string | $accountId | Account ID to retrieve the web property for. |
string | $webPropertyId | ID to retrieve the web property for. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Create a new property if the account has fewer than 20 properties.
Web properties are visible in the Google Analytics interface only if they have at least one profile. (webproperties.insert)
- Parameters
-
string | $accountId | Account ID to create the web property for. |
Google_Webproperty | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listManagementWebproperties()
Google_Service_Analytics_ManagementWebproperties_Resource::listManagementWebproperties |
( |
| $accountId, |
|
|
| $optParams = array() ) |
Lists web properties to which the user has access.
(webproperties.listManagementWebproperties)
- Parameters
-
string | $accountId | Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. |
array | $optParams | Optional parameters. |
@opt_param int max-results The maximum number of web properties to include in this response. @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
- Return values
-
◆ patch()
Updates an existing web property.
This method supports patch semantics. (webproperties.patch)
- Parameters
-
string | $accountId | Account ID to which the web property belongs |
string | $webPropertyId | Web property ID |
Google_Webproperty | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates an existing web property.
(webproperties.update)
- Parameters
-
string | $accountId | Account ID to which the web property belongs |
string | $webPropertyId | Web property ID |
Google_Webproperty | $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