Class: Google::Apis::TagmanagerV1::UserAccess
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV1::UserAccess
- 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
Represents a user's permissions to an account and its container.
Instance Attribute Summary collapse
-
#account_access ⇒ Google::Apis::TagmanagerV1::AccountAccess
Defines the Google Tag Manager Account access permissions.
-
#account_id ⇒ String
GTM Account ID.
-
#container_access ⇒ Array<Google::Apis::TagmanagerV1::ContainerAccess>
GTM Container access permissions.
-
#email_address ⇒ String
User's email address.
-
#permission_id ⇒ String
Account Permission ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserAccess
constructor
A new instance of UserAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserAccess
Returns a new instance of UserAccess.
1539 1540 1541 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_access ⇒ Google::Apis::TagmanagerV1::AccountAccess
Defines the Google Tag Manager Account access permissions.
Corresponds to the JSON property accountAccess
1516 1517 1518 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1516 def account_access @account_access end |
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
1521 1522 1523 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1521 def account_id @account_id end |
#container_access ⇒ Array<Google::Apis::TagmanagerV1::ContainerAccess>
GTM Container access permissions. @mutable tagmanager.accounts.permissions.
create @mutable tagmanager.accounts.permissions.update
Corresponds to the JSON property containerAccess
1527 1528 1529 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1527 def container_access @container_access end |
#email_address ⇒ String
User's email address. @mutable tagmanager.accounts.permissions.create
Corresponds to the JSON property emailAddress
1532 1533 1534 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1532 def email_address @email_address end |
#permission_id ⇒ String
Account Permission ID.
Corresponds to the JSON property permissionId
1537 1538 1539 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1537 def @permission_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/google/apis/tagmanager_v1/classes.rb', line 1544 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 |