Google Shopping Merchant Products V1beta Client - Class CloudExportAdditionalProperties (1.4.1)

Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class CloudExportAdditionalProperties.

Product property for the Cloud Retail API.

For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size".

Generated from protobuf message google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property_name string

Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters.

↳ text_value string[]

Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.

↳ bool_value bool

Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD.

↳ int_value int[]|string[]

Integer values of the given property. For example, 1080 for a TV product's Screen Resolution. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

↳ float_value float[]

Float values of the given property. For example for a TV product 1.2345. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

↳ min_value float

Minimum float value of the given property. For example for a TV product 1.00.

↳ max_value float

Maximum float value of the given property. For example for a TV product 100.00.

↳ unit_code string

Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256B.

getPropertyName

Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters.

Returns
Type Description
string

hasPropertyName

clearPropertyName

setPropertyName

Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getTextValue

Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTextValue

Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getBoolValue

Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD.

Returns
Type Description
bool

hasBoolValue

clearBoolValue

setBoolValue

Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD.

Parameter
Name Description
var bool
Returns
Type Description
$this

getIntValue

Integer values of the given property. For example, 1080 for a TV product's Screen Resolution. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

Returns
Type Description
Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string>

setIntValue

Integer values of the given property. For example, 1080 for a TV product's Screen Resolution. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

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

getFloatValue

Float values of the given property. For example for a TV product 1.2345. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

Returns
Type Description
Google\Protobuf\RepeatedField<float>

setFloatValue

Float values of the given property. For example for a TV product 1.2345. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.

Parameter
Name Description
var float[]
Returns
Type Description
$this

getMinValue

Minimum float value of the given property. For example for a TV product 1.00.

Returns
Type Description
float

hasMinValue

clearMinValue

setMinValue

Minimum float value of the given property. For example for a TV product 1.00.

Parameter
Name Description
var float
Returns
Type Description
$this

getMaxValue

Maximum float value of the given property. For example for a TV product 100.00.

Returns
Type Description
float

hasMaxValue

clearMaxValue

setMaxValue

Maximum float value of the given property. For example for a TV product 100.00.

Parameter
Name Description
var float
Returns
Type Description
$this

getUnitCode

Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256B.

Returns
Type Description
string

hasUnitCode

clearUnitCode

setUnitCode

Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256B.

Parameter
Name Description
var string
Returns
Type Description
$this