Google Cloud Recommendation Engine V1beta1 Client - Class InputConfig (0.4.12)

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

The input config source.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ catalog_inline_source Google\Cloud\RecommendationEngine\V1beta1\CatalogInlineSource

The Inline source for the input content for Catalog items.

↳ gcs_source Google\Cloud\RecommendationEngine\V1beta1\GcsSource

Google Cloud Storage location for the input content.

↳ user_event_inline_source Google\Cloud\RecommendationEngine\V1beta1\UserEventInlineSource

The Inline source for the input content for UserEvents.

getCatalogInlineSource

The Inline source for the input content for Catalog items.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\CatalogInlineSource|null

hasCatalogInlineSource

setCatalogInlineSource

The Inline source for the input content for Catalog items.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\CatalogInlineSource
Returns
TypeDescription
$this

getGcsSource

Google Cloud Storage location for the input content.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\GcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location for the input content.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\GcsSource
Returns
TypeDescription
$this

getUserEventInlineSource

The Inline source for the input content for UserEvents.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\UserEventInlineSource|null

hasUserEventInlineSource

setUserEventInlineSource

The Inline source for the input content for UserEvents.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\UserEventInlineSource
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string