Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class GbpAccount.
Collection of information related to a Google Business Profile (GBP) account.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.GbpAccount
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the GBP account. Format: accounts/{account}/gbpAccount/{gbp_account}
↳ gbp_account_id
string
The id of the GBP account.
↳ type
int
The type of the Business Profile.
↳ gbp_account_name
string
The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.
↳ listing_count
int|string
Number of listings under this account.
getName
Identifier. The resource name of the GBP account. Format: accounts/{account}/gbpAccount/{gbp_account}
string
setName
Identifier. The resource name of the GBP account. Format: accounts/{account}/gbpAccount/{gbp_account}
var
string
$this
getGbpAccountId
The id of the GBP account.
string
setGbpAccountId
The id of the GBP account.
var
string
$this
getType
The type of the Business Profile.
int
setType
The type of the Business Profile.
var
int
$this
getGbpAccountName
The name of the Business Profile.
For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.
string
setGbpAccountName
The name of the Business Profile.
For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.
var
string
$this
getListingCount
Number of listings under this account.
int|string
setListingCount
Number of listings under this account.
var
int|string
$this