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

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
Name Description
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
Type Description
string

setName

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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 LocalInventoryServiceClient::localInventoryName() for help formatting this field.

Returns
Type Description
DeleteLocalInventoryRequest