Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::RecommendResponse::RecommendationResult (v0.7.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 / 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: