Class: Google::Shopping::Merchant::Accounts::V1::User

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/accounts/v1/user.rb

Overview

The User message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see Frequently asked questions about people and access levels.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#access_rights::Array<::Google::Shopping::Merchant::Accounts::V1::AccessRight>

Returns Required. The access rights the user has.

Returns:



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1/user.rb', line 44

class User
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states of a user.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The user is pending confirmation. In this state, the user first needs to
    # accept the invitation before performing other actions.
    PENDING = 1

    # The user is verified.
    VERIFIED = 2
  end
end

#name::String

Returns Identifier. The resource name of the user. Format: accounts/{account}/user/{email}

Use me to refer to your own email address, for example accounts/{account}/users/me.

Returns:

  • (::String)

    Identifier. The resource name of the user. Format: accounts/{account}/user/{email}

    Use me to refer to your own email address, for example accounts/{account}/users/me.



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1/user.rb', line 44

class User
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states of a user.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The user is pending confirmation. In this state, the user first needs to
    # accept the invitation before performing other actions.
    PENDING = 1

    # The user is verified.
    VERIFIED = 2
  end
end

#state::Google::Shopping::Merchant::Accounts::V1::User::State (readonly)

Returns Output only. The state of the user.

Returns:



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1/user.rb', line 44

class User
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states of a user.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The user is pending confirmation. In this state, the user first needs to
    # accept the invitation before performing other actions.
    PENDING = 1

    # The user is verified.
    VERIFIED = 2
  end
end