Class AccountsResource.ContainersResource
The "containers" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource
Constructors
ContainersResource(IClientService)
Constructs a new resource.
Declaration
public ContainersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Destinations
Gets the Destinations resource.
Declaration
public virtual AccountsResource.ContainersResource.DestinationsResource Destinations { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.DestinationsResource |
Environments
Gets the Environments resource.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource Environments { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource |
VersionHeaders
Gets the VersionHeaders resource.
Declaration
public virtual AccountsResource.ContainersResource.VersionHeadersResource VersionHeaders { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionHeadersResource |
Versions
Gets the Versions resource.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource Versions { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource |
Workspaces
Gets the Workspaces resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource Workspaces { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource |
Methods
Combine(string)
Combines Containers.
Declaration
public virtual AccountsResource.ContainersResource.CombineRequest Combine(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.CombineRequest |
Create(Container, string)
Creates a Container.
Declaration
public virtual AccountsResource.ContainersResource.CreateRequest Create(Container body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Container | body | The body of the request. |
string | parent | GTM Account's API relative path. Example: accounts/{account_id}. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.CreateRequest |
Delete(string)
Deletes a Container.
Declaration
public virtual AccountsResource.ContainersResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.DeleteRequest |
Get(string)
Gets a Container.
Declaration
public virtual AccountsResource.ContainersResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.GetRequest |
List(string)
Lists all Containers that belongs to a GTM Account.
Declaration
public virtual AccountsResource.ContainersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM Account's API relative path. Example: accounts/{account_id}. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.ListRequest |
Lookup()
Looks up a Container by destination ID or tag ID.
Declaration
public virtual AccountsResource.ContainersResource.LookupRequest Lookup()
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.LookupRequest |
MoveTagId(string)
Move Tag ID out of a Container.
Declaration
public virtual AccountsResource.ContainersResource.MoveTagIdRequest MoveTagId(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.MoveTagIdRequest |
Snippet(string)
Gets the tagging snippet for a Container.
Declaration
public virtual AccountsResource.ContainersResource.SnippetRequest Snippet(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | Container snippet's API relative path. Example: accounts/{account_id}/containers/{container_id}:snippet |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.SnippetRequest |
Update(Container, string)
Updates a Container.
Declaration
public virtual AccountsResource.ContainersResource.UpdateRequest Update(Container body, string path)
Parameters
Type | Name | Description |
---|---|---|
Container | body | The body of the request. |
string | path | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.UpdateRequest |