google-cloud-dialogflow-v2 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_pb.rb +1 -0
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +20 -22
  4. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +12 -14
  5. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +4 -6
  6. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +4 -6
  7. data/lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb +1 -0
  8. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +16 -18
  9. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +12 -14
  10. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -0
  11. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +28 -32
  12. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +12 -14
  13. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +1 -0
  14. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +12 -14
  16. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +12 -14
  17. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +11 -13
  18. data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -0
  19. data/lib/google/cloud/dialogflow/v2/documents/client.rb +28 -30
  20. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +12 -14
  21. data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +1 -0
  22. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +24 -26
  23. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +12 -14
  24. data/lib/google/cloud/dialogflow/v2/environments/client.rb +8 -12
  25. data/lib/google/cloud/dialogflow/v2/intents/client.rb +12 -14
  26. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +12 -14
  27. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +4 -6
  28. data/lib/google/cloud/dialogflow/v2/participants/client.rb +11 -13
  29. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +4 -6
  30. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +7 -7
  31. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  32. data/lib/google/cloud/dialogflow/v2/versions/client.rb +4 -6
  33. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +3 -0
  34. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +6 -0
  35. metadata +8 -8
@@ -238,13 +238,11 @@ module Google
238
238
  # # Call the list_knowledge_bases method.
239
239
  # result = client.list_knowledge_bases request
240
240
  #
241
- # # The returned object is of type Gapic::PagedEnumerable. You can
242
- # # iterate over all elements by calling #each, and the enumerable
243
- # # will lazily make API calls to fetch subsequent pages. Other
244
- # # methods are also available for managing paging directly.
245
- # result.each do |response|
241
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
242
+ # # over elements, and API calls will be issued to fetch pages as needed.
243
+ # result.each do |item|
246
244
  # # Each element is of type ::Google::Cloud::Dialogflow::V2::KnowledgeBase.
247
- # p response
245
+ # p item
248
246
  # end
249
247
  #
250
248
  def list_knowledge_bases request, options = nil
@@ -394,13 +394,11 @@ module Google
394
394
  # # Call the list_participants method.
395
395
  # result = client.list_participants request
396
396
  #
397
- # # The returned object is of type Gapic::PagedEnumerable. You can
398
- # # iterate over all elements by calling #each, and the enumerable
399
- # # will lazily make API calls to fetch subsequent pages. Other
400
- # # methods are also available for managing paging directly.
401
- # result.each do |response|
397
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
398
+ # # over elements, and API calls will be issued to fetch pages as needed.
399
+ # result.each do |item|
402
400
  # # Each element is of type ::Google::Cloud::Dialogflow::V2::Participant.
403
- # p response
401
+ # p item
404
402
  # end
405
403
  #
406
404
  def list_participants request, options = nil
@@ -685,22 +683,22 @@ module Google
685
683
  # # Create a client object. The client can be reused for multiple calls.
686
684
  # client = Google::Cloud::Dialogflow::V2::Participants::Client.new
687
685
  #
688
- # # Create an input stream
686
+ # # Create an input stream.
689
687
  # input = Gapic::StreamInput.new
690
688
  #
691
689
  # # Call the streaming_analyze_content method to start streaming.
692
690
  # output = client.streaming_analyze_content input
693
691
  #
694
- # # Send requests on the stream. For each request, pass in keyword
695
- # # arguments to set fields. Be sure to close the stream when done.
692
+ # # Send requests on the stream. For each request object, set fields by
693
+ # # passing keyword arguments. Be sure to close the stream when done.
696
694
  # input << Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentRequest.new
697
695
  # input << Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentRequest.new
698
696
  # input.close
699
697
  #
700
- # # Handle streamed responses. These may be interleaved with inputs.
701
- # # Each response is of type ::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse.
702
- # output.each do |response|
703
- # p response
698
+ # # The returned object is a streamed enumerable yielding elements of type
699
+ # # ::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse
700
+ # output.each do |current_response|
701
+ # p current_response
704
702
  # end
705
703
  #
706
704
  def streaming_analyze_content request, options = nil
@@ -219,13 +219,11 @@ module Google
219
219
  # # Call the list_session_entity_types method.
220
220
  # result = client.list_session_entity_types request
221
221
  #
