Class: Google::Apis::TagmanagerV2::UserPermission
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::UserPermission
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/google/apis/tagmanager_v2/representations.rb
Overview
Represents a user's permissions to an account and its container.
Instance Attribute Summary collapse
-
#account_access ⇒ Google::Apis::TagmanagerV2::AccountAccess
Defines the Google Tag Manager Account access permissions.
-
#account_id ⇒ String
The Account ID uniquely identifies the GTM Account.
-
#container_access ⇒ Array<Google::Apis::TagmanagerV2::ContainerAccess>
GTM Container access permissions.
-
#email_address ⇒ String
User's email address.
-
#path ⇒ String
GTM UserPermission's API relative path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserPermission
constructor
A new instance of UserPermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserPermission
Returns a new instance of UserPermission.
2885 2886 2887 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_access ⇒ Google::Apis::TagmanagerV2::AccountAccess
Defines the Google Tag Manager Account access permissions.
Corresponds to the JSON property accountAccess
2863 2864 2865 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2863 def account_access @account_access end |
#account_id ⇒ String
The Account ID uniquely identifies the GTM Account.
Corresponds to the JSON property accountId
2868 2869 2870 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2868 def account_id @account_id end |
#container_access ⇒ Array<Google::Apis::TagmanagerV2::ContainerAccess>
GTM Container access permissions.
Corresponds to the JSON property containerAccess
2873 2874 2875 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2873 def container_access @container_access end |
#email_address ⇒ String
User's email address.
Corresponds to the JSON property emailAddress
2878 2879 2880 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2878 def email_address @email_address end |
#path ⇒ String
GTM UserPermission's API relative path.
Corresponds to the JSON property path
2883 2884 2885 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2883 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2890 2891 2892 2893 2894 2895 2896 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 2890 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) @path = args[:path] if args.key?(:path) end |