Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::AuditUserLink.
Read-only resource used to summarize a principal's effective roles.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#direct_roles
defdirect_roles()->::Array<::String>
Returns
(::Array<::String>) — Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
#direct_roles=
defdirect_roles=(value)->::Array<::String>
Parameter
value (::Array<::String>) — Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
Returns
(::Array<::String>) — Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
#effective_roles
defeffective_roles()->::Array<::String>
Returns
(::Array<::String>) — Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
#effective_roles=
defeffective_roles=(value)->::Array<::String>
Parameter
value (::Array<::String>) — Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
Returns
(::Array<::String>) — Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
#email_address
defemail_address()->::String
Returns
(::String) — Email address of the linked user
#email_address=
defemail_address=(value)->::String
Parameter
value (::String) — Email address of the linked user
Returns
(::String) — Email address of the linked user
#name
defname()->::String
Returns
(::String) — Example format: properties/1234/userLinks/5678
#name=
defname=(value)->::String
Parameter
value (::String) — Example format: properties/1234/userLinks/5678
Returns
(::String) — Example format: properties/1234/userLinks/5678
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::AuditUserLink (v0.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.0 (latest)](/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-AuditUserLink)\n- [0.10.0](/ruby/docs/reference/google-analytics-admin-v1alpha/0.10.0/Google-Analytics-Admin-V1alpha-AuditUserLink)\n- [0.9.1](/ruby/docs/reference/google-analytics-admin-v1alpha/0.9.1/Google-Analytics-Admin-V1alpha-AuditUserLink) \nReference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::AuditUserLink.\n\nRead-only resource used to summarize a principal's effective roles. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #direct_roles\n\n def direct_roles() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Roles directly assigned to this user for this entity.\n\n Format: predefinedRoles/viewer\n\n Excludes roles that are inherited from an account (if this is for a\n property), group, or organization admin role.\n\n### #direct_roles=\n\n def direct_roles=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Roles directly assigned to this user for this entity.\n\n\n Format: predefinedRoles/viewer\n\n Excludes roles that are inherited from an account (if this is for a\nproperty), group, or organization admin role. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Roles directly assigned to this user for this entity.\n\n Format: predefinedRoles/viewer\n\n Excludes roles that are inherited from an account (if this is for a\n property), group, or organization admin role.\n\n### #effective_roles\n\n def effective_roles() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).\n\n Format: predefinedRoles/viewer\n\n### #effective_roles=\n\n def effective_roles=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).\n\n\nFormat: predefinedRoles/viewer \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).\n\n Format: predefinedRoles/viewer\n\n### #email_address\n\n def email_address() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Email address of the linked user\n\n### #email_address=\n\n def email_address=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Email address of the linked user \n**Returns**\n\n- (::String) --- Email address of the linked user\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Example format: properties/1234/userLinks/5678\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Example format: properties/1234/userLinks/5678 \n**Returns**\n\n- (::String) --- Example format: properties/1234/userLinks/5678"]]