Google Shopping Css V1 Client - Class DeleteCssProductInputRequest (0.6.1)

Reference documentation and code samples for the Google Shopping Css V1 Client class DeleteCssProductInputRequest.

Request message for the DeleteCssProductInput method.

Generated from protobuf message google.shopping.css.v1.DeleteCssProductInputRequest

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

↳ supplemental_feed_id int|string

The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

getName

Required. The name of the CSS product input resource to delete.

Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

Returns
Type Description
string

setName

Required. The name of the CSS product input resource to delete.

Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

Parameter
Name Description
var string
Returns
Type Description
$this

getSupplementalFeedId

The Content API Supplemental Feed ID.

The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

Returns
Type Description
int|string

hasSupplementalFeedId

clearSupplementalFeedId

setSupplementalFeedId

The Content API Supplemental Feed ID.

The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

Parameter
Name Description
var int|string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123 Please see CssProductInputsServiceClient::cssProductInputName() for help formatting this field.

Returns
Type Description
DeleteCssProductInputRequest