google-cloud-dialogflow-v2 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +12 -8
  4. data/lib/google/cloud/dialogflow/v2/agents/client.rb +16 -12
  5. data/lib/google/cloud/dialogflow/v2/agents.rb +1 -1
  6. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +7 -0
  7. data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +2 -1
  8. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -1
  9. data/lib/google/cloud/dialogflow/v2/answer_records.rb +3 -2
  10. data/lib/google/cloud/dialogflow/v2/contexts.rb +1 -1
  11. data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +10 -5
  12. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +12 -7
  13. data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +1 -1
  14. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +10 -5
  16. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +10 -5
  17. data/lib/google/cloud/dialogflow/v2/conversation_models.rb +1 -1
  18. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +18 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +14 -7
  20. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +14 -7
  21. data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +3 -2
  22. data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +14 -6
  23. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +119 -8
  24. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +45 -0
  25. data/lib/google/cloud/dialogflow/v2/conversations.rb +3 -2
  26. data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +16 -8
  27. data/lib/google/cloud/dialogflow/v2/documents/client.rb +20 -12
  28. data/lib/google/cloud/dialogflow/v2/documents.rb +3 -2
  29. data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +2 -1
  30. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -1
  31. data/lib/google/cloud/dialogflow/v2/entity_types.rb +1 -1
  32. data/lib/google/cloud/dialogflow/v2/environments/client.rb +4 -4
  33. data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
  34. data/lib/google/cloud/dialogflow/v2/fulfillments.rb +1 -1
  35. data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +2 -1
  36. data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -1
  37. data/lib/google/cloud/dialogflow/v2/intents.rb +1 -1
  38. data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +2 -1
  39. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -1
  40. data/lib/google/cloud/dialogflow/v2/knowledge_bases.rb +3 -2
  41. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +1 -0
  42. data/lib/google/cloud/dialogflow/v2/participants/client.rb +3 -2
  43. data/lib/google/cloud/dialogflow/v2/participants.rb +1 -1
  44. data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +2 -1
  45. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -1
  46. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +3 -2
  47. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +8 -6
  48. data/lib/google/cloud/dialogflow/v2/sessions.rb +1 -1
  49. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  50. data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -2
  51. data/lib/google/cloud/dialogflow/v2/versions.rb +1 -1
  52. data/lib/google/cloud/dialogflow/v2.rb +2 -2
  53. data/proto_docs/google/api/client.rb +318 -0
  54. data/proto_docs/google/api/launch_stage.rb +71 -0
  55. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +26 -15
  56. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +34 -9
  57. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +28 -18
  58. data/proto_docs/google/cloud/dialogflow/v2/context.rb +14 -7
  59. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +99 -14
  60. data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +15 -10
  61. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +41 -14
  62. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +28 -15
  63. data/proto_docs/google/cloud/dialogflow/v2/document.rb +26 -15
  64. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +30 -15
  65. data/proto_docs/google/cloud/dialogflow/v2/environment.rb +37 -29
  66. data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +12 -7
  67. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +33 -17
  68. data/proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb +12 -6
  69. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +110 -59
  70. data/proto_docs/google/cloud/dialogflow/v2/session.rb +63 -46
  71. data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +15 -8
  72. data/proto_docs/google/cloud/dialogflow/v2/version.rb +20 -14
  73. data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +20 -13
  74. data/proto_docs/google/rpc/status.rb +4 -2
  75. metadata +7 -5
@@ -21,7 +21,8 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- # A knowledge document to be used by a {::Google::Cloud::Dialogflow::V2::KnowledgeBase KnowledgeBase}.
24
+ # A knowledge document to be used by a
25
+ # {::Google::Cloud::Dialogflow::V2::KnowledgeBase KnowledgeBase}.
25
26
  #
26
27
  # For more information, see the [knowledge base
27
28
  # guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
@@ -166,7 +167,8 @@ module Google
166
167
  end
167
168
  end
