Class AccountsResource.UserPermissionsResource
The "user_permissions" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.UserPermissionsResource
Constructors
UserPermissionsResource(IClientService)
Constructs a new resource.
Declaration
public UserPermissionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(UserPermission, string)
Creates a user's Account & Container access.
Declaration
public virtual AccountsResource.UserPermissionsResource.CreateRequest Create(UserPermission body, string parent)
Parameters
Type | Name | Description |
---|---|---|
UserPermission | body | The body of the request. |
string | parent | GTM Account's API relative path. Example: accounts/{account_id} |
Returns
Type | Description |
---|---|
AccountsResource.UserPermissionsResource.CreateRequest |
Delete(string)
Removes a user from the account, revoking access to it and all of its containers.
Declaration
public virtual AccountsResource.UserPermissionsResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} |
Returns
Type | Description |
---|---|
AccountsResource.UserPermissionsResource.DeleteRequest |
Get(string)
Gets a user's Account & Container access.
Declaration
public virtual AccountsResource.UserPermissionsResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} |
Returns
Type | Description |
---|---|
AccountsResource.UserPermissionsResource.GetRequest |
List(string)
List all users that have access to the account along with Account and Container user access granted to each of them.
Declaration
public virtual AccountsResource.UserPermissionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM Account's API relative path. Example: accounts/{account_id} |
Returns
Type | Description |
---|---|
AccountsResource.UserPermissionsResource.ListRequest |
Update(UserPermission, string)
Updates a user's Account & Container access.
Declaration
public virtual AccountsResource.UserPermissionsResource.UpdateRequest Update(UserPermission body, string path)
Parameters
Type | Name | Description |
---|---|---|
UserPermission | body | The body of the request. |
string | path | GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} |
Returns
Type | Description |
---|---|
AccountsResource.UserPermissionsResource.UpdateRequest |