class Google::Apis::TagmanagerV1::TeardownTag

Attributes

stop_teardown_on_failure[RW]

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` @return [Boolean]

stop_teardown_on_failure?[RW]

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` @return [Boolean]

tag_name[RW]

The name of the teardown tag. Corresponds to the JSON property `tagName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/tagmanager_v1/classes.rb, line 1215
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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