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