google-cloud-dialogflow-v2 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +48 -1
  3. data/lib/google-cloud-dialogflow-v2.rb +21 -1
  4. data/lib/google/cloud/dialogflow/v2.rb +16 -0
  5. data/lib/google/cloud/dialogflow/v2/agents.rb +58 -2
  6. data/lib/google/cloud/dialogflow/v2/agents/client.rb +88 -65
  7. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +39 -33
  8. data/lib/google/cloud/dialogflow/v2/contexts.rb +47 -1
  9. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +62 -39
  10. data/lib/google/cloud/dialogflow/v2/contexts/paths.rb +43 -0
  11. data/lib/google/cloud/dialogflow/v2/entity_types.rb +58 -2
  12. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +103 -65
  13. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +39 -33
  14. data/lib/google/cloud/dialogflow/v2/entity_types/paths.rb +14 -0
  15. data/lib/google/cloud/dialogflow/v2/intents.rb +62 -2
  16. data/lib/google/cloud/dialogflow/v2/intents/client.rb +74 -47
  17. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +39 -33
  18. data/lib/google/cloud/dialogflow/v2/intents/paths.rb +14 -0
  19. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +46 -1
  20. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +48 -53
  21. data/lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb +43 -0
  22. data/lib/google/cloud/dialogflow/v2/sessions.rb +33 -1
  23. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +15 -28
  24. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  25. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +0 -2
  26. data/proto_docs/google/cloud/dialogflow/v2/context.rb +1 -1
  27. data/proto_docs/google/cloud/dialogflow/v2/session.rb +28 -1
  28. metadata +2 -2
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -161,8 +161,6 @@ module Google
161
161
  extend Google::Protobuf::MessageExts::ClassMethods
162
162
  end
163
163
 
164
- # ============================================================================
165
- # Requests and responses for custom methods.
166
164
  # The request message for {Google::Cloud::Dialogflow::V2::Agents::Client#search_agents Agents.SearchAgents}.
167
165
  # @!attribute [rw] parent
168
166
  # @return [String]
@@ -59,7 +59,7 @@ module Google
59
59
  # - MapKey value: parameter name
60
60
  # - MapValue type:
61
61
  # - If parameter's entity type is a composite entity: map
62
- # - Else: string
62
+ # - Else: string or number, depending on parameter value type
63
63
  # - MapValue value:
64
64
  # - If parameter's entity type is a composite entity:
65
65
  # map from composite entity property names to property values
@@ -21,7 +21,6 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- # Requests and responses for custom methods.
25
24
  # The request to detect user's intent.
26
25
  # @!attribute [rw] session
27
26
  # @return [String]
@@ -194,6 +193,20 @@ module Google
194
193
  # @!attribute [rw] parameters
195
194
  # @return [Google::Protobuf::Struct]
196
195
  # The collection of extracted parameters.
196
+ #
197
+ # Depending on your protocol or client library language, this is a
198
+ # map, associative array, symbol table, dictionary, or JSON object
199
+ # composed of a collection of (MapKey, MapValue) pairs:
200
+ #
201
+ # - MapKey type: string
202
+ # - MapKey value: parameter name
203
+ # - MapValue type:
204
+ # - If parameter's entity type is a composite entity: map
205
+ # - Else: string or number, depending on parameter value type
206
+ # - MapValue value:
207
+ # - If parameter's entity type is a composite entity:
208
+ # map from composite entity property names to property values
209
+ # - Else: parameter value
197
210
  # @!attribute [rw] all_required_params_present
198
211
  # @return [Boolean]
199
212
  # This field is set to:
@@ -499,6 +512,20 @@ module Google
499
512
  # @!attribute [rw] parameters
500
513
  # @return [Google::Protobuf::Struct]
501
514
  # The collection of parameters associated with the event.
515
+ #
516
+ # Depending on your protocol or client library language, this is a
517
+ # map, associative array, symbol table, dictionary, or JSON object
518
+ # composed of a collection of (MapKey, MapValue) pairs:
519
+ #
520
+ # - MapKey type: string
521
+ # - MapKey value: parameter name
522
+ # - MapValue type:
523
+ # - If parameter's entity type is a composite entity: map
524
+ # - Else: string or number, depending on parameter value type
525
+ # - MapValue value:
526
+ # - If parameter's entity type is a composite entity:
527
+ # map from composite entity property names to property values
528
+ # - Else: parameter value
502
529
  # @!attribute [rw] language_code
503
530
  # @return [String]
504
531
  # Required. The language of this query. See [Language
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.3.0
4
+ version: 0.4.0
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-04-06 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common