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 \ V1Methods
__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 |
CssProductInput
Required. The CSS Product Input to insert. |
↳ feed_id |
int|string
Optional. DEPRECATED. Feed id is not required for CSS Products. 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 |
CssProductInput|null |
hasCssProductInput
clearCssProductInput
setCssProductInput
Required. The CSS Product Input to insert.
Parameter | |
---|---|
Name | Description |
var |
CssProductInput
|
Returns | |
---|---|
Type | Description |
$this |
getFeedId
Optional. DEPRECATED. Feed id is not required for CSS Products.
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
Optional. DEPRECATED. Feed id is not required for CSS Products.
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 |