Reference documentation and code samples for the BigQuery Data QnA V1alpha API class Google::Cloud::DataQnA::V1alpha::QuestionService::Rest::ServiceStub.
REST service stub for the QuestionService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_question
def create_question(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DataQnA::V1alpha::QuestionBaseline implementation for the create_question REST call
- request_pb (::Google::Cloud::DataQnA::V1alpha::CreateQuestionRequest) — 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::Cloud::DataQnA::V1alpha::Question)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DataQnA::V1alpha::Question) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#execute_question
def execute_question(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DataQnA::V1alpha::QuestionBaseline implementation for the execute_question REST call
- request_pb (::Google::Cloud::DataQnA::V1alpha::ExecuteQuestionRequest) — 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::Cloud::DataQnA::V1alpha::Question)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DataQnA::V1alpha::Question) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_question
def get_question(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DataQnA::V1alpha::QuestionBaseline implementation for the get_question REST call
- request_pb (::Google::Cloud::DataQnA::V1alpha::GetQuestionRequest) — 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::Cloud::DataQnA::V1alpha::Question)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DataQnA::V1alpha::Question) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_user_feedback
def get_user_feedback(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DataQnA::V1alpha::UserFeedbackBaseline implementation for the get_user_feedback REST call
- request_pb (::Google::Cloud::DataQnA::V1alpha::GetUserFeedbackRequest) — 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::Cloud::DataQnA::V1alpha::UserFeedback)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DataQnA::V1alpha::UserFeedback) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_user_feedback
def update_user_feedback(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DataQnA::V1alpha::UserFeedbackBaseline implementation for the update_user_feedback REST call
- request_pb (::Google::Cloud::DataQnA::V1alpha::UpdateUserFeedbackRequest) — 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::Cloud::DataQnA::V1alpha::UserFeedback)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DataQnA::V1alpha::UserFeedback) — A result object deserialized from the server's reply
- (::ArgumentError)