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)
#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)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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)
#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_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)
#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)