Class: Google::Apis::TagmanagerV1::ContainerAccess
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV1::ContainerAccess
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v1/classes.rb,
lib/google/apis/tagmanager_v1/representations.rb,
lib/google/apis/tagmanager_v1/representations.rb
Overview
Defines the Google Tag Manager Container access permissions.
Instance Attribute Summary collapse
-
#container_id ⇒ String
GTM Container ID.
-
#permission ⇒ Array<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.
233 234 235 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 233 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
224 225 226 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 224 def container_id @container_id end |
#permission ⇒ Array<String>
List of Container permissions. Valid container permissions are: read, edit,
delete, publish. @mutable tagmanager.accounts.permissions.create @mutable
tagmanager.accounts.permissions.update
Corresponds to the JSON property permission
231 232 233 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 231 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 238 def update!(**args) @container_id = args[:container_id] if args.key?(:container_id) @permission = args[:permission] if args.key?(:permission) end |