Google Shopping Css V1 Client - Class InsertCssProductInputRequest (0.1.0)

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
NameDescription
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
TypeDescription
string

setParent

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

Format: accounts/{account}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCssProductInput

Required. The CSS Product Input to insert.

Returns
TypeDescription
Google\Shopping\Css\V1\CssProductInput|null

hasCssProductInput

clearCssProductInput

setCssProductInput

Required. The CSS Product Input to insert.

Parameter
NameDescription
var Google\Shopping\Css\V1\CssProductInput
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int|string
Returns
TypeDescription
$this