google-apis-dialogflow_v2 0.117.0 → 0.119.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +3504 -5931
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/representations.rb +279 -0
- data/lib/google/apis/dialogflow_v2/service.rb +279 -2040
- metadata +2 -2
|
@@ -52,10 +52,8 @@ module Google
|
|
|
52
52
|
@batch_path = 'batch'
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
#
|
|
55
|
+
#
|
|
56
56
|
# @param [String] parent
|
|
57
|
-
# Required. The project that the agent to delete is associated with. Format: `
|
|
58
|
-
# projects/`.
|
|
59
57
|
# @param [String] fields
|
|
60
58
|
# Selector specifying which fields to include in a partial response.
|
|
61
59
|
# @param [String] quota_user
|
|
@@ -83,10 +81,8 @@ module Google
|
|
|
83
81
|
execute_or_queue_command(command, &block)
|
|
84
82
|
end
|
|
85
83
|
|
|
86
|
-
#
|
|
84
|
+
#
|
|
87
85
|
# @param [String] parent
|
|
88
|
-
# Required. The project that the agent to fetch is associated with. Format: `
|
|
89
|
-
# projects/`.
|
|
90
86
|
# @param [String] fields
|
|
91
87
|
# Selector specifying which fields to include in a partial response.
|
|
92
88
|
# @param [String] quota_user
|
|
@@ -114,14 +110,10 @@ module Google
|
|
|
114
110
|
execute_or_queue_command(command, &block)
|
|
115
111
|
end
|
|
116
112
|
|
|
117
|
-
#
|
|
118
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
119
|
-
# google.com/dialogflow/es/docs/training).
|
|
113
|
+
#
|
|
120
114
|
# @param [String] parent
|
|
121
|
-
# Required. The project of this agent. Format: `projects/`.
|
|
122
115
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
|
123
116
|
# @param [String] update_mask
|
|
124
|
-
# Optional. The mask to control which fields get updated.
|
|
125
117
|
# @param [String] fields
|
|
126
118
|
# Selector specifying which fields to include in a partial response.
|
|
127
119
|
# @param [String] quota_user
|
|
@@ -152,15 +144,8 @@ module Google
|
|
|
152
144
|
execute_or_queue_command(command, &block)
|
|
153
145
|
end
|
|
154
146
|
|
|
155
|
-
#
|
|
156
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
157
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
158
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
159
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
|
160
|
-
# ExportAgentResponse
|
|
147
|
+
#
|
|
161
148
|
# @param [String] parent
|
|
162
|
-
# Required. The project that the agent to export is associated with. Format: `
|
|
163
|
-
# projects/`.
|
|
164
149
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportAgentRequest] google_cloud_dialogflow_v2_export_agent_request_object
|
|
165
150
|
# @param [String] fields
|
|
166
151
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -191,9 +176,8 @@ module Google
|
|
|
191
176
|
execute_or_queue_command(command, &block)
|
|
192
177
|
end
|
|
193
178
|
|
|
194
|
-
#
|
|
179
|
+
#
|
|
195
180
|
# @param [String] name
|
|
196
|
-
# Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
|
|
197
181
|
# @param [String] fields
|
|
198
182
|
# Selector specifying which fields to include in a partial response.
|
|
199
183
|
# @param [String] quota_user
|
|
@@ -221,15 +205,9 @@ module Google
|
|
|
221
205
|
execute_or_queue_command(command, &block)
|
|
222
206
|
end
|
|
223
207
|
|
|
224
|
-
#
|
|
225
|
-
# time and is updated automatically when training is completed.
|
|
208
|
+
#
|
|
226
209
|
# @param [String] parent
|
|
227
|
-
# Required. The project that the agent is associated with. Format: `projects/`.
|
|
228
210
|
# @param [String] language_code
|
|
229
|
-
# Optional. The language for which you want a validation result. If not
|
|
230
|
-
# specified, the agent's default language is used. [Many languages](https://
|
|
231
|
-
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
|
232
|
-
# languages must be enabled in the agent before they can be used.
|
|
233
211
|
# @param [String] fields
|
|
234
212
|
# Selector specifying which fields to include in a partial response.
|
|
235
213
|
# @param [String] quota_user
|
|
@@ -258,25 +236,8 @@ module Google
|
|
|
258
236
|
execute_or_queue_command(command, &block)
|
|
259
237
|
end
|
|
260
238
|
|
|
261
|
-
#
|
|
262
|
-
# types without deleting the existing ones. Intents and entity types with the
|
|
263
|
-
# same name are replaced with the new versions from ImportAgentRequest. After
|
|
264
|
-
# the import, the imported draft agent will be trained automatically (unless
|
|
265
|
-
# disabled in agent settings). However, once the import is done, training may
|
|
266
|
-
# not be completed yet. Please call TrainAgent and wait for the operation it
|
|
267
|
-
# returns in order to train explicitly. This method is a [long-running operation]
|
|
268
|
-
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
|
269
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
270
|
-
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
|
271
|
-
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
|
272
|
-
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
273
|
-
# empty) The operation only tracks when importing is complete, not when it is
|
|
274
|
-
# done training. Note: You should always train an agent prior to sending it
|
|
275
|
-
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
|
276
|
-
# es/docs/training).
|
|
239
|
+
#
|
|
277
240
|
# @param [String] parent
|
|
278
|
-
# Required. The project that the agent to import is associated with. Format: `
|
|
279
|
-
# projects/`.
|
|
280
241
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportAgentRequest] google_cloud_dialogflow_v2_import_agent_request_object
|
|
281
242
|
# @param [String] fields
|
|
282
243
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -307,24 +268,8 @@ module Google
|
|
|
307
268
|
execute_or_queue_command(command, &block)
|
|
308
269
|
end
|
|
309
270
|
|
|
310
|
-
#
|
|
311
|
-
# version with a new one. All the intents and entity types in the older version
|
|
312
|
-
# are deleted. After the restore, the restored draft agent will be trained
|
|
313
|
-
# automatically (unless disabled in agent settings). However, once the restore
|
|
314
|
-
# is done, training may not be completed yet. Please call TrainAgent and wait
|
|
315
|
-
# for the operation it returns in order to train explicitly. This method is a [
|
|
316
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
317
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
318
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
319
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
320
|
-
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
|
321
|
-
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
|
322
|
-
# complete, not when it is done training. Note: You should always train an agent
|
|
323
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
324
|
-
# google.com/dialogflow/es/docs/training).
|
|
271
|
+
#
|
|
325
272
|
# @param [String] parent
|
|
326
|
-
# Required. The project that the agent to restore is associated with. Format: `
|
|
327
|
-
# projects/`.
|
|
328
273
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RestoreAgentRequest] google_cloud_dialogflow_v2_restore_agent_request_object
|
|
329
274
|
# @param [String] fields
|
|
330
275
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -355,18 +300,10 @@ module Google
|
|
|
355
300
|
execute_or_queue_command(command, &block)
|
|
356
301
|
end
|
|
357
302
|
|
|
358
|
-
#
|
|
359
|
-
# per project, this method is useful primarily for listing all agents across
|
|
360
|
-
# projects the caller has access to. One can achieve that with a wildcard
|
|
361
|
-
# project collection id "-". Refer to [List Sub-Collections](https://cloud.
|
|
362
|
-
# google.com/apis/design/design_patterns#list_sub-collections).
|
|
303
|
+
#
|
|
363
304
|
# @param [String] parent
|
|
364
|
-
# Required. The project to list agents from. Format: `projects/`.
|
|
365
305
|
# @param [Fixnum] page_size
|
|
366
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
367
|
-
# 100 and at most 1000.
|
|
368
306
|
# @param [String] page_token
|
|
369
|
-
# The next_page_token value returned from a previous list request.
|
|
370
307
|
# @param [String] fields
|
|
371
308
|
# Selector specifying which fields to include in a partial response.
|
|
372
309
|
# @param [String] quota_user
|
|
@@ -396,17 +333,8 @@ module Google
|
|
|
396
333
|
execute_or_queue_command(command, &block)
|
|
397
334
|
end
|
|
398
335
|
|
|
399
|
-
#
|
|
400
|
-
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
|
401
|
-
# `Operation` type has the following method-specific fields: - `metadata`: An
|
|
402
|
-
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
|
403
|
-
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
|
404
|
-
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
|
405
|
-
# Note: You should always train an agent prior to sending it queries. See the [
|
|
406
|
-
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
336
|
+
#
|
|
407
337
|
# @param [String] parent
|
|
408
|
-
# Required. The project that the agent to train is associated with. Format: `
|
|
409
|
-
# projects/`.
|
|
410
338
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TrainAgentRequest] google_cloud_dialogflow_v2_train_agent_request_object
|
|
411
339
|
# @param [String] fields
|
|
412
340
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -437,15 +365,10 @@ module Google
|
|
|
437
365
|
execute_or_queue_command(command, &block)
|
|
438
366
|
end
|
|
439
367
|
|
|
440
|
-
#
|
|
368
|
+
#
|
|
441
369
|
# @param [String] name
|
|
442
|
-
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
|
443
|
-
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
|
444
|
-
# field is not used for Fulfillment in an Environment.
|
|
445
370
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment] google_cloud_dialogflow_v2_fulfillment_object
|
|
446
371
|
# @param [String] update_mask
|
|
447
|
-
# Required. The mask to control which fields get updated. If the mask is not
|
|
448
|
-
# present, all fields will be updated.
|
|
449
372
|
# @param [String] fields
|
|
450
373
|
# Selector specifying which fields to include in a partial response.
|
|
451
374
|
# @param [String] quota_user
|
|
@@ -476,18 +399,8 @@ module Google
|
|
|
476
399
|
execute_or_queue_command(command, &block)
|
|
477
400
|
end
|
|
478
401
|
|
|
479
|
-
#
|
|
480
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
481
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
482
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
483
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
484
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
485
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
486
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
487
|
-
# dialogflow/es/docs/training).
|
|
402
|
+
#
|
|
488
403
|
# @param [String] parent
|
|
489
|
-
# Required. The name of the agent to delete all entities types for. Format: `
|
|
490
|
-
# projects//agent`.
|
|
491
404
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2_batch_delete_entity_types_request_object
|
|
492
405
|
# @param [String] fields
|
|
493
406
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -518,17 +431,8 @@ module Google
|
|
|
518
431
|
execute_or_queue_command(command, &block)
|
|
519
432
|
end
|
|
520
433
|
|
|
521
|
-
#
|
|
522
|
-
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
523
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
524
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
525
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
526
|
-
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
|
527
|
-
# to sending it queries. See the [training documentation](https://cloud.google.
|
|
528
|
-
# com/dialogflow/es/docs/training).
|
|
434
|
+
#
|
|
529
435
|
# @param [String] parent
|
|
530
|
-
# Required. The name of the agent to update or create entity types in. Format: `
|
|
531
|
-
# projects//agent`.
|
|
532
436
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2_batch_update_entity_types_request_object
|
|
533
437
|
# @param [String] fields
|
|
534
438
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -559,17 +463,10 @@ module Google
|
|
|
559
463
|
execute_or_queue_command(command, &block)
|
|
560
464
|
end
|
|
561
465
|
|
|
562
|
-
#
|
|
563
|
-
# an agent prior to sending it queries. See the [training documentation](https://
|
|
564
|
-
# cloud.google.com/dialogflow/es/docs/training).
|
|
466
|
+
#
|
|
565
467
|
# @param [String] parent
|
|
566
|
-
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
|
567
468
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
|
568
469
|
# @param [String] language_code
|
|
569
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
570
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
571
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
572
|
-
# multilingual#intent-entity).
|
|
573
470
|
# @param [String] fields
|
|
574
471
|
# Selector specifying which fields to include in a partial response.
|
|
575
472
|
# @param [String] quota_user
|
|
@@ -600,12 +497,8 @@ module Google
|
|
|
600
497
|
execute_or_queue_command(command, &block)
|
|
601
498
|
end
|
|
602
499
|
|
|
603
|
-
#
|
|
604
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
605
|
-
# google.com/dialogflow/es/docs/training).
|
|
500
|
+
#
|
|
606
501
|
# @param [String] name
|
|
607
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
608
|
-
# entityTypes/`.
|
|
609
502
|
# @param [String] fields
|
|
610
503
|
# Selector specifying which fields to include in a partial response.
|
|
611
504
|
# @param [String] quota_user
|
|
@@ -633,14 +526,9 @@ module Google
|
|
|
633
526
|
execute_or_queue_command(command, &block)
|
|
634
527
|
end
|
|
635
528
|
|
|
636
|
-
#
|
|
529
|
+
#
|
|
637
530
|
# @param [String] name
|
|
638
|
-
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
|
639
531
|
# @param [String] language_code
|
|
640
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
641
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
642
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
643
|
-
# multilingual#intent-entity).
|
|
644
532
|
# @param [String] fields
|
|
645
533
|
# Selector specifying which fields to include in a partial response.
|
|
646
534
|
# @param [String] quota_user
|
|
@@ -669,19 +557,11 @@ module Google
|
|
|
669
557
|
execute_or_queue_command(command, &block)
|
|
670
558
|
end
|
|
671
559
|
|
|
672
|
-
#
|
|
560
|
+
#
|
|
673
561
|
# @param [String] parent
|
|
674
|
-
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
|
675
562
|
# @param [String] language_code
|
|
676
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
677
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
678
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
679
|
-
# multilingual#intent-entity).
|
|
680
563
|
# @param [Fixnum] page_size
|
|
681
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
682
|
-
# 100 and at most 1000.
|
|
683
564
|
# @param [String] page_token
|
|
684
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
685
565
|
# @param [String] fields
|
|
686
566
|
# Selector specifying which fields to include in a partial response.
|
|
687
567
|
# @param [String] quota_user
|
|
@@ -712,21 +592,11 @@ module Google
|
|
|
712
592
|
execute_or_queue_command(command, &block)
|
|
713
593
|
end
|
|
714
594
|
|
|
715
|
-
#
|
|
716
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
717
|
-
# google.com/dialogflow/es/docs/training).
|
|
595
|
+
#
|
|
718
596
|
# @param [String] name
|
|
719
|
-
# The unique identifier of the entity type. Required for EntityTypes.
|
|
720
|
-
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
|
721
|
-
# projects//agent/entityTypes/`.
|
|
722
597
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
|
723
598
|
# @param [String] language_code
|
|
724
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
725
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
726
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
727
|
-
# multilingual#intent-entity).
|
|
728
599
|
# @param [String] update_mask
|
|
729
|
-
# Optional. The mask to control which fields get updated.
|
|
730
600
|
# @param [String] fields
|
|
731
601
|
# Selector specifying which fields to include in a partial response.
|
|
732
602
|
# @param [String] quota_user
|
|
@@ -758,18 +628,8 @@ module Google
|
|
|
758
628
|
execute_or_queue_command(command, &block)
|
|
759
629
|
end
|
|
760
630
|
|
|
761
|
-
#
|
|
762
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
763
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
764
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
765
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
766
|
-
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
|
767
|
-
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
|
768
|
-
# to sending it queries. See the [training documentation](https://cloud.google.
|
|
769
|
-
# com/dialogflow/es/docs/training).
|
|
631
|
+
#
|
|
770
632
|
# @param [String] parent
|
|
771
|
-
# Required. The name of the entity type to create entities in. Format: `projects/
|
|
772
|
-
# /agent/entityTypes/`.
|
|
773
633
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchCreateEntitiesRequest] google_cloud_dialogflow_v2_batch_create_entities_request_object
|
|
774
634
|
# @param [String] fields
|
|
775
635
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -800,18 +660,8 @@ module Google
|
|
|
800
660
|
execute_or_queue_command(command, &block)
|
|
801
661
|
end
|
|
802
662
|
|
|
803
|
-
#
|
|
804
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
805
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
806
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
807
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
808
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
809
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
810
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
811
|
-
# dialogflow/es/docs/training).
|
|
663
|
+
#
|
|
812
664
|
# @param [String] parent
|
|
813
|
-
# Required. The name of the entity type to delete entries for. Format: `projects/
|
|
814
|
-
# /agent/entityTypes/`.
|
|
815
665
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2_batch_delete_entities_request_object
|
|
816
666
|
# @param [String] fields
|
|
817
667
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -842,19 +692,8 @@ module Google
|
|
|
842
692
|
execute_or_queue_command(command, &block)
|
|
843
693
|
end
|
|
844
694
|
|
|
845
|
-
#
|
|
846
|
-
# does not affect entities in the entity type that aren't explicitly specified
|
|
847
|
-
# in the request. This method is a [long-running operation](https://cloud.google.
|
|
848
|
-
# com/dialogflow/es/docs/how/long-running-operations). The returned `Operation`
|
|
849
|
-
# type has the following method-specific fields: - `metadata`: An empty [Struct
|
|
850
|
-
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
851
|
-
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
|
852
|
-
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
|
853
|
-
# always train an agent prior to sending it queries. See the [training
|
|
854
|
-
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
695
|
+
#
|
|
855
696
|
# @param [String] parent
|
|
856
|
-
# Required. The name of the entity type to update or create entities in. Format:
|
|
857
|
-
# `projects//agent/entityTypes/`.
|
|
858
697
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object
|
|
859
698
|
# @param [String] fields
|
|
860
699
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -885,13 +724,10 @@ module Google
|
|
|
885
724
|
execute_or_queue_command(command, &block)
|
|
886
725
|
end
|
|
887
726
|
|
|
888
|
-
#
|
|
727
|
+
#
|
|
889
728
|
# @param [String] parent
|
|
890
|
-
# Required. The agent to create an environment for. Supported formats: - `
|
|
891
|
-
# projects//agent` - `projects//locations//agent`
|
|
892
729
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
|
893
730
|
# @param [String] environment_id
|
|
894
|
-
# Required. The unique id of the new environment.
|
|
895
731
|
# @param [String] fields
|
|
896
732
|
# Selector specifying which fields to include in a partial response.
|
|
897
733
|
# @param [String] quota_user
|
|
@@ -922,11 +758,8 @@ module Google
|
|
|
922
758
|
execute_or_queue_command(command, &block)
|
|
923
759
|
end
|
|
924
760
|
|
|
925
|
-
#
|
|
761
|
+
#
|
|
926
762
|
# @param [String] name
|
|
927
|
-
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
|
928
|
-
# environments/` - `projects//locations//agent/environments/` The environment ID
|
|
929
|
-
# for the default environment is `-`.
|
|
930
763
|
# @param [String] fields
|
|
931
764
|
# Selector specifying which fields to include in a partial response.
|
|
932
765
|
# @param [String] quota_user
|
|
@@ -954,11 +787,8 @@ module Google
|
|
|
954
787
|
execute_or_queue_command(command, &block)
|
|
955
788
|
end
|
|
956
789
|
|
|
957
|
-
#
|
|
790
|
+
#
|
|
958
791
|
# @param [String] name
|
|
959
|
-
# Required. The name of the environment. Supported formats: - `projects//agent/
|
|
960
|
-
# environments/` - `projects//locations//agent/environments/` The environment ID
|
|
961
|
-
# for the default environment is `-`.
|
|
962
792
|
# @param [String] fields
|
|
963
793
|
# Selector specifying which fields to include in a partial response.
|
|
964
794
|
# @param [String] quota_user
|
|
@@ -986,16 +816,10 @@ module Google
|
|
|
986
816
|
execute_or_queue_command(command, &block)
|
|
987
817
|
end
|
|
988
818
|
|
|
989
|
-
#
|
|
819
|
+
#
|
|
990
820
|
# @param [String] parent
|
|
991
|
-
# Required. The name of the environment to retrieve history for. Supported
|
|
992
|
-
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
|
993
|
-
# environments/` The environment ID for the default environment is `-`.
|
|
994
821
|
# @param [Fixnum] page_size
|
|
995
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
996
|
-
# 100 and at most 1000.
|
|
997
822
|
# @param [String] page_token
|
|
998
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
999
823
|
# @param [String] fields
|
|
1000
824
|
# Selector specifying which fields to include in a partial response.
|
|
1001
825
|
# @param [String] quota_user
|
|
@@ -1025,15 +849,10 @@ module Google
|
|
|
1025
849
|
execute_or_queue_command(command, &block)
|
|
1026
850
|
end
|
|
1027
851
|
|
|
1028
|
-
#
|
|
852
|
+
#
|
|
1029
853
|
# @param [String] parent
|
|
1030
|
-
# Required. The agent to list all environments from. Format: - `projects//agent`
|
|
1031
|
-
# - `projects//locations//agent`
|
|
1032
854
|
# @param [Fixnum] page_size
|
|
1033
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
1034
|
-
# 100 and at most 1000.
|
|
1035
855
|
# @param [String] page_token
|
|
1036
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
1037
856
|
# @param [String] fields
|
|
1038
857
|
# Selector specifying which fields to include in a partial response.
|
|
1039
858
|
# @param [String] quota_user
|
|
@@ -1063,28 +882,11 @@ module Google
|
|
|
1063
882
|
execute_or_queue_command(command, &block)
|
|
1064
883
|
end
|
|
1065
884
|
|
|
1066
|
-
#
|
|
1067
|
-
# agent versions into the environment. When an environment is pointed to a new
|
|
1068
|
-
# agent version by setting `environment.agent_version`, the environment is
|
|
1069
|
-
# temporarily set to the `LOADING` state. During that time, the environment
|
|
1070
|
-
# continues serving the previous version of the agent. After the new agent
|
|
1071
|
-
# version is done loading, the environment is set back to the `RUNNING` state.
|
|
1072
|
-
# You can use "-" as Environment ID in environment name to update an agent
|
|
1073
|
-
# version in the default environment. WARNING: this will negate all recent
|
|
1074
|
-
# changes to the draft agent and can't be undone. You may want to save the draft
|
|
1075
|
-
# agent to a version before calling this method.
|
|
885
|
+
#
|
|
1076
886
|
# @param [String] name
|
|
1077
|
-
# Output only. The unique identifier of this agent environment. Supported
|
|
1078
|
-
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
|
1079
|
-
# environments/` The environment ID for the default environment is `-`.
|
|
1080
887
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
|
1081
888
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
|
1082
|
-
# Optional. This field is used to prevent accidental overwrite of the default
|
|
1083
|
-
# environment, which is an operation that cannot be undone. To confirm that the
|
|
1084
|
-
# caller desires this overwrite, this field must be explicitly set to true when
|
|
1085
|
-
# updating the default environment (environment ID = `-`).
|
|
1086
889
|
# @param [String] update_mask
|
|
1087
|
-
# Required. The mask to control which fields get updated.
|
|
1088
890
|
# @param [String] fields
|
|
1089
891
|
# Selector specifying which fields to include in a partial response.
|
|
1090
892
|
# @param [String] quota_user
|
|
@@ -1116,25 +918,12 @@ module Google
|
|
|
1116
918
|
execute_or_queue_command(command, &block)
|
|
1117
919
|
end
|
|
1118
920
|
|
|
1119
|
-
#
|
|
921
|
+
#
|
|
1120
922
|
# @param [String] parent
|
|
1121
|
-
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
|
1122
|
-
# projects//locations//agent`. Alternatively, you can specify the environment to
|
|
1123
|
-
# list intents for. Format: `projects//agent/environments/` or `projects//
|
|
1124
|
-
# locations//agent/environments/`. Note: training phrases of the intents will
|
|
1125
|
-
# not be returned for non-draft environment.
|
|
1126
923
|
# @param [String] intent_view
|
|
1127
|
-
# Optional. The resource view to apply to the returned intent.
|
|
1128
924
|
# @param [String] language_code
|
|
1129
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
1130
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
1131
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
1132
|
-
# multilingual#intent-entity).
|
|
1133
925
|
# @param [Fixnum] page_size
|
|
1134
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
1135
|
-
# 100 and at most 1000.
|
|
1136
926
|
# @param [String] page_token
|
|
1137
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
1138
927
|
# @param [String] fields
|
|
1139
928
|
# Selector specifying which fields to include in a partial response.
|
|
1140
929
|
# @param [String] quota_user
|
|
@@ -1166,12 +955,8 @@ module Google
|
|
|
1166
955
|
execute_or_queue_command(command, &block)
|
|
1167
956
|
end
|
|
1168
957
|
|
|
1169
|
-
#
|
|
958
|
+
#
|
|
1170
959
|
# @param [String] parent
|
|
1171
|
-
# Required. The name of the session to delete all contexts from. Format: `
|
|
1172
|
-
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
|
1173
|
-
# If `Environment ID` is not specified we assume default 'draft' environment.
|
|
1174
|
-
# If `User ID` is not specified, we assume default '-' user.
|
|
1175
960
|
# @param [String] fields
|
|
1176
961
|
# Selector specifying which fields to include in a partial response.
|
|
1177
962
|
# @param [String] quota_user
|
|
@@ -1199,28 +984,8 @@ module Google
|
|
|
1199
984
|
execute_or_queue_command(command, &block)
|
|
1200
985
|
end
|
|
1201
986
|
|
|
1202
|
-
#
|
|
1203
|
-
# a result. This method is not idempotent, because it may cause contexts and
|
|
1204
|
-
# session entity types to be updated, which in turn might affect results of
|
|
1205
|
-
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
|
1206
|
-
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
|
1207
|
-
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
|
1208
|
-
# additional functionality for Agent Assist and other CCAI products. Note:
|
|
1209
|
-
# Always use agent versions for production traffic. See [Versions and
|
|
1210
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
987
|
+
#
|
|
1211
988
|
# @param [String] session
|
|
1212
|
-
# Required. The name of the session this query is sent to. Format: `projects//
|
|
1213
|
-
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
1214
|
-
# Environment ID` is not specified, we assume default 'draft' environment (`
|
|
1215
|
-
# Environment ID` might be referred to as environment name at some places). If `
|
|
1216
|
-
# User ID` is not specified, we are using "-". It's up to the API caller to
|
|
1217
|
-
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
|
1218
|
-
# or some type of user and session identifiers (preferably hashed). The length
|
|
1219
|
-
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
1220
|
-
# information, see the [API interactions guide](https://cloud.google.com/
|
|
1221
|
-
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
1222
|
-
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
1223
|
-
# es/docs/agents-versions).
|
|
1224
989
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
1225
990
|
# @param [String] fields
|
|
1226
991
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1251,13 +1016,8 @@ module Google
|
|
|
1251
1016
|
execute_or_queue_command(command, &block)
|
|
1252
1017
|
end
|
|
1253
1018
|
|
|
1254
|
-
#
|
|
1255
|
-
# context.
|
|
1019
|
+
#
|
|
1256
1020
|
# @param [String] parent
|
|
1257
|
-
# Required. The session to create a context for. Format: `projects//agent/
|
|
1258
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
1259
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1260
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1261
1021
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
1262
1022
|
# @param [String] fields
|
|
1263
1023
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1288,12 +1048,8 @@ module Google
|
|
|
1288
1048
|
execute_or_queue_command(command, &block)
|
|
1289
1049
|
end
|
|
1290
1050
|
|
|
1291
|
-
#
|
|
1051
|
+
#
|
|
1292
1052
|
# @param [String] name
|
|
1293
|
-
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
|
1294
|
-
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
1295
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1296
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1297
1053
|
# @param [String] fields
|
|
1298
1054
|
# Selector specifying which fields to include in a partial response.
|
|
1299
1055
|
# @param [String] quota_user
|
|
@@ -1321,12 +1077,8 @@ module Google
|
|
|
1321
1077
|
execute_or_queue_command(command, &block)
|
|
1322
1078
|
end
|
|
1323
1079
|
|
|
1324
|
-
#
|
|
1080
|
+
#
|
|
1325
1081
|
# @param [String] name
|
|
1326
|
-
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
|
1327
|
-
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
1328
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1329
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1330
1082
|
# @param [String] fields
|
|
1331
1083
|
# Selector specifying which fields to include in a partial response.
|
|
1332
1084
|
# @param [String] quota_user
|
|
@@ -1354,17 +1106,10 @@ module Google
|
|
|
1354
1106
|
execute_or_queue_command(command, &block)
|
|
1355
1107
|
end
|
|
1356
1108
|
|
|
1357
|
-
#
|
|
1109
|
+
#
|
|
1358
1110
|
# @param [String] parent
|
|
1359
|
-
# Required. The session to list all contexts from. Format: `projects//agent/
|
|
1360
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
1361
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1362
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1363
1111
|
# @param [Fixnum] page_size
|
|
1364
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
1365
|
-
# 100 and at most 1000.
|
|
1366
1112
|
# @param [String] page_token
|
|
1367
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
1368
1113
|
# @param [String] fields
|
|
1369
1114
|
# Selector specifying which fields to include in a partial response.
|
|
1370
1115
|
# @param [String] quota_user
|
|
@@ -1394,20 +1139,10 @@ module Google
|
|
|
1394
1139
|
execute_or_queue_command(command, &block)
|
|
1395
1140
|
end
|
|
1396
1141
|
|
|
1397
|
-
#
|
|
1142
|
+
#
|
|
1398
1143
|
# @param [String] name
|
|
1399
|
-
# Required. The unique identifier of the context. Format: `projects//agent/
|
|
1400
|
-
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
|
1401
|
-
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
|
1402
|
-
# contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
|
|
1403
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1404
|
-
# User ID` is not specified, we assume default '-' user. The following context
|
|
1405
|
-
# names are reserved for internal use by Dialogflow. You should not use these
|
|
1406
|
-
# contexts or create contexts with these names: * `__system_counters__` * `*
|
|
1407
|
-
# _id_dialog_context` * `*_dialog_params_size`
|
|
1408
1144
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
1409
1145
|
# @param [String] update_mask
|
|
1410
|
-
# Optional. The mask to control which fields get updated.
|
|
1411
1146
|
# @param [String] fields
|
|
1412
1147
|
# Selector specifying which fields to include in a partial response.
|
|
1413
1148
|
# @param [String] quota_user
|
|
@@ -1438,15 +1173,8 @@ module Google
|
|
|
1438
1173
|
execute_or_queue_command(command, &block)
|
|
1439
1174
|
end
|
|
1440
1175
|
|
|
1441
|
-
#
|
|
1442
|
-
# exists, overrides the session entity type. This method doesn't work with
|
|
1443
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
1444
|
-
# session entities with Google Assistant integration.
|
|
1176
|
+
#
|
|
1445
1177
|
# @param [String] parent
|
|
1446
|
-
# Required. The session to create a session entity type for. Format: `projects//
|
|
1447
|
-
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
1448
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1449
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1450
1178
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
1451
1179
|
# @param [String] fields
|
|
1452
1180
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1477,14 +1205,8 @@ module Google
|
|
|
1477
1205
|
execute_or_queue_command(command, &block)
|
|
1478
1206
|
end
|
|
1479
1207
|
|
|
1480
|
-
#
|
|
1481
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
1482
|
-
# session entities with Google Assistant integration.
|
|
1208
|
+
#
|
|
1483
1209
|
# @param [String] name
|
|
1484
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
1485
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
1486
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
1487
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
1488
1210
|
# @param [String] fields
|
|
1489
1211
|
# Selector specifying which fields to include in a partial response.
|
|
1490
1212
|
# @param [String] quota_user
|
|
@@ -1512,14 +1234,8 @@ module Google
|
|
|
1512
1234
|
execute_or_queue_command(command, &block)
|
|
1513
1235
|
end
|
|
1514
1236
|
|
|
1515
|
-
#
|
|
1516
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
1517
|
-
# session entities with Google Assistant integration.
|
|
1237
|
+
#
|
|
1518
1238
|
# @param [String] name
|
|
1519
|
-
# Required. The name of the session entity type. Format: `projects//agent/
|
|
1520
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
1521
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
1522
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
1523
1239
|
# @param [String] fields
|
|
1524
1240
|
# Selector specifying which fields to include in a partial response.
|
|
1525
1241
|
# @param [String] quota_user
|
|
@@ -1547,19 +1263,10 @@ module Google
|
|
|
1547
1263
|
execute_or_queue_command(command, &block)
|
|
1548
1264
|
end
|
|
1549
1265
|
|
|
1550
|
-
#
|
|
1551
|
-
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
|
1552
|
-
# support if you need to use session entities with Google Assistant integration.
|
|
1266
|
+
#
|
|
1553
1267
|
# @param [String] parent
|
|
1554
|
-
# Required. The session to list all session entity types from. Format: `projects/
|
|
1555
|
-
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
1556
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
1557
|
-
# User ID` is not specified, we assume default '-' user.
|
|
1558
1268
|
# @param [Fixnum] page_size
|
|
1559
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
1560
|
-
# 100 and at most 1000.
|
|
1561
1269
|
# @param [String] page_token
|
|
1562
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
1563
1270
|
# @param [String] fields
|
|
1564
1271
|
# Selector specifying which fields to include in a partial response.
|
|
1565
1272
|
# @param [String] quota_user
|
|
@@ -1589,19 +1296,10 @@ module Google
|
|
|
1589
1296
|
execute_or_queue_command(command, &block)
|
|
1590
1297
|
end
|
|
1591
1298
|
|
|
1592
|
-
#
|
|
1593
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
1594
|
-
# session entities with Google Assistant integration.
|
|
1299
|
+
#
|
|
1595
1300
|
# @param [String] name
|
|
1596
|
-
# Required. The unique identifier of this session entity type. Format: `projects/
|
|
1597
|
-
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
|
1598
|
-
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
|
1599
|
-
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
|
1600
|
-
# -' user. `` must be the display name of an existing entity type in the same
|
|
1601
|
-
# agent that will be overridden or supplemented.
|
|
1602
1301
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
1603
1302
|
# @param [String] update_mask
|
|
1604
|
-
# Optional. The mask to control which fields get updated.
|
|
1605
1303
|
# @param [String] fields
|
|
1606
1304
|
# Selector specifying which fields to include in a partial response.
|
|
1607
1305
|
# @param [String] quota_user
|
|
@@ -1632,18 +1330,8 @@ module Google
|
|
|
1632
1330
|
execute_or_queue_command(command, &block)
|
|
1633
1331
|
end
|
|
1634
1332
|
|
|
1635
|
-
#
|
|
1636
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
1637
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
1638
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
1639
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
1640
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
1641
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
1642
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
1643
|
-
# dialogflow/es/docs/training).
|
|
1333
|
+
#
|
|
1644
1334
|
# @param [String] parent
|
|
1645
|
-
# Required. The name of the agent to delete all entities types for. Format: `
|
|
1646
|
-
# projects//agent`.
|
|
1647
1335
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteIntentsRequest] google_cloud_dialogflow_v2_batch_delete_intents_request_object
|
|
1648
1336
|
# @param [String] fields
|
|
1649
1337
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1674,17 +1362,8 @@ module Google
|
|
|
1674
1362
|
execute_or_queue_command(command, &block)
|
|
1675
1363
|
end
|
|
1676
1364
|
|
|
1677
|
-
#
|
|
1678
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
1679
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
1680
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
1681
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
1682
|
-
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
|
1683
|
-
# sending it queries. See the [training documentation](https://cloud.google.com/
|
|
1684
|
-
# dialogflow/es/docs/training).
|
|
1365
|
+
#
|
|
1685
1366
|
# @param [String] parent
|
|
1686
|
-
# Required. The name of the agent to update or create intents in. Format: `
|
|
1687
|
-
# projects//agent`.
|
|
1688
1367
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateIntentsRequest] google_cloud_dialogflow_v2_batch_update_intents_request_object
|
|
1689
1368
|
# @param [String] fields
|
|
1690
1369
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1715,19 +1394,11 @@ module Google
|
|
|
1715
1394
|
execute_or_queue_command(command, &block)
|
|
1716
1395
|
end
|
|
1717
1396
|
|
|
1718
|
-
#
|
|
1719
|
-
# agent prior to sending it queries. See the [training documentation](https://
|
|
1720
|
-
# cloud.google.com/dialogflow/es/docs/training).
|
|
1397
|
+
#
|
|
1721
1398
|
# @param [String] parent
|
|
1722
|
-
# Required. The agent to create a intent for. Format: `projects//agent`.
|
|
1723
1399
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
|
1724
1400
|
# @param [String] intent_view
|
|
1725
|
-
# Optional. The resource view to apply to the returned intent.
|
|
1726
1401
|
# @param [String] language_code
|
|
1727
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
1728
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
1729
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
1730
|
-
# multilingual#intent-entity).
|
|
1731
1402
|
# @param [String] fields
|
|
1732
1403
|
# Selector specifying which fields to include in a partial response.
|
|
1733
1404
|
# @param [String] quota_user
|
|
@@ -1759,13 +1430,8 @@ module Google
|
|
|
1759
1430
|
execute_or_queue_command(command, &block)
|
|
1760
1431
|
end
|
|
1761
1432
|
|
|
1762
|
-
#
|
|
1763
|
-
# You should always train an agent prior to sending it queries. See the [
|
|
1764
|
-
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
1433
|
+
#
|
|
1765
1434
|
# @param [String] name
|
|
1766
|
-
# Required. The name of the intent to delete. If this intent has direct or
|
|
1767
|
-
# indirect followup intents, we also delete them. Format: `projects//agent/
|
|
1768
|
-
# intents/`.
|
|
1769
1435
|
# @param [String] fields
|
|
1770
1436
|
# Selector specifying which fields to include in a partial response.
|
|
1771
1437
|
# @param [String] quota_user
|
|
@@ -1793,16 +1459,10 @@ module Google
|
|
|
1793
1459
|
execute_or_queue_command(command, &block)
|
|
1794
1460
|
end
|
|
1795
1461
|
|
|
1796
|
-
#
|
|
1462
|
+
#
|
|
1797
1463
|
# @param [String] name
|
|
1798
|
-
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
|
1799
1464
|
# @param [String] intent_view
|
|
1800
|
-
# Optional. The resource view to apply to the returned intent.
|
|
1801
1465
|
# @param [String] language_code
|
|
1802
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
1803
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
1804
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
1805
|
-
# multilingual#intent-entity).
|
|
1806
1466
|
# @param [String] fields
|
|
1807
1467
|
# Selector specifying which fields to include in a partial response.
|
|
1808
1468
|
# @param [String] quota_user
|
|
@@ -1832,25 +1492,12 @@ module Google
|
|
|
1832
1492
|
execute_or_queue_command(command, &block)
|
|
1833
1493
|
end
|
|
1834
1494
|
|
|
1835
|
-
#
|
|
1495
|
+
#
|
|
1836
1496
|
# @param [String] parent
|
|
1837
|
-
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
|
1838
|
-
# projects//locations//agent`. Alternatively, you can specify the environment to
|
|
1839
|
-
# list intents for. Format: `projects//agent/environments/` or `projects//
|
|
1840
|
-
# locations//agent/environments/`. Note: training phrases of the intents will
|
|
1841
|
-
# not be returned for non-draft environment.
|
|
1842
1497
|
# @param [String] intent_view
|
|
1843
|
-
# Optional. The resource view to apply to the returned intent.
|
|
1844
1498
|
# @param [String] language_code
|
|
1845
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
1846
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
1847
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
1848
|
-
# multilingual#intent-entity).
|
|
1849
1499
|
# @param [Fixnum] page_size
|
|
1850
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
1851
|
-
# 100 and at most 1000.
|
|
1852
1500
|
# @param [String] page_token
|
|
1853
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
1854
1501
|
# @param [String] fields
|
|
1855
1502
|
# Selector specifying which fields to include in a partial response.
|
|
1856
1503
|
# @param [String] quota_user
|
|
@@ -1882,23 +1529,12 @@ module Google
|
|
|
1882
1529
|
execute_or_queue_command(command, &block)
|
|
1883
1530
|
end
|
|
1884
1531
|
|
|
1885
|
-
#
|
|
1886
|
-
# sending it queries. See the [training documentation](https://cloud.google.com/
|
|
1887
|
-
# dialogflow/es/docs/training).
|
|
1532
|
+
#
|
|
1888
1533
|
# @param [String] name
|
|
1889
|
-
# Optional. The unique identifier of this intent. Required for Intents.
|
|
1890
|
-
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
|
1891
|
-
# intents/`.
|
|
1892
1534
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
|
1893
1535
|
# @param [String] intent_view
|
|
1894
|
-
# Optional. The resource view to apply to the returned intent.
|
|
1895
1536
|
# @param [String] language_code
|
|
1896
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
1897
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
1898
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
1899
|
-
# multilingual#intent-entity).
|
|
1900
1537
|
# @param [String] update_mask
|
|
1901
|
-
# Optional. The mask to control which fields get updated.
|
|
1902
1538
|
# @param [String] fields
|
|
1903
1539
|
# Selector specifying which fields to include in a partial response.
|
|
1904
1540
|
# @param [String] quota_user
|
|
@@ -1931,10 +1567,8 @@ module Google
|
|
|
1931
1567
|
execute_or_queue_command(command, &block)
|
|
1932
1568
|
end
|
|
1933
1569
|
|
|
1934
|
-
#
|
|
1570
|
+
#
|
|
1935
1571
|
# @param [String] parent
|
|
1936
|
-
# Required. The project to create a knowledge base for. Format: `projects//
|
|
1937
|
-
# locations/`.
|
|
1938
1572
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
1939
1573
|
# @param [String] fields
|
|
1940
1574
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1965,13 +1599,9 @@ module Google
|
|
|
1965
1599
|
execute_or_queue_command(command, &block)
|
|
1966
1600
|
end
|
|
1967
1601
|
|
|
1968
|
-
#
|
|
1602
|
+
#
|
|
1969
1603
|
# @param [String] name
|
|
1970
|
-
# Required. The name of the knowledge base to delete. Format: `projects//
|
|
1971
|
-
# locations//knowledgeBases/`.
|
|
1972
1604
|
# @param [Boolean] force
|
|
1973
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
|
1974
|
-
# the knowledge base are also deleted.
|
|
1975
1605
|
# @param [String] fields
|
|
1976
1606
|
# Selector specifying which fields to include in a partial response.
|
|
1977
1607
|
# @param [String] quota_user
|
|
@@ -2000,10 +1630,8 @@ module Google
|
|
|
2000
1630
|
execute_or_queue_command(command, &block)
|
|
2001
1631
|
end
|
|
2002
1632
|
|
|
2003
|
-
#
|
|
1633
|
+
#
|
|
2004
1634
|
# @param [String] name
|
|
2005
|
-
# Required. The name of the knowledge base to retrieve. Format `projects//
|
|
2006
|
-
# locations//knowledgeBases/`.
|
|
2007
1635
|
# @param [String] fields
|
|
2008
1636
|
# Selector specifying which fields to include in a partial response.
|
|
2009
1637
|
# @param [String] quota_user
|
|
@@ -2031,28 +1659,11 @@ module Google
|
|
|
2031
1659
|
execute_or_queue_command(command, &block)
|
|
2032
1660
|
end
|
|
2033
1661
|
|
|
2034
|
-
#
|
|
1662
|
+
#
|
|
2035
1663
|
# @param [String] parent
|
|
2036
|
-
# Required. The project to list of knowledge bases for. Format: `projects//
|
|
2037
|
-
# locations/`.
|
|
2038
1664
|
# @param [String] filter
|
|
2039
|
-
# The filter expression used to filter knowledge bases returned by the list
|
|
2040
|
-
# method. The expression has the following syntax: [AND ] ... The following
|
|
2041
|
-
# fields and operators are supported: * display_name with has(:) operator *
|
|
2042
|
-
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
|
2043
|
-
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
|
2044
|
-
# matches knowledge bases whose display name contains "articles". * '
|
|
2045
|
-
# display_name:"Best Articles"' matches knowledge bases whose display name
|
|
2046
|
-
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
|
2047
|
-
# matches all knowledge bases whose display name contains "articles" and whose
|
|
2048
|
-
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
|
2049
|
-
# and will result in no filtering. For more information about filtering, see [
|
|
2050
|
-
# API Filtering](https://aip.dev/160).
|
|
2051
1665
|
# @param [Fixnum] page_size
|
|
2052
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
2053
|
-
# most 100.
|
|
2054
1666
|
# @param [String] page_token
|
|
2055
|
-
# The next_page_token value returned from a previous list request.
|
|
2056
1667
|
# @param [String] fields
|
|
2057
1668
|
# Selector specifying which fields to include in a partial response.
|
|
2058
1669
|
# @param [String] quota_user
|
|
@@ -2083,15 +1694,10 @@ module Google
|
|
|
2083
1694
|
execute_or_queue_command(command, &block)
|
|
2084
1695
|
end
|
|
2085
1696
|
|
|
2086
|
-
#
|
|
1697
|
+
#
|
|
2087
1698
|
# @param [String] name
|
|
2088
|
-
# The knowledge base resource name. The name must be empty when creating a
|
|
2089
|
-
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
|
2090
1699
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
2091
1700
|
# @param [String] update_mask
|
|
2092
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
2093
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
2094
|
-
# fields.
|
|
2095
1701
|
# @param [String] fields
|
|
2096
1702
|
# Selector specifying which fields to include in a partial response.
|
|
2097
1703
|
# @param [String] quota_user
|
|
@@ -2122,13 +1728,8 @@ module Google
|
|
|
2122
1728
|
execute_or_queue_command(command, &block)
|
|
2123
1729
|
end
|
|
2124
1730
|
|
|
2125
|
-
#
|
|
2126
|
-
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
|
2127
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
2128
|
-
# KnowledgeOperationMetadata - `response`: Document
|
|
1731
|
+
#
|
|
2129
1732
|
# @param [String] parent
|
|
2130
|
-
# Required. The knowledge base to create a document for. Format: `projects//
|
|
2131
|
-
# locations//knowledgeBases/`.
|
|
2132
1733
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
2133
1734
|
# @param [String] fields
|
|
2134
1735
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2159,14 +1760,8 @@ module Google
|
|
|
2159
1760
|
execute_or_queue_command(command, &block)
|
|
2160
1761
|
end
|
|
2161
1762
|
|
|
2162
|
-
#
|
|
2163
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
2164
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
2165
|
-
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
|
2166
|
-
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
|
1763
|
+
#
|
|
2167
1764
|
# @param [String] name
|
|
2168
|
-
# Required. The name of the document to delete. Format: `projects//locations//
|
|
2169
|
-
# knowledgeBases//documents/`.
|
|
2170
1765
|
# @param [String] fields
|
|
2171
1766
|
# Selector specifying which fields to include in a partial response.
|
|
2172
1767
|
# @param [String] quota_user
|
|
@@ -2194,10 +1789,8 @@ module Google
|
|
|
2194
1789
|
execute_or_queue_command(command, &block)
|
|
2195
1790
|
end
|
|
2196
1791
|
|
|
2197
|
-
#
|
|
1792
|
+
#
|
|
2198
1793
|
# @param [String] name
|
|
2199
|
-
# Required. The name of the document to retrieve. Format `projects//locations//
|
|
2200
|
-
# knowledgeBases//documents/`.
|
|
2201
1794
|
# @param [String] fields
|
|
2202
1795
|
# Selector specifying which fields to include in a partial response.
|
|
2203
1796
|
# @param [String] quota_user
|
|
@@ -2225,25 +1818,11 @@ module Google
|
|
|
2225
1818
|
execute_or_queue_command(command, &block)
|
|
2226
1819
|
end
|
|
2227
1820
|
|
|
2228
|
-
#
|
|
1821
|
+
#
|
|
2229
1822
|
# @param [String] parent
|
|
2230
|
-
# Required. The knowledge base to list all documents for. Format: `projects//
|
|
2231
|
-
# locations//knowledgeBases/`.
|
|
2232
1823
|
# @param [String] filter
|
|
2233
|
-
# The filter expression used to filter documents returned by the list method.
|
|
2234
|
-
# The expression has the following syntax: [AND ] ... The following fields and
|
|
2235
|
-
# operators are supported: * knowledge_types with has(:) operator * display_name
|
|
2236
|
-
# with has(:) operator * state with equals(=) operator Examples: * "
|
|
2237
|
-
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
|
2238
|
-
# display_name:customer" matches documents whose display name contains "customer"
|
|
2239
|
-
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
|
2240
|
-
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
|
2241
|
-
# filtering, see [API Filtering](https://aip.dev/160).
|
|
2242
1824
|
# @param [Fixnum] page_size
|
|
2243
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
2244
|
-
# most 100.
|
|
2245
1825
|
# @param [String] page_token
|
|
2246
|
-
# The next_page_token value returned from a previous list request.
|
|
2247
1826
|
# @param [String] fields
|
|
2248
1827
|
# Selector specifying which fields to include in a partial response.
|
|
2249
1828
|
# @param [String] quota_user
|
|
@@ -2274,18 +1853,10 @@ module Google
|
|
|
2274
1853
|
execute_or_queue_command(command, &block)
|
|
2275
1854
|
end
|
|
2276
1855
|
|
|
2277
|
-
#
|
|
2278
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
2279
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
2280
|
-
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
|
1856
|
+
#
|
|
2281
1857
|
# @param [String] name
|
|
2282
|
-
# Optional. The document resource name. The name must be empty when creating a
|
|
2283
|
-
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
|
2284
1858
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
2285
1859
|
# @param [String] update_mask
|
|
2286
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
2287
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
2288
|
-
# fields.
|
|
2289
1860
|
# @param [String] fields
|
|
2290
1861
|
# Selector specifying which fields to include in a partial response.
|
|
2291
1862
|
# @param [String] quota_user
|
|
@@ -2316,18 +1887,8 @@ module Google
|
|
|
2316
1887
|
execute_or_queue_command(command, &block)
|
|
2317
1888
|
end
|
|
2318
1889
|
|
|
2319
|
-
#
|
|
2320
|
-
# content. The previously loaded content of the document will be deleted. Note:
|
|
2321
|
-
# Even when the content of the document has not changed, there still may be side
|
|
2322
|
-
# effects because of internal implementation changes. This method is a [long-
|
|
2323
|
-
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
|
2324
|
-
# running-operation). The returned `Operation` type has the following method-
|
|
2325
|
-
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
|
2326
|
-
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
|
2327
|
-
# deprecated; only use `projects.knowledgeBases.documents`.
|
|
1890
|
+
#
|
|
2328
1891
|
# @param [String] name
|
|
2329
|
-
# Required. The name of the document to reload. Format: `projects//locations//
|
|
2330
|
-
# knowledgeBases//documents/`
|
|
2331
1892
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest] google_cloud_dialogflow_v2_reload_document_request_object
|
|
2332
1893
|
# @param [String] fields
|
|
2333
1894
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2358,12 +1919,8 @@ module Google
|
|
|
2358
1919
|
execute_or_queue_command(command, &block)
|
|
2359
1920
|
end
|
|
2360
1921
|
|
|
2361
|
-
#
|
|
1922
|
+
#
|
|
2362
1923
|
# @param [String] parent
|
|
2363
|
-
# Required. The name of the session to delete all contexts from. Format: `
|
|
2364
|
-
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
|
2365
|
-
# If `Environment ID` is not specified we assume default 'draft' environment.
|
|
2366
|
-
# If `User ID` is not specified, we assume default '-' user.
|
|
2367
1924
|
# @param [String] fields
|
|
2368
1925
|
# Selector specifying which fields to include in a partial response.
|
|
2369
1926
|
# @param [String] quota_user
|
|
@@ -2391,28 +1948,8 @@ module Google
|
|
|
2391
1948
|
execute_or_queue_command(command, &block)
|
|
2392
1949
|
end
|
|
2393
1950
|
|
|
2394
|
-
#
|
|
2395
|
-
# a result. This method is not idempotent, because it may cause contexts and
|
|
2396
|
-
# session entity types to be updated, which in turn might affect results of
|
|
2397
|
-
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
|
2398
|
-
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
|
2399
|
-
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
|
2400
|
-
# additional functionality for Agent Assist and other CCAI products. Note:
|
|
2401
|
-
# Always use agent versions for production traffic. See [Versions and
|
|
2402
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
1951
|
+
#
|
|
2403
1952
|
# @param [String] session
|
|
2404
|
-
# Required. The name of the session this query is sent to. Format: `projects//
|
|
2405
|
-
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
2406
|
-
# Environment ID` is not specified, we assume default 'draft' environment (`
|
|
2407
|
-
# Environment ID` might be referred to as environment name at some places). If `
|
|
2408
|
-
# User ID` is not specified, we are using "-". It's up to the API caller to
|
|
2409
|
-
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
|
2410
|
-
# or some type of user and session identifiers (preferably hashed). The length
|
|
2411
|
-
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
2412
|
-
# information, see the [API interactions guide](https://cloud.google.com/
|
|
2413
|
-
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
2414
|
-
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
2415
|
-
# es/docs/agents-versions).
|
|
2416
1953
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
2417
1954
|
# @param [String] fields
|
|
2418
1955
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2443,13 +1980,8 @@ module Google
|
|
|
2443
1980
|
execute_or_queue_command(command, &block)
|
|
2444
1981
|
end
|
|
2445
1982
|
|
|
2446
|
-
#
|
|
2447
|
-
# context.
|
|
1983
|
+
#
|
|
2448
1984
|
# @param [String] parent
|
|
2449
|
-
# Required. The session to create a context for. Format: `projects//agent/
|
|
2450
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
2451
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2452
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2453
1985
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
2454
1986
|
# @param [String] fields
|
|
2455
1987
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2480,12 +2012,8 @@ module Google
|
|
|
2480
2012
|
execute_or_queue_command(command, &block)
|
|
2481
2013
|
end
|
|
2482
2014
|
|
|
2483
|
-
#
|
|
2015
|
+
#
|
|
2484
2016
|
# @param [String] name
|
|
2485
|
-
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
|
2486
|
-
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
2487
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2488
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2489
2017
|
# @param [String] fields
|
|
2490
2018
|
# Selector specifying which fields to include in a partial response.
|
|
2491
2019
|
# @param [String] quota_user
|
|
@@ -2513,12 +2041,8 @@ module Google
|
|
|
2513
2041
|
execute_or_queue_command(command, &block)
|
|
2514
2042
|
end
|
|
2515
2043
|
|
|
2516
|
-
#
|
|
2044
|
+
#
|
|
2517
2045
|
# @param [String] name
|
|
2518
|
-
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
|
2519
|
-
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
2520
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2521
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2522
2046
|
# @param [String] fields
|
|
2523
2047
|
# Selector specifying which fields to include in a partial response.
|
|
2524
2048
|
# @param [String] quota_user
|
|
@@ -2546,17 +2070,10 @@ module Google
|
|
|
2546
2070
|
execute_or_queue_command(command, &block)
|
|
2547
2071
|
end
|
|
2548
2072
|
|
|
2549
|
-
#
|
|
2073
|
+
#
|
|
2550
2074
|
# @param [String] parent
|
|
2551
|
-
# Required. The session to list all contexts from. Format: `projects//agent/
|
|
2552
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
2553
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2554
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2555
2075
|
# @param [Fixnum] page_size
|
|
2556
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
2557
|
-
# 100 and at most 1000.
|
|
2558
2076
|
# @param [String] page_token
|
|
2559
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
2560
2077
|
# @param [String] fields
|
|
2561
2078
|
# Selector specifying which fields to include in a partial response.
|
|
2562
2079
|
# @param [String] quota_user
|
|
@@ -2586,20 +2103,10 @@ module Google
|
|
|
2586
2103
|
execute_or_queue_command(command, &block)
|
|
2587
2104
|
end
|
|
2588
2105
|
|
|
2589
|
-
#
|
|
2106
|
+
#
|
|
2590
2107
|
# @param [String] name
|
|
2591
|
-
# Required. The unique identifier of the context. Format: `projects//agent/
|
|
2592
|
-
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
|
2593
|
-
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
|
2594
|
-
# contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
|
|
2595
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2596
|
-
# User ID` is not specified, we assume default '-' user. The following context
|
|
2597
|
-
# names are reserved for internal use by Dialogflow. You should not use these
|
|
2598
|
-
# contexts or create contexts with these names: * `__system_counters__` * `*
|
|
2599
|
-
# _id_dialog_context` * `*_dialog_params_size`
|
|
2600
2108
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
2601
2109
|
# @param [String] update_mask
|
|
2602
|
-
# Optional. The mask to control which fields get updated.
|
|
2603
2110
|
# @param [String] fields
|
|
2604
2111
|
# Selector specifying which fields to include in a partial response.
|
|
2605
2112
|
# @param [String] quota_user
|
|
@@ -2630,15 +2137,8 @@ module Google
|
|
|
2630
2137
|
execute_or_queue_command(command, &block)
|
|
2631
2138
|
end
|
|
2632
2139
|
|
|
2633
|
-
#
|
|
2634
|
-
# exists, overrides the session entity type. This method doesn't work with
|
|
2635
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
2636
|
-
# session entities with Google Assistant integration.
|
|
2140
|
+
#
|
|
2637
2141
|
# @param [String] parent
|
|
2638
|
-
# Required. The session to create a session entity type for. Format: `projects//
|
|
2639
|
-
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
2640
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2641
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2642
2142
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
2643
2143
|
# @param [String] fields
|
|
2644
2144
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2669,14 +2169,8 @@ module Google
|
|
|
2669
2169
|
execute_or_queue_command(command, &block)
|
|
2670
2170
|
end
|
|
2671
2171
|
|
|
2672
|
-
#
|
|
2673
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
2674
|
-
# session entities with Google Assistant integration.
|
|
2172
|
+
#
|
|
2675
2173
|
# @param [String] name
|
|
2676
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
2677
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
2678
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
2679
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
2680
2174
|
# @param [String] fields
|
|
2681
2175
|
# Selector specifying which fields to include in a partial response.
|
|
2682
2176
|
# @param [String] quota_user
|
|
@@ -2704,14 +2198,8 @@ module Google
|
|
|
2704
2198
|
execute_or_queue_command(command, &block)
|
|
2705
2199
|
end
|
|
2706
2200
|
|
|
2707
|
-
#
|
|
2708
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
2709
|
-
# session entities with Google Assistant integration.
|
|
2201
|
+
#
|
|
2710
2202
|
# @param [String] name
|
|
2711
|
-
# Required. The name of the session entity type. Format: `projects//agent/
|
|
2712
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
2713
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
2714
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
2715
2203
|
# @param [String] fields
|
|
2716
2204
|
# Selector specifying which fields to include in a partial response.
|
|
2717
2205
|
# @param [String] quota_user
|
|
@@ -2739,19 +2227,10 @@ module Google
|
|
|
2739
2227
|
execute_or_queue_command(command, &block)
|
|
2740
2228
|
end
|
|
2741
2229
|
|
|
2742
|
-
#
|
|
2743
|
-
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
|
2744
|
-
# support if you need to use session entities with Google Assistant integration.
|
|
2230
|
+
#
|
|
2745
2231
|
# @param [String] parent
|
|
2746
|
-
# Required. The session to list all session entity types from. Format: `projects/
|
|
2747
|
-
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
2748
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
2749
|
-
# User ID` is not specified, we assume default '-' user.
|
|
2750
2232
|
# @param [Fixnum] page_size
|
|
2751
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
2752
|
-
# 100 and at most 1000.
|
|
2753
2233
|
# @param [String] page_token
|
|
2754
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
2755
2234
|
# @param [String] fields
|
|
2756
2235
|
# Selector specifying which fields to include in a partial response.
|
|
2757
2236
|
# @param [String] quota_user
|
|
@@ -2781,19 +2260,10 @@ module Google
|
|
|
2781
2260
|
execute_or_queue_command(command, &block)
|
|
2782
2261
|
end
|
|
2783
2262
|
|
|
2784
|
-
#
|
|
2785
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
2786
|
-
# session entities with Google Assistant integration.
|
|
2263
|
+
#
|
|
2787
2264
|
# @param [String] name
|
|
2788
|
-
# Required. The unique identifier of this session entity type. Format: `projects/
|
|
2789
|
-
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
|
2790
|
-
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
|
2791
|
-
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
|
2792
|
-
# -' user. `` must be the display name of an existing entity type in the same
|
|
2793
|
-
# agent that will be overridden or supplemented.
|
|
2794
2265
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
2795
2266
|
# @param [String] update_mask
|
|
2796
|
-
# Optional. The mask to control which fields get updated.
|
|
2797
2267
|
# @param [String] fields
|
|
2798
2268
|
# Selector specifying which fields to include in a partial response.
|
|
2799
2269
|
# @param [String] quota_user
|
|
@@ -2824,11 +2294,8 @@ module Google
|
|
|
2824
2294
|
execute_or_queue_command(command, &block)
|
|
2825
2295
|
end
|
|
2826
2296
|
|
|
2827
|
-
#
|
|
2828
|
-
# default" environment.
|
|
2297
|
+
#
|
|
2829
2298
|
# @param [String] parent
|
|
2830
|
-
# Required. The agent to create a version for. Supported formats: - `projects//
|
|
2831
|
-
# agent` - `projects//locations//agent`
|
|
2832
2299
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version] google_cloud_dialogflow_v2_version_object
|
|
2833
2300
|
# @param [String] fields
|
|
2834
2301
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2859,10 +2326,8 @@ module Google
|
|
|
2859
2326
|
execute_or_queue_command(command, &block)
|
|
2860
2327
|
end
|
|
2861
2328
|
|
|
2862
|
-
#
|
|
2329
|
+
#
|
|
2863
2330
|
# @param [String] name
|
|
2864
|
-
# Required. The name of the version to delete. Supported formats: - `projects//
|
|
2865
|
-
# agent/versions/` - `projects//locations//agent/versions/`
|
|
2866
2331
|
# @param [String] fields
|
|
2867
2332
|
# Selector specifying which fields to include in a partial response.
|
|
2868
2333
|
# @param [String] quota_user
|
|
@@ -2890,10 +2355,8 @@ module Google
|
|
|
2890
2355
|
execute_or_queue_command(command, &block)
|
|
2891
2356
|
end
|
|
2892
2357
|
|
|
2893
|
-
#
|
|
2358
|
+
#
|
|
2894
2359
|
# @param [String] name
|
|
2895
|
-
# Required. The name of the version. Supported formats: - `projects//agent/
|
|
2896
|
-
# versions/` - `projects//locations//agent/versions/`
|
|
2897
2360
|
# @param [String] fields
|
|
2898
2361
|
# Selector specifying which fields to include in a partial response.
|
|
2899
2362
|
# @param [String] quota_user
|
|
@@ -2921,15 +2384,10 @@ module Google
|
|
|
2921
2384
|
execute_or_queue_command(command, &block)
|
|
2922
2385
|
end
|
|
2923
2386
|
|
|
2924
|
-
#
|
|
2387
|
+
#
|
|
2925
2388
|
# @param [String] parent
|
|
2926
|
-
# Required. The agent to list all versions from. Supported formats: - `projects//
|
|
2927
|
-
# agent` - `projects//locations//agent`
|
|
2928
2389
|
# @param [Fixnum] page_size
|
|
2929
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
2930
|
-
# 100 and at most 1000.
|
|
2931
2390
|
# @param [String] page_token
|
|
2932
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
2933
2391
|
# @param [String] fields
|
|
2934
2392
|
# Selector specifying which fields to include in a partial response.
|
|
2935
2393
|
# @param [String] quota_user
|
|
@@ -2959,15 +2417,10 @@ module Google
|
|
|
2959
2417
|
execute_or_queue_command(command, &block)
|
|
2960
2418
|
end
|
|
2961
2419
|
|
|
2962
|
-
#
|
|
2963
|
-
# to update the state of the agent the given version points to. It allows you to
|
|
2964
|
-
# update only mutable properties of the version resource.
|
|
2420
|
+
#
|
|
2965
2421
|
# @param [String] name
|
|
2966
|
-
# Output only. The unique identifier of this agent version. Supported formats: -
|
|
2967
|
-
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
|
2968
2422
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version] google_cloud_dialogflow_v2_version_object
|
|
2969
2423
|
# @param [String] update_mask
|
|
2970
|
-
# Required. The mask to control which fields get updated.
|
|
2971
2424
|
# @param [String] fields
|
|
2972
2425
|
# Selector specifying which fields to include in a partial response.
|
|
2973
2426
|
# @param [String] quota_user
|
|
@@ -2998,26 +2451,11 @@ module Google
|
|
|
2998
2451
|
execute_or_queue_command(command, &block)
|
|
2999
2452
|
end
|
|
3000
2453
|
|
|
3001
|
-
#
|
|
3002
|
-
# chronological order.
|
|
2454
|
+
#
|
|
3003
2455
|
# @param [String] parent
|
|
3004
|
-
# Required. The project to list all answer records for in reverse chronological
|
|
3005
|
-
# order. Format: `projects//locations/`.
|
|
3006
2456
|
# @param [String] filter
|
|
3007
|
-
# Optional. Filters to restrict results to specific answer records. The
|
|
3008
|
-
# expression has the following syntax: [AND ] ... The following fields and
|
|
3009
|
-
# operators are supported: * conversation_id with equals(=) operator Examples: *
|
|
3010
|
-
# `conversation_id=bar` matches answer records in the `projects/foo/locations/
|
|
3011
|
-
# global/conversations/bar` conversation (assuming the parent is `projects/foo/
|
|
3012
|
-
# locations/global`). For more information about filtering, see [API Filtering](
|
|
3013
|
-
# https://aip.dev/160).
|
|
3014
2457
|
# @param [Fixnum] page_size
|
|
3015
|
-
# Optional. The maximum number of records to return in a single page. The server
|
|
3016
|
-
# may return fewer records than this. If unspecified, we use 10. The maximum is
|
|
3017
|
-
# 100.
|
|
3018
2458
|
# @param [String] page_token
|
|
3019
|
-
# Optional. The ListAnswerRecordsResponse.next_page_token value returned from a
|
|
3020
|
-
# previous list request used to continue listing on the next page.
|
|
3021
2459
|
# @param [String] fields
|
|
3022
2460
|
# Selector specifying which fields to include in a partial response.
|
|
3023
2461
|
# @param [String] quota_user
|
|
@@ -3048,13 +2486,10 @@ module Google
|
|
|
3048
2486
|
execute_or_queue_command(command, &block)
|
|
3049
2487
|
end
|
|
3050
2488
|
|
|
3051
|
-
#
|
|
2489
|
+
#
|
|
3052
2490
|
# @param [String] name
|
|
3053
|
-
# The unique identifier of this answer record. Format: `projects//locations//
|
|
3054
|
-
# answerRecords/`.
|
|
3055
2491
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnswerRecord] google_cloud_dialogflow_v2_answer_record_object
|
|
3056
2492
|
# @param [String] update_mask
|
|
3057
|
-
# Required. The mask to control which fields get updated.
|
|
3058
2493
|
# @param [String] fields
|
|
3059
2494
|
# Selector specifying which fields to include in a partial response.
|
|
3060
2495
|
# @param [String] quota_user
|
|
@@ -3085,10 +2520,8 @@ module Google
|
|
|
3085
2520
|
execute_or_queue_command(command, &block)
|
|
3086
2521
|
end
|
|
3087
2522
|
|
|
3088
|
-
#
|
|
2523
|
+
#
|
|
3089
2524
|
# @param [String] name
|
|
3090
|
-
# Required. The conversation dataset to retrieve. Format: `projects//locations//
|
|
3091
|
-
# conversationDatasets/`
|
|
3092
2525
|
# @param [String] fields
|
|
3093
2526
|
# Selector specifying which fields to include in a partial response.
|
|
3094
2527
|
# @param [String] quota_user
|
|
@@ -3116,16 +2549,8 @@ module Google
|
|
|
3116
2549
|
execute_or_queue_command(command, &block)
|
|
3117
2550
|
end
|
|
3118
2551
|
|
|
3119
|
-
#
|
|
3120
|
-
# allowed to import data to a conversation dataset that already has data in it.
|
|
3121
|
-
# This method is a [long-running operation](https://cloud.google.com/dialogflow/
|
|
3122
|
-
# es/docs/how/long-running-operations). The returned `Operation` type has the
|
|
3123
|
-
# following method-specific fields: - `metadata`:
|
|
3124
|
-
# ImportConversationDataOperationMetadata - `response`:
|
|
3125
|
-
# ImportConversationDataOperationResponse
|
|
2552
|
+
#
|
|
3126
2553
|
# @param [String] name
|
|
3127
|
-
# Required. Dataset resource name. Format: `projects//locations//
|
|
3128
|
-
# conversationDatasets/`
|
|
3129
2554
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportConversationDataRequest] google_cloud_dialogflow_v2_import_conversation_data_request_object
|
|
3130
2555
|
# @param [String] fields
|
|
3131
2556
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3156,16 +2581,10 @@ module Google
|
|
|
3156
2581
|
execute_or_queue_command(command, &block)
|
|
3157
2582
|
end
|
|
3158
2583
|
|
|
3159
|
-
#
|
|
3160
|
-
# location.
|
|
2584
|
+
#
|
|
3161
2585
|
# @param [String] parent
|
|
3162
|
-
# Required. The project and location name to list all conversation datasets for.
|
|
3163
|
-
# Format: `projects//locations/`
|
|
3164
2586
|
# @param [Fixnum] page_size
|
|
3165
|
-
# Optional. Maximum number of conversation datasets to return in a single page.
|
|
3166
|
-
# By default 100 and at most 1000.
|
|
3167
2587
|
# @param [String] page_token
|
|
3168
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
3169
2588
|
# @param [String] fields
|
|
3170
2589
|
# Selector specifying which fields to include in a partial response.
|
|
3171
2590
|
# @param [String] quota_user
|
|
@@ -3195,12 +2614,8 @@ module Google
|
|
|
3195
2614
|
execute_or_queue_command(command, &block)
|
|
3196
2615
|
end
|
|
3197
2616
|
|
|
3198
|
-
#
|
|
3199
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
3200
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
3201
|
-
# CreateConversationModelOperationMetadata - `response`: ConversationModel
|
|
2617
|
+
#
|
|
3202
2618
|
# @param [String] parent
|
|
3203
|
-
# The project to create conversation model for. Format: `projects/`
|
|
3204
2619
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModel] google_cloud_dialogflow_v2_conversation_model_object
|
|
3205
2620
|
# @param [String] fields
|
|
3206
2621
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3231,15 +2646,8 @@ module Google
|
|
|
3231
2646
|
execute_or_queue_command(command, &block)
|
|
3232
2647
|
end
|
|
3233
2648
|
|
|
3234
|
-
#
|
|
3235
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
3236
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
3237
|
-
# DeleteConversationModelOperationMetadata - `response`: An [Empty message](
|
|
3238
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
3239
|
-
# empty)
|
|
2649
|
+
#
|
|
3240
2650
|
# @param [String] name
|
|
3241
|
-
# Required. The conversation model to delete. Format: `projects//
|
|
3242
|
-
# conversationModels/`
|
|
3243
2651
|
# @param [String] fields
|
|
3244
2652
|
# Selector specifying which fields to include in a partial response.
|
|
3245
2653
|
# @param [String] quota_user
|
|
@@ -3267,17 +2675,8 @@ module Google
|
|
|
3267
2675
|
execute_or_queue_command(command, &block)
|
|
3268
2676
|
end
|
|
3269
2677
|
|
|
3270
|
-
#
|
|
3271
|
-
# model can only serve prediction requests after it gets deployed. For article
|
|
3272
|
-
# suggestion, custom model will not be used unless it is deployed. This method
|
|
3273
|
-
# is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/
|
|
3274
|
-
# long-running-operations). The returned `Operation` type has the following
|
|
3275
|
-
# method-specific fields: - `metadata`: DeployConversationModelOperationMetadata
|
|
3276
|
-
# - `response`: An [Empty message](https://developers.google.com/protocol-
|
|
3277
|
-
# buffers/docs/reference/google.protobuf#empty)
|
|
2678
|
+
#
|
|
3278
2679
|
# @param [String] name
|
|
3279
|
-
# Required. The conversation model to deploy. Format: `projects//
|
|
3280
|
-
# conversationModels/`
|
|
3281
2680
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DeployConversationModelRequest] google_cloud_dialogflow_v2_deploy_conversation_model_request_object
|
|
3282
2681
|
# @param [String] fields
|
|
3283
2682
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3308,10 +2707,8 @@ module Google
|
|
|
3308
2707
|
execute_or_queue_command(command, &block)
|
|
3309
2708
|
end
|
|
3310
2709
|
|
|
3311
|
-
#
|
|
2710
|
+
#
|
|
3312
2711
|
# @param [String] name
|
|
3313
|
-
# Required. The conversation model to retrieve. Format: `projects//
|
|
3314
|
-
# conversationModels/`
|
|
3315
2712
|
# @param [String] fields
|
|
3316
2713
|
# Selector specifying which fields to include in a partial response.
|
|
3317
2714
|
# @param [String] quota_user
|
|
@@ -3339,14 +2736,10 @@ module Google
|
|
|
3339
2736
|
execute_or_queue_command(command, &block)
|
|
3340
2737
|
end
|
|
3341
2738
|
|
|
3342
|
-
#
|
|
2739
|
+
#
|
|
3343
2740
|
# @param [String] parent
|
|
3344
|
-
# Required. The project to list all conversation models for. Format: `projects/`
|
|
3345
2741
|
# @param [Fixnum] page_size
|
|
3346
|
-
# Optional. Maximum number of conversation models to return in a single page. By
|
|
3347
|
-
# default 100 and at most 1000.
|
|
3348
2742
|
# @param [String] page_token
|
|
3349
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
3350
2743
|
# @param [String] fields
|
|
3351
2744
|
# Selector specifying which fields to include in a partial response.
|
|
3352
2745
|
# @param [String] quota_user
|
|
@@ -3376,18 +2769,8 @@ module Google
|
|
|
3376
2769
|
execute_or_queue_command(command, &block)
|
|
3377
2770
|
end
|
|
3378
2771
|
|
|
3379
|
-
#
|
|
3380
|
-
# the model is currently being used: - For article suggestion, article
|
|
3381
|
-
# suggestion will fallback to the default model if model is undeployed. This
|
|
3382
|
-
# method is a [long-running operation](https://cloud.google.com/dialogflow/es/
|
|
3383
|
-
# docs/how/long-running-operations). The returned `Operation` type has the
|
|
3384
|
-
# following method-specific fields: - `metadata`:
|
|
3385
|
-
# UndeployConversationModelOperationMetadata - `response`: An [Empty message](
|
|
3386
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
3387
|
-
# empty)
|
|
2772
|
+
#
|
|
3388
2773
|
# @param [String] name
|
|
3389
|
-
# Required. The conversation model to undeploy. Format: `projects//
|
|
3390
|
-
# conversationModels/`
|
|
3391
2774
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2UndeployConversationModelRequest] google_cloud_dialogflow_v2_undeploy_conversation_model_request_object
|
|
3392
2775
|
# @param [String] fields
|
|
3393
2776
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3418,10 +2801,8 @@ module Google
|
|
|
3418
2801
|
execute_or_queue_command(command, &block)
|
|
3419
2802
|
end
|
|
3420
2803
|
|
|
3421
|
-
#
|
|
2804
|
+
#
|
|
3422
2805
|
# @param [String] name
|
|
3423
|
-
# Required. The conversation model evaluation resource name. Format: `projects//
|
|
3424
|
-
# conversationModels//evaluations/`
|
|
3425
2806
|
# @param [String] fields
|
|
3426
2807
|
# Selector specifying which fields to include in a partial response.
|
|
3427
2808
|
# @param [String] quota_user
|
|
@@ -3449,15 +2830,10 @@ module Google
|
|
|
3449
2830
|
execute_or_queue_command(command, &block)
|
|
3450
2831
|
end
|
|
3451
2832
|
|
|
3452
|
-
#
|
|
2833
|
+
#
|
|
3453
2834
|
# @param [String] parent
|
|
3454
|
-
# Required. The conversation model resource name. Format: `projects//
|
|
3455
|
-
# conversationModels/`
|
|
3456
2835
|
# @param [Fixnum] page_size
|
|
3457
|
-
# Optional. Maximum number of evaluations to return in a single page. By default
|
|
3458
|
-
# 100 and at most 1000.
|
|
3459
2836
|
# @param [String] page_token
|
|
3460
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
3461
2837
|
# @param [String] fields
|
|
3462
2838
|
# Selector specifying which fields to include in a partial response.
|
|
3463
2839
|
# @param [String] quota_user
|
|
@@ -3487,15 +2863,8 @@ module Google
|
|
|
3487
2863
|
execute_or_queue_command(command, &block)
|
|
3488
2864
|
end
|
|
3489
2865
|
|
|
3490
|
-
#
|
|
3491
|
-
# participant role. This method is a [long-running operation](https://cloud.
|
|
3492
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
3493
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
3494
|
-
# ClearSuggestionFeatureConfigOperationMetadata - `response`:
|
|
3495
|
-
# ConversationProfile
|
|
2866
|
+
#
|
|
3496
2867
|
# @param [String] conversation_profile
|
|
3497
|
-
# Required. The Conversation Profile to add or update the suggestion feature
|
|
3498
|
-
# config. Format: `projects//locations//conversationProfiles/`.
|
|
3499
2868
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest] google_cloud_dialogflow_v2_clear_suggestion_feature_config_request_object
|
|
3500
2869
|
# @param [String] fields
|
|
3501
2870
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3526,12 +2895,8 @@ module Google
|
|
|
3526
2895
|
execute_or_queue_command(command, &block)
|
|
3527
2896
|
end
|
|
3528
2897
|
|
|
3529
|
-
#
|
|
3530
|
-
# create_time and ConversationProfile.update_time aren't populated in the
|
|
3531
|
-
# response. You can retrieve them via GetConversationProfile API.
|
|
2898
|
+
#
|
|
3532
2899
|
# @param [String] parent
|
|
3533
|
-
# Required. The project to create a conversation profile for. Format: `projects//
|
|
3534
|
-
# locations/`.
|
|
3535
2900
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile] google_cloud_dialogflow_v2_conversation_profile_object
|
|
3536
2901
|
# @param [String] fields
|
|
3537
2902
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3562,10 +2927,8 @@ module Google
|
|
|
3562
2927
|
execute_or_queue_command(command, &block)
|
|
3563
2928
|
end
|
|
3564
2929
|
|
|
3565
|
-
#
|
|
2930
|
+
#
|
|
3566
2931
|
# @param [String] name
|
|
3567
|
-
# Required. The name of the conversation profile to delete. Format: `projects//
|
|
3568
|
-
# locations//conversationProfiles/`.
|
|
3569
2932
|
# @param [String] fields
|
|
3570
2933
|
# Selector specifying which fields to include in a partial response.
|
|
3571
2934
|
# @param [String] quota_user
|
|
@@ -3593,10 +2956,8 @@ module Google
|
|
|
3593
2956
|
execute_or_queue_command(command, &block)
|
|
3594
2957
|
end
|
|
3595
2958
|
|
|
3596
|
-
#
|
|
2959
|
+
#
|
|
3597
2960
|
# @param [String] name
|
|
3598
|
-
# Required. The resource name of the conversation profile. Format: `projects//
|
|
3599
|
-
# locations//conversationProfiles/`.
|
|
3600
2961
|
# @param [String] fields
|
|
3601
2962
|
# Selector specifying which fields to include in a partial response.
|
|
3602
2963
|
# @param [String] quota_user
|
|
@@ -3624,15 +2985,10 @@ module Google
|
|
|
3624
2985
|
execute_or_queue_command(command, &block)
|
|
3625
2986
|
end
|
|
3626
2987
|
|
|
3627
|
-
#
|
|
2988
|
+
#
|
|
3628
2989
|
# @param [String] parent
|
|
3629
|
-
# Required. The project to list all conversation profiles from. Format: `
|
|
3630
|
-
# projects//locations/`.
|
|
3631
2990
|
# @param [Fixnum] page_size
|
|
3632
|
-
# The maximum number of items to return in a single page. By default 100 and at
|
|
3633
|
-
# most 1000.
|
|
3634
2991
|
# @param [String] page_token
|
|
3635
|
-
# The next_page_token value returned from a previous list request.
|
|
3636
2992
|
# @param [String] fields
|
|
3637
2993
|
# Selector specifying which fields to include in a partial response.
|
|
3638
2994
|
# @param [String] quota_user
|
|
@@ -3662,15 +3018,10 @@ module Google
|
|
|
3662
3018
|
execute_or_queue_command(command, &block)
|
|
3663
3019
|
end
|
|
3664
3020
|
|
|
3665
|
-
#
|
|
3666
|
-
# and ConversationProfile.update_time aren't populated in the response. You can
|
|
3667
|
-
# retrieve them via GetConversationProfile API.
|
|
3021
|
+
#
|
|
3668
3022
|
# @param [String] name
|
|
3669
|
-
# The unique identifier of this conversation profile. Format: `projects//
|
|
3670
|
-
# locations//conversationProfiles/`.
|
|
3671
3023
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile] google_cloud_dialogflow_v2_conversation_profile_object
|
|
3672
3024
|
# @param [String] update_mask
|
|
3673
|
-
# Required. The mask to control which fields to update.
|
|
3674
3025
|
# @param [String] fields
|
|
3675
3026
|
# Selector specifying which fields to include in a partial response.
|
|
3676
3027
|
# @param [String] quota_user
|
|
@@ -3701,20 +3052,8 @@ module Google
|
|
|
3701
3052
|
execute_or_queue_command(command, &block)
|
|
3702
3053
|
end
|
|
3703
3054
|
|
|
3704
|
-
#
|
|
3705
|
-
# conversation profile contains the type of suggestion feature for the
|
|
3706
|
-
# participant role, it will update it. Otherwise it will insert the suggestion
|
|
3707
|
-
# feature. This method is a [long-running operation](https://cloud.google.com/
|
|
3708
|
-
# dialogflow/es/docs/how/long-running-operations). The returned `Operation` type
|
|
3709
|
-
# has the following method-specific fields: - `metadata`:
|
|
3710
|
-
# SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile
|
|
3711
|
-
# If a long running operation to add or update suggestion feature config for the
|
|
3712
|
-
# same conversation profile, participant role and suggestion feature type exists,
|
|
3713
|
-
# please cancel the existing long running operation before sending such request,
|
|
3714
|
-
# otherwise the request will be rejected.
|
|
3055
|
+
#
|
|
3715
3056
|
# @param [String] conversation_profile
|
|
3716
|
-
# Required. The Conversation Profile to add or update the suggestion feature
|
|
3717
|
-
# config. Format: `projects//locations//conversationProfiles/`.
|
|
3718
3057
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest] google_cloud_dialogflow_v2_set_suggestion_feature_config_request_object
|
|
3719
3058
|
# @param [String] fields
|
|
3720
3059
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3745,11 +3084,8 @@ module Google
|
|
|
3745
3084
|
execute_or_queue_command(command, &block)
|
|
3746
3085
|
end
|
|
3747
3086
|
|
|
3748
|
-
#
|
|
3749
|
-
# the database after 30 days.
|
|
3087
|
+
#
|
|
3750
3088
|
# @param [String] name
|
|
3751
|
-
# Required. Resource identifier of the conversation to close. Format: `projects//
|
|
3752
|
-
# locations//conversations/`.
|
|
3753
3089
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompleteConversationRequest] google_cloud_dialogflow_v2_complete_conversation_request_object
|
|
3754
3090
|
# @param [String] fields
|
|
3755
3091
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3780,28 +3116,10 @@ module Google
|
|
|
3780
3116
|
execute_or_queue_command(command, &block)
|
|
3781
3117
|
end
|
|
3782
3118
|
|
|
3783
|
-
#
|
|
3784
|
-
# Conversation Lifecycle: There are two stages during a conversation: Automated
|
|
3785
|
-
# Agent Stage and Assist Stage. For Automated Agent Stage, there will be a
|
|
3786
|
-
# dialogflow agent responding to user queries. For Assist Stage, there's no
|
|
3787
|
-
# dialogflow agent responding to user queries. But we will provide suggestions
|
|
3788
|
-
# which are generated from conversation. If Conversation.conversation_profile is
|
|
3789
|
-
# configured for a dialogflow agent, conversation will start from `Automated
|
|
3790
|
-
# Agent Stage`, otherwise, it will start from `Assist Stage`. And during `
|
|
3791
|
-
# Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is
|
|
3792
|
-
# triggered, conversation will transfer to Assist Stage.
|
|
3119
|
+
#
|
|
3793
3120
|
# @param [String] parent
|
|
3794
|
-
# Required. Resource identifier of the project creating the conversation. Format:
|
|
3795
|
-
# `projects//locations/`.
|
|
3796
3121
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Conversation] google_cloud_dialogflow_v2_conversation_object
|
|
3797
3122
|
# @param [String] conversation_id
|
|
3798
|
-
# Optional. Identifier of the conversation. Generally it's auto generated by
|
|
3799
|
-
# Google. Only set it if you cannot wait for the response to return a auto-
|
|
3800
|
-
# generated one to you. The conversation ID must be compliant with the
|
|
3801
|
-
# regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
|
|
3802
|
-
# the field is provided, the caller is responsible for 1. the uniqueness of the
|
|
3803
|
-
# ID, otherwise the request will be rejected. 2. the consistency for whether to
|
|
3804
|
-
# use custom ID or not under a project to better ensure uniqueness.
|
|
3805
3123
|
# @param [String] fields
|
|
3806
3124
|
# Selector specifying which fields to include in a partial response.
|
|
3807
3125
|
# @param [String] quota_user
|
|
@@ -3832,10 +3150,8 @@ module Google
|
|
|
3832
3150
|
execute_or_queue_command(command, &block)
|
|
3833
3151
|
end
|
|
3834
3152
|
|
|
3835
|
-
#
|
|
3153
|
+
#
|
|
3836
3154
|
# @param [String] name
|
|
3837
|
-
# Required. The name of the conversation. Format: `projects//locations//
|
|
3838
|
-
# conversations/`.
|
|
3839
3155
|
# @param [String] fields
|
|
3840
3156
|
# Selector specifying which fields to include in a partial response.
|
|
3841
3157
|
# @param [String] quota_user
|
|
@@ -3863,21 +3179,11 @@ module Google
|
|
|
3863
3179
|
execute_or_queue_command(command, &block)
|
|
3864
3180
|
end
|
|
3865
3181
|
|
|
3866
|
-
#
|
|
3182
|
+
#
|
|
3867
3183
|
# @param [String] parent
|
|
3868
|
-
# Required. The project from which to list all conversation. Format: `projects//
|
|
3869
|
-
# locations/`.
|
|
3870
3184
|
# @param [String] filter
|
|
3871
|
-
# Optional. A filter expression that filters conversations listed in the
|
|
3872
|
-
# response. Only `lifecycle_state` can be filtered on in this way. For example,
|
|
3873
|
-
# the following expression only returns `COMPLETED` conversations: `
|
|
3874
|
-
# lifecycle_state = "COMPLETED"` For more information about filtering, see [API
|
|
3875
|
-
# Filtering](https://aip.dev/160).
|
|
3876
3185
|
# @param [Fixnum] page_size
|
|
3877
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
3878
|
-
# 100 and at most 1000.
|
|
3879
3186
|
# @param [String] page_token
|
|
3880
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
3881
3187
|
# @param [String] fields
|
|
3882
3188
|
# Selector specifying which fields to include in a partial response.
|
|
3883
3189
|
# @param [String] quota_user
|
|
@@ -3908,24 +3214,11 @@ module Google
|
|
|
3908
3214
|
execute_or_queue_command(command, &block)
|
|
3909
3215
|
end
|
|
3910
3216
|
|
|
3911
|
-
#
|
|
3912
|
-
# create_time` in descending order. To fetch updates without duplication, send
|
|
3913
|
-
# request with filter `create_time_epoch_microseconds > [first item's
|
|
3914
|
-
# create_time of previous request]` and empty page_token.
|
|
3217
|
+
#
|
|
3915
3218
|
# @param [String] parent
|
|
3916
|
-
# Required. The name of the conversation to list messages for. Format: `projects/
|
|
3917
|
-
# /locations//conversations/`
|
|
3918
3219
|
# @param [String] filter
|
|
3919
|
-
# Optional. Filter on message fields. Currently predicates on `create_time` and `
|
|
3920
|
-
# create_time_epoch_microseconds` are supported. `create_time` only support
|
|
3921
|
-
# milliseconds accuracy. E.g., `create_time_epoch_microseconds >
|
|
3922
|
-
# 1551790877964485` or `create_time > 2017-01-15T01:30:15.01Z`. For more
|
|
3923
|
-
# information about filtering, see [API Filtering](https://aip.dev/160).
|
|
3924
3220
|
# @param [Fixnum] page_size
|
|
3925
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
3926
|
-
# 100 and at most 1000.
|
|
3927
3221
|
# @param [String] page_token
|
|
3928
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
3929
3222
|
# @param [String] fields
|
|
3930
3223
|
# Selector specifying which fields to include in a partial response.
|
|
3931
3224
|
# @param [String] quota_user
|
|
@@ -3956,13 +3249,8 @@ module Google
|
|
|
3956
3249
|
execute_or_queue_command(command, &block)
|
|
3957
3250
|
end
|
|
3958
3251
|
|
|
3959
|
-
#
|
|
3960
|
-
# message from a participant into the conversation. Note: Always use agent
|
|
3961
|
-
# versions for production traffic sent to virtual agents. See [Versions and
|
|
3962
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
3252
|
+
#
|
|
3963
3253
|
# @param [String] participant
|
|
3964
|
-
# Required. The name of the participant this text comes from. Format: `projects//
|
|
3965
|
-
# locations//conversations//participants/`.
|
|
3966
3254
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentRequest] google_cloud_dialogflow_v2_analyze_content_request_object
|
|
3967
3255
|
# @param [String] fields
|
|
3968
3256
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3993,10 +3281,8 @@ module Google
|
|
|
3993
3281
|
execute_or_queue_command(command, &block)
|
|
3994
3282
|
end
|
|
3995
3283
|
|
|
3996
|
-
#
|
|
3284
|
+
#
|
|
3997
3285
|
# @param [String] parent
|
|
3998
|
-
# Required. Resource identifier of the conversation adding the participant.
|
|
3999
|
-
# Format: `projects//locations//conversations/`.
|
|
4000
3286
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Participant] google_cloud_dialogflow_v2_participant_object
|
|
4001
3287
|
# @param [String] fields
|
|
4002
3288
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4027,10 +3313,8 @@ module Google
|
|
|
4027
3313
|
execute_or_queue_command(command, &block)
|
|
4028
3314
|
end
|
|
4029
3315
|
|
|
4030
|
-
#
|
|
3316
|
+
#
|
|
4031
3317
|
# @param [String] name
|
|
4032
|
-
# Required. The name of the participant. Format: `projects//locations//
|
|
4033
|
-
# conversations//participants/`.
|
|
4034
3318
|
# @param [String] fields
|
|
4035
3319
|
# Selector specifying which fields to include in a partial response.
|
|
4036
3320
|
# @param [String] quota_user
|
|
@@ -4058,15 +3342,10 @@ module Google
|
|
|
4058
3342
|
execute_or_queue_command(command, &block)
|
|
4059
3343
|
end
|
|
4060
3344
|
|
|
4061
|
-
#
|
|
3345
|
+
#
|
|
4062
3346
|
# @param [String] parent
|
|
4063
|
-
# Required. The conversation to list all participants from. Format: `projects//
|
|
4064
|
-
# locations//conversations/`.
|
|
4065
3347
|
# @param [Fixnum] page_size
|
|
4066
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
4067
|
-
# 100 and at most 1000.
|
|
4068
3348
|
# @param [String] page_token
|
|
4069
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
4070
3349
|
# @param [String] fields
|
|
4071
3350
|
# Selector specifying which fields to include in a partial response.
|
|
4072
3351
|
# @param [String] quota_user
|
|
@@ -4096,13 +3375,10 @@ module Google
|
|
|
4096
3375
|
execute_or_queue_command(command, &block)
|
|
4097
3376
|
end
|
|
4098
3377
|
|
|
4099
|
-
#
|
|
3378
|
+
#
|
|
4100
3379
|
# @param [String] name
|
|
4101
|
-
# Optional. The unique identifier of this participant. Format: `projects//
|
|
4102
|
-
# locations//conversations//participants/`.
|
|
4103
3380
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Participant] google_cloud_dialogflow_v2_participant_object
|
|
4104
3381
|
# @param [String] update_mask
|
|
4105
|
-
# Required. The mask to specify which fields to update.
|
|
4106
3382
|
# @param [String] fields
|
|
4107
3383
|
# Selector specifying which fields to include in a partial response.
|
|
4108
3384
|
# @param [String] quota_user
|
|
@@ -4133,11 +3409,8 @@ module Google
|
|
|
4133
3409
|
execute_or_queue_command(command, &block)
|
|
4134
3410
|
end
|
|
4135
3411
|
|
|
4136
|
-
#
|
|
4137
|
-
# messages.
|
|
3412
|
+
#
|
|
4138
3413
|
# @param [String] parent
|
|
4139
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
4140
|
-
# projects//locations//conversations//participants/`.
|
|
4141
3414
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesRequest] google_cloud_dialogflow_v2_suggest_articles_request_object
|
|
4142
3415
|
# @param [String] fields
|
|
4143
3416
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4168,11 +3441,8 @@ module Google
|
|
|
4168
3441
|
execute_or_queue_command(command, &block)
|
|
4169
3442
|
end
|
|
4170
3443
|
|
|
4171
|
-
#
|
|
4172
|
-
# messages.
|
|
3444
|
+
#
|
|
4173
3445
|
# @param [String] parent
|
|
4174
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
4175
|
-
# projects//locations//conversations//participants/`.
|
|
4176
3446
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersRequest] google_cloud_dialogflow_v2_suggest_faq_answers_request_object
|
|
4177
3447
|
# @param [String] fields
|
|
4178
3448
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4203,10 +3473,8 @@ module Google
|
|
|
4203
3473
|
execute_or_queue_command(command, &block)
|
|
4204
3474
|
end
|
|
4205
3475
|
|
|
4206
|
-
#
|
|
3476
|
+
#
|
|
4207
3477
|
# @param [String] parent
|
|
4208
|
-
# Required. The name of the participant to fetch suggestions for. Format: `
|
|
4209
|
-
# projects//locations//conversations//participants/`.
|
|
4210
3478
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2_suggest_knowledge_assist_request_object
|
|
4211
3479
|
# @param [String] fields
|
|
4212
3480
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4237,10 +3505,8 @@ module Google
|
|
|
4237
3505
|
execute_or_queue_command(command, &block)
|
|
4238
3506
|
end
|
|
4239
3507
|
|
|
4240
|
-
#
|
|
3508
|
+
#
|
|
4241
3509
|
# @param [String] parent
|
|
4242
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
4243
|
-
# projects//locations//conversations//participants/`.
|
|
4244
3510
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesRequest] google_cloud_dialogflow_v2_suggest_smart_replies_request_object
|
|
4245
3511
|
# @param [String] fields
|
|
4246
3512
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4271,13 +3537,8 @@ module Google
|
|
|
4271
3537
|
execute_or_queue_command(command, &block)
|
|
4272
3538
|
end
|
|
4273
3539
|
|
|
4274
|
-
#
|
|
4275
|
-
# profile. A generator is used only if its trigger event is matched.
|
|
3540
|
+
#
|
|
4276
3541
|
# @param [String] conversation
|
|
4277
|
-
# Required. The conversation for which the suggestions are generated. Format: `
|
|
4278
|
-
# projects//locations//conversations/`. The conversation must be created with a
|
|
4279
|
-
# conversation profile which has generators configured in it to be able to get
|
|
4280
|
-
# suggestions.
|
|
4281
3542
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateSuggestionsRequest] google_cloud_dialogflow_v2_generate_suggestions_request_object
|
|
4282
3543
|
# @param [String] fields
|
|
4283
3544
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4308,10 +3569,8 @@ module Google
|
|
|
4308
3569
|
execute_or_queue_command(command, &block)
|
|
4309
3570
|
end
|
|
4310
3571
|
|
|
4311
|
-
#
|
|
3572
|
+
#
|
|
4312
3573
|
# @param [String] conversation
|
|
4313
|
-
# Optional. The conversation (between human agent and end user) where the search
|
|
4314
|
-
# request is triggered. Format: `projects//locations//conversations/`.
|
|
4315
3574
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
|
4316
3575
|
# @param [String] fields
|
|
4317
3576
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4342,11 +3601,8 @@ module Google
|
|
|
4342
3601
|
execute_or_queue_command(command, &block)
|
|
4343
3602
|
end
|
|
4344
3603
|
|
|
4345
|
-
#
|
|
4346
|
-
# range of the messages to be used for summary can be specified in the request.
|
|
3604
|
+
#
|
|
4347
3605
|
# @param [String] conversation
|
|
4348
|
-
# Required. The conversation to fetch suggestion for. Format: `projects//
|
|
4349
|
-
# locations//conversations/`.
|
|
4350
3606
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest] google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
|
|
4351
3607
|
# @param [String] fields
|
|
4352
3608
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4377,19 +3633,10 @@ module Google
|
|
|
4377
3633
|
execute_or_queue_command(command, &block)
|
|
4378
3634
|
end
|
|
4379
3635
|
|
|
4380
|
-
#
|
|
3636
|
+
#
|
|
4381
3637
|
# @param [String] parent
|
|
4382
|
-
# Required. The project/location to create generator for. Format: `projects//
|
|
4383
|
-
# locations/`
|
|
4384
3638
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator] google_cloud_dialogflow_v2_generator_object
|
|
4385
3639
|
# @param [String] generator_id
|
|
4386
|
-
# Optional. The ID to use for the generator, which will become the final
|
|
4387
|
-
# component of the generator's resource name. The generator ID must be compliant
|
|
4388
|
-
# with the regression formula `a-zA-Z*` with the characters length in range of [
|
|
4389
|
-
# 3,64]. If the field is not provided, an Id will be auto-generated. If the
|
|
4390
|
-
# field is provided, the caller is responsible for 1. the uniqueness of the ID,
|
|
4391
|
-
# otherwise the request will be rejected. 2. the consistency for whether to use
|
|
4392
|
-
# custom ID or not under a project to better ensure uniqueness.
|
|
4393
3640
|
# @param [String] fields
|
|
4394
3641
|
# Selector specifying which fields to include in a partial response.
|
|
4395
3642
|
# @param [String] quota_user
|
|
@@ -4420,15 +3667,10 @@ module Google
|
|
|
4420
3667
|
execute_or_queue_command(command, &block)
|
|
4421
3668
|
end
|
|
4422
3669
|
|
|
4423
|
-
#
|
|
3670
|
+
#
|
|
4424
3671
|
# @param [String] parent
|
|
4425
|
-
# Required. The project/location to list generators for. Format: `projects//
|
|
4426
|
-
# locations/`
|
|
4427
3672
|
# @param [Fixnum] page_size
|
|
4428
|
-
# Optional. Maximum number of conversation models to return in a single page.
|
|
4429
|
-
# Default to 10.
|
|
4430
3673
|
# @param [String] page_token
|
|
4431
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
4432
3674
|
# @param [String] fields
|
|
4433
3675
|
# Selector specifying which fields to include in a partial response.
|
|
4434
3676
|
# @param [String] quota_user
|
|
@@ -4458,10 +3700,8 @@ module Google
|
|
|
4458
3700
|
execute_or_queue_command(command, &block)
|
|
4459
3701
|
end
|
|
4460
3702
|
|
|
4461
|
-
#
|
|
3703
|
+
#
|
|
4462
3704
|
# @param [String] parent
|
|
4463
|
-
# Required. The project to create a knowledge base for. Format: `projects//
|
|
4464
|
-
# locations/`.
|
|
4465
3705
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
4466
3706
|
# @param [String] fields
|
|
4467
3707
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4492,13 +3732,9 @@ module Google
|
|
|
4492
3732
|
execute_or_queue_command(command, &block)
|
|
4493
3733
|
end
|
|
4494
3734
|
|
|
4495
|
-
#
|
|
3735
|
+
#
|
|
4496
3736
|
# @param [String] name
|
|
4497
|
-
# Required. The name of the knowledge base to delete. Format: `projects//
|
|
4498
|
-
# locations//knowledgeBases/`.
|
|
4499
3737
|
# @param [Boolean] force
|
|
4500
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
|
4501
|
-
# the knowledge base are also deleted.
|
|
4502
3738
|
# @param [String] fields
|
|
4503
3739
|
# Selector specifying which fields to include in a partial response.
|
|
4504
3740
|
# @param [String] quota_user
|
|
@@ -4527,10 +3763,8 @@ module Google
|
|
|
4527
3763
|
execute_or_queue_command(command, &block)
|
|
4528
3764
|
end
|
|
4529
3765
|
|
|
4530
|
-
#
|
|
3766
|
+
#
|
|
4531
3767
|
# @param [String] name
|
|
4532
|
-
# Required. The name of the knowledge base to retrieve. Format `projects//
|
|
4533
|
-
# locations//knowledgeBases/`.
|
|
4534
3768
|
# @param [String] fields
|
|
4535
3769
|
# Selector specifying which fields to include in a partial response.
|
|
4536
3770
|
# @param [String] quota_user
|
|
@@ -4558,28 +3792,11 @@ module Google
|
|
|
4558
3792
|
execute_or_queue_command(command, &block)
|
|
4559
3793
|
end
|
|
4560
3794
|
|
|
4561
|
-
#
|
|
3795
|
+
#
|
|
4562
3796
|
# @param [String] parent
|
|
4563
|
-
# Required. The project to list of knowledge bases for. Format: `projects//
|
|
4564
|
-
# locations/`.
|
|
4565
3797
|
# @param [String] filter
|
|
4566
|
-
# The filter expression used to filter knowledge bases returned by the list
|
|
4567
|
-
# method. The expression has the following syntax: [AND ] ... The following
|
|
4568
|
-
# fields and operators are supported: * display_name with has(:) operator *
|
|
4569
|
-
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
|
4570
|
-
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
|
4571
|
-
# matches knowledge bases whose display name contains "articles". * '
|
|
4572
|
-
# display_name:"Best Articles"' matches knowledge bases whose display name
|
|
4573
|
-
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
|
4574
|
-
# matches all knowledge bases whose display name contains "articles" and whose
|
|
4575
|
-
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
|
4576
|
-
# and will result in no filtering. For more information about filtering, see [
|
|
4577
|
-
# API Filtering](https://aip.dev/160).
|
|
4578
3798
|
# @param [Fixnum] page_size
|
|
4579
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
4580
|
-
# most 100.
|
|
4581
3799
|
# @param [String] page_token
|
|
4582
|
-
# The next_page_token value returned from a previous list request.
|
|
4583
3800
|
# @param [String] fields
|
|
4584
3801
|
# Selector specifying which fields to include in a partial response.
|
|
4585
3802
|
# @param [String] quota_user
|
|
@@ -4610,15 +3827,10 @@ module Google
|
|
|
4610
3827
|
execute_or_queue_command(command, &block)
|
|
4611
3828
|
end
|
|
4612
3829
|
|
|
4613
|
-
#
|
|
3830
|
+
#
|
|
4614
3831
|
# @param [String] name
|
|
4615
|
-
# The knowledge base resource name. The name must be empty when creating a
|
|
4616
|
-
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
|
4617
3832
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
4618
3833
|
# @param [String] update_mask
|
|
4619
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
4620
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
4621
|
-
# fields.
|
|
4622
3834
|
# @param [String] fields
|
|
4623
3835
|
# Selector specifying which fields to include in a partial response.
|
|
4624
3836
|
# @param [String] quota_user
|
|
@@ -4649,13 +3861,8 @@ module Google
|
|
|
4649
3861
|
execute_or_queue_command(command, &block)
|
|
4650
3862
|
end
|
|
4651
3863
|
|
|
4652
|
-
#
|
|
4653
|
-
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
|
4654
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
4655
|
-
# KnowledgeOperationMetadata - `response`: Document
|
|
3864
|
+
#
|
|
4656
3865
|
# @param [String] parent
|
|
4657
|
-
# Required. The knowledge base to create a document for. Format: `projects//
|
|
4658
|
-
# locations//knowledgeBases/`.
|
|
4659
3866
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
4660
3867
|
# @param [String] fields
|
|
4661
3868
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4686,14 +3893,8 @@ module Google
|
|
|
4686
3893
|
execute_or_queue_command(command, &block)
|
|
4687
3894
|
end
|
|
4688
3895
|
|
|
4689
|
-
#
|
|
4690
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
4691
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
4692
|
-
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
|
4693
|
-
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
|
3896
|
+
#
|
|
4694
3897
|
# @param [String] name
|
|
4695
|
-
# Required. The name of the document to delete. Format: `projects//locations//
|
|
4696
|
-
# knowledgeBases//documents/`.
|
|
4697
3898
|
# @param [String] fields
|
|
4698
3899
|
# Selector specifying which fields to include in a partial response.
|
|
4699
3900
|
# @param [String] quota_user
|
|
@@ -4721,14 +3922,8 @@ module Google
|
|
|
4721
3922
|
execute_or_queue_command(command, &block)
|
|
4722
3923
|
end
|
|
4723
3924
|
|
|
4724
|
-
#
|
|
4725
|
-
# This method is a [long-running operation](https://cloud.google.com/dialogflow/
|
|
4726
|
-
# cx/docs/how/long-running-operation). The returned `Operation` type has the
|
|
4727
|
-
# following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `
|
|
4728
|
-
# response`: Document
|
|
3925
|
+
#
|
|
4729
3926
|
# @param [String] name
|
|
4730
|
-
# Required. The name of the document to export. Format: `projects//locations//
|
|
4731
|
-
# knowledgeBases//documents/`.
|
|
4732
3927
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportDocumentRequest] google_cloud_dialogflow_v2_export_document_request_object
|
|
4733
3928
|
# @param [String] fields
|
|
4734
3929
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4759,10 +3954,8 @@ module Google
|
|
|
4759
3954
|
execute_or_queue_command(command, &block)
|
|
4760
3955
|
end
|
|
4761
3956
|
|
|
4762
|
-
#
|
|
3957
|
+
#
|
|
4763
3958
|
# @param [String] name
|
|
4764
|
-
# Required. The name of the document to retrieve. Format `projects//locations//
|
|
4765
|
-
# knowledgeBases//documents/`.
|
|
4766
3959
|
# @param [String] fields
|
|
4767
3960
|
# Selector specifying which fields to include in a partial response.
|
|
4768
3961
|
# @param [String] quota_user
|
|
@@ -4790,15 +3983,8 @@ module Google
|
|
|
4790
3983
|
execute_or_queue_command(command, &block)
|
|
4791
3984
|
end
|
|
4792
3985
|
|
|
4793
|
-
#
|
|
4794
|
-
# up to 350 documents in each request. If you try to import more, Dialogflow
|
|
4795
|
-
# will return an error. This method is a [long-running operation](https://cloud.
|
|
4796
|
-
# google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
|
4797
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
4798
|
-
# KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
|
|
3986
|
+
#
|
|
4799
3987
|
# @param [String] parent
|
|
4800
|
-
# Required. The knowledge base to import documents into. Format: `projects//
|
|
4801
|
-
# locations//knowledgeBases/`.
|
|
4802
3988
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentsRequest] google_cloud_dialogflow_v2_import_documents_request_object
|
|
4803
3989
|
# @param [String] fields
|
|
4804
3990
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4829,25 +4015,11 @@ module Google
|
|
|
4829
4015
|
execute_or_queue_command(command, &block)
|
|
4830
4016
|
end
|
|
4831
4017
|
|
|
4832
|
-
#
|
|
4018
|
+
#
|
|
4833
4019
|
# @param [String] parent
|
|
4834
|
-
# Required. The knowledge base to list all documents for. Format: `projects//
|
|
4835
|
-
# locations//knowledgeBases/`.
|
|
4836
4020
|
# @param [String] filter
|
|
4837
|
-
# The filter expression used to filter documents returned by the list method.
|
|
4838
|
-
# The expression has the following syntax: [AND ] ... The following fields and
|
|
4839
|
-
# operators are supported: * knowledge_types with has(:) operator * display_name
|
|
4840
|
-
# with has(:) operator * state with equals(=) operator Examples: * "
|
|
4841
|
-
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
|
4842
|
-
# display_name:customer" matches documents whose display name contains "customer"
|
|
4843
|
-
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
|
4844
|
-
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
|
4845
|
-
# filtering, see [API Filtering](https://aip.dev/160).
|
|
4846
4021
|
# @param [Fixnum] page_size
|
|
4847
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
4848
|
-
# most 100.
|
|
4849
4022
|
# @param [String] page_token
|
|
4850
|
-
# The next_page_token value returned from a previous list request.
|
|
4851
4023
|
# @param [String] fields
|
|
4852
4024
|
# Selector specifying which fields to include in a partial response.
|
|
4853
4025
|
# @param [String] quota_user
|
|
@@ -4878,18 +4050,10 @@ module Google
|
|
|
4878
4050
|
execute_or_queue_command(command, &block)
|
|
4879
4051
|
end
|
|
4880
4052
|
|
|
4881
|
-
#
|
|
4882
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
4883
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
4884
|
-
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
|
4053
|
+
#
|
|
4885
4054
|
# @param [String] name
|
|
4886
|
-
# Optional. The document resource name. The name must be empty when creating a
|
|
4887
|
-
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
|
4888
4055
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
4889
4056
|
# @param [String] update_mask
|
|
4890
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
4891
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
4892
|
-
# fields.
|
|
4893
4057
|
# @param [String] fields
|
|
4894
4058
|
# Selector specifying which fields to include in a partial response.
|
|
4895
4059
|
# @param [String] quota_user
|
|
@@ -4920,18 +4084,8 @@ module Google
|
|
|
4920
4084
|
execute_or_queue_command(command, &block)
|
|
4921
4085
|
end
|
|
4922
4086
|
|
|
4923
|
-
#
|
|
4924
|
-
# content. The previously loaded content of the document will be deleted. Note:
|
|
4925
|
-
# Even when the content of the document has not changed, there still may be side
|
|
4926
|
-
# effects because of internal implementation changes. This method is a [long-
|
|
4927
|
-
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
|
4928
|
-
# running-operation). The returned `Operation` type has the following method-
|
|
4929
|
-
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
|
4930
|
-
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
|
4931
|
-
# deprecated; only use `projects.knowledgeBases.documents`.
|
|
4087
|
+
#
|
|
4932
4088
|
# @param [String] name
|
|
4933
|
-
# Required. The name of the document to reload. Format: `projects//locations//
|
|
4934
|
-
# knowledgeBases//documents/`
|
|
4935
4089
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest] google_cloud_dialogflow_v2_reload_document_request_object
|
|
4936
4090
|
# @param [String] fields
|
|
4937
4091
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4962,10 +4116,8 @@ module Google
|
|
|
4962
4116
|
execute_or_queue_command(command, &block)
|
|
4963
4117
|
end
|
|
4964
4118
|
|
|
4965
|
-
#
|
|
4119
|
+
#
|
|
4966
4120
|
# @param [String] parent
|
|
4967
|
-
# Required. The project that the agent to delete is associated with. Format: `
|
|
4968
|
-
# projects/`.
|
|
4969
4121
|
# @param [String] fields
|
|
4970
4122
|
# Selector specifying which fields to include in a partial response.
|
|
4971
4123
|
# @param [String] quota_user
|
|
@@ -4993,9 +4145,8 @@ module Google
|
|
|
4993
4145
|
execute_or_queue_command(command, &block)
|
|
4994
4146
|
end
|
|
4995
4147
|
|
|
4996
|
-
#
|
|
4148
|
+
#
|
|
4997
4149
|
# @param [String] name
|
|
4998
|
-
# Resource name for the location.
|
|
4999
4150
|
# @param [String] fields
|
|
5000
4151
|
# Selector specifying which fields to include in a partial response.
|
|
5001
4152
|
# @param [String] quota_user
|
|
@@ -5023,10 +4174,8 @@ module Google
|
|
|
5023
4174
|
execute_or_queue_command(command, &block)
|
|
5024
4175
|
end
|
|
5025
4176
|
|
|
5026
|
-
#
|
|
4177
|
+
#
|
|
5027
4178
|
# @param [String] parent
|
|
5028
|
-
# Required. The project that the agent to fetch is associated with. Format: `
|
|
5029
|
-
# projects/`.
|
|
5030
4179
|
# @param [String] fields
|
|
5031
4180
|
# Selector specifying which fields to include in a partial response.
|
|
5032
4181
|
# @param [String] quota_user
|
|
@@ -5054,9 +4203,8 @@ module Google
|
|
|
5054
4203
|
execute_or_queue_command(command, &block)
|
|
5055
4204
|
end
|
|
5056
4205
|
|
|
5057
|
-
#
|
|
4206
|
+
#
|
|
5058
4207
|
# @param [String] name
|
|
5059
|
-
# Required. The name of the encryption spec resource to get.
|
|
5060
4208
|
# @param [String] fields
|
|
5061
4209
|
# Selector specifying which fields to include in a partial response.
|
|
5062
4210
|
# @param [String] quota_user
|
|
@@ -5084,22 +4232,12 @@ module Google
|
|
|
5084
4232
|
execute_or_queue_command(command, &block)
|
|
5085
4233
|
end
|
|
5086
4234
|
|
|
5087
|
-
#
|
|
4235
|
+
#
|
|
5088
4236
|
# @param [String] name
|
|
5089
|
-
# The resource that owns the locations collection, if applicable.
|
|
5090
4237
|
# @param [Array<String>, String] extra_location_types
|
|
5091
|
-
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
5092
|
-
# explicitly documented otherwise. This is primarily for internal usage.
|
|
5093
4238
|
# @param [String] filter
|
|
5094
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
|
5095
|
-
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
5096
|
-
# in [AIP-160](https://google.aip.dev/160).
|
|
5097
4239
|
# @param [Fixnum] page_size
|
|
5098
|
-
# The maximum number of results to return. If not set, the service selects a
|
|
5099
|
-
# default.
|
|
5100
4240
|
# @param [String] page_token
|
|
5101
|
-
# A page token received from the `next_page_token` field in the response. Send
|
|
5102
|
-
# that page token to receive the subsequent page.
|
|
5103
4241
|
# @param [String] fields
|
|
5104
4242
|
# Selector specifying which fields to include in a partial response.
|
|
5105
4243
|
# @param [String] quota_user
|
|
@@ -5131,14 +4269,10 @@ module Google
|
|
|
5131
4269
|
execute_or_queue_command(command, &block)
|
|
5132
4270
|
end
|
|
5133
4271
|
|
|
5134
|
-
#
|
|
5135
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
5136
|
-
# google.com/dialogflow/es/docs/training).
|
|
4272
|
+
#
|
|
5137
4273
|
# @param [String] parent
|
|
5138
|
-
# Required. The project of this agent. Format: `projects/`.
|
|
5139
4274
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
|
5140
4275
|
# @param [String] update_mask
|
|
5141
|
-
# Optional. The mask to control which fields get updated.
|
|
5142
4276
|
# @param [String] fields
|
|
5143
4277
|
# Selector specifying which fields to include in a partial response.
|
|
5144
4278
|
# @param [String] quota_user
|
|
@@ -5169,15 +4303,8 @@ module Google
|
|
|
5169
4303
|
execute_or_queue_command(command, &block)
|
|
5170
4304
|
end
|
|
5171
4305
|
|
|
5172
|
-
#
|
|
5173
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
5174
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
5175
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
5176
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
|
5177
|
-
# ExportAgentResponse
|
|
4306
|
+
#
|
|
5178
4307
|
# @param [String] parent
|
|
5179
|
-
# Required. The project that the agent to export is associated with. Format: `
|
|
5180
|
-
# projects/`.
|
|
5181
4308
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportAgentRequest] google_cloud_dialogflow_v2_export_agent_request_object
|
|
5182
4309
|
# @param [String] fields
|
|
5183
4310
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5208,9 +4335,8 @@ module Google
|
|
|
5208
4335
|
execute_or_queue_command(command, &block)
|
|
5209
4336
|
end
|
|
5210
4337
|
|
|
5211
|
-
#
|
|
4338
|
+
#
|
|
5212
4339
|
# @param [String] name
|
|
5213
|
-
# Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
|
|
5214
4340
|
# @param [String] fields
|
|
5215
4341
|
# Selector specifying which fields to include in a partial response.
|
|
5216
4342
|
# @param [String] quota_user
|
|
@@ -5238,15 +4364,9 @@ module Google
|
|
|
5238
4364
|
execute_or_queue_command(command, &block)
|
|
5239
4365
|
end
|
|
5240
4366
|
|
|
5241
|
-
#
|
|
5242
|
-
# time and is updated automatically when training is completed.
|
|
4367
|
+
#
|
|
5243
4368
|
# @param [String] parent
|
|
5244
|
-
# Required. The project that the agent is associated with. Format: `projects/`.
|
|
5245
4369
|
# @param [String] language_code
|
|
5246
|
-
# Optional. The language for which you want a validation result. If not
|
|
5247
|
-
# specified, the agent's default language is used. [Many languages](https://
|
|
5248
|
-
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
|
5249
|
-
# languages must be enabled in the agent before they can be used.
|
|
5250
4370
|
# @param [String] fields
|
|
5251
4371
|
# Selector specifying which fields to include in a partial response.
|
|
5252
4372
|
# @param [String] quota_user
|
|
@@ -5275,25 +4395,8 @@ module Google
|
|
|
5275
4395
|
execute_or_queue_command(command, &block)
|
|
5276
4396
|
end
|
|
5277
4397
|
|
|
5278
|
-
#
|
|
5279
|
-
# types without deleting the existing ones. Intents and entity types with the
|
|
5280
|
-
# same name are replaced with the new versions from ImportAgentRequest. After
|
|
5281
|
-
# the import, the imported draft agent will be trained automatically (unless
|
|
5282
|
-
# disabled in agent settings). However, once the import is done, training may
|
|
5283
|
-
# not be completed yet. Please call TrainAgent and wait for the operation it
|
|
5284
|
-
# returns in order to train explicitly. This method is a [long-running operation]
|
|
5285
|
-
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
|
5286
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
5287
|
-
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
|
5288
|
-
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
|
5289
|
-
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
5290
|
-
# empty) The operation only tracks when importing is complete, not when it is
|
|
5291
|
-
# done training. Note: You should always train an agent prior to sending it
|
|
5292
|
-
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
|
5293
|
-
# es/docs/training).
|
|
4398
|
+
#
|
|
5294
4399
|
# @param [String] parent
|
|
5295
|
-
# Required. The project that the agent to import is associated with. Format: `
|
|
5296
|
-
# projects/`.
|
|
5297
4400
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportAgentRequest] google_cloud_dialogflow_v2_import_agent_request_object
|
|
5298
4401
|
# @param [String] fields
|
|
5299
4402
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5324,24 +4427,8 @@ module Google
|
|
|
5324
4427
|
execute_or_queue_command(command, &block)
|
|
5325
4428
|
end
|
|
5326
4429
|
|
|
5327
|
-
#
|
|
5328
|
-
# version with a new one. All the intents and entity types in the older version
|
|
5329
|
-
# are deleted. After the restore, the restored draft agent will be trained
|
|
5330
|
-
# automatically (unless disabled in agent settings). However, once the restore
|
|
5331
|
-
# is done, training may not be completed yet. Please call TrainAgent and wait
|
|
5332
|
-
# for the operation it returns in order to train explicitly. This method is a [
|
|
5333
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
5334
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
5335
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
5336
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
5337
|
-
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
|
5338
|
-
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
|
5339
|
-
# complete, not when it is done training. Note: You should always train an agent
|
|
5340
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
5341
|
-
# google.com/dialogflow/es/docs/training).
|
|
4430
|
+
#
|
|
5342
4431
|
# @param [String] parent
|
|
5343
|
-
# Required. The project that the agent to restore is associated with. Format: `
|
|
5344
|
-
# projects/`.
|
|
5345
4432
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RestoreAgentRequest] google_cloud_dialogflow_v2_restore_agent_request_object
|
|
5346
4433
|
# @param [String] fields
|
|
5347
4434
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5372,18 +4459,10 @@ module Google
|
|
|
5372
4459
|
execute_or_queue_command(command, &block)
|
|
5373
4460
|
end
|
|
5374
4461
|
|
|
5375
|
-
#
|
|
5376
|
-
# per project, this method is useful primarily for listing all agents across
|
|
5377
|
-
# projects the caller has access to. One can achieve that with a wildcard
|
|
5378
|
-
# project collection id "-". Refer to [List Sub-Collections](https://cloud.
|
|
5379
|
-
# google.com/apis/design/design_patterns#list_sub-collections).
|
|
4462
|
+
#
|
|
5380
4463
|
# @param [String] parent
|
|
5381
|
-
# Required. The project to list agents from. Format: `projects/`.
|
|
5382
4464
|
# @param [Fixnum] page_size
|
|
5383
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
5384
|
-
# 100 and at most 1000.
|
|
5385
4465
|
# @param [String] page_token
|
|
5386
|
-
# The next_page_token value returned from a previous list request.
|
|
5387
4466
|
# @param [String] fields
|
|
5388
4467
|
# Selector specifying which fields to include in a partial response.
|
|
5389
4468
|
# @param [String] quota_user
|
|
@@ -5413,17 +4492,8 @@ module Google
|
|
|
5413
4492
|
execute_or_queue_command(command, &block)
|
|
5414
4493
|
end
|
|
5415
4494
|
|
|
5416
|
-
#
|
|
5417
|
-
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
|
5418
|
-
# `Operation` type has the following method-specific fields: - `metadata`: An
|
|
5419
|
-
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
|
5420
|
-
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
|
5421
|
-
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
|
5422
|
-
# Note: You should always train an agent prior to sending it queries. See the [
|
|
5423
|
-
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
4495
|
+
#
|
|
5424
4496
|
# @param [String] parent
|
|
5425
|
-
# Required. The project that the agent to train is associated with. Format: `
|
|
5426
|
-
# projects/`.
|
|
5427
4497
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TrainAgentRequest] google_cloud_dialogflow_v2_train_agent_request_object
|
|
5428
4498
|
# @param [String] fields
|
|
5429
4499
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5454,15 +4524,10 @@ module Google
|
|
|
5454
4524
|
execute_or_queue_command(command, &block)
|
|
5455
4525
|
end
|
|
5456
4526
|
|
|
5457
|
-
#
|
|
4527
|
+
#
|
|
5458
4528
|
# @param [String] name
|
|
5459
|
-
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
|
5460
|
-
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
|
5461
|
-
# field is not used for Fulfillment in an Environment.
|
|
5462
4529
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment] google_cloud_dialogflow_v2_fulfillment_object
|
|
5463
4530
|
# @param [String] update_mask
|
|
5464
|
-
# Required. The mask to control which fields get updated. If the mask is not
|
|
5465
|
-
# present, all fields will be updated.
|
|
5466
4531
|
# @param [String] fields
|
|
5467
4532
|
# Selector specifying which fields to include in a partial response.
|
|
5468
4533
|
# @param [String] quota_user
|
|
@@ -5493,18 +4558,8 @@ module Google
|
|
|
5493
4558
|
execute_or_queue_command(command, &block)
|
|
5494
4559
|
end
|
|
5495
4560
|
|
|
5496
|
-
#
|
|
5497
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
5498
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
5499
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
5500
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
5501
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
5502
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
5503
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
5504
|
-
# dialogflow/es/docs/training).
|
|
4561
|
+
#
|
|
5505
4562
|
# @param [String] parent
|
|
5506
|
-
# Required. The name of the agent to delete all entities types for. Format: `
|
|
5507
|
-
# projects//agent`.
|
|
5508
4563
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2_batch_delete_entity_types_request_object
|
|
5509
4564
|
# @param [String] fields
|
|
5510
4565
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5535,17 +4590,8 @@ module Google
|
|
|
5535
4590
|
execute_or_queue_command(command, &block)
|
|
5536
4591
|
end
|
|
5537
4592
|
|
|
5538
|
-
#
|
|
5539
|
-
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
5540
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
5541
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
5542
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
5543
|
-
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
|
5544
|
-
# to sending it queries. See the [training documentation](https://cloud.google.
|
|
5545
|
-
# com/dialogflow/es/docs/training).
|
|
4593
|
+
#
|
|
5546
4594
|
# @param [String] parent
|
|
5547
|
-
# Required. The name of the agent to update or create entity types in. Format: `
|
|
5548
|
-
# projects//agent`.
|
|
5549
4595
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2_batch_update_entity_types_request_object
|
|
5550
4596
|
# @param [String] fields
|
|
5551
4597
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5576,17 +4622,10 @@ module Google
|
|
|
5576
4622
|
execute_or_queue_command(command, &block)
|
|
5577
4623
|
end
|
|
5578
4624
|
|
|
5579
|
-
#
|
|
5580
|
-
# an agent prior to sending it queries. See the [training documentation](https://
|
|
5581
|
-
# cloud.google.com/dialogflow/es/docs/training).
|
|
4625
|
+
#
|
|
5582
4626
|
# @param [String] parent
|
|
5583
|
-
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
|
5584
4627
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
|
5585
4628
|
# @param [String] language_code
|
|
5586
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
5587
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
5588
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
5589
|
-
# multilingual#intent-entity).
|
|
5590
4629
|
# @param [String] fields
|
|
5591
4630
|
# Selector specifying which fields to include in a partial response.
|
|
5592
4631
|
# @param [String] quota_user
|
|
@@ -5617,12 +4656,8 @@ module Google
|
|
|
5617
4656
|
execute_or_queue_command(command, &block)
|
|
5618
4657
|
end
|
|
5619
4658
|
|
|
5620
|
-
#
|
|
5621
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
5622
|
-
# google.com/dialogflow/es/docs/training).
|
|
4659
|
+
#
|
|
5623
4660
|
# @param [String] name
|
|
5624
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
5625
|
-
# entityTypes/`.
|
|
5626
4661
|
# @param [String] fields
|
|
5627
4662
|
# Selector specifying which fields to include in a partial response.
|
|
5628
4663
|
# @param [String] quota_user
|
|
@@ -5650,14 +4685,9 @@ module Google
|
|
|
5650
4685
|
execute_or_queue_command(command, &block)
|
|
5651
4686
|
end
|
|
5652
4687
|
|
|
5653
|
-
#
|
|
4688
|
+
#
|
|
5654
4689
|
# @param [String] name
|
|
5655
|
-
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
|
5656
4690
|
# @param [String] language_code
|
|
5657
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
5658
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
5659
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
5660
|
-
# multilingual#intent-entity).
|
|
5661
4691
|
# @param [String] fields
|
|
5662
4692
|
# Selector specifying which fields to include in a partial response.
|
|
5663
4693
|
# @param [String] quota_user
|
|
@@ -5686,19 +4716,11 @@ module Google
|
|
|
5686
4716
|
execute_or_queue_command(command, &block)
|
|
5687
4717
|
end
|
|
5688
4718
|
|
|
5689
|
-
#
|
|
4719
|
+
#
|
|
5690
4720
|
# @param [String] parent
|
|
5691
|
-
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
|
5692
4721
|
# @param [String] language_code
|
|
5693
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
5694
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
5695
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
5696
|
-
# multilingual#intent-entity).
|
|
5697
4722
|
# @param [Fixnum] page_size
|
|
5698
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
5699
|
-
# 100 and at most 1000.
|
|
5700
4723
|
# @param [String] page_token
|
|
5701
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
5702
4724
|
# @param [String] fields
|
|
5703
4725
|
# Selector specifying which fields to include in a partial response.
|
|
5704
4726
|
# @param [String] quota_user
|
|
@@ -5729,21 +4751,11 @@ module Google
|
|
|
5729
4751
|
execute_or_queue_command(command, &block)
|
|
5730
4752
|
end
|
|
5731
4753
|
|
|
5732
|
-
#
|
|
5733
|
-
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
5734
|
-
# google.com/dialogflow/es/docs/training).
|
|
4754
|
+
#
|
|
5735
4755
|
# @param [String] name
|
|
5736
|
-
# The unique identifier of the entity type. Required for EntityTypes.
|
|
5737
|
-
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
|
5738
|
-
# projects//agent/entityTypes/`.
|
|
5739
4756
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
|
5740
4757
|
# @param [String] language_code
|
|
5741
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
5742
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
5743
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
5744
|
-
# multilingual#intent-entity).
|
|
5745
4758
|
# @param [String] update_mask
|
|
5746
|
-
# Optional. The mask to control which fields get updated.
|
|
5747
4759
|
# @param [String] fields
|
|
5748
4760
|
# Selector specifying which fields to include in a partial response.
|
|
5749
4761
|
# @param [String] quota_user
|
|
@@ -5775,18 +4787,8 @@ module Google
|
|
|
5775
4787
|
execute_or_queue_command(command, &block)
|
|
5776
4788
|
end
|
|
5777
4789
|
|
|
5778
|
-
#
|
|
5779
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
5780
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
5781
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
5782
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
5783
|
-
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
|
5784
|
-
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
|
5785
|
-
# to sending it queries. See the [training documentation](https://cloud.google.
|
|
5786
|
-
# com/dialogflow/es/docs/training).
|
|
4790
|
+
#
|
|
5787
4791
|
# @param [String] parent
|
|
5788
|
-
# Required. The name of the entity type to create entities in. Format: `projects/
|
|
5789
|
-
# /agent/entityTypes/`.
|
|
5790
4792
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchCreateEntitiesRequest] google_cloud_dialogflow_v2_batch_create_entities_request_object
|
|
5791
4793
|
# @param [String] fields
|
|
5792
4794
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5817,18 +4819,8 @@ module Google
|
|
|
5817
4819
|
execute_or_queue_command(command, &block)
|
|
5818
4820
|
end
|
|
5819
4821
|
|
|
5820
|
-
#
|
|
5821
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
5822
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
5823
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
5824
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
5825
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
5826
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
5827
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
5828
|
-
# dialogflow/es/docs/training).
|
|
4822
|
+
#
|
|
5829
4823
|
# @param [String] parent
|
|
5830
|
-
# Required. The name of the entity type to delete entries for. Format: `projects/
|
|
5831
|
-
# /agent/entityTypes/`.
|
|
5832
4824
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2_batch_delete_entities_request_object
|
|
5833
4825
|
# @param [String] fields
|
|
5834
4826
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5859,19 +4851,8 @@ module Google
|
|
|
5859
4851
|
execute_or_queue_command(command, &block)
|
|
5860
4852
|
end
|
|
5861
4853
|
|
|
5862
|
-
#
|
|
5863
|
-
# does not affect entities in the entity type that aren't explicitly specified
|
|
5864
|
-
# in the request. This method is a [long-running operation](https://cloud.google.
|
|
5865
|
-
# com/dialogflow/es/docs/how/long-running-operations). The returned `Operation`
|
|
5866
|
-
# type has the following method-specific fields: - `metadata`: An empty [Struct
|
|
5867
|
-
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
5868
|
-
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
|
5869
|
-
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
|
5870
|
-
# always train an agent prior to sending it queries. See the [training
|
|
5871
|
-
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
4854
|
+
#
|
|
5872
4855
|
# @param [String] parent
|
|
5873
|
-
# Required. The name of the entity type to update or create entities in. Format:
|
|
5874
|
-
# `projects//agent/entityTypes/`.
|
|
5875
4856
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object
|
|
5876
4857
|
# @param [String] fields
|
|
5877
4858
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5902,13 +4883,10 @@ module Google
|
|
|
5902
4883
|
execute_or_queue_command(command, &block)
|
|
5903
4884
|
end
|
|
5904
4885
|
|
|
5905
|
-
#
|
|
4886
|
+
#
|
|
5906
4887
|
# @param [String] parent
|
|
5907
|
-
# Required. The agent to create an environment for. Supported formats: - `
|
|
5908
|
-
# projects//agent` - `projects//locations//agent`
|
|
5909
4888
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
|
5910
4889
|
# @param [String] environment_id
|
|
5911
|
-
# Required. The unique id of the new environment.
|
|
5912
4890
|
# @param [String] fields
|
|
5913
4891
|
# Selector specifying which fields to include in a partial response.
|
|
5914
4892
|
# @param [String] quota_user
|
|
@@ -5939,11 +4917,8 @@ module Google
|
|
|
5939
4917
|
execute_or_queue_command(command, &block)
|
|
5940
4918
|
end
|
|
5941
4919
|
|
|
5942
|
-
#
|
|
4920
|
+
#
|
|
5943
4921
|
# @param [String] name
|
|
5944
|
-
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
|
5945
|
-
# environments/` - `projects//locations//agent/environments/` The environment ID
|
|
5946
|
-
# for the default environment is `-`.
|
|
5947
4922
|
# @param [String] fields
|
|
5948
4923
|
# Selector specifying which fields to include in a partial response.
|
|
5949
4924
|
# @param [String] quota_user
|
|
@@ -5971,11 +4946,8 @@ module Google
|
|
|
5971
4946
|
execute_or_queue_command(command, &block)
|
|
5972
4947
|
end
|
|
5973
4948
|
|
|
5974
|
-
#
|
|
4949
|
+
#
|
|
5975
4950
|
# @param [String] name
|
|
5976
|
-
# Required. The name of the environment. Supported formats: - `projects//agent/
|
|
5977
|
-
# environments/` - `projects//locations//agent/environments/` The environment ID
|
|
5978
|
-
# for the default environment is `-`.
|
|
5979
4951
|
# @param [String] fields
|
|
5980
4952
|
# Selector specifying which fields to include in a partial response.
|
|
5981
4953
|
# @param [String] quota_user
|
|
@@ -6003,16 +4975,10 @@ module Google
|
|
|
6003
4975
|
execute_or_queue_command(command, &block)
|
|
6004
4976
|
end
|
|
6005
4977
|
|
|
6006
|
-
#
|
|
4978
|
+
#
|
|
6007
4979
|
# @param [String] parent
|
|
6008
|
-
# Required. The name of the environment to retrieve history for. Supported
|
|
6009
|
-
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
|
6010
|
-
# environments/` The environment ID for the default environment is `-`.
|
|
6011
4980
|
# @param [Fixnum] page_size
|
|
6012
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6013
|
-
# 100 and at most 1000.
|
|
6014
4981
|
# @param [String] page_token
|
|
6015
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6016
4982
|
# @param [String] fields
|
|
6017
4983
|
# Selector specifying which fields to include in a partial response.
|
|
6018
4984
|
# @param [String] quota_user
|
|
@@ -6042,15 +5008,10 @@ module Google
|
|
|
6042
5008
|
execute_or_queue_command(command, &block)
|
|
6043
5009
|
end
|
|
6044
5010
|
|
|
6045
|
-
#
|
|
5011
|
+
#
|
|
6046
5012
|
# @param [String] parent
|
|
6047
|
-
# Required. The agent to list all environments from. Format: - `projects//agent`
|
|
6048
|
-
# - `projects//locations//agent`
|
|
6049
5013
|
# @param [Fixnum] page_size
|
|
6050
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6051
|
-
# 100 and at most 1000.
|
|
6052
5014
|
# @param [String] page_token
|
|
6053
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6054
5015
|
# @param [String] fields
|
|
6055
5016
|
# Selector specifying which fields to include in a partial response.
|
|
6056
5017
|
# @param [String] quota_user
|
|
@@ -6080,28 +5041,11 @@ module Google
|
|
|
6080
5041
|
execute_or_queue_command(command, &block)
|
|
6081
5042
|
end
|
|
6082
5043
|
|
|
6083
|
-
#
|
|
6084
|
-
# agent versions into the environment. When an environment is pointed to a new
|
|
6085
|
-
# agent version by setting `environment.agent_version`, the environment is
|
|
6086
|
-
# temporarily set to the `LOADING` state. During that time, the environment
|
|
6087
|
-
# continues serving the previous version of the agent. After the new agent
|
|
6088
|
-
# version is done loading, the environment is set back to the `RUNNING` state.
|
|
6089
|
-
# You can use "-" as Environment ID in environment name to update an agent
|
|
6090
|
-
# version in the default environment. WARNING: this will negate all recent
|
|
6091
|
-
# changes to the draft agent and can't be undone. You may want to save the draft
|
|
6092
|
-
# agent to a version before calling this method.
|
|
5044
|
+
#
|
|
6093
5045
|
# @param [String] name
|
|
6094
|
-
# Output only. The unique identifier of this agent environment. Supported
|
|
6095
|
-
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
|
6096
|
-
# environments/` The environment ID for the default environment is `-`.
|
|
6097
5046
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
|
6098
5047
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
|
6099
|
-
# Optional. This field is used to prevent accidental overwrite of the default
|
|
6100
|
-
# environment, which is an operation that cannot be undone. To confirm that the
|
|
6101
|
-
# caller desires this overwrite, this field must be explicitly set to true when
|
|
6102
|
-
# updating the default environment (environment ID = `-`).
|
|
6103
5048
|
# @param [String] update_mask
|
|
6104
|
-
# Required. The mask to control which fields get updated.
|
|
6105
5049
|
# @param [String] fields
|
|
6106
5050
|
# Selector specifying which fields to include in a partial response.
|
|
6107
5051
|
# @param [String] quota_user
|
|
@@ -6133,25 +5077,12 @@ module Google
|
|
|
6133
5077
|
execute_or_queue_command(command, &block)
|
|
6134
5078
|
end
|
|
6135
5079
|
|
|
6136
|
-
#
|
|
5080
|
+
#
|
|
6137
5081
|
# @param [String] parent
|
|
6138
|
-
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
|
6139
|
-
# projects//locations//agent`. Alternatively, you can specify the environment to
|
|
6140
|
-
# list intents for. Format: `projects//agent/environments/` or `projects//
|
|
6141
|
-
# locations//agent/environments/`. Note: training phrases of the intents will
|
|
6142
|
-
# not be returned for non-draft environment.
|
|
6143
5082
|
# @param [String] intent_view
|
|
6144
|
-
# Optional. The resource view to apply to the returned intent.
|
|
6145
5083
|
# @param [String] language_code
|
|
6146
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
6147
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
6148
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
6149
|
-
# multilingual#intent-entity).
|
|
6150
5084
|
# @param [Fixnum] page_size
|
|
6151
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6152
|
-
# 100 and at most 1000.
|
|
6153
5085
|
# @param [String] page_token
|
|
6154
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6155
5086
|
# @param [String] fields
|
|
6156
5087
|
# Selector specifying which fields to include in a partial response.
|
|
6157
5088
|
# @param [String] quota_user
|
|
@@ -6183,12 +5114,8 @@ module Google
|
|
|
6183
5114
|
execute_or_queue_command(command, &block)
|
|
6184
5115
|
end
|
|
6185
5116
|
|
|
6186
|
-
#
|
|
5117
|
+
#
|
|
6187
5118
|
# @param [String] parent
|
|
6188
|
-
# Required. The name of the session to delete all contexts from. Format: `
|
|
6189
|
-
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
|
6190
|
-
# If `Environment ID` is not specified we assume default 'draft' environment.
|
|
6191
|
-
# If `User ID` is not specified, we assume default '-' user.
|
|
6192
5119
|
# @param [String] fields
|
|
6193
5120
|
# Selector specifying which fields to include in a partial response.
|
|
6194
5121
|
# @param [String] quota_user
|
|
@@ -6216,28 +5143,8 @@ module Google
|
|
|
6216
5143
|
execute_or_queue_command(command, &block)
|
|
6217
5144
|
end
|
|
6218
5145
|
|
|
6219
|
-
#
|
|
6220
|
-
# a result. This method is not idempotent, because it may cause contexts and
|
|
6221
|
-
# session entity types to be updated, which in turn might affect results of
|
|
6222
|
-
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
|
6223
|
-
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
|
6224
|
-
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
|
6225
|
-
# additional functionality for Agent Assist and other CCAI products. Note:
|
|
6226
|
-
# Always use agent versions for production traffic. See [Versions and
|
|
6227
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
5146
|
+
#
|
|
6228
5147
|
# @param [String] session
|
|
6229
|
-
# Required. The name of the session this query is sent to. Format: `projects//
|
|
6230
|
-
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
6231
|
-
# Environment ID` is not specified, we assume default 'draft' environment (`
|
|
6232
|
-
# Environment ID` might be referred to as environment name at some places). If `
|
|
6233
|
-
# User ID` is not specified, we are using "-". It's up to the API caller to
|
|
6234
|
-
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
|
6235
|
-
# or some type of user and session identifiers (preferably hashed). The length
|
|
6236
|
-
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
6237
|
-
# information, see the [API interactions guide](https://cloud.google.com/
|
|
6238
|
-
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
6239
|
-
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
6240
|
-
# es/docs/agents-versions).
|
|
6241
5148
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
6242
5149
|
# @param [String] fields
|
|
6243
5150
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -6268,13 +5175,8 @@ module Google
|
|
|
6268
5175
|
execute_or_queue_command(command, &block)
|
|
6269
5176
|
end
|
|
6270
5177
|
|
|
6271
|
-
#
|
|
6272
|
-
# context.
|
|
5178
|
+
#
|
|
6273
5179
|
# @param [String] parent
|
|
6274
|
-
# Required. The session to create a context for. Format: `projects//agent/
|
|
6275
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
6276
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6277
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6278
5180
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
6279
5181
|
# @param [String] fields
|
|
6280
5182
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -6305,12 +5207,8 @@ module Google
|
|
|
6305
5207
|
execute_or_queue_command(command, &block)
|
|
6306
5208
|
end
|
|
6307
5209
|
|
|
6308
|
-
#
|
|
5210
|
+
#
|
|
6309
5211
|
# @param [String] name
|
|
6310
|
-
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
|
6311
|
-
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
6312
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6313
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6314
5212
|
# @param [String] fields
|
|
6315
5213
|
# Selector specifying which fields to include in a partial response.
|
|
6316
5214
|
# @param [String] quota_user
|
|
@@ -6338,12 +5236,8 @@ module Google
|
|
|
6338
5236
|
execute_or_queue_command(command, &block)
|
|
6339
5237
|
end
|
|
6340
5238
|
|
|
6341
|
-
#
|
|
5239
|
+
#
|
|
6342
5240
|
# @param [String] name
|
|
6343
|
-
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
|
6344
|
-
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
6345
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6346
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6347
5241
|
# @param [String] fields
|
|
6348
5242
|
# Selector specifying which fields to include in a partial response.
|
|
6349
5243
|
# @param [String] quota_user
|
|
@@ -6371,17 +5265,10 @@ module Google
|
|
|
6371
5265
|
execute_or_queue_command(command, &block)
|
|
6372
5266
|
end
|
|
6373
5267
|
|
|
6374
|
-
#
|
|
5268
|
+
#
|
|
6375
5269
|
# @param [String] parent
|
|
6376
|
-
# Required. The session to list all contexts from. Format: `projects//agent/
|
|
6377
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
6378
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6379
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6380
5270
|
# @param [Fixnum] page_size
|
|
6381
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6382
|
-
# 100 and at most 1000.
|
|
6383
5271
|
# @param [String] page_token
|
|
6384
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6385
5272
|
# @param [String] fields
|
|
6386
5273
|
# Selector specifying which fields to include in a partial response.
|
|
6387
5274
|
# @param [String] quota_user
|
|
@@ -6411,20 +5298,10 @@ module Google
|
|
|
6411
5298
|
execute_or_queue_command(command, &block)
|
|
6412
5299
|
end
|
|
6413
5300
|
|
|
6414
|
-
#
|
|
5301
|
+
#
|
|
6415
5302
|
# @param [String] name
|
|
6416
|
-
# Required. The unique identifier of the context. Format: `projects//agent/
|
|
6417
|
-
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
|
6418
|
-
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
|
6419
|
-
# contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
|
|
6420
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6421
|
-
# User ID` is not specified, we assume default '-' user. The following context
|
|
6422
|
-
# names are reserved for internal use by Dialogflow. You should not use these
|
|
6423
|
-
# contexts or create contexts with these names: * `__system_counters__` * `*
|
|
6424
|
-
# _id_dialog_context` * `*_dialog_params_size`
|
|
6425
5303
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
6426
5304
|
# @param [String] update_mask
|
|
6427
|
-
# Optional. The mask to control which fields get updated.
|
|
6428
5305
|
# @param [String] fields
|
|
6429
5306
|
# Selector specifying which fields to include in a partial response.
|
|
6430
5307
|
# @param [String] quota_user
|
|
@@ -6455,15 +5332,8 @@ module Google
|
|
|
6455
5332
|
execute_or_queue_command(command, &block)
|
|
6456
5333
|
end
|
|
6457
5334
|
|
|
6458
|
-
#
|
|
6459
|
-
# exists, overrides the session entity type. This method doesn't work with
|
|
6460
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
6461
|
-
# session entities with Google Assistant integration.
|
|
5335
|
+
#
|
|
6462
5336
|
# @param [String] parent
|
|
6463
|
-
# Required. The session to create a session entity type for. Format: `projects//
|
|
6464
|
-
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
6465
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6466
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6467
5337
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
6468
5338
|
# @param [String] fields
|
|
6469
5339
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -6494,14 +5364,8 @@ module Google
|
|
|
6494
5364
|
execute_or_queue_command(command, &block)
|
|
6495
5365
|
end
|
|
6496
5366
|
|
|
6497
|
-
#
|
|
6498
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
6499
|
-
# session entities with Google Assistant integration.
|
|
5367
|
+
#
|
|
6500
5368
|
# @param [String] name
|
|
6501
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
6502
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
6503
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
6504
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
6505
5369
|
# @param [String] fields
|
|
6506
5370
|
# Selector specifying which fields to include in a partial response.
|
|
6507
5371
|
# @param [String] quota_user
|
|
@@ -6529,14 +5393,8 @@ module Google
|
|
|
6529
5393
|
execute_or_queue_command(command, &block)
|
|
6530
5394
|
end
|
|
6531
5395
|
|
|
6532
|
-
#
|
|
6533
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
6534
|
-
# session entities with Google Assistant integration.
|
|
5396
|
+
#
|
|
6535
5397
|
# @param [String] name
|
|
6536
|
-
# Required. The name of the session entity type. Format: `projects//agent/
|
|
6537
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
6538
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
6539
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
6540
5398
|
# @param [String] fields
|
|
6541
5399
|
# Selector specifying which fields to include in a partial response.
|
|
6542
5400
|
# @param [String] quota_user
|
|
@@ -6564,19 +5422,10 @@ module Google
|
|
|
6564
5422
|
execute_or_queue_command(command, &block)
|
|
6565
5423
|
end
|
|
6566
5424
|
|
|
6567
|
-
#
|
|
6568
|
-
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
|
6569
|
-
# support if you need to use session entities with Google Assistant integration.
|
|
5425
|
+
#
|
|
6570
5426
|
# @param [String] parent
|
|
6571
|
-
# Required. The session to list all session entity types from. Format: `projects/
|
|
6572
|
-
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
6573
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
6574
|
-
# User ID` is not specified, we assume default '-' user.
|
|
6575
5427
|
# @param [Fixnum] page_size
|
|
6576
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6577
|
-
# 100 and at most 1000.
|
|
6578
5428
|
# @param [String] page_token
|
|
6579
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6580
5429
|
# @param [String] fields
|
|
6581
5430
|
# Selector specifying which fields to include in a partial response.
|
|
6582
5431
|
# @param [String] quota_user
|
|
@@ -6606,19 +5455,10 @@ module Google
|
|
|
6606
5455
|
execute_or_queue_command(command, &block)
|
|
6607
5456
|
end
|
|
6608
5457
|
|
|
6609
|
-
#
|
|
6610
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
6611
|
-
# session entities with Google Assistant integration.
|
|
5458
|
+
#
|
|
6612
5459
|
# @param [String] name
|
|
6613
|
-
# Required. The unique identifier of this session entity type. Format: `projects/
|
|
6614
|
-
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
|
6615
|
-
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
|
6616
|
-
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
|
6617
|
-
# -' user. `` must be the display name of an existing entity type in the same
|
|
6618
|
-
# agent that will be overridden or supplemented.
|
|
6619
5460
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
6620
5461
|
# @param [String] update_mask
|
|
6621
|
-
# Optional. The mask to control which fields get updated.
|
|
6622
5462
|
# @param [String] fields
|
|
6623
5463
|
# Selector specifying which fields to include in a partial response.
|
|
6624
5464
|
# @param [String] quota_user
|
|
@@ -6649,18 +5489,8 @@ module Google
|
|
|
6649
5489
|
execute_or_queue_command(command, &block)
|
|
6650
5490
|
end
|
|
6651
5491
|
|
|
6652
|
-
#
|
|
6653
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
6654
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
6655
|
-
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
|
6656
|
-
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
|
6657
|
-
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
|
6658
|
-
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
|
6659
|
-
# it queries. See the [training documentation](https://cloud.google.com/
|
|
6660
|
-
# dialogflow/es/docs/training).
|
|
5492
|
+
#
|
|
6661
5493
|
# @param [String] parent
|
|
6662
|
-
# Required. The name of the agent to delete all entities types for. Format: `
|
|
6663
|
-
# projects//agent`.
|
|
6664
5494
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteIntentsRequest] google_cloud_dialogflow_v2_batch_delete_intents_request_object
|
|
6665
5495
|
# @param [String] fields
|
|
6666
5496
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -6691,17 +5521,8 @@ module Google
|
|
|
6691
5521
|
execute_or_queue_command(command, &block)
|
|
6692
5522
|
end
|
|
6693
5523
|
|
|
6694
|
-
#
|
|
6695
|
-
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
|
6696
|
-
# running-operations). The returned `Operation` type has the following method-
|
|
6697
|
-
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
|
6698
|
-
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
|
6699
|
-
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
|
6700
|
-
# sending it queries. See the [training documentation](https://cloud.google.com/
|
|
6701
|
-
# dialogflow/es/docs/training).
|
|
5524
|
+
#
|
|
6702
5525
|
# @param [String] parent
|
|
6703
|
-
# Required. The name of the agent to update or create intents in. Format: `
|
|
6704
|
-
# projects//agent`.
|
|
6705
5526
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateIntentsRequest] google_cloud_dialogflow_v2_batch_update_intents_request_object
|
|
6706
5527
|
# @param [String] fields
|
|
6707
5528
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -6732,19 +5553,11 @@ module Google
|
|
|
6732
5553
|
execute_or_queue_command(command, &block)
|
|
6733
5554
|
end
|
|
6734
5555
|
|
|
6735
|
-
#
|
|
6736
|
-
# agent prior to sending it queries. See the [training documentation](https://
|
|
6737
|
-
# cloud.google.com/dialogflow/es/docs/training).
|
|
5556
|
+
#
|
|
6738
5557
|
# @param [String] parent
|
|
6739
|
-
# Required. The agent to create a intent for. Format: `projects//agent`.
|
|
6740
5558
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
|
6741
5559
|
# @param [String] intent_view
|
|
6742
|
-
# Optional. The resource view to apply to the returned intent.
|
|
6743
5560
|
# @param [String] language_code
|
|
6744
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
6745
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
6746
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
6747
|
-
# multilingual#intent-entity).
|
|
6748
5561
|
# @param [String] fields
|
|
6749
5562
|
# Selector specifying which fields to include in a partial response.
|
|
6750
5563
|
# @param [String] quota_user
|
|
@@ -6776,13 +5589,8 @@ module Google
|
|
|
6776
5589
|
execute_or_queue_command(command, &block)
|
|
6777
5590
|
end
|
|
6778
5591
|
|
|
6779
|
-
#
|
|
6780
|
-
# You should always train an agent prior to sending it queries. See the [
|
|
6781
|
-
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
|
5592
|
+
#
|
|
6782
5593
|
# @param [String] name
|
|
6783
|
-
# Required. The name of the intent to delete. If this intent has direct or
|
|
6784
|
-
# indirect followup intents, we also delete them. Format: `projects//agent/
|
|
6785
|
-
# intents/`.
|
|
6786
5594
|
# @param [String] fields
|
|
6787
5595
|
# Selector specifying which fields to include in a partial response.
|
|
6788
5596
|
# @param [String] quota_user
|
|
@@ -6810,16 +5618,10 @@ module Google
|
|
|
6810
5618
|
execute_or_queue_command(command, &block)
|
|
6811
5619
|
end
|
|
6812
5620
|
|
|
6813
|
-
#
|
|
5621
|
+
#
|
|
6814
5622
|
# @param [String] name
|
|
6815
|
-
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
|
6816
5623
|
# @param [String] intent_view
|
|
6817
|
-
# Optional. The resource view to apply to the returned intent.
|
|
6818
5624
|
# @param [String] language_code
|
|
6819
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
6820
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
6821
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
6822
|
-
# multilingual#intent-entity).
|
|
6823
5625
|
# @param [String] fields
|
|
6824
5626
|
# Selector specifying which fields to include in a partial response.
|
|
6825
5627
|
# @param [String] quota_user
|
|
@@ -6849,25 +5651,12 @@ module Google
|
|
|
6849
5651
|
execute_or_queue_command(command, &block)
|
|
6850
5652
|
end
|
|
6851
5653
|
|
|
6852
|
-
#
|
|
5654
|
+
#
|
|
6853
5655
|
# @param [String] parent
|
|
6854
|
-
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
|
6855
|
-
# projects//locations//agent`. Alternatively, you can specify the environment to
|
|
6856
|
-
# list intents for. Format: `projects//agent/environments/` or `projects//
|
|
6857
|
-
# locations//agent/environments/`. Note: training phrases of the intents will
|
|
6858
|
-
# not be returned for non-draft environment.
|
|
6859
5656
|
# @param [String] intent_view
|
|
6860
|
-
# Optional. The resource view to apply to the returned intent.
|
|
6861
5657
|
# @param [String] language_code
|
|
6862
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
6863
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
6864
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
6865
|
-
# multilingual#intent-entity).
|
|
6866
5658
|
# @param [Fixnum] page_size
|
|
6867
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
6868
|
-
# 100 and at most 1000.
|
|
6869
5659
|
# @param [String] page_token
|
|
6870
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
6871
5660
|
# @param [String] fields
|
|
6872
5661
|
# Selector specifying which fields to include in a partial response.
|
|
6873
5662
|
# @param [String] quota_user
|
|
@@ -6899,23 +5688,12 @@ module Google
|
|
|
6899
5688
|
execute_or_queue_command(command, &block)
|
|
6900
5689
|
end
|
|
6901
5690
|
|
|
6902
|
-
#
|
|
6903
|
-
# sending it queries. See the [training documentation](https://cloud.google.com/
|
|
6904
|
-
# dialogflow/es/docs/training).
|
|
5691
|
+
#
|
|
6905
5692
|
# @param [String] name
|
|
6906
|
-
# Optional. The unique identifier of this intent. Required for Intents.
|
|
6907
|
-
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
|
6908
|
-
# intents/`.
|
|
6909
5693
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
|
6910
5694
|
# @param [String] intent_view
|
|
6911
|
-
# Optional. The resource view to apply to the returned intent.
|
|
6912
5695
|
# @param [String] language_code
|
|
6913
|
-
# Optional. The language used to access language-specific data. If not specified,
|
|
6914
|
-
# the agent's default language is used. For more information, see [Multilingual
|
|
6915
|
-
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
|
6916
|
-
# multilingual#intent-entity).
|
|
6917
5696
|
# @param [String] update_mask
|
|
6918
|
-
# Optional. The mask to control which fields get updated.
|
|
6919
5697
|
# @param [String] fields
|
|
6920
5698
|
# Selector specifying which fields to include in a partial response.
|
|
6921
5699
|
# @param [String] quota_user
|
|
@@ -6948,12 +5726,8 @@ module Google
|
|
|
6948
5726
|
execute_or_queue_command(command, &block)
|
|
6949
5727
|
end
|
|
6950
5728
|
|
|
6951
|
-
#
|
|
5729
|
+
#
|
|
6952
5730
|
# @param [String] parent
|
|
6953
|
-
# Required. The name of the session to delete all contexts from. Format: `
|
|
6954
|
-
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
|
6955
|
-
# If `Environment ID` is not specified we assume default 'draft' environment.
|
|
6956
|
-
# If `User ID` is not specified, we assume default '-' user.
|
|
6957
5731
|
# @param [String] fields
|
|
6958
5732
|
# Selector specifying which fields to include in a partial response.
|
|
6959
5733
|
# @param [String] quota_user
|
|
@@ -6981,28 +5755,8 @@ module Google
|
|
|
6981
5755
|
execute_or_queue_command(command, &block)
|
|
6982
5756
|
end
|
|
6983
5757
|
|
|
6984
|
-
#
|
|
6985
|
-
# a result. This method is not idempotent, because it may cause contexts and
|
|
6986
|
-
# session entity types to be updated, which in turn might affect results of
|
|
6987
|
-
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
|
6988
|
-
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
|
6989
|
-
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
|
6990
|
-
# additional functionality for Agent Assist and other CCAI products. Note:
|
|
6991
|
-
# Always use agent versions for production traffic. See [Versions and
|
|
6992
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
5758
|
+
#
|
|
6993
5759
|
# @param [String] session
|
|
6994
|
-
# Required. The name of the session this query is sent to. Format: `projects//
|
|
6995
|
-
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
6996
|
-
# Environment ID` is not specified, we assume default 'draft' environment (`
|
|
6997
|
-
# Environment ID` might be referred to as environment name at some places). If `
|
|
6998
|
-
# User ID` is not specified, we are using "-". It's up to the API caller to
|
|
6999
|
-
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
|
7000
|
-
# or some type of user and session identifiers (preferably hashed). The length
|
|
7001
|
-
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
7002
|
-
# information, see the [API interactions guide](https://cloud.google.com/
|
|
7003
|
-
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
7004
|
-
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
7005
|
-
# es/docs/agents-versions).
|
|
7006
5760
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
7007
5761
|
# @param [String] fields
|
|
7008
5762
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7033,13 +5787,8 @@ module Google
|
|
|
7033
5787
|
execute_or_queue_command(command, &block)
|
|
7034
5788
|
end
|
|
7035
5789
|
|
|
7036
|
-
#
|
|
7037
|
-
# context.
|
|
5790
|
+
#
|
|
7038
5791
|
# @param [String] parent
|
|
7039
|
-
# Required. The session to create a context for. Format: `projects//agent/
|
|
7040
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
7041
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7042
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7043
5792
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
7044
5793
|
# @param [String] fields
|
|
7045
5794
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7070,12 +5819,8 @@ module Google
|
|
|
7070
5819
|
execute_or_queue_command(command, &block)
|
|
7071
5820
|
end
|
|
7072
5821
|
|
|
7073
|
-
#
|
|
5822
|
+
#
|
|
7074
5823
|
# @param [String] name
|
|
7075
|
-
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
|
7076
|
-
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
7077
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7078
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7079
5824
|
# @param [String] fields
|
|
7080
5825
|
# Selector specifying which fields to include in a partial response.
|
|
7081
5826
|
# @param [String] quota_user
|
|
@@ -7103,12 +5848,8 @@ module Google
|
|
|
7103
5848
|
execute_or_queue_command(command, &block)
|
|
7104
5849
|
end
|
|
7105
5850
|
|
|
7106
|
-
#
|
|
5851
|
+
#
|
|
7107
5852
|
# @param [String] name
|
|
7108
|
-
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
|
7109
|
-
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
|
7110
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7111
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7112
5853
|
# @param [String] fields
|
|
7113
5854
|
# Selector specifying which fields to include in a partial response.
|
|
7114
5855
|
# @param [String] quota_user
|
|
@@ -7136,17 +5877,10 @@ module Google
|
|
|
7136
5877
|
execute_or_queue_command(command, &block)
|
|
7137
5878
|
end
|
|
7138
5879
|
|
|
7139
|
-
#
|
|
5880
|
+
#
|
|
7140
5881
|
# @param [String] parent
|
|
7141
|
-
# Required. The session to list all contexts from. Format: `projects//agent/
|
|
7142
|
-
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
|
7143
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7144
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7145
5882
|
# @param [Fixnum] page_size
|
|
7146
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
7147
|
-
# 100 and at most 1000.
|
|
7148
5883
|
# @param [String] page_token
|
|
7149
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
7150
5884
|
# @param [String] fields
|
|
7151
5885
|
# Selector specifying which fields to include in a partial response.
|
|
7152
5886
|
# @param [String] quota_user
|
|
@@ -7176,20 +5910,10 @@ module Google
|
|
|
7176
5910
|
execute_or_queue_command(command, &block)
|
|
7177
5911
|
end
|
|
7178
5912
|
|
|
7179
|
-
#
|
|
5913
|
+
#
|
|
7180
5914
|
# @param [String] name
|
|
7181
|
-
# Required. The unique identifier of the context. Format: `projects//agent/
|
|
7182
|
-
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
|
7183
|
-
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
|
7184
|
-
# contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
|
|
7185
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7186
|
-
# User ID` is not specified, we assume default '-' user. The following context
|
|
7187
|
-
# names are reserved for internal use by Dialogflow. You should not use these
|
|
7188
|
-
# contexts or create contexts with these names: * `__system_counters__` * `*
|
|
7189
|
-
# _id_dialog_context` * `*_dialog_params_size`
|
|
7190
5915
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
|
7191
5916
|
# @param [String] update_mask
|
|
7192
|
-
# Optional. The mask to control which fields get updated.
|
|
7193
5917
|
# @param [String] fields
|
|
7194
5918
|
# Selector specifying which fields to include in a partial response.
|
|
7195
5919
|
# @param [String] quota_user
|
|
@@ -7220,15 +5944,8 @@ module Google
|
|
|
7220
5944
|
execute_or_queue_command(command, &block)
|
|
7221
5945
|
end
|
|
7222
5946
|
|
|
7223
|
-
#
|
|
7224
|
-
# exists, overrides the session entity type. This method doesn't work with
|
|
7225
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
7226
|
-
# session entities with Google Assistant integration.
|
|
5947
|
+
#
|
|
7227
5948
|
# @param [String] parent
|
|
7228
|
-
# Required. The session to create a session entity type for. Format: `projects//
|
|
7229
|
-
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
7230
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7231
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7232
5949
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
7233
5950
|
# @param [String] fields
|
|
7234
5951
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7259,14 +5976,8 @@ module Google
|
|
|
7259
5976
|
execute_or_queue_command(command, &block)
|
|
7260
5977
|
end
|
|
7261
5978
|
|
|
7262
|
-
#
|
|
7263
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
7264
|
-
# session entities with Google Assistant integration.
|
|
5979
|
+
#
|
|
7265
5980
|
# @param [String] name
|
|
7266
|
-
# Required. The name of the entity type to delete. Format: `projects//agent/
|
|
7267
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
7268
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
7269
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
7270
5981
|
# @param [String] fields
|
|
7271
5982
|
# Selector specifying which fields to include in a partial response.
|
|
7272
5983
|
# @param [String] quota_user
|
|
@@ -7294,14 +6005,8 @@ module Google
|
|
|
7294
6005
|
execute_or_queue_command(command, &block)
|
|
7295
6006
|
end
|
|
7296
6007
|
|
|
7297
|
-
#
|
|
7298
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
7299
|
-
# session entities with Google Assistant integration.
|
|
6008
|
+
#
|
|
7300
6009
|
# @param [String] name
|
|
7301
|
-
# Required. The name of the session entity type. Format: `projects//agent/
|
|
7302
|
-
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
|
7303
|
-
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
7304
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
7305
6010
|
# @param [String] fields
|
|
7306
6011
|
# Selector specifying which fields to include in a partial response.
|
|
7307
6012
|
# @param [String] quota_user
|
|
@@ -7329,19 +6034,10 @@ module Google
|
|
|
7329
6034
|
execute_or_queue_command(command, &block)
|
|
7330
6035
|
end
|
|
7331
6036
|
|
|
7332
|
-
#
|
|
7333
|
-
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
|
7334
|
-
# support if you need to use session entities with Google Assistant integration.
|
|
6037
|
+
#
|
|
7335
6038
|
# @param [String] parent
|
|
7336
|
-
# Required. The session to list all session entity types from. Format: `projects/
|
|
7337
|
-
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
|
7338
|
-
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
|
7339
|
-
# User ID` is not specified, we assume default '-' user.
|
|
7340
6039
|
# @param [Fixnum] page_size
|
|
7341
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
7342
|
-
# 100 and at most 1000.
|
|
7343
6040
|
# @param [String] page_token
|
|
7344
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
7345
6041
|
# @param [String] fields
|
|
7346
6042
|
# Selector specifying which fields to include in a partial response.
|
|
7347
6043
|
# @param [String] quota_user
|
|
@@ -7371,19 +6067,10 @@ module Google
|
|
|
7371
6067
|
execute_or_queue_command(command, &block)
|
|
7372
6068
|
end
|
|
7373
6069
|
|
|
7374
|
-
#
|
|
7375
|
-
# Google Assistant integration. Contact Dialogflow support if you need to use
|
|
7376
|
-
# session entities with Google Assistant integration.
|
|
6070
|
+
#
|
|
7377
6071
|
# @param [String] name
|
|
7378
|
-
# Required. The unique identifier of this session entity type. Format: `projects/
|
|
7379
|
-
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
|
7380
|
-
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
|
7381
|
-
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
|
7382
|
-
# -' user. `` must be the display name of an existing entity type in the same
|
|
7383
|
-
# agent that will be overridden or supplemented.
|
|
7384
6072
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
|
7385
6073
|
# @param [String] update_mask
|
|
7386
|
-
# Optional. The mask to control which fields get updated.
|
|
7387
6074
|
# @param [String] fields
|
|
7388
6075
|
# Selector specifying which fields to include in a partial response.
|
|
7389
6076
|
# @param [String] quota_user
|
|
@@ -7414,11 +6101,8 @@ module Google
|
|
|
7414
6101
|
execute_or_queue_command(command, &block)
|
|
7415
6102
|
end
|
|
7416
6103
|
|
|
7417
|
-
#
|
|
7418
|
-
# default" environment.
|
|
6104
|
+
#
|
|
7419
6105
|
# @param [String] parent
|
|
7420
|
-
# Required. The agent to create a version for. Supported formats: - `projects//
|
|
7421
|
-
# agent` - `projects//locations//agent`
|
|
7422
6106
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version] google_cloud_dialogflow_v2_version_object
|
|
7423
6107
|
# @param [String] fields
|
|
7424
6108
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7449,10 +6133,8 @@ module Google
|
|
|
7449
6133
|
execute_or_queue_command(command, &block)
|
|
7450
6134
|
end
|
|
7451
6135
|
|
|
7452
|
-
#
|
|
6136
|
+
#
|
|
7453
6137
|
# @param [String] name
|
|
7454
|
-
# Required. The name of the version to delete. Supported formats: - `projects//
|
|
7455
|
-
# agent/versions/` - `projects//locations//agent/versions/`
|
|
7456
6138
|
# @param [String] fields
|
|
7457
6139
|
# Selector specifying which fields to include in a partial response.
|
|
7458
6140
|
# @param [String] quota_user
|
|
@@ -7480,10 +6162,8 @@ module Google
|
|
|
7480
6162
|
execute_or_queue_command(command, &block)
|
|
7481
6163
|
end
|
|
7482
6164
|
|
|
7483
|
-
#
|
|
6165
|
+
#
|
|
7484
6166
|
# @param [String] name
|
|
7485
|
-
# Required. The name of the version. Supported formats: - `projects//agent/
|
|
7486
|
-
# versions/` - `projects//locations//agent/versions/`
|
|
7487
6167
|
# @param [String] fields
|
|
7488
6168
|
# Selector specifying which fields to include in a partial response.
|
|
7489
6169
|
# @param [String] quota_user
|
|
@@ -7511,15 +6191,10 @@ module Google
|
|
|
7511
6191
|
execute_or_queue_command(command, &block)
|
|
7512
6192
|
end
|
|
7513
6193
|
|
|
7514
|
-
#
|
|
6194
|
+
#
|
|
7515
6195
|
# @param [String] parent
|
|
7516
|
-
# Required. The agent to list all versions from. Supported formats: - `projects//
|
|
7517
|
-
# agent` - `projects//locations//agent`
|
|
7518
6196
|
# @param [Fixnum] page_size
|
|
7519
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
7520
|
-
# 100 and at most 1000.
|
|
7521
6197
|
# @param [String] page_token
|
|
7522
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
7523
6198
|
# @param [String] fields
|
|
7524
6199
|
# Selector specifying which fields to include in a partial response.
|
|
7525
6200
|
# @param [String] quota_user
|
|
@@ -7549,15 +6224,10 @@ module Google
|
|
|
7549
6224
|
execute_or_queue_command(command, &block)
|
|
7550
6225
|
end
|
|
7551
6226
|
|
|
7552
|
-
#
|
|
7553
|
-
# to update the state of the agent the given version points to. It allows you to
|
|
7554
|
-
# update only mutable properties of the version resource.
|
|
6227
|
+
#
|
|
7555
6228
|
# @param [String] name
|
|
7556
|
-
# Output only. The unique identifier of this agent version. Supported formats: -
|
|
7557
|
-
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
|
7558
6229
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version] google_cloud_dialogflow_v2_version_object
|
|
7559
6230
|
# @param [String] update_mask
|
|
7560
|
-
# Required. The mask to control which fields get updated.
|
|
7561
6231
|
# @param [String] fields
|
|
7562
6232
|
# Selector specifying which fields to include in a partial response.
|
|
7563
6233
|
# @param [String] quota_user
|
|
@@ -7588,26 +6258,11 @@ module Google
|
|
|
7588
6258
|
execute_or_queue_command(command, &block)
|
|
7589
6259
|
end
|
|
7590
6260
|
|
|
7591
|
-
#
|
|
7592
|
-
# chronological order.
|
|
6261
|
+
#
|
|
7593
6262
|
# @param [String] parent
|
|
7594
|
-
# Required. The project to list all answer records for in reverse chronological
|
|
7595
|
-
# order. Format: `projects//locations/`.
|
|
7596
6263
|
# @param [String] filter
|
|
7597
|
-
# Optional. Filters to restrict results to specific answer records. The
|
|
7598
|
-
# expression has the following syntax: [AND ] ... The following fields and
|
|
7599
|
-
# operators are supported: * conversation_id with equals(=) operator Examples: *
|
|
7600
|
-
# `conversation_id=bar` matches answer records in the `projects/foo/locations/
|
|
7601
|
-
# global/conversations/bar` conversation (assuming the parent is `projects/foo/
|
|
7602
|
-
# locations/global`). For more information about filtering, see [API Filtering](
|
|
7603
|
-
# https://aip.dev/160).
|
|
7604
6264
|
# @param [Fixnum] page_size
|
|
7605
|
-
# Optional. The maximum number of records to return in a single page. The server
|
|
7606
|
-
# may return fewer records than this. If unspecified, we use 10. The maximum is
|
|
7607
|
-
# 100.
|
|
7608
6265
|
# @param [String] page_token
|
|
7609
|
-
# Optional. The ListAnswerRecordsResponse.next_page_token value returned from a
|
|
7610
|
-
# previous list request used to continue listing on the next page.
|
|
7611
6266
|
# @param [String] fields
|
|
7612
6267
|
# Selector specifying which fields to include in a partial response.
|
|
7613
6268
|
# @param [String] quota_user
|
|
@@ -7638,13 +6293,10 @@ module Google
|
|
|
7638
6293
|
execute_or_queue_command(command, &block)
|
|
7639
6294
|
end
|
|
7640
6295
|
|
|
7641
|
-
#
|
|
6296
|
+
#
|
|
7642
6297
|
# @param [String] name
|
|
7643
|
-
# The unique identifier of this answer record. Format: `projects//locations//
|
|
7644
|
-
# answerRecords/`.
|
|
7645
6298
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnswerRecord] google_cloud_dialogflow_v2_answer_record_object
|
|
7646
6299
|
# @param [String] update_mask
|
|
7647
|
-
# Required. The mask to control which fields get updated.
|
|
7648
6300
|
# @param [String] fields
|
|
7649
6301
|
# Selector specifying which fields to include in a partial response.
|
|
7650
6302
|
# @param [String] quota_user
|
|
@@ -7675,14 +6327,8 @@ module Google
|
|
|
7675
6327
|
execute_or_queue_command(command, &block)
|
|
7676
6328
|
end
|
|
7677
6329
|
|
|
7678
|
-
#
|
|
7679
|
-
# https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
|
7680
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
7681
|
-
# metadata`: CreateConversationDatasetOperationMetadata - `response`:
|
|
7682
|
-
# ConversationDataset
|
|
6330
|
+
#
|
|
7683
6331
|
# @param [String] parent
|
|
7684
|
-
# Required. The project to create conversation dataset for. Format: `projects//
|
|
7685
|
-
# locations/`
|
|
7686
6332
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationDataset] google_cloud_dialogflow_v2_conversation_dataset_object
|
|
7687
6333
|
# @param [String] fields
|
|
7688
6334
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7713,15 +6359,8 @@ module Google
|
|
|
7713
6359
|
execute_or_queue_command(command, &block)
|
|
7714
6360
|
end
|
|
7715
6361
|
|
|
7716
|
-
#
|
|
7717
|
-
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
|
7718
|
-
# operations). The returned `Operation` type has the following method-specific
|
|
7719
|
-
# fields: - `metadata`: DeleteConversationDatasetOperationMetadata - `response`:
|
|
7720
|
-
# An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
|
7721
|
-
# reference/google.protobuf#empty)
|
|
6362
|
+
#
|
|
7722
6363
|
# @param [String] name
|
|
7723
|
-
# Required. The conversation dataset to delete. Format: `projects//locations//
|
|
7724
|
-
# conversationDatasets/`
|
|
7725
6364
|
# @param [String] fields
|
|
7726
6365
|
# Selector specifying which fields to include in a partial response.
|
|
7727
6366
|
# @param [String] quota_user
|
|
@@ -7749,10 +6388,8 @@ module Google
|
|
|
7749
6388
|
execute_or_queue_command(command, &block)
|
|
7750
6389
|
end
|
|
7751
6390
|
|
|
7752
|
-
#
|
|
6391
|
+
#
|
|
7753
6392
|
# @param [String] name
|
|
7754
|
-
# Required. The conversation dataset to retrieve. Format: `projects//locations//
|
|
7755
|
-
# conversationDatasets/`
|
|
7756
6393
|
# @param [String] fields
|
|
7757
6394
|
# Selector specifying which fields to include in a partial response.
|
|
7758
6395
|
# @param [String] quota_user
|
|
@@ -7780,16 +6417,8 @@ module Google
|
|
|
7780
6417
|
execute_or_queue_command(command, &block)
|
|
7781
6418
|
end
|
|
7782
6419
|
|
|
7783
|
-
#
|
|
7784
|
-
# allowed to import data to a conversation dataset that already has data in it.
|
|
7785
|
-
# This method is a [long-running operation](https://cloud.google.com/dialogflow/
|
|
7786
|
-
# es/docs/how/long-running-operations). The returned `Operation` type has the
|
|
7787
|
-
# following method-specific fields: - `metadata`:
|
|
7788
|
-
# ImportConversationDataOperationMetadata - `response`:
|
|
7789
|
-
# ImportConversationDataOperationResponse
|
|
6420
|
+
#
|
|
7790
6421
|
# @param [String] name
|
|
7791
|
-
# Required. Dataset resource name. Format: `projects//locations//
|
|
7792
|
-
# conversationDatasets/`
|
|
7793
6422
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportConversationDataRequest] google_cloud_dialogflow_v2_import_conversation_data_request_object
|
|
7794
6423
|
# @param [String] fields
|
|
7795
6424
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7820,16 +6449,10 @@ module Google
|
|
|
7820
6449
|
execute_or_queue_command(command, &block)
|
|
7821
6450
|
end
|
|
7822
6451
|
|
|
7823
|
-
#
|
|
7824
|
-
# location.
|
|
6452
|
+
#
|
|
7825
6453
|
# @param [String] parent
|
|
7826
|
-
# Required. The project and location name to list all conversation datasets for.
|
|
7827
|
-
# Format: `projects//locations/`
|
|
7828
6454
|
# @param [Fixnum] page_size
|
|
7829
|
-
# Optional. Maximum number of conversation datasets to return in a single page.
|
|
7830
|
-
# By default 100 and at most 1000.
|
|
7831
6455
|
# @param [String] page_token
|
|
7832
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
7833
6456
|
# @param [String] fields
|
|
7834
6457
|
# Selector specifying which fields to include in a partial response.
|
|
7835
6458
|
# @param [String] quota_user
|
|
@@ -7859,12 +6482,8 @@ module Google
|
|
|
7859
6482
|
execute_or_queue_command(command, &block)
|
|
7860
6483
|
end
|
|
7861
6484
|
|
|
7862
|
-
#
|
|
7863
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
7864
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
7865
|
-
# CreateConversationModelOperationMetadata - `response`: ConversationModel
|
|
6485
|
+
#
|
|
7866
6486
|
# @param [String] parent
|
|
7867
|
-
# The project to create conversation model for. Format: `projects/`
|
|
7868
6487
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModel] google_cloud_dialogflow_v2_conversation_model_object
|
|
7869
6488
|
# @param [String] fields
|
|
7870
6489
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7895,15 +6514,8 @@ module Google
|
|
|
7895
6514
|
execute_or_queue_command(command, &block)
|
|
7896
6515
|
end
|
|
7897
6516
|
|
|
7898
|
-
#
|
|
7899
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
7900
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
7901
|
-
# DeleteConversationModelOperationMetadata - `response`: An [Empty message](
|
|
7902
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
7903
|
-
# empty)
|
|
6517
|
+
#
|
|
7904
6518
|
# @param [String] name
|
|
7905
|
-
# Required. The conversation model to delete. Format: `projects//
|
|
7906
|
-
# conversationModels/`
|
|
7907
6519
|
# @param [String] fields
|
|
7908
6520
|
# Selector specifying which fields to include in a partial response.
|
|
7909
6521
|
# @param [String] quota_user
|
|
@@ -7931,17 +6543,8 @@ module Google
|
|
|
7931
6543
|
execute_or_queue_command(command, &block)
|
|
7932
6544
|
end
|
|
7933
6545
|
|
|
7934
|
-
#
|
|
7935
|
-
# model can only serve prediction requests after it gets deployed. For article
|
|
7936
|
-
# suggestion, custom model will not be used unless it is deployed. This method
|
|
7937
|
-
# is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/
|
|
7938
|
-
# long-running-operations). The returned `Operation` type has the following
|
|
7939
|
-
# method-specific fields: - `metadata`: DeployConversationModelOperationMetadata
|
|
7940
|
-
# - `response`: An [Empty message](https://developers.google.com/protocol-
|
|
7941
|
-
# buffers/docs/reference/google.protobuf#empty)
|
|
6546
|
+
#
|
|
7942
6547
|
# @param [String] name
|
|
7943
|
-
# Required. The conversation model to deploy. Format: `projects//
|
|
7944
|
-
# conversationModels/`
|
|
7945
6548
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DeployConversationModelRequest] google_cloud_dialogflow_v2_deploy_conversation_model_request_object
|
|
7946
6549
|
# @param [String] fields
|
|
7947
6550
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -7972,10 +6575,8 @@ module Google
|
|
|
7972
6575
|
execute_or_queue_command(command, &block)
|
|
7973
6576
|
end
|
|
7974
6577
|
|
|
7975
|
-
#
|
|
6578
|
+
#
|
|
7976
6579
|
# @param [String] name
|
|
7977
|
-
# Required. The conversation model to retrieve. Format: `projects//
|
|
7978
|
-
# conversationModels/`
|
|
7979
6580
|
# @param [String] fields
|
|
7980
6581
|
# Selector specifying which fields to include in a partial response.
|
|
7981
6582
|
# @param [String] quota_user
|
|
@@ -8003,14 +6604,10 @@ module Google
|
|
|
8003
6604
|
execute_or_queue_command(command, &block)
|
|
8004
6605
|
end
|
|
8005
6606
|
|
|
8006
|
-
#
|
|
6607
|
+
#
|
|
8007
6608
|
# @param [String] parent
|
|
8008
|
-
# Required. The project to list all conversation models for. Format: `projects/`
|
|
8009
6609
|
# @param [Fixnum] page_size
|
|
8010
|
-
# Optional. Maximum number of conversation models to return in a single page. By
|
|
8011
|
-
# default 100 and at most 1000.
|
|
8012
6610
|
# @param [String] page_token
|
|
8013
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
8014
6611
|
# @param [String] fields
|
|
8015
6612
|
# Selector specifying which fields to include in a partial response.
|
|
8016
6613
|
# @param [String] quota_user
|
|
@@ -8040,18 +6637,8 @@ module Google
|
|
|
8040
6637
|
execute_or_queue_command(command, &block)
|
|
8041
6638
|
end
|
|
8042
6639
|
|
|
8043
|
-
#
|
|
8044
|
-
# the model is currently being used: - For article suggestion, article
|
|
8045
|
-
# suggestion will fallback to the default model if model is undeployed. This
|
|
8046
|
-
# method is a [long-running operation](https://cloud.google.com/dialogflow/es/
|
|
8047
|
-
# docs/how/long-running-operations). The returned `Operation` type has the
|
|
8048
|
-
# following method-specific fields: - `metadata`:
|
|
8049
|
-
# UndeployConversationModelOperationMetadata - `response`: An [Empty message](
|
|
8050
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
8051
|
-
# empty)
|
|
6640
|
+
#
|
|
8052
6641
|
# @param [String] name
|
|
8053
|
-
# Required. The conversation model to undeploy. Format: `projects//
|
|
8054
|
-
# conversationModels/`
|
|
8055
6642
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2UndeployConversationModelRequest] google_cloud_dialogflow_v2_undeploy_conversation_model_request_object
|
|
8056
6643
|
# @param [String] fields
|
|
8057
6644
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8082,10 +6669,8 @@ module Google
|
|
|
8082
6669
|
execute_or_queue_command(command, &block)
|
|
8083
6670
|
end
|
|
8084
6671
|
|
|
8085
|
-
#
|
|
6672
|
+
#
|
|
8086
6673
|
# @param [String] parent
|
|
8087
|
-
# Required. The conversation model resource name. Format: `projects//locations//
|
|
8088
|
-
# conversationModels/`
|
|
8089
6674
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest] google_cloud_dialogflow_v2_create_conversation_model_evaluation_request_object
|
|
8090
6675
|
# @param [String] fields
|
|
8091
6676
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8116,10 +6701,8 @@ module Google
|
|
|
8116
6701
|
execute_or_queue_command(command, &block)
|
|
8117
6702
|
end
|
|
8118
6703
|
|
|
8119
|
-
#
|
|
6704
|
+
#
|
|
8120
6705
|
# @param [String] name
|
|
8121
|
-
# Required. The conversation model evaluation resource name. Format: `projects//
|
|
8122
|
-
# conversationModels//evaluations/`
|
|
8123
6706
|
# @param [String] fields
|
|
8124
6707
|
# Selector specifying which fields to include in a partial response.
|
|
8125
6708
|
# @param [String] quota_user
|
|
@@ -8147,15 +6730,10 @@ module Google
|
|
|
8147
6730
|
execute_or_queue_command(command, &block)
|
|
8148
6731
|
end
|
|
8149
6732
|
|
|
8150
|
-
#
|
|
6733
|
+
#
|
|
8151
6734
|
# @param [String] parent
|
|
8152
|
-
# Required. The conversation model resource name. Format: `projects//
|
|
8153
|
-
# conversationModels/`
|
|
8154
6735
|
# @param [Fixnum] page_size
|
|
8155
|
-
# Optional. Maximum number of evaluations to return in a single page. By default
|
|
8156
|
-
# 100 and at most 1000.
|
|
8157
6736
|
# @param [String] page_token
|
|
8158
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
8159
6737
|
# @param [String] fields
|
|
8160
6738
|
# Selector specifying which fields to include in a partial response.
|
|
8161
6739
|
# @param [String] quota_user
|
|
@@ -8185,15 +6763,8 @@ module Google
|
|
|
8185
6763
|
execute_or_queue_command(command, &block)
|
|
8186
6764
|
end
|
|
8187
6765
|
|
|
8188
|
-
#
|
|
8189
|
-
# participant role. This method is a [long-running operation](https://cloud.
|
|
8190
|
-
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
|
8191
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
8192
|
-
# ClearSuggestionFeatureConfigOperationMetadata - `response`:
|
|
8193
|
-
# ConversationProfile
|
|
6766
|
+
#
|
|
8194
6767
|
# @param [String] conversation_profile
|
|
8195
|
-
# Required. The Conversation Profile to add or update the suggestion feature
|
|
8196
|
-
# config. Format: `projects//locations//conversationProfiles/`.
|
|
8197
6768
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest] google_cloud_dialogflow_v2_clear_suggestion_feature_config_request_object
|
|
8198
6769
|
# @param [String] fields
|
|
8199
6770
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8224,12 +6795,8 @@ module Google
|
|
|
8224
6795
|
execute_or_queue_command(command, &block)
|
|
8225
6796
|
end
|
|
8226
6797
|
|
|
8227
|
-
#
|
|
8228
|
-
# create_time and ConversationProfile.update_time aren't populated in the
|
|
8229
|
-
# response. You can retrieve them via GetConversationProfile API.
|
|
6798
|
+
#
|
|
8230
6799
|
# @param [String] parent
|
|
8231
|
-
# Required. The project to create a conversation profile for. Format: `projects//
|
|
8232
|
-
# locations/`.
|
|
8233
6800
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile] google_cloud_dialogflow_v2_conversation_profile_object
|
|
8234
6801
|
# @param [String] fields
|
|
8235
6802
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8260,10 +6827,8 @@ module Google
|
|
|
8260
6827
|
execute_or_queue_command(command, &block)
|
|
8261
6828
|
end
|
|
8262
6829
|
|
|
8263
|
-
#
|
|
6830
|
+
#
|
|
8264
6831
|
# @param [String] name
|
|
8265
|
-
# Required. The name of the conversation profile to delete. Format: `projects//
|
|
8266
|
-
# locations//conversationProfiles/`.
|
|
8267
6832
|
# @param [String] fields
|
|
8268
6833
|
# Selector specifying which fields to include in a partial response.
|
|
8269
6834
|
# @param [String] quota_user
|
|
@@ -8291,10 +6856,8 @@ module Google
|
|
|
8291
6856
|
execute_or_queue_command(command, &block)
|
|
8292
6857
|
end
|
|
8293
6858
|
|
|
8294
|
-
#
|
|
6859
|
+
#
|
|
8295
6860
|
# @param [String] name
|
|
8296
|
-
# Required. The resource name of the conversation profile. Format: `projects//
|
|
8297
|
-
# locations//conversationProfiles/`.
|
|
8298
6861
|
# @param [String] fields
|
|
8299
6862
|
# Selector specifying which fields to include in a partial response.
|
|
8300
6863
|
# @param [String] quota_user
|
|
@@ -8322,15 +6885,10 @@ module Google
|
|
|
8322
6885
|
execute_or_queue_command(command, &block)
|
|
8323
6886
|
end
|
|
8324
6887
|
|
|
8325
|
-
#
|
|
6888
|
+
#
|
|
8326
6889
|
# @param [String] parent
|
|
8327
|
-
# Required. The project to list all conversation profiles from. Format: `
|
|
8328
|
-
# projects//locations/`.
|
|
8329
6890
|
# @param [Fixnum] page_size
|
|
8330
|
-
# The maximum number of items to return in a single page. By default 100 and at
|
|
8331
|
-
# most 1000.
|
|
8332
6891
|
# @param [String] page_token
|
|
8333
|
-
# The next_page_token value returned from a previous list request.
|
|
8334
6892
|
# @param [String] fields
|
|
8335
6893
|
# Selector specifying which fields to include in a partial response.
|
|
8336
6894
|
# @param [String] quota_user
|
|
@@ -8360,15 +6918,10 @@ module Google
|
|
|
8360
6918
|
execute_or_queue_command(command, &block)
|
|
8361
6919
|
end
|
|
8362
6920
|
|
|
8363
|
-
#
|
|
8364
|
-
# and ConversationProfile.update_time aren't populated in the response. You can
|
|
8365
|
-
# retrieve them via GetConversationProfile API.
|
|
6921
|
+
#
|
|
8366
6922
|
# @param [String] name
|
|
8367
|
-
# The unique identifier of this conversation profile. Format: `projects//
|
|
8368
|
-
# locations//conversationProfiles/`.
|
|
8369
6923
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile] google_cloud_dialogflow_v2_conversation_profile_object
|
|
8370
6924
|
# @param [String] update_mask
|
|
8371
|
-
# Required. The mask to control which fields to update.
|
|
8372
6925
|
# @param [String] fields
|
|
8373
6926
|
# Selector specifying which fields to include in a partial response.
|
|
8374
6927
|
# @param [String] quota_user
|
|
@@ -8399,20 +6952,8 @@ module Google
|
|
|
8399
6952
|
execute_or_queue_command(command, &block)
|
|
8400
6953
|
end
|
|
8401
6954
|
|
|
8402
|
-
#
|
|
8403
|
-
# conversation profile contains the type of suggestion feature for the
|
|
8404
|
-
# participant role, it will update it. Otherwise it will insert the suggestion
|
|
8405
|
-
# feature. This method is a [long-running operation](https://cloud.google.com/
|
|
8406
|
-
# dialogflow/es/docs/how/long-running-operations). The returned `Operation` type
|
|
8407
|
-
# has the following method-specific fields: - `metadata`:
|
|
8408
|
-
# SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile
|
|
8409
|
-
# If a long running operation to add or update suggestion feature config for the
|
|
8410
|
-
# same conversation profile, participant role and suggestion feature type exists,
|
|
8411
|
-
# please cancel the existing long running operation before sending such request,
|
|
8412
|
-
# otherwise the request will be rejected.
|
|
6955
|
+
#
|
|
8413
6956
|
# @param [String] conversation_profile
|
|
8414
|
-
# Required. The Conversation Profile to add or update the suggestion feature
|
|
8415
|
-
# config. Format: `projects//locations//conversationProfiles/`.
|
|
8416
6957
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest] google_cloud_dialogflow_v2_set_suggestion_feature_config_request_object
|
|
8417
6958
|
# @param [String] fields
|
|
8418
6959
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8443,11 +6984,8 @@ module Google
|
|
|
8443
6984
|
execute_or_queue_command(command, &block)
|
|
8444
6985
|
end
|
|
8445
6986
|
|
|
8446
|
-
#
|
|
8447
|
-
# the database after 30 days.
|
|
6987
|
+
#
|
|
8448
6988
|
# @param [String] name
|
|
8449
|
-
# Required. Resource identifier of the conversation to close. Format: `projects//
|
|
8450
|
-
# locations//conversations/`.
|
|
8451
6989
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompleteConversationRequest] google_cloud_dialogflow_v2_complete_conversation_request_object
|
|
8452
6990
|
# @param [String] fields
|
|
8453
6991
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8478,28 +7016,10 @@ module Google
|
|
|
8478
7016
|
execute_or_queue_command(command, &block)
|
|
8479
7017
|
end
|
|
8480
7018
|
|
|
8481
|
-
#
|
|
8482
|
-
# Conversation Lifecycle: There are two stages during a conversation: Automated
|
|
8483
|
-
# Agent Stage and Assist Stage. For Automated Agent Stage, there will be a
|
|
8484
|
-
# dialogflow agent responding to user queries. For Assist Stage, there's no
|
|
8485
|
-
# dialogflow agent responding to user queries. But we will provide suggestions
|
|
8486
|
-
# which are generated from conversation. If Conversation.conversation_profile is
|
|
8487
|
-
# configured for a dialogflow agent, conversation will start from `Automated
|
|
8488
|
-
# Agent Stage`, otherwise, it will start from `Assist Stage`. And during `
|
|
8489
|
-
# Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is
|
|
8490
|
-
# triggered, conversation will transfer to Assist Stage.
|
|
7019
|
+
#
|
|
8491
7020
|
# @param [String] parent
|
|
8492
|
-
# Required. Resource identifier of the project creating the conversation. Format:
|
|
8493
|
-
# `projects//locations/`.
|
|
8494
7021
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Conversation] google_cloud_dialogflow_v2_conversation_object
|
|
8495
7022
|
# @param [String] conversation_id
|
|
8496
|
-
# Optional. Identifier of the conversation. Generally it's auto generated by
|
|
8497
|
-
# Google. Only set it if you cannot wait for the response to return a auto-
|
|
8498
|
-
# generated one to you. The conversation ID must be compliant with the
|
|
8499
|
-
# regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
|
|
8500
|
-
# the field is provided, the caller is responsible for 1. the uniqueness of the
|
|
8501
|
-
# ID, otherwise the request will be rejected. 2. the consistency for whether to
|
|
8502
|
-
# use custom ID or not under a project to better ensure uniqueness.
|
|
8503
7023
|
# @param [String] fields
|
|
8504
7024
|
# Selector specifying which fields to include in a partial response.
|
|
8505
7025
|
# @param [String] quota_user
|
|
@@ -8530,10 +7050,8 @@ module Google
|
|
|
8530
7050
|
execute_or_queue_command(command, &block)
|
|
8531
7051
|
end
|
|
8532
7052
|
|
|
8533
|
-
#
|
|
7053
|
+
#
|
|
8534
7054
|
# @param [String] name
|
|
8535
|
-
# Required. The name of the conversation. Format: `projects//locations//
|
|
8536
|
-
# conversations/`.
|
|
8537
7055
|
# @param [String] fields
|
|
8538
7056
|
# Selector specifying which fields to include in a partial response.
|
|
8539
7057
|
# @param [String] quota_user
|
|
@@ -8561,10 +7079,8 @@ module Google
|
|
|
8561
7079
|
execute_or_queue_command(command, &block)
|
|
8562
7080
|
end
|
|
8563
7081
|
|
|
8564
|
-
#
|
|
7082
|
+
#
|
|
8565
7083
|
# @param [String] conversation
|
|
8566
|
-
# Required. Resource identifier of the conversation to ingest context
|
|
8567
|
-
# information for. Format: `projects//locations//conversations/`.
|
|
8568
7084
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestContextReferencesRequest] google_cloud_dialogflow_v2_ingest_context_references_request_object
|
|
8569
7085
|
# @param [String] fields
|
|
8570
7086
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8595,21 +7111,11 @@ module Google
|
|
|
8595
7111
|
execute_or_queue_command(command, &block)
|
|
8596
7112
|
end
|
|
8597
7113
|
|
|
8598
|
-
#
|
|
7114
|
+
#
|
|
8599
7115
|
# @param [String] parent
|
|
8600
|
-
# Required. The project from which to list all conversation. Format: `projects//
|
|
8601
|
-
# locations/`.
|
|
8602
7116
|
# @param [String] filter
|
|
8603
|
-
# Optional. A filter expression that filters conversations listed in the
|
|
8604
|
-
# response. Only `lifecycle_state` can be filtered on in this way. For example,
|
|
8605
|
-
# the following expression only returns `COMPLETED` conversations: `
|
|
8606
|
-
# lifecycle_state = "COMPLETED"` For more information about filtering, see [API
|
|
8607
|
-
# Filtering](https://aip.dev/160).
|
|
8608
7117
|
# @param [Fixnum] page_size
|
|
8609
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
8610
|
-
# 100 and at most 1000.
|
|
8611
7118
|
# @param [String] page_token
|
|
8612
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
8613
7119
|
# @param [String] fields
|
|
8614
7120
|
# Selector specifying which fields to include in a partial response.
|
|
8615
7121
|
# @param [String] quota_user
|
|
@@ -8640,24 +7146,11 @@ module Google
|
|
|
8640
7146
|
execute_or_queue_command(command, &block)
|
|
8641
7147
|
end
|
|
8642
7148
|
|
|
8643
|
-
#
|
|
8644
|
-
# create_time` in descending order. To fetch updates without duplication, send
|
|
8645
|
-
# request with filter `create_time_epoch_microseconds > [first item's
|
|
8646
|
-
# create_time of previous request]` and empty page_token.
|
|
7149
|
+
#
|
|
8647
7150
|
# @param [String] parent
|
|
8648
|
-
# Required. The name of the conversation to list messages for. Format: `projects/
|
|
8649
|
-
# /locations//conversations/`
|
|
8650
7151
|
# @param [String] filter
|
|
8651
|
-
# Optional. Filter on message fields. Currently predicates on `create_time` and `
|
|
8652
|
-
# create_time_epoch_microseconds` are supported. `create_time` only support
|
|
8653
|
-
# milliseconds accuracy. E.g., `create_time_epoch_microseconds >
|
|
8654
|
-
# 1551790877964485` or `create_time > 2017-01-15T01:30:15.01Z`. For more
|
|
8655
|
-
# information about filtering, see [API Filtering](https://aip.dev/160).
|
|
8656
7152
|
# @param [Fixnum] page_size
|
|
8657
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
8658
|
-
# 100 and at most 1000.
|
|
8659
7153
|
# @param [String] page_token
|
|
8660
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
8661
7154
|
# @param [String] fields
|
|
8662
7155
|
# Selector specifying which fields to include in a partial response.
|
|
8663
7156
|
# @param [String] quota_user
|
|
@@ -8688,13 +7181,8 @@ module Google
|
|
|
8688
7181
|
execute_or_queue_command(command, &block)
|
|
8689
7182
|
end
|
|
8690
7183
|
|
|
8691
|
-
#
|
|
8692
|
-
# message from a participant into the conversation. Note: Always use agent
|
|
8693
|
-
# versions for production traffic sent to virtual agents. See [Versions and
|
|
8694
|
-
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
|
7184
|
+
#
|
|
8695
7185
|
# @param [String] participant
|
|
8696
|
-
# Required. The name of the participant this text comes from. Format: `projects//
|
|
8697
|
-
# locations//conversations//participants/`.
|
|
8698
7186
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentRequest] google_cloud_dialogflow_v2_analyze_content_request_object
|
|
8699
7187
|
# @param [String] fields
|
|
8700
7188
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8725,10 +7213,8 @@ module Google
|
|
|
8725
7213
|
execute_or_queue_command(command, &block)
|
|
8726
7214
|
end
|
|
8727
7215
|
|
|
8728
|
-
#
|
|
7216
|
+
#
|
|
8729
7217
|
# @param [String] parent
|
|
8730
|
-
# Required. Resource identifier of the conversation adding the participant.
|
|
8731
|
-
# Format: `projects//locations//conversations/`.
|
|
8732
7218
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Participant] google_cloud_dialogflow_v2_participant_object
|
|
8733
7219
|
# @param [String] fields
|
|
8734
7220
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8759,10 +7245,8 @@ module Google
|
|
|
8759
7245
|
execute_or_queue_command(command, &block)
|
|
8760
7246
|
end
|
|
8761
7247
|
|
|
8762
|
-
#
|
|
7248
|
+
#
|
|
8763
7249
|
# @param [String] name
|
|
8764
|
-
# Required. The name of the participant. Format: `projects//locations//
|
|
8765
|
-
# conversations//participants/`.
|
|
8766
7250
|
# @param [String] fields
|
|
8767
7251
|
# Selector specifying which fields to include in a partial response.
|
|
8768
7252
|
# @param [String] quota_user
|
|
@@ -8790,15 +7274,10 @@ module Google
|
|
|
8790
7274
|
execute_or_queue_command(command, &block)
|
|
8791
7275
|
end
|
|
8792
7276
|
|
|
8793
|
-
#
|
|
7277
|
+
#
|
|
8794
7278
|
# @param [String] parent
|
|
8795
|
-
# Required. The conversation to list all participants from. Format: `projects//
|
|
8796
|
-
# locations//conversations/`.
|
|
8797
7279
|
# @param [Fixnum] page_size
|
|
8798
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
8799
|
-
# 100 and at most 1000.
|
|
8800
7280
|
# @param [String] page_token
|
|
8801
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
8802
7281
|
# @param [String] fields
|
|
8803
7282
|
# Selector specifying which fields to include in a partial response.
|
|
8804
7283
|
# @param [String] quota_user
|
|
@@ -8828,13 +7307,10 @@ module Google
|
|
|
8828
7307
|
execute_or_queue_command(command, &block)
|
|
8829
7308
|
end
|
|
8830
7309
|
|
|
8831
|
-
#
|
|
7310
|
+
#
|
|
8832
7311
|
# @param [String] name
|
|
8833
|
-
# Optional. The unique identifier of this participant. Format: `projects//
|
|
8834
|
-
# locations//conversations//participants/`.
|
|
8835
7312
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Participant] google_cloud_dialogflow_v2_participant_object
|
|
8836
7313
|
# @param [String] update_mask
|
|
8837
|
-
# Required. The mask to specify which fields to update.
|
|
8838
7314
|
# @param [String] fields
|
|
8839
7315
|
# Selector specifying which fields to include in a partial response.
|
|
8840
7316
|
# @param [String] quota_user
|
|
@@ -8865,11 +7341,8 @@ module Google
|
|
|
8865
7341
|
execute_or_queue_command(command, &block)
|
|
8866
7342
|
end
|
|
8867
7343
|
|
|
8868
|
-
#
|
|
8869
|
-
# messages.
|
|
7344
|
+
#
|
|
8870
7345
|
# @param [String] parent
|
|
8871
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
8872
|
-
# projects//locations//conversations//participants/`.
|
|
8873
7346
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesRequest] google_cloud_dialogflow_v2_suggest_articles_request_object
|
|
8874
7347
|
# @param [String] fields
|
|
8875
7348
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8900,11 +7373,8 @@ module Google
|
|
|
8900
7373
|
execute_or_queue_command(command, &block)
|
|
8901
7374
|
end
|
|
8902
7375
|
|
|
8903
|
-
#
|
|
8904
|
-
# messages.
|
|
7376
|
+
#
|
|
8905
7377
|
# @param [String] parent
|
|
8906
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
8907
|
-
# projects//locations//conversations//participants/`.
|
|
8908
7378
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersRequest] google_cloud_dialogflow_v2_suggest_faq_answers_request_object
|
|
8909
7379
|
# @param [String] fields
|
|
8910
7380
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8935,10 +7405,8 @@ module Google
|
|
|
8935
7405
|
execute_or_queue_command(command, &block)
|
|
8936
7406
|
end
|
|
8937
7407
|
|
|
8938
|
-
#
|
|
7408
|
+
#
|
|
8939
7409
|
# @param [String] parent
|
|
8940
|
-
# Required. The name of the participant to fetch suggestions for. Format: `
|
|
8941
|
-
# projects//locations//conversations//participants/`.
|
|
8942
7410
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2_suggest_knowledge_assist_request_object
|
|
8943
7411
|
# @param [String] fields
|
|
8944
7412
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -8969,10 +7437,8 @@ module Google
|
|
|
8969
7437
|
execute_or_queue_command(command, &block)
|
|
8970
7438
|
end
|
|
8971
7439
|
|
|
8972
|
-
#
|
|
7440
|
+
#
|
|
8973
7441
|
# @param [String] parent
|
|
8974
|
-
# Required. The name of the participant to fetch suggestion for. Format: `
|
|
8975
|
-
# projects//locations//conversations//participants/`.
|
|
8976
7442
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesRequest] google_cloud_dialogflow_v2_suggest_smart_replies_request_object
|
|
8977
7443
|
# @param [String] fields
|
|
8978
7444
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9003,13 +7469,8 @@ module Google
|
|
|
9003
7469
|
execute_or_queue_command(command, &block)
|
|
9004
7470
|
end
|
|
9005
7471
|
|
|
9006
|
-
#
|
|
9007
|
-
# profile. A generator is used only if its trigger event is matched.
|
|
7472
|
+
#
|
|
9008
7473
|
# @param [String] conversation
|
|
9009
|
-
# Required. The conversation for which the suggestions are generated. Format: `
|
|
9010
|
-
# projects//locations//conversations/`. The conversation must be created with a
|
|
9011
|
-
# conversation profile which has generators configured in it to be able to get
|
|
9012
|
-
# suggestions.
|
|
9013
7474
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateSuggestionsRequest] google_cloud_dialogflow_v2_generate_suggestions_request_object
|
|
9014
7475
|
# @param [String] fields
|
|
9015
7476
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9040,10 +7501,8 @@ module Google
|
|
|
9040
7501
|
execute_or_queue_command(command, &block)
|
|
9041
7502
|
end
|
|
9042
7503
|
|
|
9043
|
-
#
|
|
7504
|
+
#
|
|
9044
7505
|
# @param [String] conversation
|
|
9045
|
-
# Optional. The conversation (between human agent and end user) where the search
|
|
9046
|
-
# request is triggered. Format: `projects//locations//conversations/`.
|
|
9047
7506
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
|
9048
7507
|
# @param [String] fields
|
|
9049
7508
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9074,11 +7533,8 @@ module Google
|
|
|
9074
7533
|
execute_or_queue_command(command, &block)
|
|
9075
7534
|
end
|
|
9076
7535
|
|
|
9077
|
-
#
|
|
9078
|
-
# range of the messages to be used for summary can be specified in the request.
|
|
7536
|
+
#
|
|
9079
7537
|
# @param [String] conversation
|
|
9080
|
-
# Required. The conversation to fetch suggestion for. Format: `projects//
|
|
9081
|
-
# locations//conversations/`.
|
|
9082
7538
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest] google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
|
|
9083
7539
|
# @param [String] fields
|
|
9084
7540
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9109,14 +7565,8 @@ module Google
|
|
|
9109
7565
|
execute_or_queue_command(command, &block)
|
|
9110
7566
|
end
|
|
9111
7567
|
|
|
9112
|
-
#
|
|
9113
|
-
# thrown if the location has resources already created before the initialization.
|
|
9114
|
-
# Once the encryption specification is initialized at a location, it is
|
|
9115
|
-
# immutable and all newly created resources under the location will be encrypted
|
|
9116
|
-
# with the existing specification.
|
|
7568
|
+
#
|
|
9117
7569
|
# @param [String] name
|
|
9118
|
-
# Immutable. The resource name of the encryption key specification resource.
|
|
9119
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
|
9120
7570
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2_initialize_encryption_spec_request_object
|
|
9121
7571
|
# @param [String] fields
|
|
9122
7572
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9147,19 +7597,10 @@ module Google
|
|
|
9147
7597
|
execute_or_queue_command(command, &block)
|
|
9148
7598
|
end
|
|
9149
7599
|
|
|
9150
|
-
#
|
|
7600
|
+
#
|
|
9151
7601
|
# @param [String] parent
|
|
9152
|
-
# Required. The project/location to create generator for. Format: `projects//
|
|
9153
|
-
# locations/`
|
|
9154
7602
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator] google_cloud_dialogflow_v2_generator_object
|
|
9155
7603
|
# @param [String] generator_id
|
|
9156
|
-
# Optional. The ID to use for the generator, which will become the final
|
|
9157
|
-
# component of the generator's resource name. The generator ID must be compliant
|
|
9158
|
-
# with the regression formula `a-zA-Z*` with the characters length in range of [
|
|
9159
|
-
# 3,64]. If the field is not provided, an Id will be auto-generated. If the
|
|
9160
|
-
# field is provided, the caller is responsible for 1. the uniqueness of the ID,
|
|
9161
|
-
# otherwise the request will be rejected. 2. the consistency for whether to use
|
|
9162
|
-
# custom ID or not under a project to better ensure uniqueness.
|
|
9163
7604
|
# @param [String] fields
|
|
9164
7605
|
# Selector specifying which fields to include in a partial response.
|
|
9165
7606
|
# @param [String] quota_user
|
|
@@ -9190,10 +7631,8 @@ module Google
|
|
|
9190
7631
|
execute_or_queue_command(command, &block)
|
|
9191
7632
|
end
|
|
9192
7633
|
|
|
9193
|
-
#
|
|
7634
|
+
#
|
|
9194
7635
|
# @param [String] name
|
|
9195
|
-
# Required. The generator resource name to delete. Format: `projects//locations//
|
|
9196
|
-
# generators/`
|
|
9197
7636
|
# @param [String] fields
|
|
9198
7637
|
# Selector specifying which fields to include in a partial response.
|
|
9199
7638
|
# @param [String] quota_user
|
|
@@ -9221,10 +7660,8 @@ module Google
|
|
|
9221
7660
|
execute_or_queue_command(command, &block)
|
|
9222
7661
|
end
|
|
9223
7662
|
|
|
9224
|
-
#
|
|
7663
|
+
#
|
|
9225
7664
|
# @param [String] name
|
|
9226
|
-
# Required. The generator resource name to retrieve. Format: `projects//
|
|
9227
|
-
# locations//generators/`
|
|
9228
7665
|
# @param [String] fields
|
|
9229
7666
|
# Selector specifying which fields to include in a partial response.
|
|
9230
7667
|
# @param [String] quota_user
|
|
@@ -9252,15 +7689,10 @@ module Google
|
|
|
9252
7689
|
execute_or_queue_command(command, &block)
|
|
9253
7690
|
end
|
|
9254
7691
|
|
|
9255
|
-
#
|
|
7692
|
+
#
|
|
9256
7693
|
# @param [String] parent
|
|
9257
|
-
# Required. The project/location to list generators for. Format: `projects//
|
|
9258
|
-
# locations/`
|
|
9259
7694
|
# @param [Fixnum] page_size
|
|
9260
|
-
# Optional. Maximum number of conversation models to return in a single page.
|
|
9261
|
-
# Default to 10.
|
|
9262
7695
|
# @param [String] page_token
|
|
9263
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
9264
7696
|
# @param [String] fields
|
|
9265
7697
|
# Selector specifying which fields to include in a partial response.
|
|
9266
7698
|
# @param [String] quota_user
|
|
@@ -9290,13 +7722,10 @@ module Google
|
|
|
9290
7722
|
execute_or_queue_command(command, &block)
|
|
9291
7723
|
end
|
|
9292
7724
|
|
|
9293
|
-
#
|
|
7725
|
+
#
|
|
9294
7726
|
# @param [String] name
|
|
9295
|
-
# Output only. Identifier. The resource name of the generator. Format: `projects/
|
|
9296
|
-
# /locations//generators/`
|
|
9297
7727
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator] google_cloud_dialogflow_v2_generator_object
|
|
9298
7728
|
# @param [String] update_mask
|
|
9299
|
-
# Optional. The list of fields to update.
|
|
9300
7729
|
# @param [String] fields
|
|
9301
7730
|
# Selector specifying which fields to include in a partial response.
|
|
9302
7731
|
# @param [String] quota_user
|
|
@@ -9327,10 +7756,8 @@ module Google
|
|
|
9327
7756
|
execute_or_queue_command(command, &block)
|
|
9328
7757
|
end
|
|
9329
7758
|
|
|
9330
|
-
#
|
|
7759
|
+
#
|
|
9331
7760
|
# @param [String] parent
|
|
9332
|
-
# Required. The generator resource name. Format: `projects//locations//
|
|
9333
|
-
# generators/`
|
|
9334
7761
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation] google_cloud_dialogflow_v2_generator_evaluation_object
|
|
9335
7762
|
# @param [String] fields
|
|
9336
7763
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9361,10 +7788,8 @@ module Google
|
|
|
9361
7788
|
execute_or_queue_command(command, &block)
|
|
9362
7789
|
end
|
|
9363
7790
|
|
|
9364
|
-
#
|
|
7791
|
+
#
|
|
9365
7792
|
# @param [String] name
|
|
9366
|
-
# Required. The generator evaluation resource name. Format: `projects//locations/
|
|
9367
|
-
# /generators// evaluations/`
|
|
9368
7793
|
# @param [String] fields
|
|
9369
7794
|
# Selector specifying which fields to include in a partial response.
|
|
9370
7795
|
# @param [String] quota_user
|
|
@@ -9392,10 +7817,8 @@ module Google
|
|
|
9392
7817
|
execute_or_queue_command(command, &block)
|
|
9393
7818
|
end
|
|
9394
7819
|
|
|
9395
|
-
#
|
|
7820
|
+
#
|
|
9396
7821
|
# @param [String] name
|
|
9397
|
-
# Required. The generator evaluation resource name. Format: `projects//locations/
|
|
9398
|
-
# /generators//evaluations/`
|
|
9399
7822
|
# @param [String] fields
|
|
9400
7823
|
# Selector specifying which fields to include in a partial response.
|
|
9401
7824
|
# @param [String] quota_user
|
|
@@ -9423,16 +7846,10 @@ module Google
|
|
|
9423
7846
|
execute_or_queue_command(command, &block)
|
|
9424
7847
|
end
|
|
9425
7848
|
|
|
9426
|
-
#
|
|
7849
|
+
#
|
|
9427
7850
|
# @param [String] parent
|
|
9428
|
-
# Required. The generator resource name. Format: `projects//locations//
|
|
9429
|
-
# generators/` Wildcard value `-` is supported on generator_id to list
|
|
9430
|
-
# evaluations across all generators under same project.
|
|
9431
7851
|
# @param [Fixnum] page_size
|
|
9432
|
-
# Optional. Maximum number of evaluations to return in a single page. By default
|
|
9433
|
-
# 100 and at most 1000.
|
|
9434
7852
|
# @param [String] page_token
|
|
9435
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
9436
7853
|
# @param [String] fields
|
|
9437
7854
|
# Selector specifying which fields to include in a partial response.
|
|
9438
7855
|
# @param [String] quota_user
|
|
@@ -9462,10 +7879,8 @@ module Google
|
|
|
9462
7879
|
execute_or_queue_command(command, &block)
|
|
9463
7880
|
end
|
|
9464
7881
|
|
|
9465
|
-
#
|
|
7882
|
+
#
|
|
9466
7883
|
# @param [String] parent
|
|
9467
|
-
# Required. The project to create a knowledge base for. Format: `projects//
|
|
9468
|
-
# locations/`.
|
|
9469
7884
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
9470
7885
|
# @param [String] fields
|
|
9471
7886
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9496,13 +7911,9 @@ module Google
|
|
|
9496
7911
|
execute_or_queue_command(command, &block)
|
|
9497
7912
|
end
|
|
9498
7913
|
|
|
9499
|
-
#
|
|
7914
|
+
#
|
|
9500
7915
|
# @param [String] name
|
|
9501
|
-
# Required. The name of the knowledge base to delete. Format: `projects//
|
|
9502
|
-
# locations//knowledgeBases/`.
|
|
9503
7916
|
# @param [Boolean] force
|
|
9504
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
|
9505
|
-
# the knowledge base are also deleted.
|
|
9506
7917
|
# @param [String] fields
|
|
9507
7918
|
# Selector specifying which fields to include in a partial response.
|
|
9508
7919
|
# @param [String] quota_user
|
|
@@ -9531,10 +7942,8 @@ module Google
|
|
|
9531
7942
|
execute_or_queue_command(command, &block)
|
|
9532
7943
|
end
|
|
9533
7944
|
|
|
9534
|
-
#
|
|
7945
|
+
#
|
|
9535
7946
|
# @param [String] name
|
|
9536
|
-
# Required. The name of the knowledge base to retrieve. Format `projects//
|
|
9537
|
-
# locations//knowledgeBases/`.
|
|
9538
7947
|
# @param [String] fields
|
|
9539
7948
|
# Selector specifying which fields to include in a partial response.
|
|
9540
7949
|
# @param [String] quota_user
|
|
@@ -9562,28 +7971,11 @@ module Google
|
|
|
9562
7971
|
execute_or_queue_command(command, &block)
|
|
9563
7972
|
end
|
|
9564
7973
|
|
|
9565
|
-
#
|
|
7974
|
+
#
|
|
9566
7975
|
# @param [String] parent
|
|
9567
|
-
# Required. The project to list of knowledge bases for. Format: `projects//
|
|
9568
|
-
# locations/`.
|
|
9569
7976
|
# @param [String] filter
|
|
9570
|
-
# The filter expression used to filter knowledge bases returned by the list
|
|
9571
|
-
# method. The expression has the following syntax: [AND ] ... The following
|
|
9572
|
-
# fields and operators are supported: * display_name with has(:) operator *
|
|
9573
|
-
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
|
9574
|
-
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
|
9575
|
-
# matches knowledge bases whose display name contains "articles". * '
|
|
9576
|
-
# display_name:"Best Articles"' matches knowledge bases whose display name
|
|
9577
|
-
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
|
9578
|
-
# matches all knowledge bases whose display name contains "articles" and whose
|
|
9579
|
-
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
|
9580
|
-
# and will result in no filtering. For more information about filtering, see [
|
|
9581
|
-
# API Filtering](https://aip.dev/160).
|
|
9582
7977
|
# @param [Fixnum] page_size
|
|
9583
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
9584
|
-
# most 100.
|
|
9585
7978
|
# @param [String] page_token
|
|
9586
|
-
# The next_page_token value returned from a previous list request.
|
|
9587
7979
|
# @param [String] fields
|
|
9588
7980
|
# Selector specifying which fields to include in a partial response.
|
|
9589
7981
|
# @param [String] quota_user
|
|
@@ -9614,15 +8006,10 @@ module Google
|
|
|
9614
8006
|
execute_or_queue_command(command, &block)
|
|
9615
8007
|
end
|
|
9616
8008
|
|
|
9617
|
-
#
|
|
8009
|
+
#
|
|
9618
8010
|
# @param [String] name
|
|
9619
|
-
# The knowledge base resource name. The name must be empty when creating a
|
|
9620
|
-
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
|
9621
8011
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase] google_cloud_dialogflow_v2_knowledge_base_object
|
|
9622
8012
|
# @param [String] update_mask
|
|
9623
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
9624
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
9625
|
-
# fields.
|
|
9626
8013
|
# @param [String] fields
|
|
9627
8014
|
# Selector specifying which fields to include in a partial response.
|
|
9628
8015
|
# @param [String] quota_user
|
|
@@ -9653,13 +8040,8 @@ module Google
|
|
|
9653
8040
|
execute_or_queue_command(command, &block)
|
|
9654
8041
|
end
|
|
9655
8042
|
|
|
9656
|
-
#
|
|
9657
|
-
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
|
9658
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
9659
|
-
# KnowledgeOperationMetadata - `response`: Document
|
|
8043
|
+
#
|
|
9660
8044
|
# @param [String] parent
|
|
9661
|
-
# Required. The knowledge base to create a document for. Format: `projects//
|
|
9662
|
-
# locations//knowledgeBases/`.
|
|
9663
8045
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
9664
8046
|
# @param [String] fields
|
|
9665
8047
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9690,14 +8072,8 @@ module Google
|
|
|
9690
8072
|
execute_or_queue_command(command, &block)
|
|
9691
8073
|
end
|
|
9692
8074
|
|
|
9693
|
-
#
|
|
9694
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
9695
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
9696
|
-
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
|
9697
|
-
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
|
8075
|
+
#
|
|
9698
8076
|
# @param [String] name
|
|
9699
|
-
# Required. The name of the document to delete. Format: `projects//locations//
|
|
9700
|
-
# knowledgeBases//documents/`.
|
|
9701
8077
|
# @param [String] fields
|
|
9702
8078
|
# Selector specifying which fields to include in a partial response.
|
|
9703
8079
|
# @param [String] quota_user
|
|
@@ -9725,14 +8101,8 @@ module Google
|
|
|
9725
8101
|
execute_or_queue_command(command, &block)
|
|
9726
8102
|
end
|
|
9727
8103
|
|
|
9728
|
-
#
|
|
9729
|
-
# This method is a [long-running operation](https://cloud.google.com/dialogflow/
|
|
9730
|
-
# cx/docs/how/long-running-operation). The returned `Operation` type has the
|
|
9731
|
-
# following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `
|
|
9732
|
-
# response`: Document
|
|
8104
|
+
#
|
|
9733
8105
|
# @param [String] name
|
|
9734
|
-
# Required. The name of the document to export. Format: `projects//locations//
|
|
9735
|
-
# knowledgeBases//documents/`.
|
|
9736
8106
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportDocumentRequest] google_cloud_dialogflow_v2_export_document_request_object
|
|
9737
8107
|
# @param [String] fields
|
|
9738
8108
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9763,10 +8133,8 @@ module Google
|
|
|
9763
8133
|
execute_or_queue_command(command, &block)
|
|
9764
8134
|
end
|
|
9765
8135
|
|
|
9766
|
-
#
|
|
8136
|
+
#
|
|
9767
8137
|
# @param [String] name
|
|
9768
|
-
# Required. The name of the document to retrieve. Format `projects//locations//
|
|
9769
|
-
# knowledgeBases//documents/`.
|
|
9770
8138
|
# @param [String] fields
|
|
9771
8139
|
# Selector specifying which fields to include in a partial response.
|
|
9772
8140
|
# @param [String] quota_user
|
|
@@ -9794,15 +8162,8 @@ module Google
|
|
|
9794
8162
|
execute_or_queue_command(command, &block)
|
|
9795
8163
|
end
|
|
9796
8164
|
|
|
9797
|
-
#
|
|
9798
|
-
# up to 350 documents in each request. If you try to import more, Dialogflow
|
|
9799
|
-
# will return an error. This method is a [long-running operation](https://cloud.
|
|
9800
|
-
# google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
|
9801
|
-
# Operation` type has the following method-specific fields: - `metadata`:
|
|
9802
|
-
# KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
|
|
8165
|
+
#
|
|
9803
8166
|
# @param [String] parent
|
|
9804
|
-
# Required. The knowledge base to import documents into. Format: `projects//
|
|
9805
|
-
# locations//knowledgeBases/`.
|
|
9806
8167
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentsRequest] google_cloud_dialogflow_v2_import_documents_request_object
|
|
9807
8168
|
# @param [String] fields
|
|
9808
8169
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9833,25 +8194,11 @@ module Google
|
|
|
9833
8194
|
execute_or_queue_command(command, &block)
|
|
9834
8195
|
end
|
|
9835
8196
|
|
|
9836
|
-
#
|
|
8197
|
+
#
|
|
9837
8198
|
# @param [String] parent
|
|
9838
|
-
# Required. The knowledge base to list all documents for. Format: `projects//
|
|
9839
|
-
# locations//knowledgeBases/`.
|
|
9840
8199
|
# @param [String] filter
|
|
9841
|
-
# The filter expression used to filter documents returned by the list method.
|
|
9842
|
-
# The expression has the following syntax: [AND ] ... The following fields and
|
|
9843
|
-
# operators are supported: * knowledge_types with has(:) operator * display_name
|
|
9844
|
-
# with has(:) operator * state with equals(=) operator Examples: * "
|
|
9845
|
-
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
|
9846
|
-
# display_name:customer" matches documents whose display name contains "customer"
|
|
9847
|
-
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
|
9848
|
-
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
|
9849
|
-
# filtering, see [API Filtering](https://aip.dev/160).
|
|
9850
8200
|
# @param [Fixnum] page_size
|
|
9851
|
-
# The maximum number of items to return in a single page. By default 10 and at
|
|
9852
|
-
# most 100.
|
|
9853
8201
|
# @param [String] page_token
|
|
9854
|
-
# The next_page_token value returned from a previous list request.
|
|
9855
8202
|
# @param [String] fields
|
|
9856
8203
|
# Selector specifying which fields to include in a partial response.
|
|
9857
8204
|
# @param [String] quota_user
|
|
@@ -9882,18 +8229,10 @@ module Google
|
|
|
9882
8229
|
execute_or_queue_command(command, &block)
|
|
9883
8230
|
end
|
|
9884
8231
|
|
|
9885
|
-
#
|
|
9886
|
-
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
|
9887
|
-
# returned `Operation` type has the following method-specific fields: - `
|
|
9888
|
-
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
|
8232
|
+
#
|
|
9889
8233
|
# @param [String] name
|
|
9890
|
-
# Optional. The document resource name. The name must be empty when creating a
|
|
9891
|
-
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
|
9892
8234
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document] google_cloud_dialogflow_v2_document_object
|
|
9893
8235
|
# @param [String] update_mask
|
|
9894
|
-
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
|
9895
|
-
# be updated, an InvalidArgument will be returned for attempting to update other
|
|
9896
|
-
# fields.
|
|
9897
8236
|
# @param [String] fields
|
|
9898
8237
|
# Selector specifying which fields to include in a partial response.
|
|
9899
8238
|
# @param [String] quota_user
|
|
@@ -9924,18 +8263,8 @@ module Google
|
|
|
9924
8263
|
execute_or_queue_command(command, &block)
|
|
9925
8264
|
end
|
|
9926
8265
|
|
|
9927
|
-
#
|
|
9928
|
-
# content. The previously loaded content of the document will be deleted. Note:
|
|
9929
|
-
# Even when the content of the document has not changed, there still may be side
|
|
9930
|
-
# effects because of internal implementation changes. This method is a [long-
|
|
9931
|
-
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
|
9932
|
-
# running-operation). The returned `Operation` type has the following method-
|
|
9933
|
-
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
|
9934
|
-
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
|
9935
|
-
# deprecated; only use `projects.knowledgeBases.documents`.
|
|
8266
|
+
#
|
|
9936
8267
|
# @param [String] name
|
|
9937
|
-
# Required. The name of the document to reload. Format: `projects//locations//
|
|
9938
|
-
# knowledgeBases//documents/`
|
|
9939
8268
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ReloadDocumentRequest] google_cloud_dialogflow_v2_reload_document_request_object
|
|
9940
8269
|
# @param [String] fields
|
|
9941
8270
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -9966,16 +8295,8 @@ module Google
|
|
|
9966
8295
|
execute_or_queue_command(command, &block)
|
|
9967
8296
|
end
|
|
9968
8297
|
|
|
9969
|
-
#
|
|
9970
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
9971
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
9972
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
9973
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
9974
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
9975
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
9976
|
-
# , corresponding to `Code.CANCELLED`.
|
|
8298
|
+
#
|
|
9977
8299
|
# @param [String] name
|
|
9978
|
-
# The name of the operation resource to be cancelled.
|
|
9979
8300
|
# @param [String] fields
|
|
9980
8301
|
# Selector specifying which fields to include in a partial response.
|
|
9981
8302
|
# @param [String] quota_user
|
|
@@ -10003,10 +8324,8 @@ module Google
|
|
|
10003
8324
|
execute_or_queue_command(command, &block)
|
|
10004
8325
|
end
|
|
10005
8326
|
|
|
10006
|
-
#
|
|
10007
|
-
# to poll the operation result at intervals as recommended by the API service.
|
|
8327
|
+
#
|
|
10008
8328
|
# @param [String] name
|
|
10009
|
-
# The name of the operation resource.
|
|
10010
8329
|
# @param [String] fields
|
|
10011
8330
|
# Selector specifying which fields to include in a partial response.
|
|
10012
8331
|
# @param [String] quota_user
|
|
@@ -10034,23 +8353,12 @@ module Google
|
|
|
10034
8353
|
execute_or_queue_command(command, &block)
|
|
10035
8354
|
end
|
|
10036
8355
|
|
|
10037
|
-
#
|
|
10038
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
8356
|
+
#
|
|
10039
8357
|
# @param [String] name
|
|
10040
|
-
# The name of the operation's parent resource.
|
|
10041
8358
|
# @param [String] filter
|
|
10042
|
-
# The standard list filter.
|
|
10043
8359
|
# @param [Fixnum] page_size
|
|
10044
|
-
# The standard list page size.
|
|
10045
8360
|
# @param [String] page_token
|
|
10046
|
-
# The standard list page token.
|
|
10047
8361
|
# @param [Boolean] return_partial_success
|
|
10048
|
-
# When set to `true`, operations that are reachable are returned as normal, and
|
|
10049
|
-
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
10050
|
-
# unreachable] field. This can only be `true` when reading across collections e.
|
|
10051
|
-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
10052
|
-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
10053
|
-
# explicitly documented otherwise in service or product specific documentation.
|
|
10054
8362
|
# @param [String] fields
|
|
10055
8363
|
# Selector specifying which fields to include in a partial response.
|
|
10056
8364
|
# @param [String] quota_user
|
|
@@ -10082,10 +8390,8 @@ module Google
|
|
|
10082
8390
|
execute_or_queue_command(command, &block)
|
|
10083
8391
|
end
|
|
10084
8392
|
|
|
10085
|
-
#
|
|
8393
|
+
#
|
|
10086
8394
|
# @param [String] parent
|
|
10087
|
-
# Required. The location to create a SIP trunk for. Format: `projects//locations/
|
|
10088
|
-
# `.
|
|
10089
8395
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] google_cloud_dialogflow_v2_sip_trunk_object
|
|
10090
8396
|
# @param [String] fields
|
|
10091
8397
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -10116,10 +8422,8 @@ module Google
|
|
|
10116
8422
|
execute_or_queue_command(command, &block)
|
|
10117
8423
|
end
|
|
10118
8424
|
|
|
10119
|
-
#
|
|
8425
|
+
#
|
|
10120
8426
|
# @param [String] name
|
|
10121
|
-
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
|
10122
|
-
# sipTrunks/`.
|
|
10123
8427
|
# @param [String] fields
|
|
10124
8428
|
# Selector specifying which fields to include in a partial response.
|
|
10125
8429
|
# @param [String] quota_user
|
|
@@ -10147,10 +8451,8 @@ module Google
|
|
|
10147
8451
|
execute_or_queue_command(command, &block)
|
|
10148
8452
|
end
|
|
10149
8453
|
|
|
10150
|
-
#
|
|
8454
|
+
#
|
|
10151
8455
|
# @param [String] name
|
|
10152
|
-
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
|
10153
|
-
# sipTrunks/`.
|
|
10154
8456
|
# @param [String] fields
|
|
10155
8457
|
# Selector specifying which fields to include in a partial response.
|
|
10156
8458
|
# @param [String] quota_user
|
|
@@ -10178,14 +8480,10 @@ module Google
|
|
|
10178
8480
|
execute_or_queue_command(command, &block)
|
|
10179
8481
|
end
|
|
10180
8482
|
|
|
10181
|
-
#
|
|
8483
|
+
#
|
|
10182
8484
|
# @param [String] parent
|
|
10183
|
-
# Required. The location to list SIP trunks from. Format: `projects//locations/`.
|
|
10184
8485
|
# @param [Fixnum] page_size
|
|
10185
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
10186
|
-
# 100 and at most 1000.
|
|
10187
8486
|
# @param [String] page_token
|
|
10188
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
10189
8487
|
# @param [String] fields
|
|
10190
8488
|
# Selector specifying which fields to include in a partial response.
|
|
10191
8489
|
# @param [String] quota_user
|
|
@@ -10215,14 +8513,10 @@ module Google
|
|
|
10215
8513
|
execute_or_queue_command(command, &block)
|
|
10216
8514
|
end
|
|
10217
8515
|
|
|
10218
|
-
#
|
|
8516
|
+
#
|
|
10219
8517
|
# @param [String] name
|
|
10220
|
-
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
|
10221
|
-
# locations//sipTrunks/`.
|
|
10222
8518
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] google_cloud_dialogflow_v2_sip_trunk_object
|
|
10223
8519
|
# @param [String] update_mask
|
|
10224
|
-
# Optional. The mask to control which fields get updated. If the mask is not
|
|
10225
|
-
# present, all fields will be updated.
|
|
10226
8520
|
# @param [String] fields
|
|
10227
8521
|
# Selector specifying which fields to include in a partial response.
|
|
10228
8522
|
# @param [String] quota_user
|
|
@@ -10253,11 +8547,8 @@ module Google
|
|
|
10253
8547
|
execute_or_queue_command(command, &block)
|
|
10254
8548
|
end
|
|
10255
8549
|
|
|
10256
|
-
#
|
|
10257
|
-
# resource created for it.
|
|
8550
|
+
#
|
|
10258
8551
|
# @param [String] parent
|
|
10259
|
-
# Required. The parent resource to charge for the Suggestion's generation.
|
|
10260
|
-
# Format: `projects//locations/`.
|
|
10261
8552
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest] google_cloud_dialogflow_v2_generate_stateless_suggestion_request_object
|
|
10262
8553
|
# @param [String] fields
|
|
10263
8554
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -10288,11 +8579,8 @@ module Google
|
|
|
10288
8579
|
execute_or_queue_command(command, &block)
|
|
10289
8580
|
end
|
|
10290
8581
|
|
|
10291
|
-
#
|
|
10292
|
-
# resource created for it.
|
|
8582
|
+
#
|
|
10293
8583
|
# @param [String] parent
|
|
10294
|
-
# Required. The parent resource to charge for the Summary's generation. Format: `
|
|
10295
|
-
# projects//locations/`.
|
|
10296
8584
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2_generate_stateless_summary_request_object
|
|
10297
8585
|
# @param [String] fields
|
|
10298
8586
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -10323,10 +8611,8 @@ module Google
|
|
|
10323
8611
|
execute_or_queue_command(command, &block)
|
|
10324
8612
|
end
|
|
10325
8613
|
|
|
10326
|
-
#
|
|
8614
|
+
#
|
|
10327
8615
|
# @param [String] parent
|
|
10328
|
-
# Required. The parent resource contains the conversation profile Format: '
|
|
10329
|
-
# projects/' or `projects//locations/`.
|
|
10330
8616
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
|
10331
8617
|
# @param [String] fields
|
|
10332
8618
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -10357,19 +8643,10 @@ module Google
|
|
|
10357
8643
|
execute_or_queue_command(command, &block)
|
|
10358
8644
|
end
|
|
10359
8645
|
|
|
10360
|
-
#
|
|
8646
|
+
#
|
|
10361
8647
|
# @param [String] parent
|
|
10362
|
-
# Required. The project/location to create tool for. Format: `projects//
|
|
10363
|
-
# locations/`
|
|
10364
8648
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] google_cloud_dialogflow_v2_tool_object
|
|
10365
8649
|
# @param [String] tool_id
|
|
10366
|
-
# Optional. The ID to use for the tool, which will become the final component of
|
|
10367
|
-
# the tool's resource name. The tool ID must be compliant with the regression
|
|
10368
|
-
# formula `a-zA-Z*` with the characters length in range of [3,64]. If the field
|
|
10369
|
-
# is not provide, an Id will be auto-generated. If the field is provided, the
|
|
10370
|
-
# caller is responsible for 1. the uniqueness of the ID, otherwise the request
|
|
10371
|
-
# will be rejected. 2. the consistency for whether to use custom ID or not under
|
|
10372
|
-
# a project to better ensure uniqueness.
|
|
10373
8650
|
# @param [String] fields
|
|
10374
8651
|
# Selector specifying which fields to include in a partial response.
|
|
10375
8652
|
# @param [String] quota_user
|
|
@@ -10400,10 +8677,8 @@ module Google
|
|
|
10400
8677
|
execute_or_queue_command(command, &block)
|
|
10401
8678
|
end
|
|
10402
8679
|
|
|
10403
|
-
#
|
|
8680
|
+
#
|
|
10404
8681
|
# @param [String] name
|
|
10405
|
-
# Required. The tool resource name to delete. Format: `projects//locations//
|
|
10406
|
-
# tools/`
|
|
10407
8682
|
# @param [String] fields
|
|
10408
8683
|
# Selector specifying which fields to include in a partial response.
|
|
10409
8684
|
# @param [String] quota_user
|
|
@@ -10431,10 +8706,8 @@ module Google
|
|
|
10431
8706
|
execute_or_queue_command(command, &block)
|
|
10432
8707
|
end
|
|
10433
8708
|
|
|
10434
|
-
#
|
|
8709
|
+
#
|
|
10435
8710
|
# @param [String] name
|
|
10436
|
-
# Required. The tool resource name to retrieve. Format: `projects//locations//
|
|
10437
|
-
# tools/`
|
|
10438
8711
|
# @param [String] fields
|
|
10439
8712
|
# Selector specifying which fields to include in a partial response.
|
|
10440
8713
|
# @param [String] quota_user
|
|
@@ -10462,15 +8735,10 @@ module Google
|
|
|
10462
8735
|
execute_or_queue_command(command, &block)
|
|
10463
8736
|
end
|
|
10464
8737
|
|
|
10465
|
-
#
|
|
8738
|
+
#
|
|
10466
8739
|
# @param [String] parent
|
|
10467
|
-
# Required. The project/location to list tools for. Format: `projects//locations/
|
|
10468
|
-
# `
|
|
10469
8740
|
# @param [Fixnum] page_size
|
|
10470
|
-
# Optional. Maximum number of conversation models to return in a single page.
|
|
10471
|
-
# Default to 10.
|
|
10472
8741
|
# @param [String] page_token
|
|
10473
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
10474
8742
|
# @param [String] fields
|
|
10475
8743
|
# Selector specifying which fields to include in a partial response.
|
|
10476
8744
|
# @param [String] quota_user
|
|
@@ -10500,13 +8768,10 @@ module Google
|
|
|
10500
8768
|
execute_or_queue_command(command, &block)
|
|
10501
8769
|
end
|
|
10502
8770
|
|
|
10503
|
-
#
|
|
8771
|
+
#
|
|
10504
8772
|
# @param [String] name
|
|
10505
|
-
# Output only. Identifier. The resource name of the tool. Format: `projects//
|
|
10506
|
-
# locations//tools/`.
|
|
10507
8773
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] google_cloud_dialogflow_v2_tool_object
|
|
10508
8774
|
# @param [String] update_mask
|
|
10509
|
-
# Optional. The list of fields to update.
|
|
10510
8775
|
# @param [String] fields
|
|
10511
8776
|
# Selector specifying which fields to include in a partial response.
|
|
10512
8777
|
# @param [String] quota_user
|
|
@@ -10537,16 +8802,8 @@ module Google
|
|
|
10537
8802
|
execute_or_queue_command(command, &block)
|
|
10538
8803
|
end
|
|
10539
8804
|
|
|
10540
|
-
#
|
|
10541
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
10542
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
10543
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
10544
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
10545
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
10546
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
10547
|
-
# , corresponding to `Code.CANCELLED`.
|
|
8805
|
+
#
|
|
10548
8806
|
# @param [String] name
|
|
10549
|
-
# The name of the operation resource to be cancelled.
|
|
10550
8807
|
# @param [String] fields
|
|
10551
8808
|
# Selector specifying which fields to include in a partial response.
|
|
10552
8809
|
# @param [String] quota_user
|
|
@@ -10574,10 +8831,8 @@ module Google
|
|
|
10574
8831
|
execute_or_queue_command(command, &block)
|
|
10575
8832
|
end
|
|
10576
8833
|
|
|
10577
|
-
#
|
|
10578
|
-
# to poll the operation result at intervals as recommended by the API service.
|
|
8834
|
+
#
|
|
10579
8835
|
# @param [String] name
|
|
10580
|
-
# The name of the operation resource.
|
|
10581
8836
|
# @param [String] fields
|
|
10582
8837
|
# Selector specifying which fields to include in a partial response.
|
|
10583
8838
|
# @param [String] quota_user
|
|
@@ -10605,23 +8860,12 @@ module Google
|
|
|
10605
8860
|
execute_or_queue_command(command, &block)
|
|
10606
8861
|
end
|
|
10607
8862
|
|
|
10608
|
-
#
|
|
10609
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
8863
|
+
#
|
|
10610
8864
|
# @param [String] name
|
|
10611
|
-
# The name of the operation's parent resource.
|
|
10612
8865
|
# @param [String] filter
|
|
10613
|
-
# The standard list filter.
|
|
10614
8866
|
# @param [Fixnum] page_size
|
|
10615
|
-
# The standard list page size.
|
|
10616
8867
|
# @param [String] page_token
|
|
10617
|
-
# The standard list page token.
|
|
10618
8868
|
# @param [Boolean] return_partial_success
|
|
10619
|
-
# When set to `true`, operations that are reachable are returned as normal, and
|
|
10620
|
-
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
10621
|
-
# unreachable] field. This can only be `true` when reading across collections e.
|
|
10622
|
-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
10623
|
-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
10624
|
-
# explicitly documented otherwise in service or product specific documentation.
|
|
10625
8869
|
# @param [String] fields
|
|
10626
8870
|
# Selector specifying which fields to include in a partial response.
|
|
10627
8871
|
# @param [String] quota_user
|
|
@@ -10653,11 +8897,8 @@ module Google
|
|
|
10653
8897
|
execute_or_queue_command(command, &block)
|
|
10654
8898
|
end
|
|
10655
8899
|
|
|
10656
|
-
#
|
|
10657
|
-
# resource created for it.
|
|
8900
|
+
#
|
|
10658
8901
|
# @param [String] parent
|
|
10659
|
-
# Required. The parent resource to charge for the Summary's generation. Format: `
|
|
10660
|
-
# projects//locations/`.
|
|
10661
8902
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2_generate_stateless_summary_request_object
|
|
10662
8903
|
# @param [String] fields
|
|
10663
8904
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -10688,10 +8929,8 @@ module Google
|
|
|
10688
8929
|
execute_or_queue_command(command, &block)
|
|
10689
8930
|
end
|
|
10690
8931
|
|
|
10691
|
-
#
|
|
8932
|
+
#
|
|
10692
8933
|
# @param [String] parent
|
|
10693
|
-
# Required. The parent resource contains the conversation profile Format: '
|
|
10694
|
-
# projects/' or `projects//locations/`.
|
|
10695
8934
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
|
10696
8935
|
# @param [String] fields
|
|
10697
8936
|
# Selector specifying which fields to include in a partial response.
|