The "accountUserLinks" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($accountId, $linkId, $optParams=array()) |
| Removes a user from the given account.
|
|
| insert ($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array()) |
| Adds a new user to the given account.
|
|
| listManagementAccountUserLinks ($accountId, $optParams=array()) |
| Lists account-user links for a given account.
|
|
| update ($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array()) |
| Updates permissions for an existing user on the given account.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "accountUserLinks" collection of methods.
Typical usage is: $analyticsService = new Google_Service_Analytics(...); $accountUserLinks = $analyticsService->accountUserLinks;
◆ 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_ManagementAccountUserLinks_Resource::delete |
( |
| $accountId, |
|
|
| $linkId, |
|
|
| $optParams = array() ) |
Removes a user from the given account.
(accountUserLinks.delete)
- Parameters
-
string | $accountId | Account ID to delete the user link for. |
string | $linkId | Link ID to delete the user link for. |
array | $optParams | Optional parameters. |
◆ insert()
Adds a new user to the given account.
(accountUserLinks.insert)
- Parameters
-
string | $accountId | Account ID to create the user link for. |
Google_EntityUserLink | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listManagementAccountUserLinks()
Google_Service_Analytics_ManagementAccountUserLinks_Resource::listManagementAccountUserLinks |
( |
| $accountId, |
|
|
| $optParams = array() ) |
Lists account-user links for a given account.
(accountUserLinks.listManagementAccountUserLinks)
- Parameters
-
string | $accountId | Account ID to retrieve the user links for. |
array | $optParams | Optional parameters. |
@opt_param int max-results The maximum number of account-user links to include in this response. @opt_param int start-index An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max- results parameter.
- Return values
-
◆ update()
Updates permissions for an existing user on the given account.
(accountUserLinks.update)
- Parameters
-
string | $accountId | Account ID to update the account-user link for. |
string | $linkId | Link ID to update the account-user link for. |
Google_EntityUserLink | $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