Class: Google::Apis::TagmanagerV2::Zone

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb

Overview

Represents a Google Tag Manager Zone's contents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Zone

Returns a new instance of Zone.



2658
2659
2660
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2658

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


2600
2601
2602
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2600

def 
  @account_id
end

#boundaryGoogle::Apis::TagmanagerV2::ZoneBoundary

Represents a Zone's boundaries. Corresponds to the JSON property boundary



2605
2606
2607
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2605

def boundary
  @boundary
end

#child_containerArray<Google::Apis::TagmanagerV2::ZoneChildContainer>

Containers that are children of this Zone. Corresponds to the JSON property childContainer



2610
2611
2612
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2610

def child_container
  @child_container
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


2615
2616
2617
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2615

def container_id
  @container_id
end

#fingerprintString

The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified. Corresponds to the JSON property fingerprint

Returns:

  • (String)


2621
2622
2623
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2621

def fingerprint
  @fingerprint
end

#nameString

Zone display name. Corresponds to the JSON property name

Returns:

  • (String)


2626
2627
2628
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2626

def name
  @name
end

#notesString

User notes on how to apply this zone in the container. Corresponds to the JSON property notes

Returns:

  • (String)


2631
2632
2633
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2631

def notes
  @notes
end

#pathString

GTM Zone's API relative path. Corresponds to the JSON property path

Returns:

  • (String)


2636
2637
2638
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2636

def path
  @path
end

#tag_manager_urlString

Auto generated link to the tag manager UI Corresponds to the JSON property tagManagerUrl

Returns:

  • (String)


2641
2642
2643
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2641

def tag_manager_url
  @tag_manager_url
end

#type_restrictionGoogle::Apis::TagmanagerV2::ZoneTypeRestriction

Represents a Zone's type restrictions. Corresponds to the JSON property typeRestriction



2646
2647
2648
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2646

def type_restriction
  @type_restriction
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


2651
2652
2653
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2651

def workspace_id
  @workspace_id
end

#zone_idString

The Zone ID uniquely identifies the GTM Zone. Corresponds to the JSON property zoneId

Returns:

  • (String)


2656
2657
2658
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2656

def zone_id
  @zone_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2663

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @boundary = args[:boundary] if args.key?(:boundary)
  @child_container = args[:child_container] if args.key?(:child_container)
  @container_id = args[:container_id] if args.key?(:container_id)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @name = args[:name] if args.key?(:name)
  @notes = args[:notes] if args.key?(:notes)
  @path = args[:path] if args.key?(:path)
  @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
  @type_restriction = args[:type_restriction] if args.key?(:type_restriction)
  @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
  @zone_id = args[:zone_id] if args.key?(:zone_id)
end