Struct google_tagmanager1::api::Macro
source · pub struct Macro {Show 13 fields
pub account_id: Option<String>,
pub container_id: Option<String>,
pub disabling_rule_id: Option<Vec<String>>,
pub enabling_rule_id: Option<Vec<String>>,
pub fingerprint: Option<String>,
pub macro_id: Option<String>,
pub name: Option<String>,
pub notes: Option<String>,
pub parameter: Option<Vec<Parameter>>,
pub parent_folder_id: Option<String>,
pub schedule_end_ms: Option<i64>,
pub schedule_start_ms: Option<i64>,
pub type_: Option<String>,
}
Expand description
Represents a Google Tag Manager Macro.
This type is not used in any activity, and only used as part of another schema.
Fields§
§account_id: Option<String>
GTM Account ID.
container_id: Option<String>
GTM Container ID.
disabling_rule_id: Option<Vec<String>>
For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
enabling_rule_id: Option<Vec<String>>
For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
fingerprint: Option<String>
The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
macro_id: Option<String>
The Macro ID uniquely identifies the GTM Macro.
name: Option<String>
Macro display name. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
notes: Option<String>
User notes on how to apply this macro in the container. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
parameter: Option<Vec<Parameter>>
The macro’s parameters. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
parent_folder_id: Option<String>
Parent folder id.
schedule_end_ms: Option<i64>
The end timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
schedule_start_ms: Option<i64>
The start timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
type_: Option<String>
GTM Macro Type. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update