Google Cloud Recommendation Engine V1beta1 Client - Class CatalogInlineSource (0.5.0)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class CatalogInlineSource.

The inline source for the input config for ImportCatalogItems method.

Generated from protobuf message google.cloud.recommendationengine.v1beta1.CatalogInlineSource

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ catalog_items array<Google\Cloud\RecommendationEngine\V1beta1\CatalogItem>

Optional. A list of catalog items to update/create. Recommended max of 10k items.

getCatalogItems

Optional. A list of catalog items to update/create. Recommended max of 10k items.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCatalogItems

Optional. A list of catalog items to update/create. Recommended max of 10k items.

Parameter
NameDescription
var array<Google\Cloud\RecommendationEngine\V1beta1\CatalogItem>
Returns
TypeDescription
$this