Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Participants::Rest::ServiceStub (v0.24.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_participants

def list_participants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::V2::ListParticipantsResponse

Baseline implementation for the list_participants REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)