Switch branches/tags
v0.20.0 v0.12.2 v0.12.1 v0.12.0 v0.11.0 v0.10.0 v0.9.0 v0.8.2 v0.8.1 v0.8.0 v0.7.2 v0.7.1 v0.7.0 v0.6.3 v0.6.2 v0.6.1 v0.6.0 v0.5.0 v0.4.1 v0.4.0 v0.3.1 v0.3.0 v0.2.0 v0.1.1 v0.1.0 stackdriver/v0.15.3 stackdriver/v0.15.2 stackdriver/v0.15.1 stackdriver/v0.15.0 stackdriver/v0.14.0 stackdriver/v0.13.0 stackdriver/v0.12.0 stackdriver/v0.11.0 stackdriver/v0.10.0 stackdriver/v0.9.0 stackdriver/v0.8.0 stackdriver/v0.7.0 stackdriver/v0.6.0 stackdriver/v0.5.0 stackdriver/v0.4.1 stackdriver/v0.4.0 stackdriver/v0.3.0 stackdriver-vore/v1.1.0 stackdriver-core/v1.3.3 stackdriver-core/v1.3.2 stackdriver-core/v1.3.1 stackdriver-core/v1.3.0 stackdriver-core/v1.2.0 stackdriver-core/v1.1.0 stackdriver-core/v1.0.0 stackdriver-core/v0.21.0 stackdirver/v0.3.0 google-cloud/v0.56.3 google-cloud/v0.56.2 google-cloud/v0.56.1 google-cloud/v0.56.0 google-cloud/v0.55.0 google-cloud/v0.54.0 google-cloud/v0.53.0 google-cloud/v0.52.0 google-cloud/v0.51.1 google-cloud/v0.51.0 google-cloud/v0.50.0 google-cloud/v0.49.0 google-cloud/v0.48.0 google-cloud/v0.47.0 google-cloud/v0.46.0 google-cloud/v0.45.0 google-cloud/v0.44.0 google-cloud/v0.43.0 google-cloud/v0.42.0 google-cloud/v0.41.0 google-cloud/v0.40.0 google-cloud/v0.39.0 google-cloud/v0.38.0 google-cloud/v0.37.0 google-cloud/v0.36.0 google-cloud/v0.35.0 google-cloud/v0.34.0 google-cloud/v0.33.0 google-cloud/v0.32.0 google-cloud/v0.31.0 google-cloud/v0.30.0 google-cloud/v0.29.0 google-cloud/v0.28.0 google-cloud/v0.27.0 google-cloud/v0.26.0 google-cloud/v0.25.0 google-cloud/v0.24.0 google-cloud/v0.23.0 google-cloud/v0.22.0 google-cloud/v0.21.1 google-cloud/v0.21.0 google-cloud/v0.20.1 google-cloud/v0.20.0 google-cloud-vision/v0.31.0 google-cloud-vision/v0.30.4 google-cloud-vision/v0.30.3 google-cloud-vision/v0.30.2 google-cloud-vision/v0.30.1
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lib/google/cloud
test/google/cloud/dialogflow/v2
.gitignore
.rubocop.yml
.yardopts
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
google-cloud-dialogflow.gemspec
synth.metadata
synth.py

README.md

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

Supported Ruby Versions

This library is supported on Ruby 2.3+.

Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.3 and later. Older versions of Ruby may still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.