Class: Google::Apis::TagmanagerV1::SetupTag
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::TagmanagerV1::SetupTag
 
 
- 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_on_setup_failure  ⇒ Boolean 
    
    
      (also: #stop_on_setup_failure?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If true, fire the main tag if and only if the setup tag fires successfully.
 - 
  
    
      #tag_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the setup tag.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SetupTag 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SetupTag.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetupTag
Returns a new instance of SetupTag
      1048 1049 1050  | 
    
      # File 'generated/google/apis/tagmanager_v1/classes.rb', line 1048 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#stop_on_setup_failure ⇒ Boolean Also known as: stop_on_setup_failure?
If true, fire the main tag if and only if the setup tag fires successfully. If
false, fire the main tag regardless of setup tag firing status.
Corresponds to the JSON property stopOnSetupFailure
      1040 1041 1042  | 
    
      # File 'generated/google/apis/tagmanager_v1/classes.rb', line 1040 def stop_on_setup_failure @stop_on_setup_failure end  | 
  
#tag_name ⇒ String
The name of the setup tag.
Corresponds to the JSON property tagName
      1046 1047 1048  | 
    
      # File 'generated/google/apis/tagmanager_v1/classes.rb', line 1046 def tag_name @tag_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1053 1054 1055 1056  | 
    
      # File 'generated/google/apis/tagmanager_v1/classes.rb', line 1053 def update!(**args) @stop_on_setup_failure = args[:stop_on_setup_failure] if args.key?(:stop_on_setup_failure) @tag_name = args[:tag_name] if args.key?(:tag_name) end  |