google-apis-dialogflow_v2 0.15.0 → 0.19.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 +17 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +6 -6
- data/lib/google/apis/dialogflow_v2/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2/service.rb +140 -68
- 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: db0bae187e5faa83389fe24f4629f3df7bf70abe52b918f7e1c7ed82318e16a5
|
4
|
+
data.tar.gz: ab249bdb6f773a14440baaface6a3402a1d0486e01c6e459fc544c981c97817f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90173f9ae9099e57cb0be62571083fdf834122b393a73891494c6f86022b0c8efe0f8c39b69dbde1ad121cad255400b0382839875eda16b5c6d6f9e7814e4a29
|
7
|
+
data.tar.gz: 26d89d0c05f38f401e9f2f4064e890562ab341a7ba0826eec38da27397a16db0d63b993792b3d1b4acd6f078a498d4e1590f9423f42117fd8c85ee096f59656b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.19.0 (2021-07-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210727
|
6
|
+
|
7
|
+
### v0.18.0 (2021-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210706
|
10
|
+
|
11
|
+
### v0.17.0 (2021-06-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210625
|
14
|
+
* Regenerated using generator version 0.4.0
|
15
|
+
|
16
|
+
### v0.16.0 (2021-06-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210618
|
19
|
+
|
3
20
|
### v0.15.0 (2021-06-16)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210611
|
@@ -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>]
|
@@ -6592,7 +6592,7 @@ module Google
|
|
6592
6592
|
|
6593
6593
|
# Output only. The unique identifier of this agent environment. Supported
|
6594
6594
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6595
|
-
# environments/`
|
6595
|
+
# environments/` The environment ID for the default environment is `-`.
|
6596
6596
|
# Corresponds to the JSON property `name`
|
6597
6597
|
# @return [String]
|
6598
6598
|
attr_accessor :name
|
@@ -6648,7 +6648,7 @@ module Google
|
|
6648
6648
|
|
6649
6649
|
# Output only. The name of the environment this history is for. Supported
|
6650
6650
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6651
|
-
# environments/`
|
6651
|
+
# environments/` The environment ID for the default environment is `-`.
|
6652
6652
|
# Corresponds to the JSON property `parent`
|
6653
6653
|
# @return [String]
|
6654
6654
|
attr_accessor :parent
|
@@ -10420,7 +10420,7 @@ module Google
|
|
10420
10420
|
# @return [Array<String>]
|
10421
10421
|
attr_accessor :entries
|
10422
10422
|
|
10423
|
-
# The detailed error
|
10423
|
+
# The detailed error message.
|
10424
10424
|
# Corresponds to the JSON property `errorMessage`
|
10425
10425
|
# @return [String]
|
10426
10426
|
attr_accessor :error_message
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210727"
|
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/`.
|
@@ -851,7 +875,8 @@ module Google
|
|
851
875
|
# Deletes the specified agent environment.
|
852
876
|
# @param [String] name
|
853
877
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
854
|
-
# environments/` - `projects//locations//agent/environments/`
|
878
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
879
|
+
# for the default environment is `-`.
|
855
880
|
# @param [String] fields
|
856
881
|
# Selector specifying which fields to include in a partial response.
|
857
882
|
# @param [String] quota_user
|
@@ -882,7 +907,8 @@ module Google
|
|
882
907
|
# Retrieves the specified agent environment.
|
883
908
|
# @param [String] name
|
884
909
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
885
|
-
# environments/` - `projects//locations//agent/environments/`
|
910
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
911
|
+
# for the default environment is `-`.
|
886
912
|
# @param [String] fields
|
887
913
|
# Selector specifying which fields to include in a partial response.
|
888
914
|
# @param [String] quota_user
|
@@ -914,7 +940,7 @@ module Google
|
|
914
940
|
# @param [String] parent
|
915
941
|
# Required. The name of the environment to retrieve history for. Supported
|
916
942
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
917
|
-
# environments/`
|
943
|
+
# environments/` The environment ID for the default environment is `-`.
|
918
944
|
# @param [Fixnum] page_size
|
919
945
|
# Optional. The maximum number of items to return in a single page. By default
|
920
946
|
# 100 and at most 1000.
|
@@ -949,7 +975,7 @@ module Google
|
|
949
975
|
execute_or_queue_command(command, &block)
|
950
976
|
end
|
951
977
|
|
952
|
-
# Returns the list of all non-
|
978
|
+
# Returns the list of all non-default environments of the specified agent.
|
953
979
|
# @param [String] parent
|
954
980
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
955
981
|
# - `projects//locations//agent`
|
@@ -991,22 +1017,22 @@ module Google
|
|
991
1017
|
# agent versions into the environment. When an environment is pointed to a new
|
992
1018
|
# agent version by setting `environment.agent_version`, the environment is
|
993
1019
|
# temporarily set to the `LOADING` state. During that time, the environment
|
994
|
-
#
|
1020
|
+
# continues serving the previous version of the agent. After the new agent
|
995
1021
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
996
|
-
# You can use "-" as Environment ID in environment name to update
|
997
|
-
#
|
998
|
-
# can't be undone. You may want to save the draft
|
999
|
-
# this
|
1022
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
1023
|
+
# version in the default environment. WARNING: this will negate all recent
|
1024
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
1025
|
+
# agent to a version before calling this method.
|
1000
1026
|
# @param [String] name
|
1001
1027
|
# Output only. The unique identifier of this agent environment. Supported
|
1002
1028
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
1003
|
-
# environments/`
|
1029
|
+
# environments/` The environment ID for the default environment is `-`.
|
1004
1030
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
1005
1031
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
1006
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
1032
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
1007
1033
|
# environment, which is an operation that cannot be undone. To confirm that the
|
1008
1034
|
# caller desires this overwrite, this field must be explicitly set to true when
|
1009
|
-
# updating the
|
1035
|
+
# updating the default environment (environment ID = `-`).
|
1010
1036
|
# @param [String] update_mask
|
1011
1037
|
# Required. The mask to control which fields get updated.
|
1012
1038
|
# @param [String] fields
|
@@ -1553,7 +1579,9 @@ module Google
|
|
1553
1579
|
execute_or_queue_command(command, &block)
|
1554
1580
|
end
|
1555
1581
|
|
1556
|
-
# Deletes intents in the specified agent.
|
1582
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
1583
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1584
|
+
# google.com/dialogflow/es/docs/training).
|
1557
1585
|
# @param [String] parent
|
1558
1586
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1559
1587
|
# projects//agent`.
|
@@ -1587,7 +1615,9 @@ module Google
|
|
1587
1615
|
execute_or_queue_command(command, &block)
|
1588
1616
|
end
|
1589
1617
|
|
1590
|
-
# Updates/Creates multiple intents in the specified agent.
|
1618
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
1619
|
+
# always train an agent prior to sending it queries. See the [training
|
1620
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1591
1621
|
# @param [String] parent
|
1592
1622
|
# Required. The name of the agent to update or create intents in. Format: `
|
1593
1623
|
# projects//agent`.
|
@@ -1621,7 +1651,9 @@ module Google
|
|
1621
1651
|
execute_or_queue_command(command, &block)
|
1622
1652
|
end
|
1623
1653
|
|
1624
|
-
# Creates an intent in the specified agent.
|
1654
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
1655
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
1656
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
1625
1657
|
# @param [String] parent
|
1626
1658
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1627
1659
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -1663,7 +1695,9 @@ module Google
|
|
1663
1695
|
execute_or_queue_command(command, &block)
|
1664
1696
|
end
|
1665
1697
|
|
1666
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
1698
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
1699
|
+
# You should always train an agent prior to sending it queries. See the [
|
1700
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1667
1701
|
# @param [String] name
|
1668
1702
|
# Required. The name of the intent to delete. If this intent has direct or
|
1669
1703
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -1784,7 +1818,9 @@ module Google
|
|
1784
1818
|
execute_or_queue_command(command, &block)
|
1785
1819
|
end
|
1786
1820
|
|
1787
|
-
# Updates the specified intent.
|
1821
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
1822
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1823
|
+
# dialogflow/es/docs/training).
|
1788
1824
|
# @param [String] name
|
1789
1825
|
# Optional. The unique identifier of this intent. Required for Intents.
|
1790
1826
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
@@ -4030,7 +4066,9 @@ module Google
|
|
4030
4066
|
execute_or_queue_command(command, &block)
|
4031
4067
|
end
|
4032
4068
|
|
4033
|
-
# Creates/updates the specified agent.
|
4069
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
4070
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4071
|
+
# google.com/dialogflow/es/docs/training).
|
4034
4072
|
# @param [String] parent
|
4035
4073
|
# Required. The project of this agent. Format: `projects/`.
|
4036
4074
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -4066,7 +4104,7 @@ module Google
|
|
4066
4104
|
execute_or_queue_command(command, &block)
|
4067
4105
|
end
|
4068
4106
|
|
4069
|
-
# Exports the specified agent to a ZIP file.
|
4107
|
+
# Exports the specified agent to a ZIP file.
|
4070
4108
|
# @param [String] parent
|
4071
4109
|
# Required. The project that the agent to export is associated with. Format: `
|
4072
4110
|
# projects/`.
|
@@ -4173,9 +4211,11 @@ module Google
|
|
4173
4211
|
# the import, the imported draft agent will be trained automatically (unless
|
4174
4212
|
# disabled in agent settings). However, once the import is done, training may
|
4175
4213
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4176
|
-
# returns in order to train explicitly.
|
4177
|
-
#
|
4178
|
-
#
|
4214
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
4215
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
4216
|
+
# done training. Note: You should always train an agent prior to sending it
|
4217
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4218
|
+
# es/docs/training).
|
4179
4219
|
# @param [String] parent
|
4180
4220
|
# Required. The project that the agent to import is associated with. Format: `
|
4181
4221
|
# projects/`.
|
@@ -4214,9 +4254,11 @@ module Google
|
|
4214
4254
|
# are deleted. After the restore, the restored draft agent will be trained
|
4215
4255
|
# automatically (unless disabled in agent settings). However, once the restore
|
4216
4256
|
# 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
|
-
#
|
4257
|
+
# for the operation it returns in order to train explicitly. An operation which
|
4258
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
4259
|
+
# updated not when it is done training. Note: You should always train an agent
|
4260
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4261
|
+
# google.com/dialogflow/es/docs/training).
|
4220
4262
|
# @param [String] parent
|
4221
4263
|
# Required. The project that the agent to restore is associated with. Format: `
|
4222
4264
|
# projects/`.
|
@@ -4291,7 +4333,9 @@ module Google
|
|
4291
4333
|
execute_or_queue_command(command, &block)
|
4292
4334
|
end
|
4293
4335
|
|
4294
|
-
# Trains the specified agent.
|
4336
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
4337
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
4338
|
+
# dialogflow/es/docs/training).
|
4295
4339
|
# @param [String] parent
|
4296
4340
|
# Required. The project that the agent to train is associated with. Format: `
|
4297
4341
|
# projects/`.
|
@@ -4364,7 +4408,9 @@ module Google
|
|
4364
4408
|
execute_or_queue_command(command, &block)
|
4365
4409
|
end
|
4366
4410
|
|
4367
|
-
# Deletes entity types in the specified agent.
|
4411
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
4412
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
4413
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4368
4414
|
# @param [String] parent
|
4369
4415
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4370
4416
|
# projects//agent`.
|
@@ -4398,7 +4444,9 @@ module Google
|
|
4398
4444
|
execute_or_queue_command(command, &block)
|
4399
4445
|
end
|
4400
4446
|
|
4401
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4447
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
4448
|
+
# always train an agent prior to sending it queries. See the [training
|
4449
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4402
4450
|
# @param [String] parent
|
4403
4451
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4404
4452
|
# projects//agent`.
|
@@ -4432,7 +4480,9 @@ module Google
|
|
4432
4480
|
execute_or_queue_command(command, &block)
|
4433
4481
|
end
|
4434
4482
|
|
4435
|
-
# Creates an entity type in the specified agent.
|
4483
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
4484
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4485
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4436
4486
|
# @param [String] parent
|
4437
4487
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
4438
4488
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -4471,7 +4521,9 @@ module Google
|
|
4471
4521
|
execute_or_queue_command(command, &block)
|
4472
4522
|
end
|
4473
4523
|
|
4474
|
-
# Deletes the specified entity type.
|
4524
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
4525
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4526
|
+
# google.com/dialogflow/es/docs/training).
|
4475
4527
|
# @param [String] name
|
4476
4528
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4477
4529
|
# entityTypes/`.
|
@@ -4581,7 +4633,9 @@ module Google
|
|
4581
4633
|
execute_or_queue_command(command, &block)
|
4582
4634
|
end
|
4583
4635
|
|
4584
|
-
# Updates the specified entity type.
|
4636
|
+
# Updates the specified entity type. Note: You should always train an agent
|
4637
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4638
|
+
# google.com/dialogflow/es/docs/training).
|
4585
4639
|
# @param [String] name
|
4586
4640
|
# The unique identifier of the entity type. Required for EntityTypes.
|
4587
4641
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -4625,7 +4679,9 @@ module Google
|
|
4625
4679
|
execute_or_queue_command(command, &block)
|
4626
4680
|
end
|
4627
4681
|
|
4628
|
-
# Creates multiple new entities in the specified entity type.
|
4682
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
4683
|
+
# always train an agent prior to sending it queries. See the [training
|
4684
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4629
4685
|
# @param [String] parent
|
4630
4686
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4631
4687
|
# /agent/entityTypes/`.
|
@@ -4659,7 +4715,9 @@ module Google
|
|
4659
4715
|
execute_or_queue_command(command, &block)
|
4660
4716
|
end
|
4661
4717
|
|
4662
|
-
# Deletes entities in the specified entity type.
|
4718
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
4719
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4720
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4663
4721
|
# @param [String] parent
|
4664
4722
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4665
4723
|
# /agent/entityTypes/`.
|
@@ -4695,7 +4753,9 @@ module Google
|
|
4695
4753
|
|
4696
4754
|
# Updates or creates multiple entities in the specified entity type. This method
|
4697
4755
|
# does not affect entities in the entity type that aren't explicitly specified
|
4698
|
-
# in the request.
|
4756
|
+
# in the request. Note: You should always train an agent prior to sending it
|
4757
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4758
|
+
# es/docs/training).
|
4699
4759
|
# @param [String] parent
|
4700
4760
|
# Required. The name of the entity type to update or create entities in. Format:
|
4701
4761
|
# `projects//agent/entityTypes/`.
|
@@ -4769,7 +4829,8 @@ module Google
|
|
4769
4829
|
# Deletes the specified agent environment.
|
4770
4830
|
# @param [String] name
|
4771
4831
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
4772
|
-
# environments/` - `projects//locations//agent/environments/`
|
4832
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4833
|
+
# for the default environment is `-`.
|
4773
4834
|
# @param [String] fields
|
4774
4835
|
# Selector specifying which fields to include in a partial response.
|
4775
4836
|
# @param [String] quota_user
|
@@ -4800,7 +4861,8 @@ module Google
|
|
4800
4861
|
# Retrieves the specified agent environment.
|
4801
4862
|
# @param [String] name
|
4802
4863
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
4803
|
-
# environments/` - `projects//locations//agent/environments/`
|
4864
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4865
|
+
# for the default environment is `-`.
|
4804
4866
|
# @param [String] fields
|
4805
4867
|
# Selector specifying which fields to include in a partial response.
|
4806
4868
|
# @param [String] quota_user
|
@@ -4832,7 +4894,7 @@ module Google
|
|
4832
4894
|
# @param [String] parent
|
4833
4895
|
# Required. The name of the environment to retrieve history for. Supported
|
4834
4896
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4835
|
-
# environments/`
|
4897
|
+
# environments/` The environment ID for the default environment is `-`.
|
4836
4898
|
# @param [Fixnum] page_size
|
4837
4899
|
# Optional. The maximum number of items to return in a single page. By default
|
4838
4900
|
# 100 and at most 1000.
|
@@ -4867,7 +4929,7 @@ module Google
|
|
4867
4929
|
execute_or_queue_command(command, &block)
|
4868
4930
|
end
|
4869
4931
|
|
4870
|
-
# Returns the list of all non-
|
4932
|
+
# Returns the list of all non-default environments of the specified agent.
|
4871
4933
|
# @param [String] parent
|
4872
4934
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
4873
4935
|
# - `projects//locations//agent`
|
@@ -4909,22 +4971,22 @@ module Google
|
|
4909
4971
|
# agent versions into the environment. When an environment is pointed to a new
|
4910
4972
|
# agent version by setting `environment.agent_version`, the environment is
|
4911
4973
|
# temporarily set to the `LOADING` state. During that time, the environment
|
4912
|
-
#
|
4974
|
+
# continues serving the previous version of the agent. After the new agent
|
4913
4975
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
4914
|
-
# You can use "-" as Environment ID in environment name to update
|
4915
|
-
#
|
4916
|
-
# can't be undone. You may want to save the draft
|
4917
|
-
# this
|
4976
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
4977
|
+
# version in the default environment. WARNING: this will negate all recent
|
4978
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
4979
|
+
# agent to a version before calling this method.
|
4918
4980
|
# @param [String] name
|
4919
4981
|
# Output only. The unique identifier of this agent environment. Supported
|
4920
4982
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4921
|
-
# environments/`
|
4983
|
+
# environments/` The environment ID for the default environment is `-`.
|
4922
4984
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
4923
4985
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
4924
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
4986
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
4925
4987
|
# environment, which is an operation that cannot be undone. To confirm that the
|
4926
4988
|
# caller desires this overwrite, this field must be explicitly set to true when
|
4927
|
-
# updating the
|
4989
|
+
# updating the default environment (environment ID = `-`).
|
4928
4990
|
# @param [String] update_mask
|
4929
4991
|
# Required. The mask to control which fields get updated.
|
4930
4992
|
# @param [String] fields
|
@@ -5471,7 +5533,9 @@ module Google
|
|
5471
5533
|
execute_or_queue_command(command, &block)
|
5472
5534
|
end
|
5473
5535
|
|
5474
|
-
# Deletes intents in the specified agent.
|
5536
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
5537
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5538
|
+
# google.com/dialogflow/es/docs/training).
|
5475
5539
|
# @param [String] parent
|
5476
5540
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5477
5541
|
# projects//agent`.
|
@@ -5505,7 +5569,9 @@ module Google
|
|
5505
5569
|
execute_or_queue_command(command, &block)
|
5506
5570
|
end
|
5507
5571
|
|
5508
|
-
# Updates/Creates multiple intents in the specified agent.
|
5572
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
5573
|
+
# always train an agent prior to sending it queries. See the [training
|
5574
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5509
5575
|
# @param [String] parent
|
5510
5576
|
# Required. The name of the agent to update or create intents in. Format: `
|
5511
5577
|
# projects//agent`.
|
@@ -5539,7 +5605,9 @@ module Google
|
|
5539
5605
|
execute_or_queue_command(command, &block)
|
5540
5606
|
end
|
5541
5607
|
|
5542
|
-
# Creates an intent in the specified agent.
|
5608
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
5609
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
5610
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5543
5611
|
# @param [String] parent
|
5544
5612
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
5545
5613
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -5581,7 +5649,9 @@ module Google
|
|
5581
5649
|
execute_or_queue_command(command, &block)
|
5582
5650
|
end
|
5583
5651
|
|
5584
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
5652
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
5653
|
+
# You should always train an agent prior to sending it queries. See the [
|
5654
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5585
5655
|
# @param [String] name
|
5586
5656
|
# Required. The name of the intent to delete. If this intent has direct or
|
5587
5657
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -5702,7 +5772,9 @@ module Google
|
|
5702
5772
|
execute_or_queue_command(command, &block)
|
5703
5773
|
end
|
5704
5774
|
|
5705
|
-
# Updates the specified intent.
|
5775
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
5776
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5777
|
+
# dialogflow/es/docs/training).
|
5706
5778
|
# @param [String] name
|
5707
5779
|
# Optional. The unique identifier of this intent. Required for Intents.
|
5708
5780
|
# 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.19.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-
|
11
|
+
date: 2021-08-02 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.4'
|
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.4'
|
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.19.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: []
|