google-apis-dialogflow_v2 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +4 -4
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/service.rb +112 -44
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db54dbf64af7a5e7af5c35548e9a5a27ad8bab1c3915262e2a906a7b430eefd6
|
4
|
+
data.tar.gz: 217441fa8fdefb21e9cb3899936cd02a8c957c7ce1debc552ec6388204e8f93b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d8d3e6390d46842f54efa611f39238937cbf12221ab90797c8ce8e21fa5e59f2b712a0173faea9cda420e3accc79a43a1bd23e7744d607e8b6247f54bde165
|
7
|
+
data.tar.gz: b02b6f0eb37a14ef12030163ca95dac56f47633d5cc97b073e8895ce3e7fecc1d405782cac1ad91dfe555941786bc8f9e2938dbafe3a2e9163ac7ef930f7e87f
|
data/CHANGELOG.md
CHANGED
@@ -1067,9 +1067,9 @@ module Google
|
|
1067
1067
|
# letters, digits and the symbols '-' and '_'. International characters are
|
1068
1068
|
# allowed, including letters from unicase alphabets. Keys must start with a
|
1069
1069
|
# letter. Keys and values can be no longer than 63 characters and no more than
|
1070
|
-
# 128 bytes. Prefix "sys
|
1071
|
-
# allowed Dialogflow defined labels include: * sys
|
1072
|
-
# above labels do not require value. "sys
|
1070
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
1071
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
1072
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
1073
1073
|
# intent. "sys.contextual" means the intent is a contextual intent.
|
1074
1074
|
# Corresponds to the JSON property `labels`
|
1075
1075
|
# @return [Hash<String,String>]
|
@@ -6566,7 +6566,7 @@ module Google
|
|
6566
6566
|
class GoogleCloudDialogflowV2Environment
|
6567
6567
|
include Google::Apis::Core::Hashable
|
6568
6568
|
|
6569
|
-
#
|
6569
|
+
# Required. The agent version loaded into this environment. Supported formats: -
|
6570
6570
|
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
6571
6571
|
# Corresponds to the JSON property `agentVersion`
|
6572
6572
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,7 +112,9 @@ module Google
|
|
112
112
|
execute_or_queue_command(command, &block)
|
113
113
|
end
|
114
114
|
|
115
|
-
# Creates/updates the specified agent.
|
115
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
116
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
117
|
+
# google.com/dialogflow/es/docs/training).
|
116
118
|
# @param [String] parent
|
117
119
|
# Required. The project of this agent. Format: `projects/`.
|
118
120
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -148,7 +150,7 @@ module Google
|
|
148
150
|
execute_or_queue_command(command, &block)
|
149
151
|
end
|
150
152
|
|
151
|
-
# Exports the specified agent to a ZIP file.
|
153
|
+
# Exports the specified agent to a ZIP file.
|
152
154
|
# @param [String] parent
|
153
155
|
# Required. The project that the agent to export is associated with. Format: `
|
154
156
|
# projects/`.
|
@@ -255,9 +257,11 @@ module Google
|
|
255
257
|
# the import, the imported draft agent will be trained automatically (unless
|
256
258
|
# disabled in agent settings). However, once the import is done, training may
|
257
259
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
258
|
-
# returns in order to train explicitly.
|
259
|
-
#
|
260
|
-
#
|
260
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
261
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
262
|
+
# done training. Note: You should always train an agent prior to sending it
|
263
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
264
|
+
# es/docs/training).
|
261
265
|
# @param [String] parent
|
262
266
|
# Required. The project that the agent to import is associated with. Format: `
|
263
267
|
# projects/`.
|
@@ -296,9 +300,11 @@ module Google
|
|
296
300
|
# are deleted. After the restore, the restored draft agent will be trained
|
297
301
|
# automatically (unless disabled in agent settings). However, once the restore
|
298
302
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
299
|
-
# for the operation it returns in order to train explicitly.
|
300
|
-
#
|
301
|
-
#
|
303
|
+
# for the operation it returns in order to train explicitly. An operation which
|
304
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
305
|
+
# updated not when it is done training. Note: You should always train an agent
|
306
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
307
|
+
# google.com/dialogflow/es/docs/training).
|
302
308
|
# @param [String] parent
|
303
309
|
# Required. The project that the agent to restore is associated with. Format: `
|
304
310
|
# projects/`.
|
@@ -373,7 +379,9 @@ module Google
|
|
373
379
|
execute_or_queue_command(command, &block)
|
374
380
|
end
|
375
381
|
|
376
|
-
# Trains the specified agent.
|
382
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
383
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
384
|
+
# dialogflow/es/docs/training).
|
377
385
|
# @param [String] parent
|
378
386
|
# Required. The project that the agent to train is associated with. Format: `
|
379
387
|
# projects/`.
|
@@ -446,7 +454,9 @@ module Google
|
|
446
454
|
execute_or_queue_command(command, &block)
|
447
455
|
end
|
448
456
|
|
449
|
-
# Deletes entity types in the specified agent.
|
457
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
458
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
459
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
450
460
|
# @param [String] parent
|
451
461
|
# Required. The name of the agent to delete all entities types for. Format: `
|
452
462
|
# projects//agent`.
|
@@ -480,7 +490,9 @@ module Google
|
|
480
490
|
execute_or_queue_command(command, &block)
|
481
491
|
end
|
482
492
|
|
483
|
-
# Updates/Creates multiple entity types in the specified agent.
|
493
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
494
|
+
# always train an agent prior to sending it queries. See the [training
|
495
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
484
496
|
# @param [String] parent
|
485
497
|
# Required. The name of the agent to update or create entity types in. Format: `
|
486
498
|
# projects//agent`.
|
@@ -514,7 +526,9 @@ module Google
|
|
514
526
|
execute_or_queue_command(command, &block)
|
515
527
|
end
|
516
528
|
|
517
|
-
# Creates an entity type in the specified agent.
|
529
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
530
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
531
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
518
532
|
# @param [String] parent
|
519
533
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
520
534
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -553,7 +567,9 @@ module Google
|
|
553
567
|
execute_or_queue_command(command, &block)
|
554
568
|
end
|
555
569
|
|
556
|
-
# Deletes the specified entity type.
|
570
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
571
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
572
|
+
# google.com/dialogflow/es/docs/training).
|
557
573
|
# @param [String] name
|
558
574
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
559
575
|
# entityTypes/`.
|
@@ -663,7 +679,9 @@ module Google
|
|
663
679
|
execute_or_queue_command(command, &block)
|
664
680
|
end
|
665
681
|
|
666
|
-
# Updates the specified entity type.
|
682
|
+
# Updates the specified entity type. Note: You should always train an agent
|
683
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
684
|
+
# google.com/dialogflow/es/docs/training).
|
667
685
|
# @param [String] name
|
668
686
|
# The unique identifier of the entity type. Required for EntityTypes.
|
669
687
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -707,7 +725,9 @@ module Google
|
|
707
725
|
execute_or_queue_command(command, &block)
|
708
726
|
end
|
709
727
|
|
710
|
-
# Creates multiple new entities in the specified entity type.
|
728
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
729
|
+
# always train an agent prior to sending it queries. See the [training
|
730
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
711
731
|
# @param [String] parent
|
712
732
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
713
733
|
# /agent/entityTypes/`.
|
@@ -741,7 +761,9 @@ module Google
|
|
741
761
|
execute_or_queue_command(command, &block)
|
742
762
|
end
|
743
763
|
|
744
|
-
# Deletes entities in the specified entity type.
|
764
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
765
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
766
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
745
767
|
# @param [String] parent
|
746
768
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
747
769
|
# /agent/entityTypes/`.
|
@@ -777,7 +799,9 @@ module Google
|
|
777
799
|
|
778
800
|
# Updates or creates multiple entities in the specified entity type. This method
|
779
801
|
# does not affect entities in the entity type that aren't explicitly specified
|
780
|
-
# in the request.
|
802
|
+
# in the request. Note: You should always train an agent prior to sending it
|
803
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
804
|
+
# es/docs/training).
|
781
805
|
# @param [String] parent
|
782
806
|
# Required. The name of the entity type to update or create entities in. Format:
|
783
807
|
# `projects//agent/entityTypes/`.
|
@@ -1553,7 +1577,9 @@ module Google
|
|
1553
1577
|
execute_or_queue_command(command, &block)
|
1554
1578
|
end
|
1555
1579
|
|
1556
|
-
# Deletes intents in the specified agent.
|
1580
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
1581
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1582
|
+
# google.com/dialogflow/es/docs/training).
|
1557
1583
|
# @param [String] parent
|
1558
1584
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1559
1585
|
# projects//agent`.
|
@@ -1587,7 +1613,9 @@ module Google
|
|
1587
1613
|
execute_or_queue_command(command, &block)
|
1588
1614
|
end
|
1589
1615
|
|
1590
|
-
# Updates/Creates multiple intents in the specified agent.
|
1616
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
1617
|
+
# always train an agent prior to sending it queries. See the [training
|
1618
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1591
1619
|
# @param [String] parent
|
1592
1620
|
# Required. The name of the agent to update or create intents in. Format: `
|
1593
1621
|
# projects//agent`.
|
@@ -1621,7 +1649,9 @@ module Google
|
|
1621
1649
|
execute_or_queue_command(command, &block)
|
1622
1650
|
end
|
1623
1651
|
|
1624
|
-
# Creates an intent in the specified agent.
|
1652
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
1653
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
1654
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
1625
1655
|
# @param [String] parent
|
1626
1656
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1627
1657
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -1663,7 +1693,9 @@ module Google
|
|
1663
1693
|
execute_or_queue_command(command, &block)
|
1664
1694
|
end
|
1665
1695
|
|
1666
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
1696
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
1697
|
+
# You should always train an agent prior to sending it queries. See the [
|
1698
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1667
1699
|
# @param [String] name
|
1668
1700
|
# Required. The name of the intent to delete. If this intent has direct or
|
1669
1701
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -1784,7 +1816,9 @@ module Google
|
|
1784
1816
|
execute_or_queue_command(command, &block)
|
1785
1817
|
end
|
1786
1818
|
|
1787
|
-
# Updates the specified intent.
|
1819
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
1820
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1821
|
+
# dialogflow/es/docs/training).
|
1788
1822
|
# @param [String] name
|
1789
1823
|
# Optional. The unique identifier of this intent. Required for Intents.
|
1790
1824
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
@@ -4030,7 +4064,9 @@ module Google
|
|
4030
4064
|
execute_or_queue_command(command, &block)
|
4031
4065
|
end
|
4032
4066
|
|
4033
|
-
# Creates/updates the specified agent.
|
4067
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
4068
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4069
|
+
# google.com/dialogflow/es/docs/training).
|
4034
4070
|
# @param [String] parent
|
4035
4071
|
# Required. The project of this agent. Format: `projects/`.
|
4036
4072
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -4066,7 +4102,7 @@ module Google
|
|
4066
4102
|
execute_or_queue_command(command, &block)
|
4067
4103
|
end
|
4068
4104
|
|
4069
|
-
# Exports the specified agent to a ZIP file.
|
4105
|
+
# Exports the specified agent to a ZIP file.
|
4070
4106
|
# @param [String] parent
|
4071
4107
|
# Required. The project that the agent to export is associated with. Format: `
|
4072
4108
|
# projects/`.
|
@@ -4173,9 +4209,11 @@ module Google
|
|
4173
4209
|
# the import, the imported draft agent will be trained automatically (unless
|
4174
4210
|
# disabled in agent settings). However, once the import is done, training may
|
4175
4211
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4176
|
-
# returns in order to train explicitly.
|
4177
|
-
#
|
4178
|
-
#
|
4212
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
4213
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
4214
|
+
# done training. Note: You should always train an agent prior to sending it
|
4215
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4216
|
+
# es/docs/training).
|
4179
4217
|
# @param [String] parent
|
4180
4218
|
# Required. The project that the agent to import is associated with. Format: `
|
4181
4219
|
# projects/`.
|
@@ -4214,9 +4252,11 @@ module Google
|
|
4214
4252
|
# are deleted. After the restore, the restored draft agent will be trained
|
4215
4253
|
# automatically (unless disabled in agent settings). However, once the restore
|
4216
4254
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
4217
|
-
# for the operation it returns in order to train explicitly.
|
4218
|
-
#
|
4219
|
-
#
|
4255
|
+
# for the operation it returns in order to train explicitly. An operation which
|
4256
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
4257
|
+
# updated not when it is done training. Note: You should always train an agent
|
4258
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4259
|
+
# google.com/dialogflow/es/docs/training).
|
4220
4260
|
# @param [String] parent
|
4221
4261
|
# Required. The project that the agent to restore is associated with. Format: `
|
4222
4262
|
# projects/`.
|
@@ -4291,7 +4331,9 @@ module Google
|
|
4291
4331
|
execute_or_queue_command(command, &block)
|
4292
4332
|
end
|
4293
4333
|
|
4294
|
-
# Trains the specified agent.
|
4334
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
4335
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
4336
|
+
# dialogflow/es/docs/training).
|
4295
4337
|
# @param [String] parent
|
4296
4338
|
# Required. The project that the agent to train is associated with. Format: `
|
4297
4339
|
# projects/`.
|
@@ -4364,7 +4406,9 @@ module Google
|
|
4364
4406
|
execute_or_queue_command(command, &block)
|
4365
4407
|
end
|
4366
4408
|
|
4367
|
-
# Deletes entity types in the specified agent.
|
4409
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
4410
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
4411
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4368
4412
|
# @param [String] parent
|
4369
4413
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4370
4414
|
# projects//agent`.
|
@@ -4398,7 +4442,9 @@ module Google
|
|
4398
4442
|
execute_or_queue_command(command, &block)
|
4399
4443
|
end
|
4400
4444
|
|
4401
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4445
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
4446
|
+
# always train an agent prior to sending it queries. See the [training
|
4447
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4402
4448
|
# @param [String] parent
|
4403
4449
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4404
4450
|
# projects//agent`.
|
@@ -4432,7 +4478,9 @@ module Google
|
|
4432
4478
|
execute_or_queue_command(command, &block)
|
4433
4479
|
end
|
4434
4480
|
|
4435
|
-
# Creates an entity type in the specified agent.
|
4481
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
4482
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4483
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4436
4484
|
# @param [String] parent
|
4437
4485
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
4438
4486
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -4471,7 +4519,9 @@ module Google
|
|
4471
4519
|
execute_or_queue_command(command, &block)
|
4472
4520
|
end
|
4473
4521
|
|
4474
|
-
# Deletes the specified entity type.
|
4522
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
4523
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4524
|
+
# google.com/dialogflow/es/docs/training).
|
4475
4525
|
# @param [String] name
|
4476
4526
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4477
4527
|
# entityTypes/`.
|
@@ -4581,7 +4631,9 @@ module Google
|
|
4581
4631
|
execute_or_queue_command(command, &block)
|
4582
4632
|
end
|
4583
4633
|
|
4584
|
-
# Updates the specified entity type.
|
4634
|
+
# Updates the specified entity type. Note: You should always train an agent
|
4635
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4636
|
+
# google.com/dialogflow/es/docs/training).
|
4585
4637
|
# @param [String] name
|
4586
4638
|
# The unique identifier of the entity type. Required for EntityTypes.
|
4587
4639
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -4625,7 +4677,9 @@ module Google
|
|
4625
4677
|
execute_or_queue_command(command, &block)
|
4626
4678
|
end
|
4627
4679
|
|
4628
|
-
# Creates multiple new entities in the specified entity type.
|
4680
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
4681
|
+
# always train an agent prior to sending it queries. See the [training
|
4682
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4629
4683
|
# @param [String] parent
|
4630
4684
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4631
4685
|
# /agent/entityTypes/`.
|
@@ -4659,7 +4713,9 @@ module Google
|
|
4659
4713
|
execute_or_queue_command(command, &block)
|
4660
4714
|
end
|
4661
4715
|
|
4662
|
-
# Deletes entities in the specified entity type.
|
4716
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
4717
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4718
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4663
4719
|
# @param [String] parent
|
4664
4720
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4665
4721
|
# /agent/entityTypes/`.
|
@@ -4695,7 +4751,9 @@ module Google
|
|
4695
4751
|
|
4696
4752
|
# Updates or creates multiple entities in the specified entity type. This method
|
4697
4753
|
# does not affect entities in the entity type that aren't explicitly specified
|
4698
|
-
# in the request.
|
4754
|
+
# in the request. Note: You should always train an agent prior to sending it
|
4755
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4756
|
+
# es/docs/training).
|
4699
4757
|
# @param [String] parent
|
4700
4758
|
# Required. The name of the entity type to update or create entities in. Format:
|
4701
4759
|
# `projects//agent/entityTypes/`.
|
@@ -5471,7 +5529,9 @@ module Google
|
|
5471
5529
|
execute_or_queue_command(command, &block)
|
5472
5530
|
end
|
5473
5531
|
|
5474
|
-
# Deletes intents in the specified agent.
|
5532
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
5533
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5534
|
+
# google.com/dialogflow/es/docs/training).
|
5475
5535
|
# @param [String] parent
|
5476
5536
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5477
5537
|
# projects//agent`.
|
@@ -5505,7 +5565,9 @@ module Google
|
|
5505
5565
|
execute_or_queue_command(command, &block)
|
5506
5566
|
end
|
5507
5567
|
|
5508
|
-
# Updates/Creates multiple intents in the specified agent.
|
5568
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
5569
|
+
# always train an agent prior to sending it queries. See the [training
|
5570
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5509
5571
|
# @param [String] parent
|
5510
5572
|
# Required. The name of the agent to update or create intents in. Format: `
|
5511
5573
|
# projects//agent`.
|
@@ -5539,7 +5601,9 @@ module Google
|
|
5539
5601
|
execute_or_queue_command(command, &block)
|
5540
5602
|
end
|
5541
5603
|
|
5542
|
-
# Creates an intent in the specified agent.
|
5604
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
5605
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
5606
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5543
5607
|
# @param [String] parent
|
5544
5608
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
5545
5609
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -5581,7 +5645,9 @@ module Google
|
|
5581
5645
|
execute_or_queue_command(command, &block)
|
5582
5646
|
end
|
5583
5647
|
|
5584
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
5648
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
5649
|
+
# You should always train an agent prior to sending it queries. See the [
|
5650
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5585
5651
|
# @param [String] name
|
5586
5652
|
# Required. The name of the intent to delete. If this intent has direct or
|
5587
5653
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -5702,7 +5768,9 @@ module Google
|
|
5702
5768
|
execute_or_queue_command(command, &block)
|
5703
5769
|
end
|
5704
5770
|
|
5705
|
-
# Updates the specified intent.
|
5771
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
5772
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5773
|
+
# dialogflow/es/docs/training).
|
5706
5774
|
# @param [String] name
|
5707
5775
|
# Optional. The unique identifier of this intent. Required for Intents.
|
5708
5776
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Dialogflow API V2. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.16.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|