Cloud Vision V1 Client - Class ImportProductSetsRequest (1.9.3)

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

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setParent

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

Format is projects/PROJECT_ID/locations/LOC_ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getInputConfig

Required. The input content for the list of requests.

Returns
Type Description
Google\Cloud\Vision\V1\ImportProductSetsInputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. The input content for the list of requests.

Parameter
Name Description
var Google\Cloud\Vision\V1\ImportProductSetsInputConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

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

inputConfig Google\Cloud\Vision\V1\ImportProductSetsInputConfig

Required. The input content for the list of requests.

Returns
Type Description
Google\Cloud\Vision\V1\ImportProductSetsRequest