Class AccountsResource.ContainersResource.WorkspacesResource.TriggersResource
The "triggers" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.TriggersResource
Constructors
TriggersResource(IClientService)
Constructs a new resource.
Declaration
public TriggersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Trigger, string)
Creates a GTM Trigger.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.CreateRequest Create(Trigger body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Trigger | body | The body of the request. |
string | parent | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.CreateRequest |
Delete(string)
Deletes a GTM Trigger.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.DeleteRequest |
Get(string)
Gets a GTM Trigger.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.GetRequest |
List(string)
Lists all GTM Triggers of a Container.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.ListRequest |
Revert(string)
Reverts changes to a GTM Trigger in a GTM Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.RevertRequest Revert(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.RevertRequest |
Update(Trigger, string)
Updates a GTM Trigger.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.UpdateRequest Update(Trigger body, string path)
Parameters
Type | Name | Description |
---|---|---|
Trigger | body | The body of the request. |
string | path | GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource.UpdateRequest |