Google Cloud Retail V2 Client - Class ProductInputConfig (1.0.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

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.

Generated from protobuf field .google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

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

hasProductInlineSource

setProductInlineSource

The Inline source for the input content for products.

Generated from protobuf field .google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

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

getGcsSource

Google Cloud Storage location for the input content.

Generated from protobuf field .google.cloud.retail.v2.GcsSource gcs_source = 2;

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

hasGcsSource

setGcsSource

Google Cloud Storage location for the input content.

Generated from protobuf field .google.cloud.retail.v2.GcsSource gcs_source = 2;

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

getBigQuerySource

BigQuery input source.

Generated from protobuf field .google.cloud.retail.v2.BigQuerySource big_query_source = 3;

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

hasBigQuerySource

setBigQuerySource

BigQuery input source.

Generated from protobuf field .google.cloud.retail.v2.BigQuerySource big_query_source = 3;

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

getSource

Returns
TypeDescription
string