# Google Shopping Css V1 Client - Class UpdateCssProductInputRequest (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 UpdateCssProductInputRequest.

Request message for the UpdateCssProductInput method.

Generated from protobuf message `google.shopping.css.v1.UpdateCssProductInputRequest`

## Namespace

Google \\ Shopping \\ Css \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ css_product_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.CssProductInput` Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of CSS product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "\*" value for full CSS product replacement is not supported. |

### getCssProductInput

Required. The CSS product input resource to update. Information you submit
will be applied to the processed CSS product as well.

| **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 resource to update. Information you submit
will be applied to the processed CSS product as well.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.CssProductInput` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateMask

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask
equivalent to all fields that are populated (have a non-empty value).
Attributes specified in the update mask without a value specified in the
body will be deleted from the CSS product.
Update mask can only be specified for top level fields in
attributes and custom attributes.
To specify the update mask for custom attributes you need to add the
`custom_attribute.` prefix.
Providing special "\*" value for full CSS product replacement is not
supported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask
equivalent to all fields that are populated (have a non-empty value).
Attributes specified in the update mask without a value specified in the
body will be deleted from the CSS product.
Update mask can only be specified for top level fields in
attributes and custom attributes.
To specify the update mask for custom attributes you need to add the
`custom_attribute.` prefix.
Providing special "\*" value for full CSS product replacement is not
supported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `cssProductInput` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.CssProductInput` Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of CSS product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "\*" value for full CSS product replacement is not supported. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.UpdateCssProductInputRequest` |   |