Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Participants::Rest::ServiceStub.
REST service stub for the Participants service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#analyze_content
def analyze_content(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse
Baseline implementation for the analyze_content REST call
- request_pb (::Google::Cloud::Dialogflow::V2::AnalyzeContentRequest) — 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::V2::AnalyzeContentResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_participant
def create_participant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::Participant
Baseline implementation for the create_participant REST call
- request_pb (::Google::Cloud::Dialogflow::V2::CreateParticipantRequest) — 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::V2::Participant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::Participant) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_participant
def get_participant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::Participant
Baseline implementation for the get_participant REST call
- request_pb (::Google::Cloud::Dialogflow::V2::GetParticipantRequest) — 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::V2::Participant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::Participant) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_participants
def list_participants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::ListParticipantsResponse
Baseline implementation for the list_participants REST call
- request_pb (::Google::Cloud::Dialogflow::V2::ListParticipantsRequest) — 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::V2::ListParticipantsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::ListParticipantsResponse) — 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)
#suggest_articles
def suggest_articles(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
Baseline implementation for the suggest_articles REST call
- request_pb (::Google::Cloud::Dialogflow::V2::SuggestArticlesRequest) — 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::V2::SuggestArticlesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#suggest_faq_answers
def suggest_faq_answers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
Baseline implementation for the suggest_faq_answers REST call
- request_pb (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersRequest) — 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::V2::SuggestFaqAnswersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#suggest_knowledge_assist
def suggest_knowledge_assist(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse
Baseline implementation for the suggest_knowledge_assist REST call
- request_pb (::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistRequest) — 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::V2::SuggestKnowledgeAssistResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#suggest_smart_replies
def suggest_smart_replies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
Baseline implementation for the suggest_smart_replies REST call
- request_pb (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesRequest) — 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::V2::SuggestSmartRepliesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_participant
def update_participant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::Participant
Baseline implementation for the update_participant REST call
- request_pb (::Google::Cloud::Dialogflow::V2::UpdateParticipantRequest) — 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::V2::Participant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::Participant) — A result object deserialized from the server's reply
- (::ArgumentError)