Class: Google::Shopping::Merchant::Accounts::V1beta::Account
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::Account
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb
Overview
An account.
Instance Attribute Summary collapse
-
#account_id ⇒ ::Integer
readonly
Output only.
-
#account_name ⇒ ::String
Required.
-
#adult_content ⇒ ::Boolean
Whether this account contains adult content.
-
#language_code ⇒ ::String
Required.
-
#name ⇒ ::String
Identifier.
-
#test_account ⇒ ::Boolean
readonly
Output only.
-
#time_zone ⇒ ::Google::Type::TimeZone
Required.
Instance Attribute Details
#account_id ⇒ ::Integer (readonly)
Returns Output only. The ID of the account.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#account_name ⇒ ::String
Returns Required. A human-readable name of the account. See store name and business name for more information.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#adult_content ⇒ ::Boolean
Returns Whether this account contains adult content.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String
Returns Required. The account's BCP-47 language
code, such as en-US
or sr-Latn
.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Identifier. The resource name of the account.
Format: accounts/{account}
.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#test_account ⇒ ::Boolean (readonly)
Returns Output only. Whether this is a test account.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_zone ⇒ ::Google::Type::TimeZone
Returns Required. The time zone of the account.
On writes, time_zone
sets both the reporting_time_zone
and the
display_time_zone
.
For reads, time_zone
always returns the display_time_zone
. If
display_time_zone
doesn't exist for your account, time_zone
is empty.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb', line 58 class Account include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |