Google Shopping Merchant Accounts V1beta Client - Class Account (0.9.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Account.

An account.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Account

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the account. Format: accounts/{account}

↳ account_id
int|string

Output only. The ID of the account.

↳ account_name
string

Required. A human-readable name of the account. See store name and business name for more information.

↳ adult_content
bool

Whether this account contains adult content.

↳ test_account
bool

Output only. Whether this is a test account.

↳ time_zone
Google\Type\TimeZone

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.

↳ language_code
string

Required. The account's BCP-47 language code , such as en-US or sr-Latn .

Identifier. The resource name of the account.

Format: accounts/{account}

Returns
Type
Description
string

Identifier. The resource name of the account.

Format: accounts/{account}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Output only. The ID of the account.

Returns
Type
Description
int|string

Output only. The ID of the account.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

Required. A human-readable name of the account. See store name and business name for more information.

Returns
Type
Description
string

Required. A human-readable name of the account. See store name and business name for more information.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Whether this account contains adult content.

Returns
Type
Description
bool

Whether this account contains adult content.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

Output only. Whether this is a test account.

Returns
Type
Description
bool

Output only. Whether this is a test account.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this

Required. The account's BCP-47 language code , such as en-US or sr-Latn .

Returns
Type
Description
string

Required. The account's BCP-47 language code , such as en-US or sr-Latn .

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: