Class: Google::Shopping::Merchant::Accounts::V1beta::User
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::User
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/user.rb
Overview
A user.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#access_rights ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::AccessRight>
Optional.
-
#name ⇒ ::String
Identifier.
-
#state ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::User::State
readonly
Output only.
Instance Attribute Details
#access_rights ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::AccessRight>
Returns Optional. The access rights the user has.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/user.rb', line 41 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
.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/user.rb', line 41 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::V1beta::User::State (readonly)
Returns Output only. The state of the user.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/user.rb', line 41 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 |