Class AccountsResource.ContainersResource.VersionsResource
The "versions" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.VersionsResource
Constructors
VersionsResource(IClientService)
Constructs a new resource.
Declaration
public VersionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string)
Deletes a Container Version.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.DeleteRequest |
Get(string)
Gets a Container Version.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.GetRequest |
Live(string)
Gets the live (i.e. published) container version
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.LiveRequest Live(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.VersionsResource.LiveRequest |
Publish(string)
Publishes a Container Version.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.PublishRequest Publish(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.PublishRequest |
SetLatest(string)
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.SetLatestRequest SetLatest(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.SetLatestRequest |
Undelete(string)
Undeletes a Container Version.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.UndeleteRequest Undelete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.UndeleteRequest |
Update(ContainerVersion, string)
Updates a Container Version.
Declaration
public virtual AccountsResource.ContainersResource.VersionsResource.UpdateRequest Update(ContainerVersion body, string path)
Parameters
Type | Name | Description |
---|---|---|
ContainerVersion | body | The body of the request. |
string | path | GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.VersionsResource.UpdateRequest |