View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata (google_api_discovery_engine v0.16.0)

Additional information of a recommendation engine.

Attributes

  • dataState (type: String.t, default: nil) - Output only. The state of data requirements for this engine: DATA_OK and DATA_ERROR. Engine cannot be trained if the data is in DATA_ERROR state. Engine can have DATA_ERROR state even if serving state is ACTIVE: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.
  • lastTuneTime (type: DateTime.t, default: nil) - Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.
  • servingState (type: String.t, default: nil) - Output only. The serving state of the engine: ACTIVE, NOT_ACTIVE.
  • tuningOperation (type: String.t, default: nil) - Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata{
    dataState: String.t() | nil,
    lastTuneTime: DateTime.t() | nil,
    servingState: String.t() | nil,
    tuningOperation: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.