Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::SearchDocumentChunksResponse.
Response message for DeveloperKnowledge.SearchDocumentChunks.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#next_page_token
def next_page_token() -> ::String
Returns
-
(::String) — Optional. Provides a token that can be sent as
page_tokento retrieve the next page. If this field is omitted, there are no subsequent pages.
#next_page_token=
def next_page_token=(value) -> ::String
Parameter
-
value (::String) — Optional. Provides a token that can be sent as
page_tokento retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns
-
(::String) — Optional. Provides a token that can be sent as
page_tokento retrieve the next page. If this field is omitted, there are no subsequent pages.
#results
def results() -> ::Array<::Google::Developers::DeveloperKnowledge::V1::DocumentChunk>
Returns
- (::Array<::Google::Developers::DeveloperKnowledge::V1::DocumentChunk>) — Contains the search results for the given query. Each DocumentChunk in this list contains a snippet of content relevant to the search query. Use the DocumentChunk.parent field of each result with DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments to retrieve the full document content.
#results=
def results=(value) -> ::Array<::Google::Developers::DeveloperKnowledge::V1::DocumentChunk>
Parameter
- value (::Array<::Google::Developers::DeveloperKnowledge::V1::DocumentChunk>) — Contains the search results for the given query. Each DocumentChunk in this list contains a snippet of content relevant to the search query. Use the DocumentChunk.parent field of each result with DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments to retrieve the full document content.
Returns
- (::Array<::Google::Developers::DeveloperKnowledge::V1::DocumentChunk>) — Contains the search results for the given query. Each DocumentChunk in this list contains a snippet of content relevant to the search query. Use the DocumentChunk.parent field of each result with DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments to retrieve the full document content.