google-apis-dialogflow_v2beta1 0.16.0 → 0.20.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_v2beta1/classes.rb +108 -12
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +34 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +340 -93
- data/lib/google/apis/dialogflow_v2beta1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd6098a105020518253a1e114feb0ad547251087c6f1a16e08c967d846b00c9c
|
4
|
+
data.tar.gz: 88c3550c7db2bdf1d38a2e8b8355022ce75e87de40a894cace8f8b5a897374f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e899dbe197e2a4961c36b3feb24f687e268be28b9b92b292146a8ddb465f7b0b503f60284b6abcfb92492dd209b9a75df60cd0f0bf1825de6dbf297468d7ca48
|
7
|
+
data.tar.gz: d8333841e80b1d071611d50ea627b534d2c68ec6e5e548af81d68924e40025c774008809204d2124bb54266377cad3760bbb143b381263645d8851b568baa6fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.20.0 (2021-09-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210909
|
6
|
+
|
7
|
+
### v0.19.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210830
|
10
|
+
|
11
|
+
### v0.18.0 (2021-07-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210727
|
14
|
+
|
15
|
+
### v0.17.0 (2021-06-30)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.16.0 (2021-06-24)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210618
|
@@ -221,7 +221,8 @@ module Google
|
|
221
221
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Page]
|
222
222
|
attr_accessor :current_page
|
223
223
|
|
224
|
-
# Required. Input only. The diagnostic info output for the turn.
|
224
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
225
|
+
# calculate the testing coverage.
|
225
226
|
# Corresponds to the JSON property `diagnosticInfo`
|
226
227
|
# @return [Hash<String,Object>]
|
227
228
|
attr_accessor :diagnostic_info
|
@@ -489,6 +490,7 @@ module Google
|
|
489
490
|
end
|
490
491
|
|
491
492
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
493
|
+
# This message currently has no fields.
|
492
494
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
493
495
|
include Google::Apis::Core::Hashable
|
494
496
|
|
@@ -1868,7 +1870,8 @@ module Google
|
|
1868
1870
|
end
|
1869
1871
|
end
|
1870
1872
|
|
1871
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1873
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
1874
|
+
# message currently has no fields.
|
1872
1875
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1873
1876
|
include Google::Apis::Core::Hashable
|
1874
1877
|
|
@@ -2759,7 +2762,8 @@ module Google
|
|
2759
2762
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Page]
|
2760
2763
|
attr_accessor :current_page
|
2761
2764
|
|
2762
|
-
# Required. Input only. The diagnostic info output for the turn.
|
2765
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
2766
|
+
# calculate the testing coverage.
|
2763
2767
|
# Corresponds to the JSON property `diagnosticInfo`
|
2764
2768
|
# @return [Hash<String,Object>]
|
2765
2769
|
attr_accessor :diagnostic_info
|
@@ -3027,6 +3031,7 @@ module Google
|
|
3027
3031
|
end
|
3028
3032
|
|
3029
3033
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3034
|
+
# This message currently has no fields.
|
3030
3035
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3031
3036
|
include Google::Apis::Core::Hashable
|
3032
3037
|
|
@@ -4406,7 +4411,8 @@ module Google
|
|
4406
4411
|
end
|
4407
4412
|
end
|
4408
4413
|
|
4409
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4414
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
4415
|
+
# message currently has no fields.
|
4410
4416
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4411
4417
|
include Google::Apis::Core::Hashable
|
4412
4418
|
|
@@ -5627,8 +5633,9 @@ module Google
|
|
5627
5633
|
# @return [Array<String>]
|
5628
5634
|
attr_accessor :events
|
5629
5635
|
|
5630
|
-
# Read-only. Information about all followup intents that have this
|
5631
|
-
# direct or indirect parent. We populate this field only in the
|
5636
|
+
# Output only. Read-only. Information about all followup intents that have this
|
5637
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
5638
|
+
# output.
|
5632
5639
|
# Corresponds to the JSON property `followupIntentInfo`
|
5633
5640
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
5634
5641
|
attr_accessor :followup_intent_info
|
@@ -5713,9 +5720,10 @@ module Google
|
|
5713
5720
|
attr_accessor :reset_contexts
|
5714
5721
|
alias_method :reset_contexts?, :reset_contexts
|
5715
5722
|
|
5716
|
-
# Read-only. The unique identifier of the root intent in the chain
|
5717
|
-
# intents. It identifies the correct followup intents chain for this
|
5718
|
-
# populate this field only in the output. Format: `projects//agent/
|
5723
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
5724
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
5725
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
5726
|
+
# intents/`.
|
5719
5727
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
5720
5728
|
# @return [String]
|
5721
5729
|
attr_accessor :root_followup_intent_name
|
@@ -8693,7 +8701,8 @@ module Google
|
|
8693
8701
|
|
8694
8702
|
# Language code for the conversation profile. If not specified, the language is
|
8695
8703
|
# en-US. Language at ConversationProfile should be set for all non en-us
|
8696
|
-
# languages.
|
8704
|
+
# languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.
|
8705
|
+
# txt) language tag. Example: "en-US".
|
8697
8706
|
# Corresponds to the JSON property `languageCode`
|
8698
8707
|
# @return [String]
|
8699
8708
|
attr_accessor :language_code
|
@@ -8719,11 +8728,24 @@ module Google
|
|
8719
8728
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig]
|
8720
8729
|
attr_accessor :notification_config
|
8721
8730
|
|
8731
|
+
# Name of the CX SecuritySettings reference for the agent. Format: `projects//
|
8732
|
+
# locations//securitySettings/`.
|
8733
|
+
# Corresponds to the JSON property `securitySettings`
|
8734
|
+
# @return [String]
|
8735
|
+
attr_accessor :security_settings
|
8736
|
+
|
8722
8737
|
# Configures speech transcription for ConversationProfile.
|
8723
8738
|
# Corresponds to the JSON property `sttConfig`
|
8724
8739
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig]
|
8725
8740
|
attr_accessor :stt_config
|
8726
8741
|
|
8742
|
+
# The time zone of this conversational profile from the [time zone database](
|
8743
|
+
# https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
8744
|
+
# Defaults to America/New_York.
|
8745
|
+
# Corresponds to the JSON property `timeZone`
|
8746
|
+
# @return [String]
|
8747
|
+
attr_accessor :time_zone
|
8748
|
+
|
8727
8749
|
# Output only. Update time of the conversation profile.
|
8728
8750
|
# Corresponds to the JSON property `updateTime`
|
8729
8751
|
# @return [String]
|
@@ -8745,7 +8767,9 @@ module Google
|
|
8745
8767
|
@name = args[:name] if args.key?(:name)
|
8746
8768
|
@new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config)
|
8747
8769
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
8770
|
+
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
8748
8771
|
@stt_config = args[:stt_config] if args.key?(:stt_config)
|
8772
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
8749
8773
|
@update_time = args[:update_time] if args.key?(:update_time)
|
8750
8774
|
end
|
8751
8775
|
end
|
@@ -9178,7 +9202,7 @@ module Google
|
|
9178
9202
|
class GoogleCloudDialogflowV2beta1Environment
|
9179
9203
|
include Google::Apis::Core::Hashable
|
9180
9204
|
|
9181
|
-
#
|
9205
|
+
# Optional. The agent version loaded into this environment. Supported formats: -
|
9182
9206
|
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
9183
9207
|
# Corresponds to the JSON property `agentVersion`
|
9184
9208
|
# @return [String]
|
@@ -14211,7 +14235,7 @@ module Google
|
|
14211
14235
|
# @return [Array<String>]
|
14212
14236
|
attr_accessor :entries
|
14213
14237
|
|
14214
|
-
# The detailed error
|
14238
|
+
# The detailed error message.
|
14215
14239
|
# Corresponds to the JSON property `errorMessage`
|
14216
14240
|
# @return [String]
|
14217
14241
|
attr_accessor :error_message
|
@@ -14624,6 +14648,78 @@ module Google
|
|
14624
14648
|
end
|
14625
14649
|
end
|
14626
14650
|
|
14651
|
+
# The response message for Locations.ListLocations.
|
14652
|
+
class GoogleCloudLocationListLocationsResponse
|
14653
|
+
include Google::Apis::Core::Hashable
|
14654
|
+
|
14655
|
+
# A list of locations that matches the specified filter in the request.
|
14656
|
+
# Corresponds to the JSON property `locations`
|
14657
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation>]
|
14658
|
+
attr_accessor :locations
|
14659
|
+
|
14660
|
+
# The standard List next-page token.
|
14661
|
+
# Corresponds to the JSON property `nextPageToken`
|
14662
|
+
# @return [String]
|
14663
|
+
attr_accessor :next_page_token
|
14664
|
+
|
14665
|
+
def initialize(**args)
|
14666
|
+
update!(**args)
|
14667
|
+
end
|
14668
|
+
|
14669
|
+
# Update properties of this object
|
14670
|
+
def update!(**args)
|
14671
|
+
@locations = args[:locations] if args.key?(:locations)
|
14672
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14673
|
+
end
|
14674
|
+
end
|
14675
|
+
|
14676
|
+
# A resource that represents Google Cloud Platform location.
|
14677
|
+
class GoogleCloudLocationLocation
|
14678
|
+
include Google::Apis::Core::Hashable
|
14679
|
+
|
14680
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
14681
|
+
# "Tokyo".
|
14682
|
+
# Corresponds to the JSON property `displayName`
|
14683
|
+
# @return [String]
|
14684
|
+
attr_accessor :display_name
|
14685
|
+
|
14686
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
14687
|
+
# region": "us-east1"`
|
14688
|
+
# Corresponds to the JSON property `labels`
|
14689
|
+
# @return [Hash<String,String>]
|
14690
|
+
attr_accessor :labels
|
14691
|
+
|
14692
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
14693
|
+
# Corresponds to the JSON property `locationId`
|
14694
|
+
# @return [String]
|
14695
|
+
attr_accessor :location_id
|
14696
|
+
|
14697
|
+
# Service-specific metadata. For example the available capacity at the given
|
14698
|
+
# location.
|
14699
|
+
# Corresponds to the JSON property `metadata`
|
14700
|
+
# @return [Hash<String,Object>]
|
14701
|
+
attr_accessor :metadata
|
14702
|
+
|
14703
|
+
# Resource name for the location, which may vary between implementations. For
|
14704
|
+
# example: `"projects/example-project/locations/us-east1"`
|
14705
|
+
# Corresponds to the JSON property `name`
|
14706
|
+
# @return [String]
|
14707
|
+
attr_accessor :name
|
14708
|
+
|
14709
|
+
def initialize(**args)
|
14710
|
+
update!(**args)
|
14711
|
+
end
|
14712
|
+
|
14713
|
+
# Update properties of this object
|
14714
|
+
def update!(**args)
|
14715
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14716
|
+
@labels = args[:labels] if args.key?(:labels)
|
14717
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
14718
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14719
|
+
@name = args[:name] if args.key?(:name)
|
14720
|
+
end
|
14721
|
+
end
|
14722
|
+
|
14627
14723
|
# The response message for Operations.ListOperations.
|
14628
14724
|
class GoogleLongrunningListOperationsResponse
|
14629
14725
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.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 = "20210909"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2404,6 +2404,18 @@ module Google
|
|
2404
2404
|
include Google::Apis::Core::JsonObjectSupport
|
2405
2405
|
end
|
2406
2406
|
|
2407
|
+
class GoogleCloudLocationListLocationsResponse
|
2408
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
|
+
|
2410
|
+
include Google::Apis::Core::JsonObjectSupport
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
class GoogleCloudLocationLocation
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
include Google::Apis::Core::JsonObjectSupport
|
2417
|
+
end
|
2418
|
+
|
2407
2419
|
class GoogleLongrunningListOperationsResponse
|
2408
2420
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
2421
|
|
@@ -4822,8 +4834,10 @@ module Google
|
|
4822
4834
|
|
4823
4835
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
|
4824
4836
|
|
4837
|
+
property :security_settings, as: 'securitySettings'
|
4825
4838
|
property :stt_config, as: 'sttConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig::Representation
|
4826
4839
|
|
4840
|
+
property :time_zone, as: 'timeZone'
|
4827
4841
|
property :update_time, as: 'updateTime'
|
4828
4842
|
end
|
4829
4843
|
end
|
@@ -6453,6 +6467,26 @@ module Google
|
|
6453
6467
|
end
|
6454
6468
|
end
|
6455
6469
|
|
6470
|
+
class GoogleCloudLocationListLocationsResponse
|
6471
|
+
# @private
|
6472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6473
|
+
collection :locations, as: 'locations', class: Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation::Representation
|
6474
|
+
|
6475
|
+
property :next_page_token, as: 'nextPageToken'
|
6476
|
+
end
|
6477
|
+
end
|
6478
|
+
|
6479
|
+
class GoogleCloudLocationLocation
|
6480
|
+
# @private
|
6481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6482
|
+
property :display_name, as: 'displayName'
|
6483
|
+
hash :labels, as: 'labels'
|
6484
|
+
property :location_id, as: 'locationId'
|
6485
|
+
hash :metadata, as: 'metadata'
|
6486
|
+
property :name, as: 'name'
|
6487
|
+
end
|
6488
|
+
end
|
6489
|
+
|
6456
6490
|
class GoogleLongrunningListOperationsResponse
|
6457
6491
|
# @private
|
6458
6492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -151,7 +151,12 @@ module Google
|
|
151
151
|
execute_or_queue_command(command, &block)
|
152
152
|
end
|
153
153
|
|
154
|
-
# Exports the specified agent to a ZIP file.
|
154
|
+
# Exports the specified agent to a ZIP file. This method is a [long-running
|
155
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
156
|
+
# operations). The returned `Operation` type has the following method-specific
|
157
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
158
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
159
|
+
# ExportAgentResponse
|
155
160
|
# @param [String] parent
|
156
161
|
# Required. The project that the agent to export is associated with. Format: `
|
157
162
|
# projects/` or `projects//locations/`.
|
@@ -260,9 +265,16 @@ module Google
|
|
260
265
|
# the import, the imported draft agent will be trained automatically (unless
|
261
266
|
# disabled in agent settings). However, once the import is done, training may
|
262
267
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
263
|
-
# returns in order to train explicitly.
|
264
|
-
#
|
265
|
-
#
|
268
|
+
# returns in order to train explicitly. This method is a [long-running operation]
|
269
|
+
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
270
|
+
# returned `Operation` type has the following method-specific fields: - `
|
271
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
272
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
273
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
274
|
+
# empty) The operation only tracks when importing is complete, not when it is
|
275
|
+
# done training. Note: You should always train an agent prior to sending it
|
276
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
277
|
+
# es/docs/training).
|
266
278
|
# @param [String] parent
|
267
279
|
# Required. The project that the agent to import is associated with. Format: `
|
268
280
|
# projects/` or `projects//locations/`.
|
@@ -301,9 +313,16 @@ module Google
|
|
301
313
|
# are deleted. After the restore, the restored draft agent will be trained
|
302
314
|
# automatically (unless disabled in agent settings). However, once the restore
|
303
315
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
304
|
-
# for the operation it returns in order to train explicitly.
|
305
|
-
#
|
306
|
-
#
|
316
|
+
# for the operation it returns in order to train explicitly. This method is a [
|
317
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
318
|
+
# running-operations). The returned `Operation` type has the following method-
|
319
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
320
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
321
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
322
|
+
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
323
|
+
# complete, not when it is done training. Note: You should always train an agent
|
324
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
325
|
+
# google.com/dialogflow/es/docs/training).
|
307
326
|
# @param [String] parent
|
308
327
|
# Required. The project that the agent to restore is associated with. Format: `
|
309
328
|
# projects/` or `projects//locations/`.
|
@@ -379,9 +398,14 @@ module Google
|
|
379
398
|
execute_or_queue_command(command, &block)
|
380
399
|
end
|
381
400
|
|
382
|
-
# Trains the specified agent.
|
383
|
-
#
|
384
|
-
#
|
401
|
+
# Trains the specified agent. This method is a [long-running operation](https://
|
402
|
+
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
403
|
+
# `Operation` type has the following method-specific fields: - `metadata`: An
|
404
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
405
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
406
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
407
|
+
# Note: You should always train an agent prior to sending it queries. See the [
|
408
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
385
409
|
# @param [String] parent
|
386
410
|
# Required. The project that the agent to train is associated with. Format: `
|
387
411
|
# projects/` or `projects//locations/`.
|
@@ -454,9 +478,15 @@ module Google
|
|
454
478
|
execute_or_queue_command(command, &block)
|
455
479
|
end
|
456
480
|
|
457
|
-
# Deletes entity types in the specified agent.
|
458
|
-
#
|
459
|
-
#
|
481
|
+
# Deletes entity types in the specified agent. This method is a [long-running
|
482
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
483
|
+
# operations). The returned `Operation` type has the following method-specific
|
484
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
485
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
486
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
487
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
488
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
489
|
+
# dialogflow/es/docs/training).
|
460
490
|
# @param [String] parent
|
461
491
|
# Required. The name of the agent to delete all entities types for. Supported
|
462
492
|
# formats: - `projects//agent`, - `projects//locations//agent`.
|
@@ -490,9 +520,14 @@ module Google
|
|
490
520
|
execute_or_queue_command(command, &block)
|
491
521
|
end
|
492
522
|
|
493
|
-
# Updates/Creates multiple entity types in the specified agent.
|
494
|
-
#
|
495
|
-
#
|
523
|
+
# Updates/Creates multiple entity types in the specified agent. This method is a
|
524
|
+
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
525
|
+
# running-operations). The returned `Operation` type has the following method-
|
526
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
527
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
528
|
+
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
529
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
530
|
+
# com/dialogflow/es/docs/training).
|
496
531
|
# @param [String] parent
|
497
532
|
# Required. The name of the agent to update or create entity types in. Supported
|
498
533
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -729,9 +764,15 @@ module Google
|
|
729
764
|
execute_or_queue_command(command, &block)
|
730
765
|
end
|
731
766
|
|
732
|
-
# Creates multiple new entities in the specified entity type.
|
733
|
-
#
|
734
|
-
#
|
767
|
+
# Creates multiple new entities in the specified entity type. This method is a [
|
768
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
769
|
+
# running-operations). The returned `Operation` type has the following method-
|
770
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
771
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
772
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
773
|
+
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
774
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
775
|
+
# com/dialogflow/es/docs/training).
|
735
776
|
# @param [String] parent
|
736
777
|
# Required. The name of the entity type to create entities in. Supported formats:
|
737
778
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -765,9 +806,15 @@ module Google
|
|
765
806
|
execute_or_queue_command(command, &block)
|
766
807
|
end
|
767
808
|
|
768
|
-
# Deletes entities in the specified entity type.
|
769
|
-
#
|
770
|
-
#
|
809
|
+
# Deletes entities in the specified entity type. This method is a [long-running
|
810
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
811
|
+
# operations). The returned `Operation` type has the following method-specific
|
812
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
813
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
814
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
815
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
816
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
817
|
+
# dialogflow/es/docs/training).
|
771
818
|
# @param [String] parent
|
772
819
|
# Required. The name of the entity type to delete entries for. Supported formats:
|
773
820
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -805,7 +852,12 @@ module Google
|
|
805
852
|
# does not affect entities in the entity type that aren't explicitly specified
|
806
853
|
# in the request. Note: You should always train an agent prior to sending it
|
807
854
|
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
808
|
-
# es/docs/training).
|
855
|
+
# es/docs/training). This method is a [long-running operation](https://cloud.
|
856
|
+
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
857
|
+
# Operation` type has the following method-specific fields: - `metadata`: An
|
858
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
859
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
860
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
809
861
|
# @param [String] parent
|
810
862
|
# Required. The name of the entity type to update or create entities in.
|
811
863
|
# Supported formats: - `projects//agent/entityTypes/` - `projects//locations//
|
@@ -1611,9 +1663,15 @@ module Google
|
|
1611
1663
|
execute_or_queue_command(command, &block)
|
1612
1664
|
end
|
1613
1665
|
|
1614
|
-
# Deletes intents in the specified agent.
|
1615
|
-
#
|
1616
|
-
#
|
1666
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
1667
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
1668
|
+
# operations). The returned `Operation` type has the following method-specific
|
1669
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1670
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
1671
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
1672
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
1673
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
1674
|
+
# dialogflow/es/docs/training).
|
1617
1675
|
# @param [String] parent
|
1618
1676
|
# Required. The name of the agent to delete all entities types for. Supported
|
1619
1677
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -1647,9 +1705,14 @@ module Google
|
|
1647
1705
|
execute_or_queue_command(command, &block)
|
1648
1706
|
end
|
1649
1707
|
|
1650
|
-
# Updates/Creates multiple intents in the specified agent.
|
1651
|
-
#
|
1652
|
-
#
|
1708
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
1709
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
1710
|
+
# running-operations). The returned `Operation` type has the following method-
|
1711
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
1712
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
1713
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
1714
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1715
|
+
# dialogflow/es/docs/training).
|
1653
1716
|
# @param [String] parent
|
1654
1717
|
# Required. The name of the agent to update or create intents in. Supported
|
1655
1718
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -2098,8 +2161,12 @@ module Google
|
|
2098
2161
|
execute_or_queue_command(command, &block)
|
2099
2162
|
end
|
2100
2163
|
|
2101
|
-
# Creates a new document.
|
2102
|
-
#
|
2164
|
+
# Creates a new document. This method is a [long-running operation](https://
|
2165
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
2166
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
2167
|
+
# KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.
|
2168
|
+
# knowledgeBases.documents` resource is deprecated; only use `projects.
|
2169
|
+
# knowledgeBases.documents`.
|
2103
2170
|
# @param [String] parent
|
2104
2171
|
# Required. The knowledge base to create a document for. Format: `projects//
|
2105
2172
|
# locations//knowledgeBases/`.
|
@@ -2137,9 +2204,13 @@ module Google
|
|
2137
2204
|
execute_or_queue_command(command, &block)
|
2138
2205
|
end
|
2139
2206
|
|
2140
|
-
# Deletes the specified document.
|
2141
|
-
#
|
2142
|
-
#
|
2207
|
+
# Deletes the specified document. This method is a [long-running operation](
|
2208
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2209
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2210
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
2211
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
2212
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2213
|
+
# only use `projects.knowledgeBases.documents`.
|
2143
2214
|
# @param [String] name
|
2144
2215
|
# Required. The name of the document to delete. Format: `projects//locations//
|
2145
2216
|
# knowledgeBases//documents/`.
|
@@ -2254,9 +2325,12 @@ module Google
|
|
2254
2325
|
execute_or_queue_command(command, &block)
|
2255
2326
|
end
|
2256
2327
|
|
2257
|
-
# Updates the specified document.
|
2258
|
-
#
|
2259
|
-
#
|
2328
|
+
# Updates the specified document. This method is a [long-running operation](
|
2329
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2330
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2331
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
2332
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
2333
|
+
# projects.knowledgeBases.documents`.
|
2260
2334
|
# @param [String] name
|
2261
2335
|
# Optional. The document resource name. The name must be empty when creating a
|
2262
2336
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -2301,9 +2375,12 @@ module Google
|
|
2301
2375
|
# effects because of internal implementation changes. Note: If the document
|
2302
2376
|
# source is Google Cloud Storage URI, its metadata will be replaced with the
|
2303
2377
|
# custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata`
|
2304
|
-
# field is set to true in the request.
|
2305
|
-
#
|
2306
|
-
#
|
2378
|
+
# field is set to true in the request. This method is a [long-running operation](
|
2379
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2380
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2381
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
2382
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
2383
|
+
# projects.knowledgeBases.documents`.
|
2307
2384
|
# @param [String] name
|
2308
2385
|
# Required. The name of the document to reload. Format: `projects//locations//
|
2309
2386
|
# knowledgeBases//documents/`
|
@@ -4112,8 +4189,12 @@ module Google
|
|
4112
4189
|
execute_or_queue_command(command, &block)
|
4113
4190
|
end
|
4114
4191
|
|
4115
|
-
# Creates a new document.
|
4116
|
-
#
|
4192
|
+
# Creates a new document. This method is a [long-running operation](https://
|
4193
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
4194
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
4195
|
+
# KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.
|
4196
|
+
# knowledgeBases.documents` resource is deprecated; only use `projects.
|
4197
|
+
# knowledgeBases.documents`.
|
4117
4198
|
# @param [String] parent
|
4118
4199
|
# Required. The knowledge base to create a document for. Format: `projects//
|
4119
4200
|
# locations//knowledgeBases/`.
|
@@ -4151,9 +4232,13 @@ module Google
|
|
4151
4232
|
execute_or_queue_command(command, &block)
|
4152
4233
|
end
|
4153
4234
|
|
4154
|
-
# Deletes the specified document.
|
4155
|
-
#
|
4156
|
-
#
|
4235
|
+
# Deletes the specified document. This method is a [long-running operation](
|
4236
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
4237
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4238
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
4239
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
4240
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
4241
|
+
# only use `projects.knowledgeBases.documents`.
|
4157
4242
|
# @param [String] name
|
4158
4243
|
# Required. The name of the document to delete. Format: `projects//locations//
|
4159
4244
|
# knowledgeBases//documents/`.
|
@@ -4219,7 +4304,10 @@ module Google
|
|
4219
4304
|
|
4220
4305
|
# Create documents by importing data from external sources. Dialogflow supports
|
4221
4306
|
# up to 350 documents in each request. If you try to import more, Dialogflow
|
4222
|
-
# will return an error.
|
4307
|
+
# will return an error. This method is a [long-running operation](https://cloud.
|
4308
|
+
# google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
4309
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
4310
|
+
# KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
|
4223
4311
|
# @param [String] parent
|
4224
4312
|
# Required. The knowledge base to import documents into. Format: `projects//
|
4225
4313
|
# locations//knowledgeBases/`.
|
@@ -4304,9 +4392,12 @@ module Google
|
|
4304
4392
|
execute_or_queue_command(command, &block)
|
4305
4393
|
end
|
4306
4394
|
|
4307
|
-
# Updates the specified document.
|
4308
|
-
#
|
4309
|
-
#
|
4395
|
+
# Updates the specified document. This method is a [long-running operation](
|
4396
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
4397
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4398
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
4399
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
4400
|
+
# projects.knowledgeBases.documents`.
|
4310
4401
|
# @param [String] name
|
4311
4402
|
# Optional. The document resource name. The name must be empty when creating a
|
4312
4403
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -4351,9 +4442,12 @@ module Google
|
|
4351
4442
|
# effects because of internal implementation changes. Note: If the document
|
4352
4443
|
# source is Google Cloud Storage URI, its metadata will be replaced with the
|
4353
4444
|
# custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata`
|
4354
|
-
# field is set to true in the request.
|
4355
|
-
#
|
4356
|
-
#
|
4445
|
+
# field is set to true in the request. This method is a [long-running operation](
|
4446
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
4447
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4448
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
4449
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
4450
|
+
# projects.knowledgeBases.documents`.
|
4357
4451
|
# @param [String] name
|
4358
4452
|
# Required. The name of the document to reload. Format: `projects//locations//
|
4359
4453
|
# knowledgeBases//documents/`
|
@@ -4418,6 +4512,36 @@ module Google
|
|
4418
4512
|
execute_or_queue_command(command, &block)
|
4419
4513
|
end
|
4420
4514
|
|
4515
|
+
# Gets information about a location.
|
4516
|
+
# @param [String] name
|
4517
|
+
# Resource name for the location.
|
4518
|
+
# @param [String] fields
|
4519
|
+
# Selector specifying which fields to include in a partial response.
|
4520
|
+
# @param [String] quota_user
|
4521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4523
|
+
# @param [Google::Apis::RequestOptions] options
|
4524
|
+
# Request-specific options
|
4525
|
+
#
|
4526
|
+
# @yield [result, err] Result & error if block supplied
|
4527
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation] parsed result object
|
4528
|
+
# @yieldparam err [StandardError] error object if request failed
|
4529
|
+
#
|
4530
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation]
|
4531
|
+
#
|
4532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4535
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
4536
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
4537
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation::Representation
|
4538
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation
|
4539
|
+
command.params['name'] = name unless name.nil?
|
4540
|
+
command.query['fields'] = fields unless fields.nil?
|
4541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4542
|
+
execute_or_queue_command(command, &block)
|
4543
|
+
end
|
4544
|
+
|
4421
4545
|
# Retrieves the specified agent.
|
4422
4546
|
# @param [String] parent
|
4423
4547
|
# Required. The project that the agent to fetch is associated with. Format: `
|
@@ -4449,6 +4573,49 @@ module Google
|
|
4449
4573
|
execute_or_queue_command(command, &block)
|
4450
4574
|
end
|
4451
4575
|
|
4576
|
+
# Lists information about the supported locations for this service.
|
4577
|
+
# @param [String] name
|
4578
|
+
# The resource that owns the locations collection, if applicable.
|
4579
|
+
# @param [String] filter
|
4580
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
4581
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
4582
|
+
# AIP-160](https://google.aip.dev/160).
|
4583
|
+
# @param [Fixnum] page_size
|
4584
|
+
# The maximum number of results to return. If not set, the service selects a
|
4585
|
+
# default.
|
4586
|
+
# @param [String] page_token
|
4587
|
+
# A page token received from the `next_page_token` field in the response. Send
|
4588
|
+
# that page token to receive the subsequent page.
|
4589
|
+
# @param [String] fields
|
4590
|
+
# Selector specifying which fields to include in a partial response.
|
4591
|
+
# @param [String] quota_user
|
4592
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4593
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4594
|
+
# @param [Google::Apis::RequestOptions] options
|
4595
|
+
# Request-specific options
|
4596
|
+
#
|
4597
|
+
# @yield [result, err] Result & error if block supplied
|
4598
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse] parsed result object
|
4599
|
+
# @yieldparam err [StandardError] error object if request failed
|
4600
|
+
#
|
4601
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse]
|
4602
|
+
#
|
4603
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4604
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4605
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4606
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4607
|
+
command = make_simple_command(:get, 'v2beta1/{+name}/locations', options)
|
4608
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse::Representation
|
4609
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse
|
4610
|
+
command.params['name'] = name unless name.nil?
|
4611
|
+
command.query['filter'] = filter unless filter.nil?
|
4612
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4613
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4614
|
+
command.query['fields'] = fields unless fields.nil?
|
4615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4616
|
+
execute_or_queue_command(command, &block)
|
4617
|
+
end
|
4618
|
+
|
4452
4619
|
# Creates/updates the specified agent. Note: You should always train an agent
|
4453
4620
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
4454
4621
|
# google.com/dialogflow/es/docs/training).
|
@@ -4488,7 +4655,12 @@ module Google
|
|
4488
4655
|
execute_or_queue_command(command, &block)
|
4489
4656
|
end
|
4490
4657
|
|
4491
|
-
# Exports the specified agent to a ZIP file.
|
4658
|
+
# Exports the specified agent to a ZIP file. This method is a [long-running
|
4659
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4660
|
+
# operations). The returned `Operation` type has the following method-specific
|
4661
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4662
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
4663
|
+
# ExportAgentResponse
|
4492
4664
|
# @param [String] parent
|
4493
4665
|
# Required. The project that the agent to export is associated with. Format: `
|
4494
4666
|
# projects/` or `projects//locations/`.
|
@@ -4597,9 +4769,16 @@ module Google
|
|
4597
4769
|
# the import, the imported draft agent will be trained automatically (unless
|
4598
4770
|
# disabled in agent settings). However, once the import is done, training may
|
4599
4771
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4600
|
-
# returns in order to train explicitly.
|
4601
|
-
#
|
4602
|
-
#
|
4772
|
+
# returns in order to train explicitly. This method is a [long-running operation]
|
4773
|
+
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
4774
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4775
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
4776
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
4777
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
4778
|
+
# empty) The operation only tracks when importing is complete, not when it is
|
4779
|
+
# done training. Note: You should always train an agent prior to sending it
|
4780
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4781
|
+
# es/docs/training).
|
4603
4782
|
# @param [String] parent
|
4604
4783
|
# Required. The project that the agent to import is associated with. Format: `
|
4605
4784
|
# projects/` or `projects//locations/`.
|
@@ -4638,9 +4817,16 @@ module Google
|
|
4638
4817
|
# are deleted. After the restore, the restored draft agent will be trained
|
4639
4818
|
# automatically (unless disabled in agent settings). However, once the restore
|
4640
4819
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
4641
|
-
# for the operation it returns in order to train explicitly.
|
4642
|
-
#
|
4643
|
-
#
|
4820
|
+
# for the operation it returns in order to train explicitly. This method is a [
|
4821
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4822
|
+
# running-operations). The returned `Operation` type has the following method-
|
4823
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4824
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4825
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
4826
|
+
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
4827
|
+
# complete, not when it is done training. Note: You should always train an agent
|
4828
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4829
|
+
# google.com/dialogflow/es/docs/training).
|
4644
4830
|
# @param [String] parent
|
4645
4831
|
# Required. The project that the agent to restore is associated with. Format: `
|
4646
4832
|
# projects/` or `projects//locations/`.
|
@@ -4716,9 +4902,14 @@ module Google
|
|
4716
4902
|
execute_or_queue_command(command, &block)
|
4717
4903
|
end
|
4718
4904
|
|
4719
|
-
# Trains the specified agent.
|
4720
|
-
#
|
4721
|
-
#
|
4905
|
+
# Trains the specified agent. This method is a [long-running operation](https://
|
4906
|
+
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
4907
|
+
# `Operation` type has the following method-specific fields: - `metadata`: An
|
4908
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
4909
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
4910
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
4911
|
+
# Note: You should always train an agent prior to sending it queries. See the [
|
4912
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4722
4913
|
# @param [String] parent
|
4723
4914
|
# Required. The project that the agent to train is associated with. Format: `
|
4724
4915
|
# projects/` or `projects//locations/`.
|
@@ -4791,9 +4982,15 @@ module Google
|
|
4791
4982
|
execute_or_queue_command(command, &block)
|
4792
4983
|
end
|
4793
4984
|
|
4794
|
-
# Deletes entity types in the specified agent.
|
4795
|
-
#
|
4796
|
-
#
|
4985
|
+
# Deletes entity types in the specified agent. This method is a [long-running
|
4986
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4987
|
+
# operations). The returned `Operation` type has the following method-specific
|
4988
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4989
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
4990
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
4991
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
4992
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
4993
|
+
# dialogflow/es/docs/training).
|
4797
4994
|
# @param [String] parent
|
4798
4995
|
# Required. The name of the agent to delete all entities types for. Supported
|
4799
4996
|
# formats: - `projects//agent`, - `projects//locations//agent`.
|
@@ -4827,9 +5024,14 @@ module Google
|
|
4827
5024
|
execute_or_queue_command(command, &block)
|
4828
5025
|
end
|
4829
5026
|
|
4830
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4831
|
-
#
|
4832
|
-
#
|
5027
|
+
# Updates/Creates multiple entity types in the specified agent. This method is a
|
5028
|
+
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
5029
|
+
# running-operations). The returned `Operation` type has the following method-
|
5030
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
5031
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
5032
|
+
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
5033
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
5034
|
+
# com/dialogflow/es/docs/training).
|
4833
5035
|
# @param [String] parent
|
4834
5036
|
# Required. The name of the agent to update or create entity types in. Supported
|
4835
5037
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -5066,9 +5268,15 @@ module Google
|
|
5066
5268
|
execute_or_queue_command(command, &block)
|
5067
5269
|
end
|
5068
5270
|
|
5069
|
-
# Creates multiple new entities in the specified entity type.
|
5070
|
-
#
|
5071
|
-
#
|
5271
|
+
# Creates multiple new entities in the specified entity type. This method is a [
|
5272
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
5273
|
+
# running-operations). The returned `Operation` type has the following method-
|
5274
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
5275
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
5276
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
5277
|
+
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
5278
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
5279
|
+
# com/dialogflow/es/docs/training).
|
5072
5280
|
# @param [String] parent
|
5073
5281
|
# Required. The name of the entity type to create entities in. Supported formats:
|
5074
5282
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -5102,9 +5310,15 @@ module Google
|
|
5102
5310
|
execute_or_queue_command(command, &block)
|
5103
5311
|
end
|
5104
5312
|
|
5105
|
-
# Deletes entities in the specified entity type.
|
5106
|
-
#
|
5107
|
-
#
|
5313
|
+
# Deletes entities in the specified entity type. This method is a [long-running
|
5314
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
5315
|
+
# operations). The returned `Operation` type has the following method-specific
|
5316
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
5317
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
5318
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
5319
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
5320
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
5321
|
+
# dialogflow/es/docs/training).
|
5108
5322
|
# @param [String] parent
|
5109
5323
|
# Required. The name of the entity type to delete entries for. Supported formats:
|
5110
5324
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -5142,7 +5356,12 @@ module Google
|
|
5142
5356
|
# does not affect entities in the entity type that aren't explicitly specified
|
5143
5357
|
# in the request. Note: You should always train an agent prior to sending it
|
5144
5358
|
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
5145
|
-
# es/docs/training).
|
5359
|
+
# es/docs/training). This method is a [long-running operation](https://cloud.
|
5360
|
+
# google.com/dialogflow/es/docs/how/long-running-operations). The returned `
|
5361
|
+
# Operation` type has the following method-specific fields: - `metadata`: An
|
5362
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
5363
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
5364
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
5146
5365
|
# @param [String] parent
|
5147
5366
|
# Required. The name of the entity type to update or create entities in.
|
5148
5367
|
# Supported formats: - `projects//agent/entityTypes/` - `projects//locations//
|
@@ -5948,9 +6167,15 @@ module Google
|
|
5948
6167
|
execute_or_queue_command(command, &block)
|
5949
6168
|
end
|
5950
6169
|
|
5951
|
-
# Deletes intents in the specified agent.
|
5952
|
-
#
|
5953
|
-
#
|
6170
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
6171
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
6172
|
+
# operations). The returned `Operation` type has the following method-specific
|
6173
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
6174
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
6175
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
6176
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
6177
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
6178
|
+
# dialogflow/es/docs/training).
|
5954
6179
|
# @param [String] parent
|
5955
6180
|
# Required. The name of the agent to delete all entities types for. Supported
|
5956
6181
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -5984,9 +6209,14 @@ module Google
|
|
5984
6209
|
execute_or_queue_command(command, &block)
|
5985
6210
|
end
|
5986
6211
|
|
5987
|
-
# Updates/Creates multiple intents in the specified agent.
|
5988
|
-
#
|
5989
|
-
#
|
6212
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
6213
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
6214
|
+
# running-operations). The returned `Operation` type has the following method-
|
6215
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
6216
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
6217
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
6218
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
6219
|
+
# dialogflow/es/docs/training).
|
5990
6220
|
# @param [String] parent
|
5991
6221
|
# Required. The name of the agent to update or create intents in. Supported
|
5992
6222
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -7919,8 +8149,12 @@ module Google
|
|
7919
8149
|
execute_or_queue_command(command, &block)
|
7920
8150
|
end
|
7921
8151
|
|
7922
|
-
# Creates a new document.
|
7923
|
-
#
|
8152
|
+
# Creates a new document. This method is a [long-running operation](https://
|
8153
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
8154
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
8155
|
+
# KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.
|
8156
|
+
# knowledgeBases.documents` resource is deprecated; only use `projects.
|
8157
|
+
# knowledgeBases.documents`.
|
7924
8158
|
# @param [String] parent
|
7925
8159
|
# Required. The knowledge base to create a document for. Format: `projects//
|
7926
8160
|
# locations//knowledgeBases/`.
|
@@ -7958,9 +8192,13 @@ module Google
|
|
7958
8192
|
execute_or_queue_command(command, &block)
|
7959
8193
|
end
|
7960
8194
|
|
7961
|
-
# Deletes the specified document.
|
7962
|
-
#
|
7963
|
-
#
|
8195
|
+
# Deletes the specified document. This method is a [long-running operation](
|
8196
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
8197
|
+
# returned `Operation` type has the following method-specific fields: - `
|
8198
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
8199
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
8200
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
8201
|
+
# only use `projects.knowledgeBases.documents`.
|
7964
8202
|
# @param [String] name
|
7965
8203
|
# Required. The name of the document to delete. Format: `projects//locations//
|
7966
8204
|
# knowledgeBases//documents/`.
|
@@ -8026,7 +8264,10 @@ module Google
|
|
8026
8264
|
|
8027
8265
|
# Create documents by importing data from external sources. Dialogflow supports
|
8028
8266
|
# up to 350 documents in each request. If you try to import more, Dialogflow
|
8029
|
-
# will return an error.
|
8267
|
+
# will return an error. This method is a [long-running operation](https://cloud.
|
8268
|
+
# google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
8269
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
8270
|
+
# KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
|
8030
8271
|
# @param [String] parent
|
8031
8272
|
# Required. The knowledge base to import documents into. Format: `projects//
|
8032
8273
|
# locations//knowledgeBases/`.
|
@@ -8111,9 +8352,12 @@ module Google
|
|
8111
8352
|
execute_or_queue_command(command, &block)
|
8112
8353
|
end
|
8113
8354
|
|
8114
|
-
# Updates the specified document.
|
8115
|
-
#
|
8116
|
-
#
|
8355
|
+
# Updates the specified document. This method is a [long-running operation](
|
8356
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
8357
|
+
# returned `Operation` type has the following method-specific fields: - `
|
8358
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
8359
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
8360
|
+
# projects.knowledgeBases.documents`.
|
8117
8361
|
# @param [String] name
|
8118
8362
|
# Optional. The document resource name. The name must be empty when creating a
|
8119
8363
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -8158,9 +8402,12 @@ module Google
|
|
8158
8402
|
# effects because of internal implementation changes. Note: If the document
|
8159
8403
|
# source is Google Cloud Storage URI, its metadata will be replaced with the
|
8160
8404
|
# custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata`
|
8161
|
-
# field is set to true in the request.
|
8162
|
-
#
|
8163
|
-
#
|
8405
|
+
# field is set to true in the request. This method is a [long-running operation](
|
8406
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
8407
|
+
# returned `Operation` type has the following method-specific fields: - `
|
8408
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `
|
8409
|
+
# projects.agent.knowledgeBases.documents` resource is deprecated; only use `
|
8410
|
+
# projects.knowledgeBases.documents`.
|
8164
8411
|
# @param [String] name
|
8165
8412
|
# Required. The name of the document to reload. Format: `projects//locations//
|
8166
8413
|
# knowledgeBases//documents/`
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V2beta1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# View, manage and query your Dialogflow agents
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|