Class AccountsResource.ContainersResource.EnvironmentsResource
The "environments" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.ContainersResource.EnvironmentsResource
Constructors
EnvironmentsResource(IClientService)
Constructs a new resource.
Declaration
public EnvironmentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Environment, string, string)
Creates a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.CreateRequest Create(Environment body, string accountId, string containerId)
Parameters
Type | Name | Description |
---|---|---|
Environment | body | The body of the request. |
string | accountId | The GTM Account ID. |
string | containerId | The GTM Container ID. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.CreateRequest |
Delete(string, string, string)
Deletes a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.DeleteRequest Delete(string accountId, string containerId, string environmentId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
string | containerId | The GTM Container ID. |
string | environmentId | The GTM Environment ID. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.DeleteRequest |
Get(string, string, string)
Gets a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.GetRequest Get(string accountId, string containerId, string environmentId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
string | containerId | The GTM Container ID. |
string | environmentId | The GTM Environment ID. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.GetRequest |
List(string, string)
Lists all GTM Environments of a GTM Container.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.ListRequest List(string accountId, string containerId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The GTM Account ID. |
string | containerId | The GTM Container ID. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.ListRequest |
Update(Environment, string, string, string)
Updates a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest Update(Environment body, string accountId, string containerId, string environmentId)
Parameters
Type | Name | Description |
---|---|---|
Environment | body | The body of the request. |
string | accountId | The GTM Account ID. |
string | containerId | The GTM Container ID. |
string | environmentId | The GTM Environment ID. |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest |