Google Shopping Css V1 Client - Class InsertCssProductInputRequest (0.2.9)

Reference documentation and code samples for the Google Shopping Css V1 Client class InsertCssProductInputRequest.

Request message for the InsertCssProductInput method.

Generated from protobuf message google.shopping.css.v1.InsertCssProductInputRequest

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

↳ css_product_input Google\Shopping\Css\V1\CssProductInput

Required. The CSS Product Input to insert.

↳ feed_id int|string

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

getParent

Required. The account where this CSS Product will be inserted.

Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The account where this CSS Product will be inserted.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getCssProductInput

Required. The CSS Product Input to insert.

Returns
Type Description
Google\Shopping\Css\V1\CssProductInput|null

hasCssProductInput

clearCssProductInput

setCssProductInput

Required. The CSS Product Input to insert.

Parameter
Name Description
var Google\Shopping\Css\V1\CssProductInput
Returns
Type Description
$this

getFeedId

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

Returns
Type Description
int|string

setFeedId

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

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