Class AccountsResource.ContainersResource.EnvironmentsResource
The "environments" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.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)
Creates a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.CreateRequest Create(Environment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Environment | body | The body of the request. |
string | parent | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.CreateRequest |
Delete(string)
Deletes a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.DeleteRequest |
Get(string)
Gets a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.GetRequest |
List(string)
Lists all GTM Environments of a GTM Container.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.ListRequest |
Reauthorize(Environment, string)
Re-generates the authorization code for a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.ReauthorizeRequest Reauthorize(Environment body, string path)
Parameters
Type | Name | Description |
---|---|---|
Environment | body | The body of the request. |
string | path | GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.ReauthorizeRequest |
Update(Environment, string)
Updates a GTM Environment.
Declaration
public virtual AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest Update(Environment body, string path)
Parameters
Type | Name | Description |
---|---|---|
Environment | body | The body of the request. |
string | path | GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest |