Class AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Containers
Gets the Containers resource.
Declaration
public virtual AccountsResource.ContainersResource Containers { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource |
Permissions
Gets the Permissions resource.
Declaration
public virtual AccountsResource.PermissionsResource Permissions { get; }
Property Value
Type | Description |
---|---|
AccountsResource.PermissionsResource |
Methods
Get(string)
Gets a GTM Account.
Declaration
public virtual AccountsResource.GetRequest Get(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.GetRequest |
List()
Lists all GTM Accounts that a user has access to.
Declaration
public virtual AccountsResource.ListRequest List()
Returns
Type | Description |
---|---|
AccountsResource.ListRequest |
Update(Account, string)
Updates a GTM Account.
Declaration
public virtual AccountsResource.UpdateRequest Update(Account body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
Account | body | The body of the request. |
string | accountId | The GTM Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.UpdateRequest |