Class AccountsResource.PermissionsResource
The "permissions" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.PermissionsResource
Constructors
PermissionsResource(IClientService)
Constructs a new resource.
Declaration
public PermissionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(UserAccess, string)
Creates a user's Account & Container Permissions.
Declaration
public virtual AccountsResource.PermissionsResource.CreateRequest Create(UserAccess body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
UserAccess | body | The body of the request. |
string | accountId | The GTM Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.PermissionsResource.CreateRequest |
Delete(string, string)
Removes a user from the account, revoking access to it and all of its containers.
Declaration
public virtual AccountsResource.PermissionsResource.DeleteRequest Delete(string accountId, string permissionId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
string | permissionId | The GTM User ID. |
Returns
Type | Description |
---|---|
AccountsResource.PermissionsResource.DeleteRequest |
Get(string, string)
Gets a user's Account & Container Permissions.
Declaration
public virtual AccountsResource.PermissionsResource.GetRequest Get(string accountId, string permissionId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
string | permissionId | The GTM User ID. |
Returns
Type | Description |
---|---|
AccountsResource.PermissionsResource.GetRequest |
List(string)
List all users that have access to the account along with Account and Container Permissions granted to each of them.
Declaration
public virtual AccountsResource.PermissionsResource.ListRequest List(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.PermissionsResource.ListRequest |
Update(UserAccess, string, string)
Updates a user's Account & Container Permissions.
Declaration
public virtual AccountsResource.PermissionsResource.UpdateRequest Update(UserAccess body, string accountId, string permissionId)
Parameters
Type | Name | Description |
---|---|---|
UserAccess | body | The body of the request. |
string | accountId | The GTM Account ID. |
string | permissionId | The GTM User ID. |
Returns
Type | Description |
---|---|
AccountsResource.PermissionsResource.UpdateRequest |