Class Google::Analytics::Admin::V1alpha::UserLink

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def direct_roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

def direct_roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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
  • (::Array<::String>) — 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.

def email_address() -> ::String
Returns
  • (::String) — Immutable. Email address of the user to link
def email_address=(value) -> ::String
Parameter
  • value (::String) — Immutable. Email address of the user to link
Returns
  • (::String) — Immutable. Email address of the user to link
def name() -> ::String
Returns
  • (::String) — Output only. Example format: properties/1234/userLinks/5678