Module: Google::Cloud::Dialogflow::V2

Defined in:
lib/google/cloud/dialogflow/v2.rb,
lib/google/cloud/dialogflow/v2/rest.rb,
lib/google/cloud/dialogflow/v2/agents.rb,
lib/google/cloud/dialogflow/v2/intents.rb,
lib/google/cloud/dialogflow/v2/version.rb,
lib/google/cloud/dialogflow/v2/contexts.rb,
lib/google/cloud/dialogflow/v2/sessions.rb,
lib/google/cloud/dialogflow/v2/versions.rb,
lib/google/cloud/dialogflow/v2/documents.rb,
lib/google/cloud/dialogflow/v2/generators.rb,
lib/google/cloud/dialogflow/v2/agents/rest.rb,
lib/google/cloud/dialogflow/v2/agents/paths.rb,
lib/google/cloud/dialogflow/v2/entity_types.rb,
lib/google/cloud/dialogflow/v2/environments.rb,
lib/google/cloud/dialogflow/v2/fulfillments.rb,
lib/google/cloud/dialogflow/v2/intents/rest.rb,
lib/google/cloud/dialogflow/v2/participants.rb,
lib/google/cloud/dialogflow/v2/agents/client.rb,
lib/google/cloud/dialogflow/v2/contexts/rest.rb,
lib/google/cloud/dialogflow/v2/conversations.rb,
lib/google/cloud/dialogflow/v2/intents/paths.rb,
lib/google/cloud/dialogflow/v2/sessions/rest.rb,
lib/google/cloud/dialogflow/v2/versions/rest.rb,
lib/google/cloud/dialogflow/v2/answer_records.rb,
lib/google/cloud/dialogflow/v2/contexts/paths.rb,
lib/google/cloud/dialogflow/v2/documents/rest.rb,
lib/google/cloud/dialogflow/v2/intents/client.rb,
lib/google/cloud/dialogflow/v2/sessions/paths.rb,
lib/google/cloud/dialogflow/v2/versions/paths.rb,
lib/google/cloud/dialogflow/v2/contexts/client.rb,
lib/google/cloud/dialogflow/v2/documents/paths.rb,
lib/google/cloud/dialogflow/v2/generators/rest.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases.rb,
lib/google/cloud/dialogflow/v2/sessions/client.rb,
lib/google/cloud/dialogflow/v2/versions/client.rb,
lib/google/cloud/dialogflow/v2/documents/client.rb,
lib/google/cloud/dialogflow/v2/generators/paths.rb,
lib/google/cloud/dialogflow/v2/agents/operations.rb,
lib/google/cloud/dialogflow/v2/bindings_override.rb,
lib/google/cloud/dialogflow/v2/entity_types/rest.rb,
lib/google/cloud/dialogflow/v2/environments/rest.rb,
lib/google/cloud/dialogflow/v2/fulfillments/rest.rb,
lib/google/cloud/dialogflow/v2/generators/client.rb,
lib/google/cloud/dialogflow/v2/participants/rest.rb,
lib/google/cloud/dialogflow/v2/agents/credentials.rb,
lib/google/cloud/dialogflow/v2/agents/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversations/rest.rb,
lib/google/cloud/dialogflow/v2/entity_types/paths.rb,
lib/google/cloud/dialogflow/v2/environments/paths.rb,
lib/google/cloud/dialogflow/v2/fulfillments/paths.rb,
lib/google/cloud/dialogflow/v2/intents/operations.rb,
lib/google/cloud/dialogflow/v2/participants/paths.rb,
lib/google/cloud/dialogflow/v2/answer_records/rest.rb,
lib/google/cloud/dialogflow/v2/conversation_models.rb,
lib/google/cloud/dialogflow/v2/conversations/paths.rb,
lib/google/cloud/dialogflow/v2/entity_types/client.rb,
lib/google/cloud/dialogflow/v2/environments/client.rb,
lib/google/cloud/dialogflow/v2/fulfillments/client.rb,
lib/google/cloud/dialogflow/v2/intents/credentials.rb,
lib/google/cloud/dialogflow/v2/intents/rest/client.rb,
lib/google/cloud/dialogflow/v2/participants/client.rb,
lib/google/cloud/dialogflow/v2/answer_records/paths.rb,
lib/google/cloud/dialogflow/v2/contexts/credentials.rb,
lib/google/cloud/dialogflow/v2/contexts/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversations/client.rb,
lib/google/cloud/dialogflow/v2/documents/operations.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/rest.rb,
lib/google/cloud/dialogflow/v2/session_entity_types.rb,
lib/google/cloud/dialogflow/v2/sessions/credentials.rb,
lib/google/cloud/dialogflow/v2/sessions/rest/client.rb,
lib/google/cloud/dialogflow/v2/versions/credentials.rb,
lib/google/cloud/dialogflow/v2/versions/rest/client.rb,
lib/google/cloud/dialogflow/v2/answer_records/client.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles.rb,
lib/google/cloud/dialogflow/v2/documents/credentials.rb,
lib/google/cloud/dialogflow/v2/documents/rest/client.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/paths.rb,
lib/google/cloud/dialogflow/v2/agents/rest/operations.rb,
lib/google/cloud/dialogflow/v2/generators/credentials.rb,
lib/google/cloud/dialogflow/v2/generators/rest/client.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service.rb,
lib/google/cloud/dialogflow/v2/entity_types/operations.rb,
lib/google/cloud/dialogflow/v2/intents/rest/operations.rb,
lib/google/cloud/dialogflow/v2/agents/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_models/rest.rb,
lib/google/cloud/dialogflow/v2/entity_types/credentials.rb,
lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb,
lib/google/cloud/dialogflow/v2/environments/credentials.rb,
lib/google/cloud/dialogflow/v2/environments/rest/client.rb,
lib/google/cloud/dialogflow/v2/fulfillments/credentials.rb,
lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb,
lib/google/cloud/dialogflow/v2/participants/credentials.rb,
lib/google/cloud/dialogflow/v2/participants/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversation_models/paths.rb,
lib/google/cloud/dialogflow/v2/conversations/credentials.rb,
lib/google/cloud/dialogflow/v2/conversations/rest/client.rb,
lib/google/cloud/dialogflow/v2/documents/rest/operations.rb,
lib/google/cloud/dialogflow/v2/intents/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/rest.rb,
lib/google/cloud/dialogflow/v2/answer_records/credentials.rb,
lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb,
lib/google/cloud/dialogflow/v2/contexts/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/rest.rb,
lib/google/cloud/dialogflow/v2/conversation_models/client.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/rest.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb,
lib/google/cloud/dialogflow/v2/sessions/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/versions/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/paths.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb,
lib/google/cloud/dialogflow/v2/documents/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/credentials.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/client.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/rest.rb,
lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb,
lib/google/cloud/dialogflow/v2/generators/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/paths.rb,
lib/google/cloud/dialogflow/v2/conversation_models/operations.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb,
lib/google/cloud/dialogflow/v2/entity_types/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/environments/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/fulfillments/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/participants/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_models/credentials.rb,
lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/answer_records/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/credentials.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/credentials.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/credentials.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb,
lib/google/cloud/dialogflow/v2/knowledge_bases/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb,
lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/credentials.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb,
lib/google/cloud/dialogflow/v2/conversation_models/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb,
lib/google/cloud/dialogflow/v2/session_entity_types/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_datasets/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/conversation_profiles/rest/service_stub.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb,
lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/service_stub.rb,
proto_docs/google/cloud/dialogflow/v2/gcs.rb,
proto_docs/google/cloud/dialogflow/v2/agent.rb,
proto_docs/google/cloud/dialogflow/v2/intent.rb,
proto_docs/google/cloud/dialogflow/v2/context.rb,
proto_docs/google/cloud/dialogflow/v2/session.rb,
proto_docs/google/cloud/dialogflow/v2/version.rb,
proto_docs/google/cloud/dialogflow/v2/webhook.rb,
proto_docs/google/cloud/dialogflow/v2/document.rb,
proto_docs/google/cloud/dialogflow/v2/generator.rb,
proto_docs/google/cloud/dialogflow/v2/entity_type.rb,
proto_docs/google/cloud/dialogflow/v2/environment.rb,
proto_docs/google/cloud/dialogflow/v2/fulfillment.rb,
proto_docs/google/cloud/dialogflow/v2/participant.rb,
proto_docs/google/cloud/dialogflow/v2/audio_config.rb,
proto_docs/google/cloud/dialogflow/v2/conversation.rb,
proto_docs/google/cloud/dialogflow/v2/answer_record.rb,
proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb,
proto_docs/google/cloud/dialogflow/v2/encryption_spec.rb,
proto_docs/google/cloud/dialogflow/v2/validation_result.rb,
proto_docs/google/cloud/dialogflow/v2/conversation_event.rb,
proto_docs/google/cloud/dialogflow/v2/conversation_model.rb,
proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb,
proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb,
proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb,
proto_docs/google/cloud/dialogflow/v2/human_agent_assistant_event.rb

