Reference documentation and code samples for the Google Shopping Css V1 Client class CssProduct.
The processed CSS Product(a.k.a Aggregate Offer internally).
Generated from protobuf message google.shopping.css.v1.CssProduct
Namespace
Google \ Shopping \ Css \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the CSS Product. Format: "accounts/{account}/cssProducts/{css_product}"
↳ raw_provided_id
string
Output only. Your unique raw identifier for the product.
↳ content_language
↳ feed_label
string
Output only. The feed label for the product.
↳ attributes
↳ custom_attributes
array< Google\Shopping\Type\CustomAttribute
>
Output only. A list of custom (CSS-provided) attributes. It can also be used to submit any attribute of the feed specification in its generic form (for example, { "name": "size type", "value": "regular" }
). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.
↳ css_product_status
Google\Shopping\Css\V1\CssProductStatus
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.
getName
The name of the CSS Product.
Format: "accounts/{account}/cssProducts/{css_product}"
string
setName
The name of the CSS Product.
Format: "accounts/{account}/cssProducts/{css_product}"
var
string
$this
getRawProvidedId
Output only. Your unique raw identifier for the product.
string
setRawProvidedId
Output only. Your unique raw identifier for the product.
var
string
$this
getContentLanguage
Output only. The two-letter ISO 639-1 language code for the product.
string
setContentLanguage
Output only. The two-letter ISO 639-1 language code for the product.
var
string
$this
getFeedLabel
Output only. The feed label for the product.
string
setFeedLabel
Output only. The feed label for the product.
var
string
$this
getAttributes
Output only. A list of product attributes.
hasAttributes
clearAttributes
setAttributes
Output only. A list of product attributes.
$this
getCustomAttributes
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example, { "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.
setCustomAttributes
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example, { "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.
var
array< Google\Shopping\Type\CustomAttribute
>
$this
getCssProductStatus
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.
hasCssProductStatus
clearCssProductStatus
setCssProductStatus
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.
$this