Cloud Vision V1 Client - Class ImportProductSetsRequest (1.6.8)

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

Request message for the ImportProductSets method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project in which the ProductSets should be imported. Format is projects/PROJECT_ID/locations/LOC_ID.

↳ input_config Google\Cloud\Vision\V1\ImportProductSetsInputConfig

Required. The input content for the list of requests.

getParent

Required. The project in which the ProductSets should be imported.

Format is projects/PROJECT_ID/locations/LOC_ID.

Returns
TypeDescription
string

setParent

Required. The project in which the ProductSets should be imported.

Format is projects/PROJECT_ID/locations/LOC_ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputConfig

Required. The input content for the list of requests.

Returns
TypeDescription
Google\Cloud\Vision\V1\ImportProductSetsInputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. The input content for the list of requests.

Parameter
NameDescription
var Google\Cloud\Vision\V1\ImportProductSetsInputConfig
Returns
TypeDescription
$this