168
169
 
169
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#get_document Documents.GetDocument}.
170
+ # Request message for
171
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#get_document Documents.GetDocument}.
170
172
  # @!attribute [rw] name
171
173
  # @return [::String]
172
174
  # Required. The name of the document to retrieve.
@@ -177,7 +179,8 @@ module Google
177
179
  extend ::Google::Protobuf::MessageExts::ClassMethods
178
180
  end
179
181
 
180
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
182
+ # Request message for
183
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
181
184
  # @!attribute [rw] parent
182
185
  # @return [::String]
183
186
  # Required. The knowledge base to list all documents for.
@@ -218,7 +221,8 @@ module Google
218
221
  extend ::Google::Protobuf::MessageExts::ClassMethods
219
222
  end
220
223
 
221
- # Response message for {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
224
+ # Response message for
225
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
222
226
  # @!attribute [rw] documents
223
227
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Document>]
224
228
  # The list of documents.
@@ -231,7 +235,8 @@ module Google
231
235
  extend ::Google::Protobuf::MessageExts::ClassMethods
232
236
  end
233
237
 
234
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#create_document Documents.CreateDocument}.
238
+ # Request message for
239
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#create_document Documents.CreateDocument}.
235
240
  # @!attribute [rw] parent
236
241
  # @return [::String]
237
242
  # Required. The knowledge base to create a document for.
@@ -245,7 +250,8 @@ module Google
245
250
  extend ::Google::Protobuf::MessageExts::ClassMethods
246
251
  end
247
252
 
248
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
253
+ # Request message for
254
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
249
255
  # @!attribute [rw] parent
250
256
  # @return [::String]
251
257
  # Required. The knowledge base to import documents into.
@@ -298,7 +304,8 @@ module Google
298
304
  end
299
305
  end
300
306
 
301
- # Response message for {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
307
+ # Response message for
308
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
302
309
  # @!attribute [rw] warnings
303
310
  # @return [::Array<::Google::Rpc::Status>]
304
311
  # Includes details about skipped documents or any other warnings.
@@ -307,7 +314,8 @@ module Google
307
314
  extend ::Google::Protobuf::MessageExts::ClassMethods
308
315
  end
309
316
 
310
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#delete_document Documents.DeleteDocument}.
317
+ # Request message for
318
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#delete_document Documents.DeleteDocument}.
311
319
  # @!attribute [rw] name
312
320
  # @return [::String]
313
321
  # Required. The name of the document to delete.
@@ -318,7 +326,8 @@ module Google
318
326
  extend ::Google::Protobuf::MessageExts::ClassMethods
319
327
  end
320
328
 
321
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#update_document Documents.UpdateDocument}.
329
+ # Request message for
330
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#update_document Documents.UpdateDocument}.
322
331
  # @!attribute [rw] document
323
332
  # @return [::Google::Cloud::Dialogflow::V2::Document]
324
333
  # Required. The document to update.
@@ -332,7 +341,8 @@ module Google
332
341
  extend ::Google::Protobuf::MessageExts::ClassMethods
333
342
  end
334
343
 
335
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#reload_document Documents.ReloadDocument}.
344
+ # Request message for
345
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#reload_document Documents.ReloadDocument}.
336
346
  # @!attribute [rw] name
337
347
  # @return [::String]
338
348
  # Required. The name of the document to reload.
@@ -340,8 +350,8 @@ module Google
340
350
  # ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`
341
351
  # @!attribute [rw] content_uri
342
352
  # @return [::String]
343
- # Optional. The path of gcs source file for reloading document content. For now,
344
- # only gcs uri is supported.
353
+ # Optional. The path of gcs source file for reloading document content. For
354
+ # now, only gcs uri is supported.
345
355
  #
346
356
  # For documents stored in Google Cloud Storage, these URIs must have
347
357
  # the form `gs://<bucket-name>/<object-name>`.
