Class AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.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 |
UserPermissions
Gets the UserPermissions resource.
Declaration
public virtual AccountsResource.UserPermissionsResource UserPermissions { get; }
Property Value
Type | Description |
---|---|
AccountsResource.UserPermissionsResource |
Methods
Get(string)
Gets a GTM Account.
Declaration
public virtual AccountsResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Account's API relative path. Example: accounts/{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 path)
Parameters
Type | Name | Description |
---|---|---|
Account | body | The body of the request. |
string | path | GTM Account's API relative path. Example: accounts/{account_id} |
Returns
Type | Description |
---|---|
AccountsResource.UpdateRequest |