Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target.
Defines the parameters of the query's expected outcome.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#page_numbers
def page_numbers() -> ::Array<::Integer>
-
(::Array<::Integer>) — Expected page numbers of the target.
Each page number must be non negative.
#page_numbers=
def page_numbers=(value) -> ::Array<::Integer>
-
value (::Array<::Integer>) — Expected page numbers of the target.
Each page number must be non negative.
-
(::Array<::Integer>) — Expected page numbers of the target.
Each page number must be non negative.
#score
def score() -> ::Float
- (::Float) — Relevance score of the target.
#score=
def score=(value) -> ::Float
- value (::Float) — Relevance score of the target.
- (::Float) — Relevance score of the target.
#uri
def uri() -> ::String
-
(::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
.
#uri=
def uri=(value) -> ::String
-
value (::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
.
-
(::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
.