Class: Google::Cloud::DiscoveryEngine::V1beta::RecommendResponse::RecommendationResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/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::V1beta::Document

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

Returns:



193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb', line 193

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.



193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb', line 193

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 / annotations.

Possible values:

Returns:

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

    Additional Document metadata / annotations.

    Possible values:



193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb', line 193

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