google-cloud-dialogflow-v2 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +1 -28
- data/lib/google/cloud/dialogflow/v2/agents.rb +1 -28
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +1 -28
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 227ba605ed46edb194150bc6c6ba18b49f9a2d16662a7c80009fc43c67f77246
|
|
4
|
+
data.tar.gz: c707125ab5bf9bdf188274ca11f2cb04c3071dada48eba1c0dd1a5b95e76308f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f520cffa54536227b057fb57484c3c3fcf97e773764170bd5b093a42edf569da7bf620068e11e746a86501738a1af276fa23e5d53759beaee4c26937e7b122e
|
|
7
|
+
data.tar.gz: df8537e7e988377a99e8ba1eba3d1816341035f266587e99772f0a50b24988c6aa782b9f0843831e1ee9fb3086c8dcc9840c66429e77ef3f0c60149468c36f96
|
data/README.md
CHANGED
|
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
18
18
|
|
|
19
19
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
20
20
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
21
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/dialogflow.googleapis.com)
|
|
21
22
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
22
23
|
|
|
23
24
|
## Quick Start
|
|
@@ -33,6 +34,9 @@ response = client.get_agent request
|
|
|
33
34
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-dialogflow-v2/latest)
|
|
34
35
|
for class and method documentation.
|
|
35
36
|
|
|
37
|
+
See also the [Product Documentation](https://cloud.google.com/dialogflow)
|
|
38
|
+
for general usage information.
|
|
39
|
+
|
|
36
40
|
## Enabling Logging
|
|
37
41
|
|
|
38
42
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
@@ -24,34 +24,7 @@ module Google
|
|
|
24
24
|
module Dialogflow
|
|
25
25
|
module V2
|
|
26
26
|
module Agents
|
|
27
|
-
#
|
|
28
|
-
# that transform user requests into actionable data. You can include agents
|
|
29
|
-
# in your app, product, or service to determine user intent and respond to the
|
|
30
|
-
# user in a natural way.
|
|
31
|
-
#
|
|
32
|
-
# After you create an agent, you can add [Intents][google.cloud.dialogflow.v2.Intents], [Contexts][google.cloud.dialogflow.v2.Contexts],
|
|
33
|
-
# [Entity Types][google.cloud.dialogflow.v2.EntityTypes], [Webhooks][google.cloud.dialogflow.v2.WebhookRequest], and so on to
|
|
34
|
-
# manage the flow of a conversation and match user input to predefined intents
|
|
35
|
-
# and actions.
|
|
36
|
-
#
|
|
37
|
-
# You can create an agent using both Dialogflow Standard Edition and
|
|
38
|
-
# Dialogflow Enterprise Edition. For details, see
|
|
39
|
-
# [Dialogflow
|
|
40
|
-
# Editions](https://cloud.google.com/dialogflow/docs/editions).
|
|
41
|
-
#
|
|
42
|
-
# You can save your agent for backup or versioning by exporting the agent by
|
|
43
|
-
# using the [ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent] method. You can import a saved
|
|
44
|
-
# agent by using the [ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent] method.
|
|
45
|
-
#
|
|
46
|
-
# Dialogflow provides several
|
|
47
|
-
# [prebuilt
|
|
48
|
-
# agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
|
|
49
|
-
# for common conversation scenarios such as determining a date and time,
|
|
50
|
-
# converting currency, and so on.
|
|
51
|
-
#
|
|
52
|
-
# For more information about agents, see the
|
|
53
|
-
# [Dialogflow
|
|
54
|
-
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
|
27
|
+
# Service for managing [Agents][google.cloud.dialogflow.v2.Agent].
|
|
55
28
|
class Service
|
|
56
29
|
|
|
57
30
|
include GRPC::GenericService
|
|
@@ -32,34 +32,7 @@ module Google
|
|
|
32
32
|
module Dialogflow
|
|
33
33
|
module V2
|
|
34
34
|
##
|
|
35
|
-
#
|
|
36
|
-
# that transform user requests into actionable data. You can include agents
|
|
37
|
-
# in your app, product, or service to determine user intent and respond to the
|
|
38
|
-
# user in a natural way.
|
|
39
|
-
#
|
|
40
|
-
# After you create an agent, you can add {::Google::Cloud::Dialogflow::V2::Intents::Client Intents}, {::Google::Cloud::Dialogflow::V2::Contexts::Client Contexts},
|
|
41
|
-
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client Entity Types}, {::Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
|
|
42
|
-
# manage the flow of a conversation and match user input to predefined intents
|
|
43
|
-
# and actions.
|
|
44
|
-
#
|
|
45
|
-
# You can create an agent using both Dialogflow Standard Edition and
|
|
46
|
-
# Dialogflow Enterprise Edition. For details, see
|
|
47
|
-
# [Dialogflow
|
|
48
|
-
# Editions](https://cloud.google.com/dialogflow/docs/editions).
|
|
49
|
-
#
|
|
50
|
-
# You can save your agent for backup or versioning by exporting the agent by
|
|
51
|
-
# using the {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent ExportAgent} method. You can import a saved
|
|
52
|
-
# agent by using the {::Google::Cloud::Dialogflow::V2::Agents::Client#import_agent ImportAgent} method.
|
|
53
|
-
#
|
|
54
|
-
# Dialogflow provides several
|
|
55
|
-
# [prebuilt
|
|
56
|
-
# agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
|
|
57
|
-
# for common conversation scenarios such as determining a date and time,
|
|
58
|
-
# converting currency, and so on.
|
|
59
|
-
#
|
|
60
|
-
# For more information about agents, see the
|
|
61
|
-
# [Dialogflow
|
|
62
|
-
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
|
35
|
+
# Service for managing {::Google::Cloud::Dialogflow::V2::Agent Agents}.
|
|
63
36
|
#
|
|
64
37
|
# To load this service and instantiate a client:
|
|
65
38
|
#
|
|
@@ -27,34 +27,7 @@ module Google
|
|
|
27
27
|
##
|
|
28
28
|
# Client for the Agents service.
|
|
29
29
|
#
|
|
30
|
-
#
|
|
31
|
-
# that transform user requests into actionable data. You can include agents
|
|
32
|
-
# in your app, product, or service to determine user intent and respond to the
|
|
33
|
-
# user in a natural way.
|
|
34
|
-
#
|
|
35
|
-
# After you create an agent, you can add {::Google::Cloud::Dialogflow::V2::Intents::Client Intents}, {::Google::Cloud::Dialogflow::V2::Contexts::Client Contexts},
|
|
36
|
-
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client Entity Types}, {::Google::Cloud::Dialogflow::V2::WebhookRequest Webhooks}, and so on to
|
|
37
|
-
# manage the flow of a conversation and match user input to predefined intents
|
|
38
|
-
# and actions.
|
|
39
|
-
#
|
|
40
|
-
# You can create an agent using both Dialogflow Standard Edition and
|
|
41
|
-
# Dialogflow Enterprise Edition. For details, see
|
|
42
|
-
# [Dialogflow
|
|
43
|
-
# Editions](https://cloud.google.com/dialogflow/docs/editions).
|
|
44
|
-
#
|
|
45
|
-
# You can save your agent for backup or versioning by exporting the agent by
|
|
46
|
-
# using the {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent ExportAgent} method. You can import a saved
|
|
47
|
-
# agent by using the {::Google::Cloud::Dialogflow::V2::Agents::Client#import_agent ImportAgent} method.
|
|
48
|
-
#
|
|
49
|
-
# Dialogflow provides several
|
|
50
|
-
# [prebuilt
|
|
51
|
-
# agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
|
|
52
|
-
# for common conversation scenarios such as determining a date and time,
|
|
53
|
-
# converting currency, and so on.
|
|
54
|
-
#
|
|
55
|
-
# For more information about agents, see the
|
|
56
|
-
# [Dialogflow
|
|
57
|
-
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
|
30
|
+
# Service for managing {::Google::Cloud::Dialogflow::V2::Agent Agents}.
|
|
58
31
|
#
|
|
59
32
|
class Client
|
|
60
33
|
include Paths
|
|
@@ -21,7 +21,16 @@ module Google
|
|
|
21
21
|
module Cloud
|
|
22
22
|
module Dialogflow
|
|
23
23
|
module V2
|
|
24
|
-
#
|
|
24
|
+
# A Dialogflow agent is a virtual agent that handles conversations with your
|
|
25
|
+
# end-users. It is a natural language understanding module that understands the
|
|
26
|
+
# nuances of human language. Dialogflow translates end-user text or audio
|
|
27
|
+
# during a conversation to structured data that your apps and services can
|
|
28
|
+
# understand. You design and build a Dialogflow agent to handle the types of
|
|
29
|
+
# conversations required for your system.
|
|
30
|
+
#
|
|
31
|
+
# For more information about agents, see the
|
|
32
|
+
# [Agents
|
|
33
|
+
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
|
25
34
|
# @!attribute [rw] parent
|
|
26
35
|
# @return [::String]
|
|
27
36
|
# Required. The project of this agent.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-dialogflow-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|