Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::RecommendResponse (v1.0.2)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::RecommendResponse.

Response message for Recommend method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribution_token

def attribution_token() -> ::String
Returns
  • (::String) — A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.

#attribution_token=

def attribution_token=(value) -> ::String
Parameter
  • value (::String) — A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.
Returns
  • (::String) — A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.

#missing_ids

def missing_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.

#missing_ids=

def missing_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
Returns
  • (::Array<::String>) — IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.

#results

def results() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::RecommendResponse::RecommendationResult>
Returns

#results=

def results=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::RecommendResponse::RecommendationResult>
Parameter
Returns

#validate_only

def validate_only() -> ::Boolean
Returns

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
Returns