Class AccountsResource.ContainersResource.VersionsResource.RestoreRequest
Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
Inheritance
AccountsResource.ContainersResource.VersionsResource.RestoreRequest
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.ContainersResource.VersionsResource.RestoreRequest : TagManagerBaseServiceRequest<ContainerVersion>, IClientServiceRequest<ContainerVersion>, IClientServiceRequest
Constructors
RestoreRequest(IClientService, string, string, string)
Constructs a new Restore request.
Declaration
public RestoreRequest(IClientService service, string accountId, string containerId, string containerVersionId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | accountId | |
| string | containerId | |
| string | containerVersionId |
Properties
AccountId
The GTM Account ID.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContainerId
The GTM Container ID.
Declaration
[RequestParameter("containerId", RequestParameterType.Path)]
public virtual string ContainerId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContainerVersionId
The GTM Container Version ID.
Declaration
[RequestParameter("containerVersionId", RequestParameterType.Path)]
public virtual string ContainerVersionId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Restore parameter list.
Declaration
protected override void InitParameters()