Google Shopping Merchant Inventories V1beta Client - Class DeleteLocalInventoryRequest (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant Inventories V1beta Client class DeleteLocalInventoryRequest.

Request message for the DeleteLocalInventory method.

Generated from protobuf message google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest

Namespace

Google \ Shopping \ Merchant \ Inventories \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the local inventory for the given product to delete. Format: accounts/{account}/products/{product}/localInventories/{store_code}

getName

Required. The name of the local inventory for the given product to delete.

Format: accounts/{account}/products/{product}/localInventories/{store_code}

Returns
TypeDescription
string

setName

Required. The name of the local inventory for the given product to delete.

Format: accounts/{account}/products/{product}/localInventories/{store_code}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the local inventory for the given product to delete. Format: accounts/{account}/products/{product}/localInventories/{store_code} Please see Google\Shopping\Merchant\Inventories\V1beta\LocalInventoryServiceClient::localInventoryName() for help formatting this field.

Returns
TypeDescription
Google\Shopping\Merchant\Inventories\V1beta\DeleteLocalInventoryRequest