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
- request_pb (::Google::Cloud::Dialogflow::V2::ClearSuggestionFeatureConfigRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dialogflow::V2::CreateConversationProfileRequest) — 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::ConversationProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::ConversationProfile) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dialogflow::V2::DeleteConversationProfileRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dialogflow::V2::GetConversationProfileRequest) — 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::ConversationProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::ConversationProfile) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Dialogflow::V2::ListConversationProfilesRequest) — 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::ListConversationProfilesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::ListConversationProfilesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dialogflow::V2::SetSuggestionFeatureConfigRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dialogflow::V2::UpdateConversationProfileRequest) — 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::ConversationProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::V2::ConversationProfile) — A result object deserialized from the server's reply
- (::ArgumentError)