Class AccountsResource.ContainersResource.WorkspacesResource.CreateVersionRequest
Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.
Inheritance
System.Object
AccountsResource.ContainersResource.WorkspacesResource.CreateVersionRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class CreateVersionRequest : TagManagerBaseServiceRequest<CreateContainerVersionResponse>, IClientServiceRequest<CreateContainerVersionResponse>, IClientServiceRequest
Constructors
CreateVersionRequest(IClientService, CreateContainerVersionRequestVersionOptions, String)
Constructs a new CreateVersion request.
Declaration
public CreateVersionRequest(IClientService service, CreateContainerVersionRequestVersionOptions body, string path)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CreateContainerVersionRequestVersionOptions | body | |
| System.String | path |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.CreateContainerVersionResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.CreateContainerVersionResponse>.MethodName
Path
GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
Declaration
[RequestParameter("path", RequestParameterType.Path)]
public virtual string Path { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.CreateContainerVersionResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.CreateContainerVersionResponse>.GetBody()
InitParameters()
Initializes CreateVersion parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.TagManager.v2.TagManagerBaseServiceRequest<Google.Apis.TagManager.v2.Data.CreateContainerVersionResponse>.InitParameters()