Overview

Examples:

Loading just the REST part of this package, including all its services, and instantiating a REST client


require "google/cloud/dialogflow/v2/rest"
client = ::Google::Cloud::Dialogflow::V2::Agents::Rest::Client.new

Defined Under Namespace

Modules: Agents, AnswerRecords, AudioEncoding, Contexts, ConversationDatasets, ConversationModels, ConversationProfiles, Conversations, Documents, EncryptionSpecService, EntityTypes, Environments, Fulfillments, Generators, IntentView, Intents, KnowledgeBases, OutputAudioEncoding, Participants, SessionEntityTypes, Sessions, SpeechModelVariant, SsmlVoiceGender, TelephonyDtmf, TriggerEvent, Versions Classes: Agent, AgentAssistantFeedback, AgentAssistantRecord, AnalyzeContentRequest, AnalyzeContentResponse, AnnotatedMessagePart, AnswerFeedback, AnswerRecord, ArticleAnswer, ArticleSuggestionModelMetadata, AssistQueryParameters, AutomatedAgentConfig, AutomatedAgentReply, BatchCreateEntitiesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, ClearSuggestionFeatureConfigOperationMetadata, ClearSuggestionFeatureConfigRequest, CloudConversationDebuggingInfo, CompleteConversationRequest, Context, Conversation, ConversationContext, ConversationDataset, ConversationEvent, ConversationInfo, ConversationModel, ConversationModelEvaluation, ConversationPhoneNumber, ConversationProfile, CreateContextRequest, CreateConversationDatasetOperationMetadata, CreateConversationDatasetRequest, CreateConversationModelEvaluationOperationMetadata, CreateConversationModelEvaluationRequest, CreateConversationModelOperationMetadata, CreateConversationModelRequest, CreateConversationProfileRequest, CreateConversationRequest, CreateDocumentRequest, CreateEntityTypeRequest, CreateEnvironmentRequest, CreateGeneratorRequest, CreateIntentRequest, CreateKnowledgeBaseRequest, CreateParticipantRequest, CreateSessionEntityTypeRequest, CreateVersionRequest, DeleteAgentRequest, DeleteAllContextsRequest, DeleteContextRequest, DeleteConversationDatasetOperationMetadata, DeleteConversationDatasetRequest, DeleteConversationModelOperationMetadata, DeleteConversationModelRequest, DeleteConversationProfileRequest, DeleteDocumentRequest, DeleteEntityTypeRequest, DeleteEnvironmentRequest, DeleteGeneratorRequest, DeleteIntentRequest, DeleteKnowledgeBaseRequest, DeleteSessionEntityTypeRequest, DeleteVersionRequest, DeployConversationModelOperationMetadata, DeployConversationModelRequest, DetectIntentRequest, DetectIntentResponse, DialogflowAssistAnswer, Document, DtmfParameters, EncryptionSpec, EntityType, EntityTypeBatch, Environment, EnvironmentHistory, EvaluationConfig, EventInput, ExportAgentRequest, ExportAgentResponse, ExportDocumentRequest, ExportOperationMetadata, FaqAnswer, FewShotExample, Fulfillment, GcsDestination, GcsSources, GenerateStatelessSuggestionRequest, GenerateStatelessSuggestionResponse, GenerateStatelessSummaryRequest, GenerateStatelessSummaryResponse, Generator, GeneratorSuggestion, GetAgentRequest, GetContextRequest, GetConversationDatasetRequest, GetConversationModelEvaluationRequest, GetConversationModelRequest, GetConversationProfileRequest, GetConversationRequest, GetDocumentRequest, GetEncryptionSpecRequest, GetEntityTypeRequest, GetEnvironmentHistoryRequest, GetEnvironmentRequest, GetFulfillmentRequest, GetGeneratorRequest, GetIntentRequest, GetKnowledgeBaseRequest, GetParticipantRequest, GetSessionEntityTypeRequest, GetValidationResultRequest, GetVersionRequest, HumanAgentAssistantConfig, HumanAgentAssistantEvent, HumanAgentHandoffConfig, ImportAgentRequest, ImportConversationDataOperationMetadata, ImportConversationDataOperationResponse, ImportConversationDataRequest, ImportDocumentTemplate, ImportDocumentsRequest, ImportDocumentsResponse, InferenceParameter, InitializeEncryptionSpecMetadata, InitializeEncryptionSpecRequest, InitializeEncryptionSpecResponse, InputAudioConfig, InputConfig, InputDataset, InputTextConfig, Intent, IntentBatch, IntentSuggestion, KnowledgeAssistAnswer, KnowledgeBase, KnowledgeOperationMetadata, ListAnswerRecordsRequest, ListAnswerRecordsResponse, ListContextsRequest, ListContextsResponse, ListConversationDatasetsRequest, ListConversationDatasetsResponse, ListConversationModelEvaluationsRequest, ListConversationModelEvaluationsResponse, ListConversationModelsRequest, ListConversationModelsResponse, ListConversationProfilesRequest, ListConversationProfilesResponse, ListConversationsRequest, ListConversationsResponse, ListDocumentsRequest, ListDocumentsResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListEnvironmentsRequest, ListEnvironmentsResponse, ListGeneratorsRequest, ListGeneratorsResponse, ListIntentsRequest, ListIntentsResponse, ListKnowledgeBasesRequest, ListKnowledgeBasesResponse, ListMessagesRequest, ListMessagesResponse, ListParticipantsRequest, ListParticipantsResponse, ListSessionEntityTypesRequest, ListSessionEntityTypesResponse, ListVersionsRequest, ListVersionsResponse, LoggingConfig, Message, MessageAnnotation, MessageEntry, NotificationConfig, OriginalDetectIntentRequest, OutputAudio, OutputAudioConfig, Participant, QueryInput, QueryParameters, QueryResult, ReloadDocumentRequest, RestoreAgentRequest, SearchAgentsRequest, SearchAgentsResponse, SearchKnowledgeAnswer, SearchKnowledgeRequest, SearchKnowledgeResponse, Sentiment, SentimentAnalysisRequestConfig, SentimentAnalysisResult, SessionEntityType, SetAgentRequest, SetSuggestionFeatureConfigOperationMetadata, SetSuggestionFeatureConfigRequest, SmartReplyAnswer, SmartReplyMetrics, SmartReplyModelMetadata, SpeechContext, SpeechToTextConfig, SpeechWordInfo, StreamingAnalyzeContentRequest, StreamingAnalyzeContentResponse, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingRecognitionResult, SuggestArticlesRequest, SuggestArticlesResponse, SuggestConversationSummaryRequest, SuggestConversationSummaryResponse, SuggestFaqAnswersRequest, SuggestFaqAnswersResponse, SuggestKnowledgeAssistRequest, SuggestKnowledgeAssistResponse, SuggestSmartRepliesRequest, SuggestSmartRepliesResponse, SuggestionFeature, SuggestionInput, SuggestionResult, SummarizationContext, SummarizationSection, SummarizationSectionList, SummarySuggestion, SynthesizeSpeechConfig, TelephonyDtmfEvents, TextInput, TextToSpeechSettings, TrainAgentRequest, UndeployConversationModelOperationMetadata, UndeployConversationModelRequest, UpdateAnswerRecordRequest, UpdateContextRequest, UpdateConversationProfileRequest, UpdateDocumentRequest, UpdateEntityTypeRequest, UpdateEnvironmentRequest, UpdateFulfillmentRequest, UpdateGeneratorRequest, UpdateIntentRequest, UpdateKnowledgeBaseRequest, UpdateParticipantRequest, UpdateSessionEntityTypeRequest, UpdateVersionRequest, ValidationError, ValidationResult, Version, VoiceSelectionParams, WebhookRequest, WebhookResponse

Constant Summary collapse

VERSION =
"1.2.0"