Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::DeveloperKnowledge::Rest::ServiceStub.
REST service stub for the DeveloperKnowledge service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#batch_get_documents
def batch_get_documents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Developers::DeveloperKnowledge::V1::BatchGetDocumentsResponseBaseline implementation for the batch_get_documents REST call
- request_pb (::Google::Developers::DeveloperKnowledge::V1::BatchGetDocumentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Developers::DeveloperKnowledge::V1::BatchGetDocumentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Developers::DeveloperKnowledge::V1::BatchGetDocumentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_document
def get_document(request_pb, options = nil) { |result, operation| ... } -> ::Google::Developers::DeveloperKnowledge::V1::DocumentBaseline implementation for the get_document REST call
- request_pb (::Google::Developers::DeveloperKnowledge::V1::GetDocumentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Developers::DeveloperKnowledge::V1::Document)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Developers::DeveloperKnowledge::V1::Document) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#search_document_chunks
def search_document_chunks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Developers::DeveloperKnowledge::V1::SearchDocumentChunksResponseBaseline implementation for the search_document_chunks REST call
- request_pb (::Google::Developers::DeveloperKnowledge::V1::SearchDocumentChunksRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Developers::DeveloperKnowledge::V1::SearchDocumentChunksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Developers::DeveloperKnowledge::V1::SearchDocumentChunksResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)