PropertiesUserLinks
class PropertiesUserLinks extends Resource (View source)
The "userLinks" collection of methods.
Typical usage is:
$analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...);
$userLinks = $analyticsadminService->userLinks;
Methods
Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs. (userLinks.audit)
Creates information about multiple users' links to an account or property.
Deletes information about multiple users' links to an account or property.
Gets information about multiple users' links to an account or property.
Updates information about multiple users' links to an account or property.
Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink. (userLinks.create)
Deletes a user link on an account or property. (userLinks.delete)
Gets information about a user's link to an account or property.
Lists all user links on an account or property.
Updates a user link on an account or property. (userLinks.patch)
Details
GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
audit(string $parent, GoogleAnalyticsAdminV1alphaAuditUserLinksRequest $postBody, array $optParams = [])
Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs. (userLinks.audit)
GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
batchCreate(string $parent, GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest $postBody, array $optParams = [])
Creates information about multiple users' links to an account or property.
This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created. (userLinks.batchCreate)
GoogleProtobufEmpty
batchDelete(string $parent, GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest $postBody, array $optParams = [])
Deletes information about multiple users' links to an account or property.
(userLinks.batchDelete)
GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
batchGet(string $parent, array $optParams = [])
Gets information about multiple users' links to an account or property.
(userLinks.batchGet)
GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
batchUpdate(string $parent, GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest $postBody, array $optParams = [])
Updates information about multiple users' links to an account or property.
(userLinks.batchUpdate)
GoogleAnalyticsAdminV1alphaUserLink
create(string $parent, GoogleAnalyticsAdminV1alphaUserLink $postBody, array $optParams = [])
Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink. (userLinks.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a user link on an account or property. (userLinks.delete)
GoogleAnalyticsAdminV1alphaUserLink
get(string $name, array $optParams = [])
Gets information about a user's link to an account or property.
(userLinks.get)
GoogleAnalyticsAdminV1alphaListUserLinksResponse
listPropertiesUserLinks(string $parent, array $optParams = [])
Lists all user links on an account or property.
(userLinks.listPropertiesUserLinks)
GoogleAnalyticsAdminV1alphaUserLink
patch(string $name, GoogleAnalyticsAdminV1alphaUserLink $postBody, array $optParams = [])
Updates a user link on an account or property. (userLinks.patch)