Class: Google::Apis::TagmanagerV2::ZoneChildContainer

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 child container of a Zone.

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) ⇒ ZoneChildContainer

Returns a new instance of ZoneChildContainer.



2719
2720
2721
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2719

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

Instance Attribute Details

#nicknameString

The zone's nickname for the child container. Corresponds to the JSON property nickname

Returns:

  • (String)


2712
2713
2714
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2712

def nickname
  @nickname
end

#public_idString

The child container's public id. Corresponds to the JSON property publicId

Returns:

  • (String)


2717
2718
2719
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2717

def public_id
  @public_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2724
2725
2726
2727
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2724

def update!(**args)
  @nickname = args[:nickname] if args.key?(:nickname)
  @public_id = args[:public_id] if args.key?(:public_id)
end