target.apidocs.com.google.api.services.analytics.Analytics.Management.AccountUserLinks.html Maven / Gradle / Ivy
Analytics.Management.AccountUserLinks (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics
Class Analytics.Management.AccountUserLinks
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Management.AccountUserLinks
-
- Enclosing class:
- Analytics.Management
public class Analytics.Management.AccountUserLinks
extends Object
The "accountUserLinks" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Management.AccountUserLinks.Delete
class
Analytics.Management.AccountUserLinks.Insert
class
Analytics.Management.AccountUserLinks.List
class
Analytics.Management.AccountUserLinks.Update
-
Constructor Summary
Constructors
Constructor and Description
AccountUserLinks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Analytics.Management.AccountUserLinks.Delete
delete(String accountId,
String linkId)
Removes a user from the given account.
Analytics.Management.AccountUserLinks.Insert
insert(String accountId,
EntityUserLink content)
Adds a new user to the given account.
Analytics.Management.AccountUserLinks.List
list(String accountId)
Lists account-user links for a given account.
Analytics.Management.AccountUserLinks.Update
update(String accountId,
String linkId,
EntityUserLink content)
Updates permissions for an existing user on the given account.
-
-
Method Detail
-
delete
public Analytics.Management.AccountUserLinks.Delete delete(String accountId,
String linkId)
throws IOException
Removes a user from the given account.
Create a request for the method "accountUserLinks.delete".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID to delete the user link for.
linkId
- Link ID to delete the user link for.
- Returns:
- the request
- Throws:
IOException
-
insert
public Analytics.Management.AccountUserLinks.Insert insert(String accountId,
EntityUserLink content)
throws IOException
Adds a new user to the given account.
Create a request for the method "accountUserLinks.insert".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID to create the user link for.
content
- the EntityUserLink
- Returns:
- the request
- Throws:
IOException
-
list
public Analytics.Management.AccountUserLinks.List list(String accountId)
throws IOException
Lists account-user links for a given account.
Create a request for the method "accountUserLinks.list".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID to retrieve the user links for.
- Returns:
- the request
- Throws:
IOException
-
update
public Analytics.Management.AccountUserLinks.Update update(String accountId,
String linkId,
EntityUserLink content)
throws IOException
Updates permissions for an existing user on the given account.
Create a request for the method "accountUserLinks.update".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID to update the account-user link for.
linkId
- Link ID to update the account-user link for.
content
- the EntityUserLink
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.