@@ -351,14 +361,15 @@ module Google
351
361
  # Only valid when the document source is Google Cloud Storage URI.
352
362
  # @!attribute [rw] smart_messaging_partial_update
353
363
  # @return [::Boolean]
354
- # Optional. When enabled, the reload request is to apply partial update to the smart
355
- # messaging allowlist.
364
+ # Optional. When enabled, the reload request is to apply partial update to
365
+ # the smart messaging allowlist.
356
366
  class ReloadDocumentRequest
357
367
  include ::Google::Protobuf::MessageExts
358
368
  extend ::Google::Protobuf::MessageExts::ClassMethods
359
369
  end
360
370
 
361
- # Request message for {::Google::Cloud::Dialogflow::V2::Documents::Client#export_document Documents.ExportDocument}.
371
+ # Request message for
372
+ # {::Google::Cloud::Dialogflow::V2::Documents::Client#export_document Documents.ExportDocument}.
362
373
  # @!attribute [rw] name
363
374
  # @return [::String]
364
375
  # Required. The name of the document to export.
@@ -36,9 +36,12 @@ module Google
36
36
  # @!attribute [rw] name
37
37
  # @return [::String]
38
38
  # The unique identifier of the entity type.
39
- # Required for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType} and
40
- # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes} methods.
41
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
39
+ # Required for
40
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType}
41
+ # and
42
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}
43
+ # methods. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type
44
+ # ID>`.
42
45
  # @!attribute [rw] display_name
43
46
  # @return [::String]
44
47
  # Required. The name of the entity type.
@@ -120,7 +123,8 @@ module Google
120
123
  end
121
124
  end
122
125
 
123
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
126
+ # The request message for
127
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
124
128
  # @!attribute [rw] parent
125
129
  # @return [::String]
126
130
  # Required. The agent to list all entity types from.
@@ -144,7 +148,8 @@ module Google
144
148
  extend ::Google::Protobuf::MessageExts::ClassMethods
145
149
  end
146
150
 
147
- # The response message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
151
+ # The response message for
152
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
148
153
  # @!attribute [rw] entity_types
149
154
  # @return [::Array<::Google::Cloud::Dialogflow::V2::EntityType>]
150
155
  # The list of agent entity types. There will be a maximum number of items
@@ -158,7 +163,8 @@ module Google
158
163
  extend ::Google::Protobuf::MessageExts::ClassMethods
159
164
  end
160
165
 
161
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#get_entity_type EntityTypes.GetEntityType}.
166
+ # The request message for
167
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#get_entity_type EntityTypes.GetEntityType}.
162
168
  # @!attribute [rw] name
163
169
  # @return [::String]
164
170
  # Required. The name of the entity type.
@@ -175,7 +181,8 @@ module Google
175
181
  extend ::Google::Protobuf::MessageExts::ClassMethods
176
182
  end
177
183
 
178
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#create_entity_type EntityTypes.CreateEntityType}.
184
+ # The request message for
185
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#create_entity_type EntityTypes.CreateEntityType}.
179
186
  # @!attribute [rw] parent
180
187
  # @return [::String]
181
188
  # Required. The agent to create a entity type for.
@@ -195,7 +202,8 @@ module Google
195
202
  extend ::Google::Protobuf::MessageExts::ClassMethods
196
203
  end
197
204
 
198
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType}.
205
+ # The request message for
206
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType}.
199
207
  # @!attribute [rw] entity_type
200
208
  # @return [::Google::Cloud::Dialogflow::V2::EntityType]
201
209
  # Required. The entity type to update.
@@ -214,7 +222,8 @@ module Google
214
222
  extend ::Google::Protobuf::MessageExts::ClassMethods
215
223
  end
216
224
 
217
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#delete_entity_type EntityTypes.DeleteEntityType}.
225
+ # The request message for
226
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#delete_entity_type EntityTypes.DeleteEntityType}.
218
227
  # @!attribute [rw] name
219
228
  # @return [::String]
