Cloud Vision V1 Client - Class RemoveProductFromProductSetRequest (1.6.8)

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

Request message for the RemoveProductFromProductSet method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name for the ProductSet to modify. Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

↳ product string

Required. The resource name for the Product to be removed from this ProductSet. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

getName

Required. The resource name for the ProductSet to modify.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Returns
TypeDescription
string

setName

Required. The resource name for the ProductSet to modify.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProduct

Required. The resource name for the Product to be removed from this ProductSet.

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

Returns
TypeDescription
string

setProduct

Required. The resource name for the Product to be removed from this ProductSet.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this