Class: Google::Shopping::Merchant::Accounts::V1beta::GbpAccount

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#gbp_account_id::String

Returns The id of the GBP account.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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}.

Returns:

  • (::String)

    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.

Returns:



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