220
229
  # Required. The name of the entity type to delete.
@@ -224,7 +233,8 @@ module Google
224
233
  extend ::Google::Protobuf::MessageExts::ClassMethods
225
234
  end
226
235
 
227
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
236
+ # The request message for
237
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
228
238
  # @!attribute [rw] parent
229
239
  # @return [::String]
230
240
  # Required. The name of the agent to update or create entity types in.
@@ -253,7 +263,8 @@ module Google
253
263
  extend ::Google::Protobuf::MessageExts::ClassMethods
254
264
  end
255
265
 
256
- # The response message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
266
+ # The response message for
267
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
257
268
  # @!attribute [rw] entity_types
258
269
  # @return [::Array<::Google::Cloud::Dialogflow::V2::EntityType>]
259
270
  # The collection of updated or created entity types.
@@ -262,7 +273,8 @@ module Google
262
273
  extend ::Google::Protobuf::MessageExts::ClassMethods
263
274
  end
264
275
 
265
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entity_types EntityTypes.BatchDeleteEntityTypes}.
276
+ # The request message for
277
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entity_types EntityTypes.BatchDeleteEntityTypes}.
266
278
  # @!attribute [rw] parent
267
279
  # @return [::String]
268
280
  # Required. The name of the agent to delete all entities types for. Format:
@@ -276,7 +288,8 @@ module Google
276
288
  extend ::Google::Protobuf::MessageExts::ClassMethods
277
289
  end
278
290
 
279
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_create_entities EntityTypes.BatchCreateEntities}.
291
+ # The request message for
292
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_create_entities EntityTypes.BatchCreateEntities}.
280
293
  # @!attribute [rw] parent
281
294
  # @return [::String]
282
295
  # Required. The name of the entity type to create entities in. Format:
@@ -296,7 +309,8 @@ module Google
296
309
  extend ::Google::Protobuf::MessageExts::ClassMethods
297
310
  end
298
311
 
299
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entities EntityTypes.BatchUpdateEntities}.
312
+ # The request message for
313
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entities EntityTypes.BatchUpdateEntities}.
300
314
  # @!attribute [rw] parent
301
315
  # @return [::String]
302
316
  # Required. The name of the entity type to update or create entities in.
@@ -319,7 +333,8 @@ module Google
319
333
  extend ::Google::Protobuf::MessageExts::ClassMethods
320
334
  end
321
335
 
322
- # The request message for {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entities EntityTypes.BatchDeleteEntities}.
336
+ # The request message for
337
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entities EntityTypes.BatchDeleteEntities}.
323
338
  # @!attribute [rw] parent
324
339
  # @return [::String]
325
340
  # Required. The name of the entity type to delete entries for. Format:
@@ -63,12 +63,12 @@ module Google
63
63
  # ID>`
64
64
  # @!attribute [r] state
65
65
  # @return [::Google::Cloud::Dialogflow::V2::Environment::State]
66
- # Output only. The state of this environment. This field is read-only, i.e., it cannot be
67
- # set by create and update methods.
66
+ # Output only. The state of this environment. This field is read-only, i.e.,
67
+ # it cannot be set by create and update methods.
68
68
  # @!attribute [r] update_time
69
69
  # @return [::Google::Protobuf::Timestamp]
70
- # Output only. The last update time of this environment. This field is read-only, i.e., it
71
- # cannot be set by create and update methods.
70
+ # Output only. The last update time of this environment. This field is
71
+ # read-only, i.e., it cannot be set by create and update methods.
72
72
  # @!attribute [rw] text_to_speech_settings
73
73
  # @return [::Google::Cloud::Dialogflow::V2::TextToSpeechSettings]
74
74
  # Optional. Text to speech settings for this environment.
@@ -102,22 +102,22 @@ module Google
102
102
  # Instructs the speech synthesizer on how to generate the output audio content.
103
103
  # @!attribute [rw] enable_text_to_speech
104
104
  # @return [::Boolean]
