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

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

Overview

Represents a Google Tag Manager Zone's contents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Zone

Returns a new instance of Zone.



3083
3084
3085
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3083

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


3025
3026
3027
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3025

def 
  @account_id
end

#boundaryGoogle::Apis::TagmanagerV2::ZoneBoundary

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



3030
3031
3032
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3030

def boundary
  @boundary
end

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

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



3035
3036
3037
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3035

def child_container
  @child_container
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


3040
3041
3042
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3040

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)


3046
3047
3048
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3046

def fingerprint
  @fingerprint
end

#nameString

Zone display name. Corresponds to the JSON property name

Returns:

  • (String)


3051
3052
3053
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3051

def name
  @name
end

#notesString

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

Returns:

  • (String)


3056
3057
3058
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3056

def notes
  @notes
end

#pathString

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

Returns:

  • (String)


3061
3062
3063
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3061

def path
  @path
end

#tag_manager_urlString

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

Returns:

  • (String)


3066
3067
3068
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3066

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



3071
3072
3073
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3071

def type_restriction
  @type_restriction
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


3076
3077
3078
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3076

def workspace_id
  @workspace_id
end

#zone_idString

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

Returns:

  • (String)


3081
3082
3083
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3081

def zone_id
  @zone_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3088

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