google-cloud-dialogflow 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow.rb +6 -0
- data/lib/google/cloud/dialogflow/v2.rb +6 -0
- data/lib/google/cloud/dialogflow/v2/agent_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/agents_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/context_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/contexts_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/credentials.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/longrunning/operations.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb +14 -8
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/empty.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/google/type/latlng.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/doc/overview.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/intents_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/sessions_client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +1 -0
- 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: e2c2de7934bfc3792d1afd5743480146f39681c7b68f5f8d3b90841cd620a787
|
4
|
+
data.tar.gz: 69987a1e145dea5d54679111882f6c772db3b527c33c961317cf9747340d6762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ad9165032b242f98b0904b7031b66412207ef382d747f3f45857823a3087c10758b078d7d559311eba94c36de47ca241f5d398616e54de0e3eed1c1fd859b1
|
7
|
+
data.tar.gz: 3f848c97bcf98a61e018d415382c52c70d78575ac946187d4da55264607d933d16859feec04f9773243072da61f6dac4e97e7297fe21de1d4ee3de26776e60e0
|
@@ -12,6 +12,7 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
|
15
16
|
require "google/gax"
|
16
17
|
require "pathname"
|
17
18
|
|
@@ -36,6 +37,11 @@ module Google
|
|
36
37
|
# 3. [Enable the Dialogflow API.](https://console.cloud.google.com/apis/library/dialogflow.googleapis.com)
|
37
38
|
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
38
39
|
#
|
40
|
+
# ### Installation
|
41
|
+
# ```
|
42
|
+
# $ gem install google-cloud-dialogflow
|
43
|
+
# ```
|
44
|
+
#
|
39
45
|
# ### Next Steps
|
40
46
|
# - Read the [Dialogflow API Product documentation][Product Documentation]
|
41
47
|
# to learn more about the product and see How-to Guides.
|
@@ -12,6 +12,7 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
|
15
16
|
require "google/cloud/dialogflow/v2/agents_client"
|
16
17
|
require "google/cloud/dialogflow/v2/contexts_client"
|
17
18
|
require "google/cloud/dialogflow/v2/entity_types_client"
|
@@ -45,6 +46,11 @@ module Google
|
|
45
46
|
# 3. [Enable the Dialogflow API.](https://console.cloud.google.com/apis/library/dialogflow.googleapis.com)
|
46
47
|
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
47
48
|
#
|
49
|
+
# ### Installation
|
50
|
+
# ```
|
51
|
+
# $ gem install google-cloud-dialogflow
|
52
|
+
# ```
|
53
|
+
#
|
48
54
|
# ### Next Steps
|
49
55
|
# - Read the [Dialogflow API Product documentation][Product Documentation]
|
50
56
|
# to learn more about the product and see How-to Guides.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -62,6 +63,7 @@ module Google
|
|
62
63
|
# @!attribute [r] agents_stub
|
63
64
|
# @return [Google::Cloud::Dialogflow::V2::Agents::Stub]
|
64
65
|
class AgentsClient
|
66
|
+
# @private
|
65
67
|
attr_reader :agents_stub
|
66
68
|
|
67
69
|
# The default address of the service.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -52,6 +53,7 @@ module Google
|
|
52
53
|
# @!attribute [r] contexts_stub
|
53
54
|
# @return [Google::Cloud::Dialogflow::V2::Contexts::Stub]
|
54
55
|
class ContextsClient
|
56
|
+
# @private
|
55
57
|
attr_reader :contexts_stub
|
56
58
|
|
57
59
|
# The default address of the service.
|
@@ -12,6 +12,7 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
|
15
16
|
module Google
|
16
17
|
module Protobuf
|
17
18
|
# +Any+ contains an arbitrary serialized protocol buffer message along with a
|
@@ -95,17 +96,18 @@ module Google
|
|
95
96
|
# }
|
96
97
|
# @!attribute [rw] type_url
|
97
98
|
# @return [String]
|
98
|
-
# A URL/resource name
|
99
|
-
#
|
99
|
+
# A URL/resource name that uniquely identifies the type of the serialized
|
100
|
+
# protocol buffer message. The last segment of the URL's path must represent
|
101
|
+
# the fully qualified name of the type (as in
|
102
|
+
# +path/google.protobuf.Duration+). The name should be in a canonical form
|
103
|
+
# (e.g., leading "." is not accepted).
|
100
104
|
#
|
101
|
-
#
|
102
|
-
#
|
105
|
+
# In practice, teams usually precompile into the binary all types that they
|
106
|
+
# expect it to use in the context of Any. However, for URLs which use the
|
107
|
+
# scheme +http+, +https+, or no scheme, one can optionally set up a type
|
108
|
+
# server that maps type URLs to message definitions as follows:
|
103
109
|
#
|
104
110
|
# * If no scheme is provided, +https+ is assumed.
|
105
|
-
# * The last segment of the URL's path must represent the fully
|
106
|
-
# qualified name of the type (as in +path/google.protobuf.Duration+).
|
107
|
-
# The name should be in a canonical form (e.g., leading "." is
|
108
|
-
# not accepted).
|
109
111
|
# * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
|
110
112
|
# value in binary format, or produce an error.
|
111
113
|
# * Applications are allowed to cache lookup results based on the
|
@@ -114,6 +116,10 @@ module Google
|
|
114
116
|
# on changes to types. (Use versioned type names to manage
|
115
117
|
# breaking changes.)
|
116
118
|
#
|
119
|
+
# Note: this functionality is not currently available in the official
|
120
|
+
# protobuf release, and it is not used for type URLs beginning with
|
121
|
+
# type.googleapis.com.
|
122
|
+
#
|
117
123
|
# Schemes other than +http+, +https+ (or the empty scheme) might be
|
118
124
|
# used with implementation specific semantics.
|
119
125
|
# @!attribute [rw] value
|
@@ -12,6 +12,7 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
|
15
16
|
module Google
|
16
17
|
module Protobuf
|
17
18
|
# +FieldMask+ represents a set of symbolic field paths, for example:
|
@@ -215,6 +216,12 @@ module Google
|
|
215
216
|
#
|
216
217
|
# Note that oneof type names ("test_oneof" in this case) cannot be used in
|
217
218
|
# paths.
|
219
|
+
#
|
220
|
+
# == Field Mask Verification
|
221
|
+
#
|
222
|
+
# The implementation of any API method which has a FieldMask type field in the
|
223
|
+
# request should verify the included field paths, and return an
|
224
|
+
# +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
|
218
225
|
# @!attribute [rw] paths
|
219
226
|
# @return [Array<String>]
|
220
227
|
# The set of field mask paths.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -64,6 +65,7 @@ module Google
|
|
64
65
|
# @!attribute [r] entity_types_stub
|
65
66
|
# @return [Google::Cloud::Dialogflow::V2::EntityTypes::Stub]
|
66
67
|
class EntityTypesClient
|
68
|
+
# @private
|
67
69
|
attr_reader :entity_types_stub
|
68
70
|
|
69
71
|
# The default address of the service.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -68,6 +69,7 @@ module Google
|
|
68
69
|
# @!attribute [r] intents_stub
|
69
70
|
# @return [Google::Cloud::Dialogflow::V2::Intents::Stub]
|
70
71
|
class IntentsClient
|
72
|
+
# @private
|
71
73
|
attr_reader :intents_stub
|
72
74
|
|
73
75
|
# The default address of the service.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -47,6 +48,7 @@ module Google
|
|
47
48
|
# @!attribute [r] session_entity_types_stub
|
48
49
|
# @return [Google::Cloud::Dialogflow::V2::SessionEntityTypes::Stub]
|
49
50
|
class SessionEntityTypesClient
|
51
|
+
# @private
|
50
52
|
attr_reader :session_entity_types_stub
|
51
53
|
|
52
54
|
# The default address of the service.
|
@@ -19,6 +19,7 @@
|
|
19
19
|
# For the short term, the refresh process will only be runnable by Google
|
20
20
|
# engineers.
|
21
21
|
|
22
|
+
|
22
23
|
require "json"
|
23
24
|
require "pathname"
|
24
25
|
|
@@ -39,6 +40,7 @@ module Google
|
|
39
40
|
# @!attribute [r] sessions_stub
|
40
41
|
# @return [Google::Cloud::Dialogflow::V2::Sessions::Stub]
|
41
42
|
class SessionsClient
|
43
|
+
# @private
|
42
44
|
attr_reader :sessions_stub
|
43
45
|
|
44
46
|
# The default address of the service.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|