105
- # Optional. Indicates whether text to speech is enabled. Even when this field is false,
106
- # other settings in this proto are still retained.
105
+ # Optional. Indicates whether text to speech is enabled. Even when this field
106
+ # is false, other settings in this proto are still retained.
107
107
  # @!attribute [rw] output_audio_encoding
108
108
  # @return [::Google::Cloud::Dialogflow::V2::OutputAudioEncoding]
109
109
  # Required. Audio encoding of the synthesized audio content.
110
110
  # @!attribute [rw] sample_rate_hertz
111
111
  # @return [::Integer]
112
- # Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
113
- # the synthesizer will use the default sample rate based on the audio
114
- # encoding. If this is different from the voice's natural sample rate, then
115
- # the synthesizer will honor this request by converting to the desired sample
116
- # rate (which might result in worse audio quality).
112
+ # Optional. The synthesis sample rate (in hertz) for this audio. If not
113
+ # provided, then the synthesizer will use the default sample rate based on
114
+ # the audio encoding. If this is different from the voice's natural sample
115
+ # rate, then the synthesizer will honor this request by converting to the
116
+ # desired sample rate (which might result in worse audio quality).
117
117
  # @!attribute [rw] synthesize_speech_configs
118
118
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::SynthesizeSpeechConfig}]
119
- # Optional. Configuration of how speech should be synthesized, mapping from language
120
- # (https://cloud.google.com/dialogflow/docs/reference/language) to
119
+ # Optional. Configuration of how speech should be synthesized, mapping from
120
+ # language (https://cloud.google.com/dialogflow/docs/reference/language) to
121
121
  # SynthesizeSpeechConfig.
122
122
  class TextToSpeechSettings
123
123
  include ::Google::Protobuf::MessageExts
@@ -133,7 +133,8 @@ module Google
133
133
  end
134
134
  end
135
135
 
136
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
136
+ # The request message for
137
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
137
138
  # @!attribute [rw] parent
138
139
  # @return [::String]
139
140
  # Required. The agent to list all environments from.
@@ -143,8 +144,8 @@ module Google
143
144
  # - `projects/<Project ID>/locations/<Location ID>/agent`
144
145
  # @!attribute [rw] page_size
145
146
  # @return [::Integer]
146
- # Optional. The maximum number of items to return in a single page. By default 100 and
147
- # at most 1000.
147
+ # Optional. The maximum number of items to return in a single page. By
148
+ # default 100 and at most 1000.
148
149
  # @!attribute [rw] page_token
149
150
  # @return [::String]
150
151
  # Optional. The next_page_token value returned from a previous list request.
@@ -153,7 +154,8 @@ module Google
153
154
  extend ::Google::Protobuf::MessageExts::ClassMethods
154
155
  end
155
156
 
156
- # The response message for {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
157
+ # The response message for
158
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
157
159
  # @!attribute [rw] environments
158
160
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Environment>]
159
161
  # The list of agent environments. There will be a maximum number of items
@@ -167,7 +169,8 @@ module Google
167
169
  extend ::Google::Protobuf::MessageExts::ClassMethods
168
170
  end
169
171
 
170
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment Environments.GetEnvironment}.
172
+ # The request message for
173
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment Environments.GetEnvironment}.
171
174
  # @!attribute [rw] name
172
175
  # @return [::String]
173
176
  # Required. The name of the environment.
@@ -183,7 +186,8 @@ module Google
183
186
  extend ::Google::Protobuf::MessageExts::ClassMethods
184
187
  end
185
188
 
186
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#create_environment Environments.CreateEnvironment}.
189
+ # The request message for
190
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#create_environment Environments.CreateEnvironment}.
187
191
  # @!attribute [rw] parent
188
192
  # @return [::String]
189
193
  # Required. The agent to create an environment for.
@@ -202,7 +206,8 @@ module Google
202
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
203
207
  end
204
208
 
