Class AccountsResource.ContainersResource.TagsResource.CreateRequest
Creates a GTM Tag.
Inheritance
AccountsResource.ContainersResource.TagsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.ContainersResource.TagsResource.CreateRequest : TagManagerBaseServiceRequest<Tag>, IClientServiceRequest<Tag>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Tag, string, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Tag body, string accountId, string containerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Tag | body | |
string | accountId | |
string | containerId |
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 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Tag>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Tag>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Tag>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Tag>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()