Class: Google::Apis::TagmanagerV1::AccountAccess

Inherits:
Object
  • Object
show all
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 Account access permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountAccess

Returns a new instance of AccountAccess.



77
78
79
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 77

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

Instance Attribute Details

#permissionArray<String>

List of Account permissions. Valid account permissions are read and manage. @ mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts. permissions.update Corresponds to the JSON property permission

Returns:

  • (Array<String>)


75
76
77
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 75

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 82

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