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 | |
|---|---|
| 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.
Generated from protobuf field .google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\Retail\V2\ProductInlineSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcsSource
Google Cloud Storage location for the input content.
Generated from protobuf field .google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\Retail\V2\GcsSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBigQuerySource
BigQuery input source.
Generated from protobuf field .google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\Retail\V2\BigQuerySource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|