Cloud Vision V1 Client - Class ImportProductSetsRequest (1.7.6)

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
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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Vision\V1\ImportProductSetsRequest