Class AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest
Creates one or more GTM Built-In Variables.
Inheritance
AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest : TagManagerBaseServiceRequest<CreateBuiltInVariableResponse>, IClientServiceRequest<CreateBuiltInVariableResponse>, IClientServiceRequest
Constructors
CreateRequest(IClientService, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
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
Parent
GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Type
The types of built-in variables to enable.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest.TypeEnum? |
Remarks
Use this property to set a single value for the parameter, or TypeList to set multiple values. Do not set both properties.
TypeList
The types of built-in variables to enable.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual Repeatable<AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest.TypeEnum> TypeList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource.CreateRequest.TypeEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and Type.
Methods
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()