The "profileUserLinks" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($accountId, $webPropertyId, $profileId, $linkId, $optParams=array()) |
| Removes a user from the given view (profile).
|
|
| insert ($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array()) |
| Adds a new user to the given view (profile).
|
|
| listManagementProfileUserLinks ($accountId, $webPropertyId, $profileId, $optParams=array()) |
| Lists profile-user links for a given view (profile).
|
|
| update ($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array()) |
| Updates permissions for an existing user on the given view (profile).
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "profileUserLinks" collection of methods.
Typical usage is: $analyticsService = new Google_Service_Analytics(...); $profileUserLinks = $analyticsService->profileUserLinks;
◆ 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_ManagementProfileUserLinks_Resource::delete |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $linkId, |
|
|
| $optParams = array() ) |
Removes a user from the given view (profile).
(profileUserLinks.delete)
- Parameters
-
string | $accountId | Account ID to delete the user link for. |
string | $webPropertyId | Web Property ID to delete the user link for. |
string | $profileId | View (Profile) 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 view (profile).
(profileUserLinks.insert)
- Parameters
-
string | $accountId | Account ID to create the user link for. |
string | $webPropertyId | Web Property ID to create the user link for. |
string | $profileId | View (Profile) ID to create the user link for. |
Google_EntityUserLink | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listManagementProfileUserLinks()
Google_Service_Analytics_ManagementProfileUserLinks_Resource::listManagementProfileUserLinks |
( |
| $accountId, |
|
|
| $webPropertyId, |
|
|
| $profileId, |
|
|
| $optParams = array() ) |
Lists profile-user links for a given view (profile).
(profileUserLinks.listManagementProfileUserLinks)
- Parameters
-
string | $accountId | Account ID which the given view (profile) belongs to. |
string | $webPropertyId | Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to. |
string | $profileId | View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to. |
array | $optParams | Optional parameters. |
@opt_param int max-results The maximum number of profile-user links to include in this response. @opt_param int start-index An index of the first profile-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 view (profile).
(profileUserLinks.update)
- Parameters
-
string | $accountId | Account ID to update the user link for. |
string | $webPropertyId | Web Property ID to update the user link for. |
string | $profileId | View (Profile ID) to update the user link for. |
string | $linkId | Link ID to update the 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