Cloud Vision V1 Client - Class GetProductRequest (1.6.8)

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

Request message for the GetProduct method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the Product to get. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

getName

Required. Resource name of the Product to get.

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

Returns
TypeDescription
string

setName

Required. Resource name of the Product to get.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this