Google Shopping Merchant Accounts V1beta Client - Class Table (0.1.0)

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

A table defining the rate group, when single_value is not expressive enough.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the table. Required for subtables, ignored for the main table.

↳ row_headers Google\Shopping\Merchant\Accounts\V1beta\Headers

Required. Headers of the table's rows.

↳ column_headers Google\Shopping\Merchant\Accounts\V1beta\Headers

Headers of the table's columns. Optional: if not set then the table has only one dimension.

↳ rows array<Google\Shopping\Merchant\Accounts\V1beta\Row>

Required. The list of rows that constitute the table. Must have the same length as row_headers.

getName

Name of the table. Required for subtables, ignored for the main table.

Returns
Type Description
string

hasName

clearName

setName

Name of the table. Required for subtables, ignored for the main table.

Parameter
Name Description
var string
Returns
Type Description
$this

getRowHeaders

Required. Headers of the table's rows.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\Headers|null

hasRowHeaders

clearRowHeaders

setRowHeaders

Required. Headers of the table's rows.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\Headers
Returns
Type Description
$this

getColumnHeaders

Headers of the table's columns. Optional: if not set then the table has only one dimension.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\Headers|null

hasColumnHeaders

clearColumnHeaders

setColumnHeaders

Headers of the table's columns. Optional: if not set then the table has only one dimension.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\Headers
Returns
Type Description
$this

getRows

Required. The list of rows that constitute the table. Must have the same length as row_headers.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRows

Required. The list of rows that constitute the table. Must have the same length as row_headers.

Parameter
Name Description
var array<Google\Shopping\Merchant\Accounts\V1beta\Row>
Returns
Type Description
$this