google-cloud-dialogflow 0.2.0 → 0.2.1

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow.rb +6 -0
  3. data/lib/google/cloud/dialogflow/v2.rb +6 -0
  4. data/lib/google/cloud/dialogflow/v2/agent_pb.rb +1 -0
  5. data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +1 -0
  6. data/lib/google/cloud/dialogflow/v2/agents_client.rb +2 -0
  7. data/lib/google/cloud/dialogflow/v2/context_pb.rb +1 -0
  8. data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -0
  9. data/lib/google/cloud/dialogflow/v2/contexts_client.rb +2 -0
  10. data/lib/google/cloud/dialogflow/v2/credentials.rb +1 -0
  11. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +1 -0
  12. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb +1 -0
  13. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb +1 -0
  14. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb +1 -0
  15. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb +1 -0
  16. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb +1 -0
  17. data/lib/google/cloud/dialogflow/v2/doc/google/longrunning/operations.rb +1 -0
  18. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb +14 -8
  19. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/empty.rb +1 -0
  20. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb +7 -0
  21. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb +1 -0
  22. data/lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb +1 -0
  23. data/lib/google/cloud/dialogflow/v2/doc/google/type/latlng.rb +1 -0
  24. data/lib/google/cloud/dialogflow/v2/doc/overview.rb +1 -0
  25. data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +1 -0
  26. data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +1 -0
  27. data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +2 -0
  28. data/lib/google/cloud/dialogflow/v2/intent_pb.rb +1 -0
  29. data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +1 -0
  30. data/lib/google/cloud/dialogflow/v2/intents_client.rb +2 -0
  31. data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +1 -0
  32. data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +1 -0
  33. data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +2 -0
  34. data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -0
  35. data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +1 -0
  36. data/lib/google/cloud/dialogflow/v2/sessions_client.rb +2 -0
  37. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +1 -0
  38. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4eec775b6e0a5bf58391574cf0cc4360c723d8e05c38be3bf8a3fbbbecd94ae4
4
- data.tar.gz: 7a495e93f68e6ecd8eea5a1b42f09040f6b9490760dd4ecbc07da8da99f8fac7
3
+ metadata.gz: e2c2de7934bfc3792d1afd5743480146f39681c7b68f5f8d3b90841cd620a787
4
+ data.tar.gz: 69987a1e145dea5d54679111882f6c772db3b527c33c961317cf9747340d6762
5
5
  SHA512:
6
- metadata.gz: 8e550945990483bdf2c052c0c0a35dd0259ba28a44d5780f72a78d243adbd78eaf2b1951b2dc9ed4b863e2f7a5d41f080b3767e69c11d853cd1c86617d5a2dd4
7
- data.tar.gz: 51d57428a3b290cc4df523ea4a81cfe36dde9d6a365c9ebc2e4ec5ede4cf94c2def8f7c5770a9aeedf8eb35d8e03e1b81f291a088d41d82633841beb2c213816
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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/agent.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/agent_pb'
21
22
 
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/context.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/context_pb'
21
22
 
@@ -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
  require "googleauth"
16
17
 
17
18
  module Google
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Cloud
17
18
  module Dialogflow
@@ -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 Longrunning
17
18
  # This resource represents a long-running operation that is the result of a
@@ -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 whose content describes the type of the
99
- # serialized protocol buffer message.
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
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
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
  # A generic empty message that you can re-use to avoid defining duplicated
@@ -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.
@@ -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
  # +Struct+ represents a structured data value, consisting of fields
@@ -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 Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -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 Type
17
18
  # An object representing a latitude/longitude pair. This is expressed as a pair
@@ -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 Cloud
17
18
  # rubocop:disable LineLength
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/entity_type.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/entity_type_pb'
21
22
 
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/intent.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/intent_pb'
21
22
 
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/session_entity_type.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/session_entity_type_pb'
21
22
 
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/session.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dialogflow/v2/session_pb'
21
22
 
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/v2/webhook.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
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.0
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-08-21 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax