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
AccountsResource.ContainersResource.WorkspacesResource.CreateVersionRequest
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.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 | |
string | path |
Properties
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
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 |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CreateVersion parameter list.
Declaration
protected override void InitParameters()