222
- # # The returned object is of type Gapic::PagedEnumerable. You can
223
- # # iterate over all elements by calling #each, and the enumerable
224
- # # will lazily make API calls to fetch subsequent pages. Other
225
- # # methods are also available for managing paging directly.
226
- # result.each do |response|
222
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
223
+ # # over elements, and API calls will be issued to fetch pages as needed.
224
+ # result.each do |item|
227
225
  # # Each element is of type ::Google::Cloud::Dialogflow::V2::SessionEntityType.
228
- # p response
226
+ # p item
229
227
  # end
230
228
  #
231
229
  def list_session_entity_types request, options = nil
@@ -351,22 +351,22 @@ module Google
351
351
  # # Create a client object. The client can be reused for multiple calls.
352
352
  # client = Google::Cloud::Dialogflow::V2::Sessions::Client.new
353
353
  #
354
- # # Create an input stream
354
+ # # Create an input stream.
355
355
  # input = Gapic::StreamInput.new
356
356
  #
357
357
  # # Call the streaming_detect_intent method to start streaming.
358
358
  # output = client.streaming_detect_intent input
359
359
  #
360
- # # Send requests on the stream. For each request, pass in keyword
361
- # # arguments to set fields. Be sure to close the stream when done.
360
+ # # Send requests on the stream. For each request object, set fields by
361
+ # # passing keyword arguments. Be sure to close the stream when done.
362
362
  # input << Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest.new
363
363
  # input << Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest.new
364
364
  # input.close
365
365
  #
366
- # # Handle streamed responses. These may be interleaved with inputs.
367
- # # Each response is of type ::Google::Cloud::Dialogflow::V2::StreamingDetectIntentResponse.
368
- # output.each do |response|
369
- # p response
366
+ # # The returned object is a streamed enumerable yielding elements of type
367
+ # # ::Google::Cloud::Dialogflow::V2::StreamingDetectIntentResponse
368
+ # output.each do |current_response|
369
+ # p current_response
370
370
  # end
371
371
  #
372
372
  def streaming_detect_intent request, options = nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.21.0"
24
+ VERSION = "0.22.0"
25
25
  end
26
26
  end
27
27
  end
@@ -213,13 +213,11 @@ module Google
213
213
  # # Call the list_versions method.
214
214
  # result = client.list_versions request
215
215
  #
216
- # # The returned object is of type Gapic::PagedEnumerable. You can
217
- # # iterate over all elements by calling #each, and the enumerable
218
- # # will lazily make API calls to fetch subsequent pages. Other
219
- # # methods are also available for managing paging directly.
220
- # result.each do |response|
216
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
217
+ # # over elements, and API calls will be issued to fetch pages as needed.
218
+ # result.each do |item|
221
219
  # # Each element is of type ::Google::Cloud::Dialogflow::V2::Version.
222
- # p response
220
+ # p item
223
221
  # end
224
222
  #
225
223
  def list_versions request, options = nil
@@ -278,6 +278,9 @@ module Google
278
278
  # Max number of messages prior to and including
279
279
  # [latest_message] to use as context when compiling the
280
280
  # suggestion. By default 500 and at most 1000.
281
+ # @!attribute [rw] assist_query_params
282
+ # @return [::Google::Cloud::Dialogflow::V2::AssistQueryParameters]
283
+ # Parameters for a human assist query.
281
284
  class SuggestConversationSummaryRequest
282
285
  include ::Google::Protobuf::MessageExts
283
286
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -78,6 +78,12 @@ module Google
78
78
  # Name of the CX SecuritySettings reference for the agent.
79
79
  # Format: `projects/<Project ID>/locations/<Location
80
80
  # ID>/securitySettings/<Security Settings ID>`.
81
+ # @!attribute [rw] tts_config
82
+ # @return [::Google::Cloud::Dialogflow::V2::SynthesizeSpeechConfig]
83
+ # Configuration for Text-to-Speech synthesization.
84
+ #
85
+ # Used by Phone Gateway to specify synthesization options. If agent defines
86
+ # synthesization options as well, agent settings overrides the option here.
81
87
  class ConversationProfile
82
88
  include ::Google::Protobuf::MessageExts
83
89
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.21.0
4
+ version: 0.22.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: 2023-01-16 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.16.0
19
+ version: 0.17.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.16.0
29
+ version: 0.17.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 1.26.1
73
+ version: 1.26.3
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.26.1
80
+ version: 1.26.3
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement