Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::RecommendResponse::RecommendationResult (v0.9.0)

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

RecommendationResult represents a generic recommendation result with associated metadata.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Resource ID of the recommended Document.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Resource ID of the recommended Document.
Returns
  • (::String) — Resource ID of the recommended Document.

#metadata

def metadata() -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) —

    Additional Document metadata / annotations.

    Possible values:

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) —

    Additional Document metadata / annotations.

    Possible values:

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) —

    Additional Document metadata / annotations.

    Possible values: