Class: Google::Apis::TagmanagerV1::UserAccess

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

Represents a user's permissions to an account and its container.

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) ⇒ UserAccess

Returns a new instance of UserAccess.



1599
1600
1601
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1599

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

Instance Attribute Details

#account_accessGoogle::Apis::TagmanagerV1::AccountAccess

Defines the Google Tag Manager Account access permissions. Corresponds to the JSON property accountAccess



1574
1575
1576
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1574

def 
  @account_access
end

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


1579
1580
1581
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1579

def 
  @account_id
end

#container_accessArray<Google::Apis::TagmanagerV1::ContainerAccess>

GTM Container access permissions. Corresponds to the JSON property containerAccess



1586
1587
1588
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1586

def container_access
  @container_access
end

#email_addressString

User's email address. Corresponds to the JSON property emailAddress

Returns:

  • (String)


1592
1593
1594
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1592

def email_address
  @email_address
end

#permission_idString

Account Permission ID. Corresponds to the JSON property permissionId

Returns:

  • (String)


1597
1598
1599
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1597

def permission_id
  @permission_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1604
1605
1606
1607
1608
1609
1610
# File 'generated/google/apis/tagmanager_v1/classes.rb', line 1604

def update!(**args)
  @account_access = args[:account_access] if args.key?(:account_access)
  @account_id = args[:account_id] if args.key?(:account_id)
  @container_access = args[:container_access] if args.key?(:container_access)
  @email_address = args[:email_address] if args.key?(:email_address)
  @permission_id = args[:permission_id] if args.key?(:permission_id)
end