205
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#update_environment Environments.UpdateEnvironment}.
209
+ # The request message for
210
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#update_environment Environments.UpdateEnvironment}.
206
211
  # @!attribute [rw] environment
207
212
  # @return [::Google::Cloud::Dialogflow::V2::Environment]
208
213
  # Required. The environment to update.
@@ -220,7 +225,8 @@ module Google
220
225
  extend ::Google::Protobuf::MessageExts::ClassMethods
221
226
  end
222
227
 
223
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#delete_environment Environments.DeleteEnvironment}.
228
+ # The request message for
229
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#delete_environment Environments.DeleteEnvironment}.
224
230
  # @!attribute [rw] name
225
231
  # @return [::String]
226
232
  # Required. The name of the environment to delete.
@@ -236,7 +242,8 @@ module Google
236
242
  extend ::Google::Protobuf::MessageExts::ClassMethods
237
243
  end
238
244
 
239
- # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment_history Environments.GetEnvironmentHistory}.
245
+ # The request message for
246
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment_history Environments.GetEnvironmentHistory}.
240
247
  # @!attribute [rw] parent
241
248
  # @return [::String]
242
249
  # Required. The name of the environment to retrieve history for.
@@ -249,8 +256,8 @@ module Google
249
256
  # The environment ID for the default environment is `-`.
250
257
  # @!attribute [rw] page_size
251
258
  # @return [::Integer]
252
- # Optional. The maximum number of items to return in a single page. By default 100 and
253
- # at most 1000.
259
+ # Optional. The maximum number of items to return in a single page. By
260
+ # default 100 and at most 1000.
254
261
  # @!attribute [rw] page_token
255
262
  # @return [::String]
256
263
  # Optional. The next_page_token value returned from a previous list request.
@@ -259,7 +266,8 @@ module Google
259
266
  extend ::Google::Protobuf::MessageExts::ClassMethods
260
267
  end
261
268
 
262
- # The response message for {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment_history Environments.GetEnvironmentHistory}.
269
+ # The response message for
270
+ # {::Google::Cloud::Dialogflow::V2::Environments::Client#get_environment_history Environments.GetEnvironmentHistory}.
263
271
  # @!attribute [r] parent
264
272
  # @return [::String]
265
273
  # Output only. The name of the environment this history is for.
@@ -272,12 +280,12 @@ module Google
272
280
  # The environment ID for the default environment is `-`.
273
281
  # @!attribute [r] entries
274
282
  # @return [::Array<::Google::Cloud::Dialogflow::V2::EnvironmentHistory::Entry>]
275
- # Output only. The list of agent environments. There will be a maximum number of items
276
- # returned based on the page_size field in the request.
283
+ # Output only. The list of agent environments. There will be a maximum number
284
+ # of items returned based on the page_size field in the request.
277
285
  # @!attribute [r] next_page_token
278
286
  # @return [::String]
279
- # Output only. Token to retrieve the next page of results, or empty if there are no
280
- # more results in the list.
287
+ # Output only. Token to retrieve the next page of results, or empty if there
288
+ # are no more results in the list.
281
289
  class EnvironmentHistory
282
290
  include ::Google::Protobuf::MessageExts
283
291
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -42,7 +42,8 @@ module Google
42
42
  # This field is not used for Fulfillment in an Environment.
43
43
  # @!attribute [rw] display_name
44
44
  # @return [::String]
45
- # Optional. The human-readable name of the fulfillment, unique within the agent.
45
+ # Optional. The human-readable name of the fulfillment, unique within the
46
+ # agent.
46
47
  #
47
48
  # This field is not used for Fulfillment in an Environment.
48
49
  # @!attribute [rw] generic_web_service
@@ -53,7 +54,8 @@ module Google
53
54
  # Optional. Whether fulfillment is enabled.
54
55
  # @!attribute [rw] features
