Class: Google::Shopping::Merchant::Accounts::V1beta::GbpAccount
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::GbpAccount
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb
Overview
Collection of information related to a Google Business Profile (GBP) account.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#gbp_account_id ⇒ ::String
The id of the GBP account.
-
#gbp_account_name ⇒ ::String
The name of the Business Profile.
-
#listing_count ⇒ ::Integer
Number of listings under this account.
-
#name ⇒ ::String
Identifier.
-
#type ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::GbpAccount::Type
The type of the Business Profile.
Instance Attribute Details
#gbp_account_id ⇒ ::String
Returns The id of the GBP account.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb', line 44 class GbpAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the GBP account. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # The GBP account is a user account. USER = 1 # The GBP account is a business account. BUSINESS_ACCOUNT = 2 end end |
#gbp_account_name ⇒ ::String
Returns The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb', line 44 class GbpAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the GBP account. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # The GBP account is a user account. USER = 1 # The GBP account is a business account. BUSINESS_ACCOUNT = 2 end end |
#listing_count ⇒ ::Integer
Returns Number of listings under this account.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb', line 44 class GbpAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the GBP account. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # The GBP account is a user account. USER = 1 # The GBP account is a business account. BUSINESS_ACCOUNT = 2 end end |
#name ⇒ ::String
Returns Identifier. The resource name of the GBP account. Format:
accounts/{account}/gbpAccount/{gbp_account}.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb', line 44 class GbpAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the GBP account. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # The GBP account is a user account. USER = 1 # The GBP account is a business account. BUSINESS_ACCOUNT = 2 end end |
#type ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::GbpAccount::Type
Returns The type of the Business Profile.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb', line 44 class GbpAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the GBP account. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # The GBP account is a user account. USER = 1 # The GBP account is a business account. BUSINESS_ACCOUNT = 2 end end |