Google Shopping Css V1 Client - Class UpdateCssProductInputRequest (0.6.2)

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
CssProductInput

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

↳ update_mask
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

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
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

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
Returns
Type
Description
$this

static::build

Parameters
Name
Description
cssProductInput
CssProductInput

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

updateMask
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: