Google Cloud Retail V2 Client - Class ProductInputConfig (1.3.1)

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
NameDescription
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
TypeDescription
Google\Cloud\Retail\V2\ProductInlineSource|null

hasProductInlineSource

setProductInlineSource

The Inline source for the input content for products.

Parameter
NameDescription
var Google\Cloud\Retail\V2\ProductInlineSource
Returns
TypeDescription
$this

getGcsSource

Google Cloud Storage location for the input content.

Returns
TypeDescription
Google\Cloud\Retail\V2\GcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location for the input content.

Parameter
NameDescription
var Google\Cloud\Retail\V2\GcsSource
Returns
TypeDescription
$this

getBigQuerySource

BigQuery input source.

Returns
TypeDescription
Google\Cloud\Retail\V2\BigQuerySource|null

hasBigQuerySource

setBigQuerySource

BigQuery input source.

Parameter
NameDescription
var Google\Cloud\Retail\V2\BigQuerySource
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string