Cloud Vision V1 Client - Class DeleteProductRequest (1.8.0)

Reference documentation and code samples for the Cloud Vision V1 Client class DeleteProductRequest.

Request message for the DeleteProduct method.

Generated from protobuf message google.cloud.vision.v1.DeleteProductRequest

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of product to delete. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

getName

Required. Resource name of product to delete.

Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

Returns
TypeDescription
string

setName

Required. Resource name of product to delete.

Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name of product to delete.

Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID Please see Google\Cloud\Vision\V1\ProductSearchClient::productName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Vision\V1\DeleteProductRequest