Cloud Vision V1 Client - Class ImportProductSetsRequest (1.10.1)

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

hasInputConfig

clearInputConfig

setInputConfig

Required. The input content for the list of requests.

Parameter
Name Description
var 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 ProductSearchClient::locationName() for help formatting this field.

inputConfig ImportProductSetsInputConfig

Required. The input content for the list of requests.

Returns
Type Description
ImportProductSetsRequest