Class Rule
Represents a Google Tag Manager Rule.
Implements
Inherited Members
Namespace: Google.Apis.TagManager.v1.Data
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class Rule : IDirectResponseSchema
Properties
AccountId
GTM Account ID.
Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
Condition
The list of conditions that make up this rule (implicit AND between them). @mutable tagmanager.accounts.containers.rules.create @mutable tagmanager.accounts.containers.rules.update
Declaration
[JsonProperty("condition")]
public virtual IList<Condition> Condition { get; set; }
Property Value
Type | Description |
---|---|
IList<Condition> |
ContainerId
GTM Container ID.
Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Fingerprint
The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Rule display name. @mutable tagmanager.accounts.containers.rules.create @mutable tagmanager.accounts.containers.rules.update
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Notes
User notes on how to apply this rule in the container. @mutable tagmanager.accounts.containers.rules.create @mutable tagmanager.accounts.containers.rules.update
Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
Type | Description |
---|---|
string |
RuleId
The Rule ID uniquely identifies the GTM Rule.
Declaration
[JsonProperty("ruleId")]
public virtual string RuleId { get; set; }
Property Value
Type | Description |
---|---|
string |