public class Analytics.Management.WebpropertyUserLinks extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Management.WebpropertyUserLinks.Delete |
class |
Analytics.Management.WebpropertyUserLinks.Insert |
class |
Analytics.Management.WebpropertyUserLinks.List |
class |
Analytics.Management.WebpropertyUserLinks.Update |
| Constructor and Description |
|---|
WebpropertyUserLinks() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.WebpropertyUserLinks.Delete |
delete(String accountId,
String webPropertyId,
String linkId)
Removes a user from the given web property.
|
Analytics.Management.WebpropertyUserLinks.Insert |
insert(String accountId,
String webPropertyId,
EntityUserLink content)
Adds a new user to the given web property.
|
Analytics.Management.WebpropertyUserLinks.List |
list(String accountId,
String webPropertyId)
Lists webProperty-user links for a given web property.
|
Analytics.Management.WebpropertyUserLinks.Update |
update(String accountId,
String webPropertyId,
String linkId,
EntityUserLink content)
Updates permissions for an existing user on the given web property.
|
public Analytics.Management.WebpropertyUserLinks.Delete delete(String accountId, String webPropertyId, 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.linkId - Link ID to delete the user link for.IOExceptionpublic Analytics.Management.WebpropertyUserLinks.Insert insert(String accountId, String webPropertyId, 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.content - the EntityUserLinkIOExceptionpublic Analytics.Management.WebpropertyUserLinks.List list(String accountId, String webPropertyId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID which the given web property belongs to.webPropertyId - Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID
or '~all', which refers to all the web properties that user has access to.IOExceptionpublic Analytics.Management.WebpropertyUserLinks.Update update(String accountId, String webPropertyId, String linkId, EntityUserLink content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to update the account-user link for.webPropertyId - Web property ID to update the account-user link for.linkId - Link ID to update the account-user link for.content - the EntityUserLinkIOExceptionCopyright © 2011–2022 Google. All rights reserved.