Class: Google::Apis::TagmanagerV2::ZoneChildContainer
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ZoneChildContainer
- 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 child container of a Zone.
Instance Attribute Summary collapse
-
#nickname ⇒ String
The zone's nickname for the child container.
-
#public_id ⇒ String
The child container's public id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneChildContainer
constructor
A new instance of ZoneChildContainer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ZoneChildContainer
Returns a new instance of ZoneChildContainer.
2699 2700 2701 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nickname ⇒ String
The zone's nickname for the child container.
Corresponds to the JSON property nickname
2692 2693 2694 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2692 def nickname @nickname end |
#public_id ⇒ String
The child container's public id.
Corresponds to the JSON property publicId
2697 2698 2699 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2697 def public_id @public_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2704 2705 2706 2707 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2704 def update!(**args) @nickname = args[:nickname] if args.key?(:nickname) @public_id = args[:public_id] if args.key?(:public_id) end |