google-cloud-dialogflow 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +8 -0
- data/LICENSE +201 -0
- data/README.md +32 -0
- data/lib/google/cloud/dialogflow.rb +452 -0
- data/lib/google/cloud/dialogflow/credentials.rb +30 -0
- data/lib/google/cloud/dialogflow/v2.rb +454 -0
- data/lib/google/cloud/dialogflow/v2/agent_pb.rb +87 -0
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +104 -0
- data/lib/google/cloud/dialogflow/v2/agents_client.rb +639 -0
- data/lib/google/cloud/dialogflow/v2/agents_client_config.json +56 -0
- data/lib/google/cloud/dialogflow/v2/context_pb.rb +59 -0
- data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +71 -0
- data/lib/google/cloud/dialogflow/v2/contexts_client.rb +445 -0
- data/lib/google/cloud/dialogflow/v2/contexts_client_config.json +56 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +223 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb +115 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb +290 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb +714 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb +451 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb +134 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb +124 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb +223 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb +73 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb +83 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/type/latlng.rb +64 -0
- data/lib/google/cloud/dialogflow/v2/doc/overview.rb +55 -0
- data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +120 -0
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +105 -0
- data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +900 -0
- data/lib/google/cloud/dialogflow/v2/entity_types_client_config.json +76 -0
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +274 -0
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +91 -0
- data/lib/google/cloud/dialogflow/v2/intents_client.rb +684 -0
- data/lib/google/cloud/dialogflow/v2/intents_client_config.json +61 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +61 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +64 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +413 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client_config.json +51 -0
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +127 -0
- data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/v2/sessions_client.rb +286 -0
- data/lib/google/cloud/dialogflow/v2/sessions_client_config.json +36 -0
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +42 -0
- metadata +142 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.cloud.dialogflow.v2.Sessions": {
|
4
|
+
"retry_codes": {
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"default": {
|
13
|
+
"initial_retry_delay_millis": 100,
|
14
|
+
"retry_delay_multiplier": 1.3,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 20000,
|
17
|
+
"rpc_timeout_multiplier": 1.0,
|
18
|
+
"max_rpc_timeout_millis": 20000,
|
19
|
+
"total_timeout_millis": 600000
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"methods": {
|
23
|
+
"DetectIntent": {
|
24
|
+
"timeout_millis": 220000,
|
25
|
+
"retry_codes_name": "non_idempotent",
|
26
|
+
"retry_params_name": "default"
|
27
|
+
},
|
28
|
+
"StreamingDetectIntent": {
|
29
|
+
"timeout_millis": 220000,
|
30
|
+
"retry_codes_name": "non_idempotent",
|
31
|
+
"retry_params_name": "default"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/dialogflow/v2/webhook.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/cloud/dialogflow/v2/context_pb'
|
8
|
+
require 'google/cloud/dialogflow/v2/intent_pb'
|
9
|
+
require 'google/cloud/dialogflow/v2/session_pb'
|
10
|
+
require 'google/protobuf/struct_pb'
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_message "google.cloud.dialogflow.v2.WebhookRequest" do
|
13
|
+
optional :session, :string, 4
|
14
|
+
optional :response_id, :string, 1
|
15
|
+
optional :query_result, :message, 2, "google.cloud.dialogflow.v2.QueryResult"
|
16
|
+
optional :original_detect_intent_request, :message, 3, "google.cloud.dialogflow.v2.OriginalDetectIntentRequest"
|
17
|
+
end
|
18
|
+
add_message "google.cloud.dialogflow.v2.WebhookResponse" do
|
19
|
+
optional :fulfillment_text, :string, 1
|
20
|
+
repeated :fulfillment_messages, :message, 2, "google.cloud.dialogflow.v2.Intent.Message"
|
21
|
+
optional :source, :string, 3
|
22
|
+
optional :payload, :message, 4, "google.protobuf.Struct"
|
23
|
+
repeated :output_contexts, :message, 5, "google.cloud.dialogflow.v2.Context"
|
24
|
+
optional :followup_event_input, :message, 6, "google.cloud.dialogflow.v2.EventInput"
|
25
|
+
end
|
26
|
+
add_message "google.cloud.dialogflow.v2.OriginalDetectIntentRequest" do
|
27
|
+
optional :source, :string, 1
|
28
|
+
optional :payload, :message, 3, "google.protobuf.Struct"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
module Google
|
33
|
+
module Cloud
|
34
|
+
module Dialogflow
|
35
|
+
module V2
|
36
|
+
WebhookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.WebhookRequest").msgclass
|
37
|
+
WebhookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.WebhookResponse").msgclass
|
38
|
+
OriginalDetectIntentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.OriginalDetectIntentRequest").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-cloud-dialogflow
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: google-gax
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.50.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.50.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.9'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.9'
|
69
|
+
description: google-cloud-dialogflow is the official library for Dialogflow API.
|
70
|
+
email: googleapis-packages@google.com
|
71
|
+
executables: []
|
72
|
+
extensions: []
|
73
|
+
extra_rdoc_files: []
|
74
|
+
files:
|
75
|
+
- ".yardopts"
|
76
|
+
- LICENSE
|
77
|
+
- README.md
|
78
|
+
- lib/google/cloud/dialogflow.rb
|
79
|
+
- lib/google/cloud/dialogflow/credentials.rb
|
80
|
+
- lib/google/cloud/dialogflow/v2.rb
|
81
|
+
- lib/google/cloud/dialogflow/v2/agent_pb.rb
|
82
|
+
- lib/google/cloud/dialogflow/v2/agent_services_pb.rb
|
83
|
+
- lib/google/cloud/dialogflow/v2/agents_client.rb
|
84
|
+
- lib/google/cloud/dialogflow/v2/agents_client_config.json
|
85
|
+
- lib/google/cloud/dialogflow/v2/context_pb.rb
|
86
|
+
- lib/google/cloud/dialogflow/v2/context_services_pb.rb
|
87
|
+
- lib/google/cloud/dialogflow/v2/contexts_client.rb
|
88
|
+
- lib/google/cloud/dialogflow/v2/contexts_client_config.json
|
89
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb
|
90
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb
|
91
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb
|
92
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb
|
93
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb
|
94
|
+
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb
|
95
|
+
- lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb
|
96
|
+
- lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb
|
97
|
+
- lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb
|
98
|
+
- lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb
|
99
|
+
- lib/google/cloud/dialogflow/v2/doc/google/type/latlng.rb
|
100
|
+
- lib/google/cloud/dialogflow/v2/doc/overview.rb
|
101
|
+
- lib/google/cloud/dialogflow/v2/entity_type_pb.rb
|
102
|
+
- lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb
|
103
|
+
- lib/google/cloud/dialogflow/v2/entity_types_client.rb
|
104
|
+
- lib/google/cloud/dialogflow/v2/entity_types_client_config.json
|
105
|
+
- lib/google/cloud/dialogflow/v2/intent_pb.rb
|
106
|
+
- lib/google/cloud/dialogflow/v2/intent_services_pb.rb
|
107
|
+
- lib/google/cloud/dialogflow/v2/intents_client.rb
|
108
|
+
- lib/google/cloud/dialogflow/v2/intents_client_config.json
|
109
|
+
- lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb
|
110
|
+
- lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb
|
111
|
+
- lib/google/cloud/dialogflow/v2/session_entity_types_client.rb
|
112
|
+
- lib/google/cloud/dialogflow/v2/session_entity_types_client_config.json
|
113
|
+
- lib/google/cloud/dialogflow/v2/session_pb.rb
|
114
|
+
- lib/google/cloud/dialogflow/v2/session_services_pb.rb
|
115
|
+
- lib/google/cloud/dialogflow/v2/sessions_client.rb
|
116
|
+
- lib/google/cloud/dialogflow/v2/sessions_client_config.json
|
117
|
+
- lib/google/cloud/dialogflow/v2/webhook_pb.rb
|
118
|
+
homepage: https://github.com/googleapis/googleapis
|
119
|
+
licenses:
|
120
|
+
- Apache-2.0
|
121
|
+
metadata: {}
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 2.0.0
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
requirements: []
|
137
|
+
rubyforge_project:
|
138
|
+
rubygems_version: 2.7.6
|
139
|
+
signing_key:
|
140
|
+
specification_version: 4
|
141
|
+
summary: API Client library for Dialogflow API
|
142
|
+
test_files: []
|