55
56
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Fulfillment::Feature>]
56
- # Optional. The field defines whether the fulfillment is enabled for certain features.
57
+ # Optional. The field defines whether the fulfillment is enabled for certain
58
+ # features.
57
59
  class Fulfillment
58
60
  include ::Google::Protobuf::MessageExts
59
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -78,11 +80,12 @@ module Google
78
80
  # Optional. The password for HTTP Basic authentication.
79
81
  # @!attribute [rw] request_headers
80
82
  # @return [::Google::Protobuf::Map{::String => ::String}]
81
- # Optional. The HTTP request headers to send together with fulfillment requests.
83
+ # Optional. The HTTP request headers to send together with fulfillment
84
+ # requests.
82
85
  # @!attribute [rw] is_cloud_function
83
86
  # @return [::Boolean]
84
- # Optional. Indicates if generic web service is created through Cloud Functions
85
- # integration. Defaults to false.
87
+ # Optional. Indicates if generic web service is created through Cloud
88
+ # Functions integration. Defaults to false.
86
89
  #
87
90
  # is_cloud_function is deprecated. Cloud functions can be configured by
88
91
  # its uri as a regular web service now.
@@ -119,7 +122,8 @@ module Google
119
122
  end
120
123
  end
121
124
 
122
- # The request message for {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#get_fulfillment Fulfillments.GetFulfillment}.
125
+ # The request message for
126
+ # {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#get_fulfillment Fulfillments.GetFulfillment}.
123
127
  # @!attribute [rw] name
124
128
  # @return [::String]
125
129
  # Required. The name of the fulfillment.
@@ -129,7 +133,8 @@ module Google
129
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
130
134
  end
131
135
 
132
- # The request message for {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#update_fulfillment Fulfillments.UpdateFulfillment}.
136
+ # The request message for
137
+ # {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#update_fulfillment Fulfillments.UpdateFulfillment}.
133
138
  # @!attribute [rw] fulfillment
134
139
  # @return [::Google::Cloud::Dialogflow::V2::Fulfillment]
135
140
  # Required. The fulfillment to update.
@@ -33,7 +33,9 @@ module Google
33
33
  # @!attribute [rw] name
34
34
  # @return [::String]
35
35
  # Optional. The unique identifier of this intent.
36
- # Required for {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent} and {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}
36
+ # Required for
37
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent} and
38
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}
37
39
  # methods.
38
40
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
39
41
  # @!attribute [rw] display_name
@@ -125,16 +127,18 @@ module Google
125
127
  # @return [::String]
126
128
  # Read-only after creation. The unique identifier of the parent intent in the
127
129
  # chain of followup intents. You can set this field when creating an intent,
128
- # for example with {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent CreateIntent} or
129
- # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents BatchUpdateIntents}, in order to make this
130
- # intent a followup intent.
130
+ # for example with
131
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent CreateIntent} or
132
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents BatchUpdateIntents},
133
+ # in order to make this intent a followup intent.
131
134
  #
132
135
  # It identifies the parent followup intent.
133
136
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
134
137
  # @!attribute [r] followup_intent_info
135
138
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::FollowupIntentInfo>]
136
- # Output only. Read-only. Information about all followup intents that have this intent as
137
- # a direct or indirect parent. We populate this field only in the output.
139
+ # Output only. Read-only. Information about all followup intents that have
140
+ # this intent as a direct or indirect parent. We populate this field only in
141
+ # the output.
138
142
  class Intent
139
143
  include ::Google::Protobuf::MessageExts
140
144
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -158,7 +162,9 @@ module Google
158
162
  # so the training phrase is well formatted when the parts are concatenated.
159
163
  #
160
164
  # If the training phrase does not need to be annotated with parameters,
161
- # you just need a single part with only the {::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part#text Part.text} field set.
165
+ # you just need a single part with only the
166
+ # {::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part#text Part.text}
167
+ # field set.
162
168
  #
163
169
  # If you want to annotate the training phrase, you must create multiple
164
170
  # parts, where the fields of each part are populated in one of two ways:
