# Google Shopping Css V1 Client - Class InsertCssProductInputRequest (0.8.1)

0.8.1 (latest) 0.8.0 0.7.3 0.6.2 0.5.1 0.4.1 0.3.3 0.2.9 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** ||
|---|---|
| **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` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.CssProductInput|null` |   |

### hasCssProductInput

### clearCssProductInput

### setCssProductInput

Required. The CSS Product Input to insert.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.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` |   |