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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v1/classes.rb,
generated/google/apis/tagmanager_v1/representations.rb,
generated/google/apis/tagmanager_v1/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



73
74
75
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 73

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

Instance Attribute Details

#permissionArray<String>

List of Account permissions. Valid account permissions are read and manage. Corresponds to the JSON property permission

Returns:

  • (Array<String>)


71
72
73
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 71

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



78
79
80
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 78

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