Show / Hide Table of Contents

Class Rule

Represents a Google Tag Manager Rule.

Inheritance
object
Rule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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).

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.

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.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX