Class: Google::Analytics::Admin::V1alpha::AccessBinding

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/resources.rb

Overview

A binding of a user to a set of roles.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String (readonly)

Returns Output only. Resource name of this binding.

Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding}

Example: "accounts/100/accessBindings/200".

Returns:

  • (::String)

    Output only. Resource name of this binding.

    Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding}

    Example: "accounts/100/accessBindings/200"



1389
1390
1391
1392
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1389

class AccessBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#roles::Array<::String>

Returns A list of roles for to grant to the parent resource.

Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data

For users, if an empty list of roles is set, this AccessBinding will be deleted.

Returns:

  • (::Array<::String>)

    A list of roles for to grant to the parent resource.

    Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data

    For users, if an empty list of roles is set, this AccessBinding will be deleted.



1389
1390
1391
1392
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1389

class AccessBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#user::String

Returns If set, the email address of the user to set roles for. Format: "someuser@gmail.com".

Returns:

  • (::String)

    If set, the email address of the user to set roles for. Format: "someuser@gmail.com"



1389
1390
1391
1392
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1389

class AccessBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end