@@ -721,7 +727,8 @@ module Google
721
727
  extend ::Google::Protobuf::MessageExts::ClassMethods
722
728
  end
723
729
 
724
- # Column properties for {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
730
+ # Column properties for
731
+ # {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
725
732
  # @!attribute [rw] header
726
733
  # @return [::String]
727
734
  # Required. Column heading.
@@ -760,7 +767,8 @@ module Google
760
767
  extend ::Google::Protobuf::MessageExts::ClassMethods
761
768
  end
762
769
 
763
- # Cell of {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow TableCardRow}.
770
+ # Cell of
771
+ # {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow TableCardRow}.
764
772
  # @!attribute [rw] text
765
773
  # @return [::String]
766
774
  # Required. Text in this cell.
@@ -834,7 +842,8 @@ module Google
834
842
  end
835
843
  end
836
844
 
837
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
845
+ # The request message for
846
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
838
847
  # @!attribute [rw] parent
839
848
  # @return [::String]
840
849
  # Required. The agent to list all intents from.
@@ -869,7 +878,8 @@ module Google
869
878
  extend ::Google::Protobuf::MessageExts::ClassMethods
870
879
  end
871
880
 
872
- # The response message for {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
881
+ # The response message for
882
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
873
883
  # @!attribute [rw] intents
874
884
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
875
885
  # The list of agent intents. There will be a maximum number of items
@@ -883,7 +893,8 @@ module Google
883
893
  extend ::Google::Protobuf::MessageExts::ClassMethods
884
894
  end
885
895
 
886
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#get_intent Intents.GetIntent}.
896
+ # The request message for
897
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#get_intent Intents.GetIntent}.
887
898
  # @!attribute [rw] name
888
899
  # @return [::String]
889
900
  # Required. The name of the intent.
@@ -903,7 +914,8 @@ module Google
903
914
  extend ::Google::Protobuf::MessageExts::ClassMethods
904
915
  end
905
916
 
906
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent Intents.CreateIntent}.
917
+ # The request message for
918
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent Intents.CreateIntent}.
907
919
  # @!attribute [rw] parent
908
920
  # @return [::String]
909
921
  # Required. The agent to create a intent for.
@@ -926,7 +938,8 @@ module Google
926
938
  extend ::Google::Protobuf::MessageExts::ClassMethods
927
939
  end
928
940
 
929
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent}.
941
+ # The request message for
942
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent}.
930
943
  # @!attribute [rw] intent
931
944
  # @return [::Google::Cloud::Dialogflow::V2::Intent]
932
945
  # Required. The intent to update.
@@ -948,7 +961,8 @@ module Google
948
961
  extend ::Google::Protobuf::MessageExts::ClassMethods
949
962
  end
950
963
 
951
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#delete_intent Intents.DeleteIntent}.
964
+ # The request message for
965
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#delete_intent Intents.DeleteIntent}.
952
966
  # @!attribute [rw] name
953
967
  # @return [::String]
954
968
  # Required. The name of the intent to delete. If this intent has direct or
@@ -989,7 +1003,8 @@ module Google
989
1003
  extend ::Google::Protobuf::MessageExts::ClassMethods
990
1004
  end
991
1005
 
992
- # The response message for {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}.
1006
+ # The response message for
1007
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}.
993
1008
  # @!attribute [rw] intents
994
1009
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
995
1010
  # The collection of updated or created intents.
@@ -998,7 +1013,8 @@ module Google
998
1013
  extend ::Google::Protobuf::MessageExts::ClassMethods
999
1014
  end
1000
1015
 
1001
- # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_delete_intents Intents.BatchDeleteIntents}.
1016
+ # The request message for
1017
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_delete_intents Intents.BatchDeleteIntents}.
1002
1018
  # @!attribute [rw] parent
1003
1019
  # @return [::String]
1004
1020
  # Required. The name of the agent to delete all entities types for. Format: