Class ManagementResource.AccountUserLinksResource
The "accountUserLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.AccountUserLinksResource
Constructors
AccountUserLinksResource(IClientService)
Constructs a new resource.
Declaration
public AccountUserLinksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Removes a user from the given account.
Declaration
public virtual ManagementResource.AccountUserLinksResource.DeleteRequest Delete(string accountId, string linkId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to delete the user link for. |
string | linkId | Link ID to delete the user link for. |
Returns
Type | Description |
---|---|
ManagementResource.AccountUserLinksResource.DeleteRequest |
Insert(EntityUserLink, string)
Adds a new user to the given account.
Declaration
public virtual ManagementResource.AccountUserLinksResource.InsertRequest Insert(EntityUserLink body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
EntityUserLink | body | The body of the request. |
string | accountId | Account ID to create the user link for. |
Returns
Type | Description |
---|---|
ManagementResource.AccountUserLinksResource.InsertRequest |
List(string)
Lists account-user links for a given account.
Declaration
public virtual ManagementResource.AccountUserLinksResource.ListRequest List(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to retrieve the user links for. |
Returns
Type | Description |
---|---|
ManagementResource.AccountUserLinksResource.ListRequest |
Update(EntityUserLink, string, string)
Updates permissions for an existing user on the given account.
Declaration
public virtual ManagementResource.AccountUserLinksResource.UpdateRequest Update(EntityUserLink body, string accountId, string linkId)
Parameters
Type | Name | Description |
---|---|---|
EntityUserLink | body | The body of the request. |
string | accountId | Account ID to update the account-user link for. |
string | linkId | Link ID to update the account-user link for. |
Returns
Type | Description |
---|---|
ManagementResource.AccountUserLinksResource.UpdateRequest |