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