Class: Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target

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

Overview

Defines the parameters of the query's expected outcome.

Instance Attribute Summary collapse

Instance Attribute Details

#page_numbers::Array<::Integer>

Returns Expected page numbers of the target.

Each page number must be non negative.

Returns:

  • (::Array<::Integer>)

    Expected page numbers of the target.

    Each page number must be non negative.



73
74
75
76
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query.rb', line 73

class Target
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Float

Returns Relevance score of the target.

Returns:

  • (::Float)

    Relevance score of the target.



73
74
75
76
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query.rb', line 73

class Target
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uri::String

Returns Expected uri of the target.

This field must be a UTF-8 encoded string with a length limit of 2048 characters.

Example of valid uris: https://example.com/abc, gcs://example/example.pdf.

Returns:

  • (::String)

    Expected uri of the target.

    This field must be a UTF-8 encoded string with a length limit of 2048 characters.

    Example of valid uris: https://example.com/abc, gcs://example/example.pdf.



73
74
75
76
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query.rb', line 73

class Target
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end