google-apis-dialogflow_v2 0.20.0 → 0.21.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/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/service.rb +235 -78
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27d5dcdd8f130ce07b05588c3995dc853b0ae23071cc733cbaf34b08e9a4bfab
|
4
|
+
data.tar.gz: 6646de66b802e12b445febde19519904dfa649576a2ea241680b38478d717bcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fac95729cd6fa5a686b1ae6b4d150f9332a07dbfcbb768cae1a7f40ad4ff7b8c7455da783292587e4dcaac1e70fb422b618fc0c7fce64072a8a71078fed7bf8
|
7
|
+
data.tar.gz: 6a8a53a6ea5174d24346a54ebc0fe3649a2b529de360842772c8e6b5cae0647dbc5215b338b14e5893a1ff65fa7137eb05dfd135524cffe8648de129d93e5ab1
|
data/CHANGELOG.md
CHANGED
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210909"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -150,7 +150,12 @@ module Google
|
|
150
150
|
execute_or_queue_command(command, &block)
|
151
151
|
end
|
152
152
|
|
153
|
-
# Exports the specified agent to a ZIP file.
|
153
|
+
# Exports the specified agent to a ZIP file. This method is a [long-running
|
154
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
155
|
+
# operations). The returned `Operation` type has the following method-specific
|
156
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
157
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
158
|
+
# ExportAgentResponse
|
154
159
|
# @param [String] parent
|
155
160
|
# Required. The project that the agent to export is associated with. Format: `
|
156
161
|
# projects/`.
|
@@ -257,8 +262,13 @@ module Google
|
|
257
262
|
# the import, the imported draft agent will be trained automatically (unless
|
258
263
|
# disabled in agent settings). However, once the import is done, training may
|
259
264
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
260
|
-
# returns in order to train explicitly.
|
261
|
-
#
|
265
|
+
# returns in order to train explicitly. This method is a [long-running operation]
|
266
|
+
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
267
|
+
# returned `Operation` type has the following method-specific fields: - `
|
268
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
269
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
270
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
271
|
+
# empty) The operation only tracks when importing is complete, not when it is
|
262
272
|
# done training. Note: You should always train an agent prior to sending it
|
263
273
|
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
264
274
|
# es/docs/training).
|
@@ -300,9 +310,14 @@ module Google
|
|
300
310
|
# are deleted. After the restore, the restored draft agent will be trained
|
301
311
|
# automatically (unless disabled in agent settings). However, once the restore
|
302
312
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
303
|
-
# for the operation it returns in order to train explicitly.
|
304
|
-
#
|
305
|
-
#
|
313
|
+
# for the operation it returns in order to train explicitly. This method is a [
|
314
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
315
|
+
# running-operations). The returned `Operation` type has the following method-
|
316
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
317
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
318
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
319
|
+
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
320
|
+
# complete, not when it is done training. Note: You should always train an agent
|
306
321
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
307
322
|
# google.com/dialogflow/es/docs/training).
|
308
323
|
# @param [String] parent
|
@@ -379,9 +394,14 @@ module Google
|
|
379
394
|
execute_or_queue_command(command, &block)
|
380
395
|
end
|
381
396
|
|
382
|
-
# Trains the specified agent.
|
383
|
-
#
|
384
|
-
#
|
397
|
+
# Trains the specified agent. This method is a [long-running operation](https://
|
398
|
+
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
399
|
+
# `Operation` type has the following method-specific fields: - `metadata`: An
|
400
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
401
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
402
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
403
|
+
# Note: You should always train an agent prior to sending it queries. See the [
|
404
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
385
405
|
# @param [String] parent
|
386
406
|
# Required. The project that the agent to train is associated with. Format: `
|
387
407
|
# projects/`.
|
@@ -454,9 +474,15 @@ module Google
|
|
454
474
|
execute_or_queue_command(command, &block)
|
455
475
|
end
|
456
476
|
|
457
|
-
# Deletes entity types in the specified agent.
|
458
|
-
#
|
459
|
-
#
|
477
|
+
# Deletes entity types in the specified agent. This method is a [long-running
|
478
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
479
|
+
# operations). The returned `Operation` type has the following method-specific
|
480
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
481
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
482
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
483
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
484
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
485
|
+
# dialogflow/es/docs/training).
|
460
486
|
# @param [String] parent
|
461
487
|
# Required. The name of the agent to delete all entities types for. Format: `
|
462
488
|
# projects//agent`.
|
@@ -490,9 +516,14 @@ module Google
|
|
490
516
|
execute_or_queue_command(command, &block)
|
491
517
|
end
|
492
518
|
|
493
|
-
# Updates/Creates multiple entity types in the specified agent.
|
494
|
-
#
|
495
|
-
#
|
519
|
+
# Updates/Creates multiple entity types in the specified agent. This method is a
|
520
|
+
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
521
|
+
# running-operations). The returned `Operation` type has the following method-
|
522
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
523
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
524
|
+
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
525
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
526
|
+
# com/dialogflow/es/docs/training).
|
496
527
|
# @param [String] parent
|
497
528
|
# Required. The name of the agent to update or create entity types in. Format: `
|
498
529
|
# projects//agent`.
|
@@ -725,9 +756,15 @@ module Google
|
|
725
756
|
execute_or_queue_command(command, &block)
|
726
757
|
end
|
727
758
|
|
728
|
-
# Creates multiple new entities in the specified entity type.
|
729
|
-
#
|
730
|
-
#
|
759
|
+
# Creates multiple new entities in the specified entity type. This method is a [
|
760
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
761
|
+
# running-operations). The returned `Operation` type has the following method-
|
762
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
763
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
764
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
765
|
+
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
766
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
767
|
+
# com/dialogflow/es/docs/training).
|
731
768
|
# @param [String] parent
|
732
769
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
733
770
|
# /agent/entityTypes/`.
|
@@ -761,9 +798,15 @@ module Google
|
|
761
798
|
execute_or_queue_command(command, &block)
|
762
799
|
end
|
763
800
|
|
764
|
-
# Deletes entities in the specified entity type.
|
765
|
-
#
|
766
|
-
#
|
801
|
+
# Deletes entities in the specified entity type. This method is a [long-running
|
802
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
803
|
+
# operations). The returned `Operation` type has the following method-specific
|
804
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
805
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
806
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
807
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
808
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
809
|
+
# dialogflow/es/docs/training).
|
767
810
|
# @param [String] parent
|
768
811
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
769
812
|
# /agent/entityTypes/`.
|
@@ -799,9 +842,14 @@ module Google
|
|
799
842
|
|
800
843
|
# Updates or creates multiple entities in the specified entity type. This method
|
801
844
|
# does not affect entities in the entity type that aren't explicitly specified
|
802
|
-
# in the request.
|
803
|
-
#
|
804
|
-
#
|
845
|
+
# in the request. This method is a [long-running operation](https://cloud.google.
|
846
|
+
# com/dialogflow/es/docs/how/long-running-operations). The returned `Operation`
|
847
|
+
# type has the following method-specific fields: - `metadata`: An empty [Struct
|
848
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
849
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
850
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
851
|
+
# always train an agent prior to sending it queries. See the [training
|
852
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
805
853
|
# @param [String] parent
|
806
854
|
# Required. The name of the entity type to update or create entities in. Format:
|
807
855
|
# `projects//agent/entityTypes/`.
|
@@ -1579,9 +1627,15 @@ module Google
|
|
1579
1627
|
execute_or_queue_command(command, &block)
|
1580
1628
|
end
|
1581
1629
|
|
1582
|
-
# Deletes intents in the specified agent.
|
1583
|
-
#
|
1584
|
-
#
|
1630
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
1631
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
1632
|
+
# operations). The returned `Operation` type has the following method-specific
|
1633
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1634
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
1635
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
1636
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
1637
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
1638
|
+
# dialogflow/es/docs/training).
|
1585
1639
|
# @param [String] parent
|
1586
1640
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1587
1641
|
# projects//agent`.
|
@@ -1615,9 +1669,14 @@ module Google
|
|
1615
1669
|
execute_or_queue_command(command, &block)
|
1616
1670
|
end
|
1617
1671
|
|
1618
|
-
# Updates/Creates multiple intents in the specified agent.
|
1619
|
-
#
|
1620
|
-
#
|
1672
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
1673
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
1674
|
+
# running-operations). The returned `Operation` type has the following method-
|
1675
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
1676
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
1677
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
1678
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1679
|
+
# dialogflow/es/docs/training).
|
1621
1680
|
# @param [String] parent
|
1622
1681
|
# Required. The name of the agent to update or create intents in. Format: `
|
1623
1682
|
# projects//agent`.
|
@@ -2044,7 +2103,10 @@ module Google
|
|
2044
2103
|
execute_or_queue_command(command, &block)
|
2045
2104
|
end
|
2046
2105
|
|
2047
|
-
# Creates a new document.
|
2106
|
+
# Creates a new document. This method is a [long-running operation](https://
|
2107
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
2108
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
2109
|
+
# KnowledgeOperationMetadata - `response`: Document
|
2048
2110
|
# @param [String] parent
|
2049
2111
|
# Required. The knowledge base to create a document for. Format: `projects//
|
2050
2112
|
# locations//knowledgeBases/`.
|
@@ -2078,7 +2140,11 @@ module Google
|
|
2078
2140
|
execute_or_queue_command(command, &block)
|
2079
2141
|
end
|
2080
2142
|
|
2081
|
-
# Deletes the specified document.
|
2143
|
+
# Deletes the specified document. This method is a [long-running operation](
|
2144
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2145
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2146
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
2147
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
2082
2148
|
# @param [String] name
|
2083
2149
|
# Required. The name of the document to delete. Format: `projects//locations//
|
2084
2150
|
# knowledgeBases//documents/`.
|
@@ -2178,7 +2244,10 @@ module Google
|
|
2178
2244
|
execute_or_queue_command(command, &block)
|
2179
2245
|
end
|
2180
2246
|
|
2181
|
-
# Updates the specified document.
|
2247
|
+
# Updates the specified document. This method is a [long-running operation](
|
2248
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2249
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2250
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
2182
2251
|
# @param [String] name
|
2183
2252
|
# Optional. The document resource name. The name must be empty when creating a
|
2184
2253
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -2220,9 +2289,12 @@ module Google
|
|
2220
2289
|
# Reloads the specified document from its specified source, content_uri or
|
2221
2290
|
# content. The previously loaded content of the document will be deleted. Note:
|
2222
2291
|
# Even when the content of the document has not changed, there still may be side
|
2223
|
-
# effects because of internal implementation changes.
|
2224
|
-
#
|
2225
|
-
#
|
2292
|
+
# effects because of internal implementation changes. This method is a [long-
|
2293
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
2294
|
+
# running-operation). The returned `Operation` type has the following method-
|
2295
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
2296
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
2297
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
2226
2298
|
# @param [String] name
|
2227
2299
|
# Required. The name of the document to reload. Format: `projects//locations//
|
2228
2300
|
# knowledgeBases//documents/`
|
@@ -3792,7 +3864,10 @@ module Google
|
|
3792
3864
|
execute_or_queue_command(command, &block)
|
3793
3865
|
end
|
3794
3866
|
|
3795
|
-
# Creates a new document.
|
3867
|
+
# Creates a new document. This method is a [long-running operation](https://
|
3868
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
3869
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
3870
|
+
# KnowledgeOperationMetadata - `response`: Document
|
3796
3871
|
# @param [String] parent
|
3797
3872
|
# Required. The knowledge base to create a document for. Format: `projects//
|
3798
3873
|
# locations//knowledgeBases/`.
|
@@ -3826,7 +3901,11 @@ module Google
|
|
3826
3901
|
execute_or_queue_command(command, &block)
|
3827
3902
|
end
|
3828
3903
|
|
3829
|
-
# Deletes the specified document.
|
3904
|
+
# Deletes the specified document. This method is a [long-running operation](
|
3905
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
3906
|
+
# returned `Operation` type has the following method-specific fields: - `
|
3907
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
3908
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
3830
3909
|
# @param [String] name
|
3831
3910
|
# Required. The name of the document to delete. Format: `projects//locations//
|
3832
3911
|
# knowledgeBases//documents/`.
|
@@ -3926,7 +4005,10 @@ module Google
|
|
3926
4005
|
execute_or_queue_command(command, &block)
|
3927
4006
|
end
|
3928
4007
|
|
3929
|
-
# Updates the specified document.
|
4008
|
+
# Updates the specified document. This method is a [long-running operation](
|
4009
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
4010
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4011
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
3930
4012
|
# @param [String] name
|
3931
4013
|
# Optional. The document resource name. The name must be empty when creating a
|
3932
4014
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -3968,9 +4050,12 @@ module Google
|
|
3968
4050
|
# Reloads the specified document from its specified source, content_uri or
|
3969
4051
|
# content. The previously loaded content of the document will be deleted. Note:
|
3970
4052
|
# Even when the content of the document has not changed, there still may be side
|
3971
|
-
# effects because of internal implementation changes.
|
3972
|
-
#
|
3973
|
-
#
|
4053
|
+
# effects because of internal implementation changes. This method is a [long-
|
4054
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
4055
|
+
# running-operation). The returned `Operation` type has the following method-
|
4056
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
4057
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
4058
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
3974
4059
|
# @param [String] name
|
3975
4060
|
# Required. The name of the document to reload. Format: `projects//locations//
|
3976
4061
|
# knowledgeBases//documents/`
|
@@ -4177,7 +4262,12 @@ module Google
|
|
4177
4262
|
execute_or_queue_command(command, &block)
|
4178
4263
|
end
|
4179
4264
|
|
4180
|
-
# Exports the specified agent to a ZIP file.
|
4265
|
+
# Exports the specified agent to a ZIP file. This method is a [long-running
|
4266
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4267
|
+
# operations). The returned `Operation` type has the following method-specific
|
4268
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4269
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
4270
|
+
# ExportAgentResponse
|
4181
4271
|
# @param [String] parent
|
4182
4272
|
# Required. The project that the agent to export is associated with. Format: `
|
4183
4273
|
# projects/`.
|
@@ -4284,8 +4374,13 @@ module Google
|
|
4284
4374
|
# the import, the imported draft agent will be trained automatically (unless
|
4285
4375
|
# disabled in agent settings). However, once the import is done, training may
|
4286
4376
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4287
|
-
# returns in order to train explicitly.
|
4288
|
-
#
|
4377
|
+
# returns in order to train explicitly. This method is a [long-running operation]
|
4378
|
+
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
4379
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4380
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
4381
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
4382
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
4383
|
+
# empty) The operation only tracks when importing is complete, not when it is
|
4289
4384
|
# done training. Note: You should always train an agent prior to sending it
|
4290
4385
|
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4291
4386
|
# es/docs/training).
|
@@ -4327,9 +4422,14 @@ module Google
|
|
4327
4422
|
# are deleted. After the restore, the restored draft agent will be trained
|
4328
4423
|
# automatically (unless disabled in agent settings). However, once the restore
|
4329
4424
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
4330
|
-
# for the operation it returns in order to train explicitly.
|
4331
|
-
#
|
4332
|
-
#
|
4425
|
+
# for the operation it returns in order to train explicitly. This method is a [
|
4426
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4427
|
+
# running-operations). The returned `Operation` type has the following method-
|
4428
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4429
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4430
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
4431
|
+
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
4432
|
+
# complete, not when it is done training. Note: You should always train an agent
|
4333
4433
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
4334
4434
|
# google.com/dialogflow/es/docs/training).
|
4335
4435
|
# @param [String] parent
|
@@ -4406,9 +4506,14 @@ module Google
|
|
4406
4506
|
execute_or_queue_command(command, &block)
|
4407
4507
|
end
|
4408
4508
|
|
4409
|
-
# Trains the specified agent.
|
4410
|
-
#
|
4411
|
-
#
|
4509
|
+
# Trains the specified agent. This method is a [long-running operation](https://
|
4510
|
+
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
4511
|
+
# `Operation` type has the following method-specific fields: - `metadata`: An
|
4512
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
4513
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
4514
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
4515
|
+
# Note: You should always train an agent prior to sending it queries. See the [
|
4516
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4412
4517
|
# @param [String] parent
|
4413
4518
|
# Required. The project that the agent to train is associated with. Format: `
|
4414
4519
|
# projects/`.
|
@@ -4481,9 +4586,15 @@ module Google
|
|
4481
4586
|
execute_or_queue_command(command, &block)
|
4482
4587
|
end
|
4483
4588
|
|
4484
|
-
# Deletes entity types in the specified agent.
|
4485
|
-
#
|
4486
|
-
#
|
4589
|
+
# Deletes entity types in the specified agent. This method is a [long-running
|
4590
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4591
|
+
# operations). The returned `Operation` type has the following method-specific
|
4592
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4593
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
4594
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
4595
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
4596
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
4597
|
+
# dialogflow/es/docs/training).
|
4487
4598
|
# @param [String] parent
|
4488
4599
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4489
4600
|
# projects//agent`.
|
@@ -4517,9 +4628,14 @@ module Google
|
|
4517
4628
|
execute_or_queue_command(command, &block)
|
4518
4629
|
end
|
4519
4630
|
|
4520
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4521
|
-
#
|
4522
|
-
#
|
4631
|
+
# Updates/Creates multiple entity types in the specified agent. This method is a
|
4632
|
+
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4633
|
+
# running-operations). The returned `Operation` type has the following method-
|
4634
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4635
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4636
|
+
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
4637
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
4638
|
+
# com/dialogflow/es/docs/training).
|
4523
4639
|
# @param [String] parent
|
4524
4640
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4525
4641
|
# projects//agent`.
|
@@ -4752,9 +4868,15 @@ module Google
|
|
4752
4868
|
execute_or_queue_command(command, &block)
|
4753
4869
|
end
|
4754
4870
|
|
4755
|
-
# Creates multiple new entities in the specified entity type.
|
4756
|
-
#
|
4757
|
-
#
|
4871
|
+
# Creates multiple new entities in the specified entity type. This method is a [
|
4872
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4873
|
+
# running-operations). The returned `Operation` type has the following method-
|
4874
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4875
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4876
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
4877
|
+
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
4878
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
4879
|
+
# com/dialogflow/es/docs/training).
|
4758
4880
|
# @param [String] parent
|
4759
4881
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4760
4882
|
# /agent/entityTypes/`.
|
@@ -4788,9 +4910,15 @@ module Google
|
|
4788
4910
|
execute_or_queue_command(command, &block)
|
4789
4911
|
end
|
4790
4912
|
|
4791
|
-
# Deletes entities in the specified entity type.
|
4792
|
-
#
|
4793
|
-
#
|
4913
|
+
# Deletes entities in the specified entity type. This method is a [long-running
|
4914
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4915
|
+
# operations). The returned `Operation` type has the following method-specific
|
4916
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4917
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
4918
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
4919
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
4920
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
4921
|
+
# dialogflow/es/docs/training).
|
4794
4922
|
# @param [String] parent
|
4795
4923
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4796
4924
|
# /agent/entityTypes/`.
|
@@ -4826,9 +4954,14 @@ module Google
|
|
4826
4954
|
|
4827
4955
|
# Updates or creates multiple entities in the specified entity type. This method
|
4828
4956
|
# does not affect entities in the entity type that aren't explicitly specified
|
4829
|
-
# in the request.
|
4830
|
-
#
|
4831
|
-
#
|
4957
|
+
# in the request. This method is a [long-running operation](https://cloud.google.
|
4958
|
+
# com/dialogflow/es/docs/how/long-running-operations). The returned `Operation`
|
4959
|
+
# type has the following method-specific fields: - `metadata`: An empty [Struct
|
4960
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
4961
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
4962
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
4963
|
+
# always train an agent prior to sending it queries. See the [training
|
4964
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4832
4965
|
# @param [String] parent
|
4833
4966
|
# Required. The name of the entity type to update or create entities in. Format:
|
4834
4967
|
# `projects//agent/entityTypes/`.
|
@@ -5606,9 +5739,15 @@ module Google
|
|
5606
5739
|
execute_or_queue_command(command, &block)
|
5607
5740
|
end
|
5608
5741
|
|
5609
|
-
# Deletes intents in the specified agent.
|
5610
|
-
#
|
5611
|
-
#
|
5742
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
5743
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
5744
|
+
# operations). The returned `Operation` type has the following method-specific
|
5745
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
5746
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
5747
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
5748
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
5749
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
5750
|
+
# dialogflow/es/docs/training).
|
5612
5751
|
# @param [String] parent
|
5613
5752
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5614
5753
|
# projects//agent`.
|
@@ -5642,9 +5781,14 @@ module Google
|
|
5642
5781
|
execute_or_queue_command(command, &block)
|
5643
5782
|
end
|
5644
5783
|
|
5645
|
-
# Updates/Creates multiple intents in the specified agent.
|
5646
|
-
#
|
5647
|
-
#
|
5784
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
5785
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
5786
|
+
# running-operations). The returned `Operation` type has the following method-
|
5787
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
5788
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
5789
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
5790
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5791
|
+
# dialogflow/es/docs/training).
|
5648
5792
|
# @param [String] parent
|
5649
5793
|
# Required. The name of the agent to update or create intents in. Format: `
|
5650
5794
|
# projects//agent`.
|
@@ -7430,7 +7574,10 @@ module Google
|
|
7430
7574
|
execute_or_queue_command(command, &block)
|
7431
7575
|
end
|
7432
7576
|
|
7433
|
-
# Creates a new document.
|
7577
|
+
# Creates a new document. This method is a [long-running operation](https://
|
7578
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
7579
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
7580
|
+
# KnowledgeOperationMetadata - `response`: Document
|
7434
7581
|
# @param [String] parent
|
7435
7582
|
# Required. The knowledge base to create a document for. Format: `projects//
|
7436
7583
|
# locations//knowledgeBases/`.
|
@@ -7464,7 +7611,11 @@ module Google
|
|
7464
7611
|
execute_or_queue_command(command, &block)
|
7465
7612
|
end
|
7466
7613
|
|
7467
|
-
# Deletes the specified document.
|
7614
|
+
# Deletes the specified document. This method is a [long-running operation](
|
7615
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
7616
|
+
# returned `Operation` type has the following method-specific fields: - `
|
7617
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
7618
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
7468
7619
|
# @param [String] name
|
7469
7620
|
# Required. The name of the document to delete. Format: `projects//locations//
|
7470
7621
|
# knowledgeBases//documents/`.
|
@@ -7564,7 +7715,10 @@ module Google
|
|
7564
7715
|
execute_or_queue_command(command, &block)
|
7565
7716
|
end
|
7566
7717
|
|
7567
|
-
# Updates the specified document.
|
7718
|
+
# Updates the specified document. This method is a [long-running operation](
|
7719
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
7720
|
+
# returned `Operation` type has the following method-specific fields: - `
|
7721
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
7568
7722
|
# @param [String] name
|
7569
7723
|
# Optional. The document resource name. The name must be empty when creating a
|
7570
7724
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -7606,9 +7760,12 @@ module Google
|
|
7606
7760
|
# Reloads the specified document from its specified source, content_uri or
|
7607
7761
|
# content. The previously loaded content of the document will be deleted. Note:
|
7608
7762
|
# Even when the content of the document has not changed, there still may be side
|
7609
|
-
# effects because of internal implementation changes.
|
7610
|
-
#
|
7611
|
-
#
|
7763
|
+
# effects because of internal implementation changes. This method is a [long-
|
7764
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
7765
|
+
# running-operation). The returned `Operation` type has the following method-
|
7766
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
7767
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
7768
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
7612
7769
|
# @param [String] name
|
7613
7770
|
# Required. The name of the document to reload. Format: `projects//locations//
|
7614
7771
|
# knowledgeBases//documents/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.21.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-09-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|