Google Analytics Admin V1alpha Client - Class UserLink (0.11.1)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class UserLink.

A resource message representing a user's permissions on an Account or Property resource.

Generated from protobuf message google.analytics.admin.v1alpha.UserLink

Methods

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Example format: properties/1234/userLinks/5678

↳ email_address string

Immutable. Email address of the user to link

↳ direct_roles array

Roles directly assigned to this user for this account or property. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted.

Output only. Example format: properties/1234/userLinks/5678

Returns
TypeDescription
string

Output only. Example format: properties/1234/userLinks/5678

Parameter
NameDescription
var string
Returns
TypeDescription
$this

Immutable. Email address of the user to link

Returns
TypeDescription
string

Immutable. Email address of the user to link

Parameter
NameDescription
var string
Returns
TypeDescription
$this

Roles directly assigned to this user for this account or property.

Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

Roles directly assigned to this user for this account or property.

Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this