Class: Google::Apis::TagmanagerV1::TeardownTag
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV1::TeardownTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tagmanager_v1/classes.rb,
generated/google/apis/tagmanager_v1/representations.rb,
generated/google/apis/tagmanager_v1/representations.rb
Instance Attribute Summary collapse
-
#stop_teardown_on_failure ⇒ Boolean
(also: #stop_teardown_on_failure?)
If true, fire the teardown tag if and only if the main tag fires successfully.
-
#tag_name ⇒ String
The name of the teardown tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TeardownTag
constructor
A new instance of TeardownTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TeardownTag
Returns a new instance of TeardownTag
1215 1216 1217 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stop_teardown_on_failure ⇒ Boolean Also known as: stop_teardown_on_failure?
If true, fire the teardown tag if and only if the main tag fires successfully.
If false, fire the teardown tag regardless of main tag firing status.
Corresponds to the JSON property stopTeardownOnFailure
1207 1208 1209 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1207 def stop_teardown_on_failure @stop_teardown_on_failure end |
#tag_name ⇒ String
The name of the teardown tag.
Corresponds to the JSON property tagName
1213 1214 1215 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1213 def tag_name @tag_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1220 1221 1222 1223 |
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1220 def update!(**args) @stop_teardown_on_failure = args[:stop_teardown_on_failure] if args.key?(:stop_teardown_on_failure) @tag_name = args[:tag_name] if args.key?(:tag_name) end |