Class: Google::Apis::TagmanagerV1::ContainerVersion
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::TagmanagerV1::ContainerVersion
 
- 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
Overview
Represents a Google Tag Manager Container Version.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    GTM Account ID. 
- 
  
    
      #container  ⇒ Google::Apis::TagmanagerV1::Container 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a Google Tag Manager Container. 
- 
  
    
      #container_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    GTM Container ID. 
- 
  
    
      #container_version_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Container Version ID uniquely identifies the GTM Container Version. 
- 
  
    
      #deleted  ⇒ Boolean 
    
    
      (also: #deleted?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    A value of true indicates this container version has been deleted. 
- 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fingerprint of the GTM Container Version as computed at storage time. 
- 
  
    
      #folder  ⇒ Array<Google::Apis::TagmanagerV1::Folder> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The folders in the container that this version was taken from. 
- 
  
    
      #macro  ⇒ Array<Google::Apis::TagmanagerV1::Macro> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The macros in the container that this version was taken from. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Container version display name. 
- 
  
    
      #notes  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User notes on how to apply this container version in the container. 
- 
  
    
      #rule  ⇒ Array<Google::Apis::TagmanagerV1::Rule> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The rules in the container that this version was taken from. 
- 
  
    
      #tag  ⇒ Array<Google::Apis::TagmanagerV1::Tag> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The tags in the container that this version was taken from. 
- 
  
    
      #trigger  ⇒ Array<Google::Apis::TagmanagerV1::Trigger> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The triggers in the container that this version was taken from. 
- 
  
    
      #variable  ⇒ Array<Google::Apis::TagmanagerV1::Variable> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The variables in the container that this version was taken from. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContainerVersion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ContainerVersion. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContainerVersion
Returns a new instance of ContainerVersion
| 305 306 307 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 305 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
| 236 237 238 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 236 def account_id @account_id end | 
#container ⇒ Google::Apis::TagmanagerV1::Container
Represents a Google Tag Manager Container.
Corresponds to the JSON property container
| 241 242 243 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 241 def container @container end | 
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
| 246 247 248 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 246 def container_id @container_id end | 
#container_version_id ⇒ String
The Container Version ID uniquely identifies the GTM Container Version.
Corresponds to the JSON property containerVersionId
| 251 252 253 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 251 def container_version_id @container_version_id end | 
#deleted ⇒ Boolean Also known as: deleted?
A value of true indicates this container version has been deleted.
Corresponds to the JSON property deleted
| 256 257 258 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 256 def deleted @deleted end | 
#fingerprint ⇒ String
The fingerprint of the GTM Container Version as computed at storage time. This
value is recomputed whenever the container version is modified.
Corresponds to the JSON property fingerprint
| 263 264 265 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 263 def fingerprint @fingerprint end | 
#folder ⇒ Array<Google::Apis::TagmanagerV1::Folder>
The folders in the container that this version was taken from.
Corresponds to the JSON property folder
| 268 269 270 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 268 def folder @folder end | 
#macro ⇒ Array<Google::Apis::TagmanagerV1::Macro>
The macros in the container that this version was taken from.
Corresponds to the JSON property macro
| 273 274 275 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 273 def macro @macro end | 
#name ⇒ String
Container version display name.
Corresponds to the JSON property name
| 278 279 280 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 278 def name @name end | 
#notes ⇒ String
User notes on how to apply this container version in the container.
Corresponds to the JSON property notes
| 283 284 285 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 283 def notes @notes end | 
#rule ⇒ Array<Google::Apis::TagmanagerV1::Rule>
The rules in the container that this version was taken from.
Corresponds to the JSON property rule
| 288 289 290 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 288 def rule @rule end | 
#tag ⇒ Array<Google::Apis::TagmanagerV1::Tag>
The tags in the container that this version was taken from.
Corresponds to the JSON property tag
| 293 294 295 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 293 def tag @tag end | 
#trigger ⇒ Array<Google::Apis::TagmanagerV1::Trigger>
The triggers in the container that this version was taken from.
Corresponds to the JSON property trigger
| 298 299 300 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 298 def trigger @trigger end | 
#variable ⇒ Array<Google::Apis::TagmanagerV1::Variable>
The variables in the container that this version was taken from.
Corresponds to the JSON property variable
| 303 304 305 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 303 def variable @variable end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | # File 'generated/google/apis/tagmanager_v1/classes.rb', line 310 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container = args[:container] if args.key?(:container) @container_id = args[:container_id] if args.key?(:container_id) @container_version_id = args[:container_version_id] if args.key?(:container_version_id) @deleted = args[:deleted] if args.key?(:deleted) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @folder = args[:folder] if args.key?(:folder) @macro = args[:macro] if args.key?(:macro) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @rule = args[:rule] if args.key?(:rule) @tag = args[:tag] if args.key?(:tag) @trigger = args[:trigger] if args.key?(:trigger) @variable = args[:variable] if args.key?(:variable) end |