Cloud Vision V1 Client - Class DeleteReferenceImageRequest (1.10.2)

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

Request message for the DeleteReferenceImage method.

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

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the reference image to delete. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID

getName

Required. The resource name of the reference image to delete.

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

Returns
Type Description
string

setName

Required. The resource name of the reference image to delete.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the reference image to delete.

Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID Please see ProductSearchClient::referenceImageName() for help formatting this field.

Returns
Type Description
DeleteReferenceImageRequest