Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ConversationProfiles::Rest::ServiceStub (v0.29.0)

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

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

Inherits

  • Object

Methods

#clear_suggestion_feature_config

def clear_suggestion_feature_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the clear_suggestion_feature_config REST call

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

#create_conversation_profile

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

Baseline implementation for the create_conversation_profile REST call

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

#delete_conversation_profile

def delete_conversation_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_conversation_profile REST call

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

#get_conversation_profile

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

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

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

Baseline implementation for the list_conversation_profiles REST call

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

#set_suggestion_feature_config

def set_suggestion_feature_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the set_suggestion_feature_config REST call

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

#update_conversation_profile

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

Baseline implementation for the update_conversation_profile REST call

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