Google Cloud Retail V2 Client - Class ProductInputConfig (1.7.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ProductInputConfig.

The input config source for products.

Generated from protobuf message google.cloud.retail.v2.ProductInputConfig

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ product_inline_source Google\Cloud\Retail\V2\ProductInlineSource

The Inline source for the input content for products.

↳ gcs_source Google\Cloud\Retail\V2\GcsSource

Google Cloud Storage location for the input content.

↳ big_query_source Google\Cloud\Retail\V2\BigQuerySource

BigQuery input source.

getProductInlineSource

The Inline source for the input content for products.

Returns
Type Description
Google\Cloud\Retail\V2\ProductInlineSource|null

hasProductInlineSource

setProductInlineSource

The Inline source for the input content for products.

Parameter
Name Description
var Google\Cloud\Retail\V2\ProductInlineSource
Returns
Type Description
$this

getGcsSource

Google Cloud Storage location for the input content.

Returns
Type Description
Google\Cloud\Retail\V2\GcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location for the input content.

Parameter
Name Description
var Google\Cloud\Retail\V2\GcsSource
Returns
Type Description
$this

getBigQuerySource

BigQuery input source.

Returns
Type Description
Google\Cloud\Retail\V2\BigQuerySource|null

hasBigQuerySource

setBigQuerySource

BigQuery input source.

Parameter
Name Description
var Google\Cloud\Retail\V2\BigQuerySource
Returns
Type Description
$this

getSource

Returns
Type Description
string