Class: Google::Apis::TagmanagerV2::ContainerAccess
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ContainerAccess
- 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
Defines the Google Tag Manager Container access permissions.
Instance Attribute Summary collapse
-
#container_id ⇒ String
GTM Container ID.
-
#permission ⇒ String
List of Container permissions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerAccess
constructor
A new instance of ContainerAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerAccess
Returns a new instance of ContainerAccess.
382 383 384 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_id ⇒ String
GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable
tagmanager.accounts.permissions.update
Corresponds to the JSON property containerId
374 375 376 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 374 def container_id @container_id end |
#permission ⇒ String
List of Container permissions. @mutable tagmanager.accounts.permissions.create
Corresponds to the JSON property permission
380 381 382 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 380 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 387 def update!(**args) @container_id = args[:container_id] if args.key?(:container_id) @permission = args[:permission] if args.key?(:permission) end |