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

Defined in:
lib/google/cloud/dialogflow/v2.rb,
lib/google/cloud/dialogflow/v2/credentials.rb,
lib/google/cloud/dialogflow/v2/agents_client.rb,
lib/google/cloud/dialogflow/v2/intents_client.rb,
lib/google/cloud/dialogflow/v2/contexts_client.rb,
lib/google/cloud/dialogflow/v2/sessions_client.rb,
lib/google/cloud/dialogflow/v2/entity_types_client.rb,
lib/google/cloud/dialogflow/v2/session_entity_types_client.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb,
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb

Overview

Ruby Client for Dialogflow API (Alpha)

Dialogflow API: An end-to-end development suite for conversational interfaces (e.g., chatbots, voice-powered apps and devices).

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.
  2. Enable billing for your project.
  3. Enable the Dialogflow API.
  4. Setup Authentication.

Installation

$ gem install google-cloud-dialogflow

Next Steps

Enabling Logging

To enable logging for this library, set the logger for the underlying gRPC library. The logger that you set may be a Ruby stdlib Logger as shown below, or a Google::Cloud::Logging::Logger that will write logs to Stackdriver Logging. See grpc/logconfig.rb and the gRPC spec_helper.rb for additional information.

Configuring a Ruby stdlib logger:

require "logger"

module MyLogger
  LOGGER = Logger.new $stderr, level: Logger::WARN
  def logger
    LOGGER
  end
end

# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
module GRPC
  extend MyLogger
end

Defined Under Namespace

Modules: Agents, AudioEncoding, Contexts, EntityTypes, IntentView, Intents, SessionEntityTypes, Sessions Classes: Agent, AgentsClient, BatchCreateEntitiesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, Context, ContextsClient, CreateContextRequest, CreateEntityTypeRequest, CreateIntentRequest, CreateSessionEntityTypeRequest, Credentials, DeleteAllContextsRequest, DeleteContextRequest, DeleteEntityTypeRequest, DeleteIntentRequest, DeleteSessionEntityTypeRequest, DetectIntentRequest, DetectIntentResponse, EntityType, EntityTypeBatch, EntityTypesClient, EventInput, ExportAgentRequest, ExportAgentResponse, GetAgentRequest, GetContextRequest, GetEntityTypeRequest, GetIntentRequest, GetSessionEntityTypeRequest, ImportAgentRequest, InputAudioConfig, Intent, IntentBatch, IntentsClient, ListContextsRequest, ListContextsResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListIntentsRequest, ListIntentsResponse, ListSessionEntityTypesRequest, ListSessionEntityTypesResponse, QueryInput, QueryParameters, QueryResult, RestoreAgentRequest, SearchAgentsRequest, SearchAgentsResponse, SessionEntityType, SessionEntityTypesClient, SessionsClient, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingRecognitionResult, TextInput, TrainAgentRequest, UpdateContextRequest, UpdateEntityTypeRequest, UpdateIntentRequest, UpdateSessionEntityTypeRequest