Google Shopping Merchant Products V1beta Client - Class DeleteProductInputRequest (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class DeleteProductInputRequest.

Request message for the DeleteProductInput method.

Generated from protobuf message google.shopping.merchant.products.v1beta.DeleteProductInputRequest

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the product input resource to delete. Format: accounts/{account}/productInputs/{product} where the last section product consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is "accounts/123/productInputs/online~en~US~sku123"

↳ data_source string

Required. The primary or supplemental data source from which the product input should be deleted. Format: accounts/{account}/dataSources/{datasource}.

getName

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

Format: accounts/{account}/productInputs/{product} where the last section product consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is "accounts/123/productInputs/online~en~US~sku123"

Returns
Type Description
string

setName

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

Format: accounts/{account}/productInputs/{product} where the last section product consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is "accounts/123/productInputs/online~en~US~sku123"

Parameter
Name Description
var string
Returns
Type Description
$this

getDataSource

Required. The primary or supplemental data source from which the product input should be deleted. Format: accounts/{account}/dataSources/{datasource}.

Returns
Type Description
string

setDataSource

Required. The primary or supplemental data source from which the product input should be deleted. Format: accounts/{account}/dataSources/{datasource}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the product input resource to delete. Format: accounts/{account}/productInputs/{product} where the last section product consists of 4 parts: channel~content_language~feed_label~offer_id example for product name is "accounts/123/productInputs/online~en~US~sku123" Please see ProductInputsServiceClient::productInputName() for help formatting this field.

Returns
Type Description
DeleteProductInputRequest