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

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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::V1::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1::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 or 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 or annotations.

    Possible values:

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

    Additional Document metadata or annotations.

    Possible values: