Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Intents::Rest::ServiceStub.
REST service stub for the Intents service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_intent
def create_intent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Intent
Baseline implementation for the create_intent REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::CreateIntentRequest) — 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::Intent)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_intent
def delete_intent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_intent REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::DeleteIntentRequest) — 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() -> String
The effective endpoint
- (String)
#export_intents
def export_intents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the export_intents REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ExportIntentsRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_intent
def get_intent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Intent
Baseline implementation for the get_intent REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::GetIntentRequest) — 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::Intent)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_intents
def import_intents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the import_intents REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ImportIntentsRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_intents
def list_intents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ListIntentsResponse
Baseline implementation for the list_intents REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ListIntentsRequest) — 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::ListIntentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::ListIntentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_intent
def update_intent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Intent
Baseline implementation for the update_intent REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::UpdateIntentRequest) — 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::Intent)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — A result object deserialized from the server's reply
- (::ArgumentError)