public class Analytics.Management.ProfileUserLinks extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Management.ProfileUserLinks.Delete |
class |
Analytics.Management.ProfileUserLinks.Insert |
class |
Analytics.Management.ProfileUserLinks.List |
class |
Analytics.Management.ProfileUserLinks.Update |
| Constructor and Description |
|---|
ProfileUserLinks() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.ProfileUserLinks.Delete |
delete(String accountId,
String webPropertyId,
String profileId,
String linkId)
Removes a user from the given view (profile).
|
Analytics.Management.ProfileUserLinks.Insert |
insert(String accountId,
String webPropertyId,
String profileId,
EntityUserLink content)
Adds a new user to the given view (profile).
|
Analytics.Management.ProfileUserLinks.List |
list(String accountId,
String webPropertyId,
String profileId)
Lists profile-user links for a given view (profile).
|
Analytics.Management.ProfileUserLinks.Update |
update(String accountId,
String webPropertyId,
String profileId,
String linkId,
EntityUserLink content)
Updates permissions for an existing user on the given view (profile).
|
public Analytics.Management.ProfileUserLinks.Delete delete(String accountId, String webPropertyId, String profileId, String linkId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to delete the user link for.webPropertyId - Web Property ID to delete the user link for.profileId - View (Profile) ID to delete the user link for.linkId - Link ID to delete the user link for.IOExceptionpublic Analytics.Management.ProfileUserLinks.Insert insert(String accountId, String webPropertyId, String profileId, EntityUserLink content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to create the user link for.webPropertyId - Web Property ID to create the user link for.profileId - View (Profile) ID to create the user link for.content - the EntityUserLinkIOExceptionpublic Analytics.Management.ProfileUserLinks.List list(String accountId, String webPropertyId, String profileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID which the given view (profile) belongs to.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.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.IOExceptionpublic Analytics.Management.ProfileUserLinks.Update update(String accountId, String webPropertyId, String profileId, String linkId, EntityUserLink content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to update the user link for.webPropertyId - Web Property ID to update the user link for.profileId - View (Profile ID) to update the user link for.linkId - Link ID to update the user link for.content - the EntityUserLinkIOExceptionCopyright © 2011–2022 Google. All rights reserved.