Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Fulfillments::Rest::ServiceStub (v0.27.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Fulfillments::Rest::ServiceStub.

REST service stub for the Fulfillments service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#get_fulfillment

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

Baseline implementation for the get_fulfillment 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

#update_fulfillment

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

Baseline implementation for the update_fulfillment REST call

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