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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ZoneChildContainer

Returns a new instance of ZoneChildContainer.



3315
3316
3317
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3315

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)


3308
3309
3310
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3308

def nickname
  @nickname
end

#public_idString

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

Returns:

  • (String)


3313
3314
3315
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3313

def public_id
  @public_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3320
3321
3322
3323
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3320

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