Reference documentation and code samples for the Google Analytics Admin V1alpha Client class AuditUserLink.
Read-only resource used to summarize a principal's effective roles.
Generated from protobuf message google.analytics.admin.v1alpha.AuditUserLink
Namespace
Google \ Analytics \ Admin \ V1alphaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Example format: properties/1234/userLinks/5678
↳ email_address
string
Email address of the linked user
↳ direct_roles
array
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
array
Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.). Format: predefinedRoles/viewer
getName
Example format: properties/1234/userLinks/5678
string
setName
Example format: properties/1234/userLinks/5678
var
string
$this
getEmailAddress
Email address of the linked user
string
setEmailAddress
Email address of the linked user
var
string
$this
getDirectRoles
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.
setDirectRoles
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.
var
string[]
$this
getEffectiveRoles
Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
setEffectiveRoles
Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
var
string[]
$this