Class: Google::Cloud::DiscoveryEngine::V1::RecommendResponse::RecommendationResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb

Overview

RecommendationResult represents a generic recommendation result with associated metadata.

Defined Under Namespace

Classes: MetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::DiscoveryEngine::V1::Document

Returns Set if returnDocument is set to true in RecommendRequest.params.

Returns:



213
214
215
216
217
218
219
220
221
222
223
224
225
# File 'proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb', line 213

class RecommendationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#id::String

Returns Resource ID of the recommended Document.

Returns:

  • (::String)

    Resource ID of the recommended Document.



213
214
215
216
217
218
219
220
221
222
223
224
225
# File 'proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb', line 213

class RecommendationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#metadata::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}

Returns Additional Document metadata or annotations.

Possible values:

Returns:

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

    Additional Document metadata or annotations.

    Possible values:



213
214
215
216
217
218
219
220
221
222
223
224
225
# File 'proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb', line 213

class RecommendationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end