Class: Google::Apis::TagmanagerV2::AccountAccess

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountAccess

Returns a new instance of AccountAccess



89
90
91
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 89

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

Instance Attribute Details

#permissionString

Whether the user has no access, user access, or admin access to an account. Corresponds to the JSON property permission

Returns:

  • (String)


87
88
89
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 87

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



94
95
96
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 94

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