Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Examples::Rest::ServiceStub.
REST service stub for the Examples service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_example
def create_example(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ExampleBaseline implementation for the create_example REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::CreateExampleRequest) — 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::Dialogflow::CX::V3::Example)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Example) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_example
def delete_example(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_example REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::DeleteExampleRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_example
def get_example(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ExampleBaseline implementation for the get_example REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::GetExampleRequest) — 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::Dialogflow::CX::V3::Example)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Example) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_examples
def list_examples(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ListExamplesResponseBaseline implementation for the list_examples REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ListExamplesRequest) — 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::Dialogflow::CX::V3::ListExamplesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::ListExamplesResponse) — 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_example
def update_example(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ExampleBaseline implementation for the update_example REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::UpdateExampleRequest) — 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::Dialogflow::CX::V3::Example)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Example) — A result object deserialized from the server's reply
- (::ArgumentError)