google-apis-dialogflow_v2 0.20.0 → 0.24.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dialogflow_v2/classes.rb +332 -0
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/representations.rb +154 -0
- data/lib/google/apis/dialogflow_v2/service.rb +259 -90
- 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: b3c7679bbb50a60bf6ac1a0a9ffe19c8c9ea147612bee1eaeedfdd07c23ea97f
|
4
|
+
data.tar.gz: 8872eb1eac4e93e04a5959768f5674b4528270f93887f3dfa3dd2eb33952ced1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 217148cbe2e4f76f26ce4e0c6cff402beee7d54a00d1e87b2ac7ae2692bf62ee3d4d700746dcc80c536adfb2f9875dec7cdc34d0a92f14abbdf88cce9ee7035b
|
7
|
+
data.tar.gz: 551178f8ec72702875189410e01a25c1aa9b7a6a39220d96aee319c7d82f8d2eb48f3affb7bcc33322e425d5010874b0164b7915bf86cc454822b064cb6a9c52
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.24.0 (2021-10-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211022
|
6
|
+
|
7
|
+
### v0.23.0 (2021-10-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211015
|
10
|
+
|
11
|
+
### v0.22.0 (2021-09-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210918
|
14
|
+
|
15
|
+
### v0.21.0 (2021-09-11)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210909
|
18
|
+
|
3
19
|
### v0.20.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210830
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
|
67
67
|
|
@@ -335,6 +335,57 @@ module Google
|
|
335
335
|
end
|
336
336
|
end
|
337
337
|
|
338
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
339
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
340
|
+
include Google::Apis::Core::Hashable
|
341
|
+
|
342
|
+
# Errors of running deployment tests.
|
343
|
+
# Corresponds to the JSON property `testErrors`
|
344
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError>]
|
345
|
+
attr_accessor :test_errors
|
346
|
+
|
347
|
+
def initialize(**args)
|
348
|
+
update!(**args)
|
349
|
+
end
|
350
|
+
|
351
|
+
# Update properties of this object
|
352
|
+
def update!(**args)
|
353
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
# The response message for Environments.DeployFlow.
|
358
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# The name of the flow version Deployment. Format: `projects//locations//agents//
|
362
|
+
# environments//deployments/`.
|
363
|
+
# Corresponds to the JSON property `deployment`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :deployment
|
366
|
+
|
367
|
+
# Represents an environment for an agent. You can create multiple versions of
|
368
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
369
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
370
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
371
|
+
# the draft agent, it is published to the default environment. When you create
|
372
|
+
# agent versions, you can publish them to custom environments. You can create a
|
373
|
+
# variety of custom environments for testing, development, production, etc.
|
374
|
+
# Corresponds to the JSON property `environment`
|
375
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment]
|
376
|
+
attr_accessor :environment
|
377
|
+
|
378
|
+
def initialize(**args)
|
379
|
+
update!(**args)
|
380
|
+
end
|
381
|
+
|
382
|
+
# Update properties of this object
|
383
|
+
def update!(**args)
|
384
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
385
|
+
@environment = args[:environment] if args.key?(:environment)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
338
389
|
# Represents the input for dtmf event.
|
339
390
|
class GoogleCloudDialogflowCxV3DtmfInput
|
340
391
|
include Google::Apis::Core::Hashable
|
@@ -360,6 +411,121 @@ module Google
|
|
360
411
|
end
|
361
412
|
end
|
362
413
|
|
414
|
+
# Represents an environment for an agent. You can create multiple versions of
|
415
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
416
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
417
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
418
|
+
# the draft agent, it is published to the default environment. When you create
|
419
|
+
# agent versions, you can publish them to custom environments. You can create a
|
420
|
+
# variety of custom environments for testing, development, production, etc.
|
421
|
+
class GoogleCloudDialogflowCxV3Environment
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
# The human-readable description of the environment. The maximum length is 500
|
425
|
+
# characters. If exceeded, the request is rejected.
|
426
|
+
# Corresponds to the JSON property `description`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :description
|
429
|
+
|
430
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
431
|
+
# Limit of 64 characters.
|
432
|
+
# Corresponds to the JSON property `displayName`
|
433
|
+
# @return [String]
|
434
|
+
attr_accessor :display_name
|
435
|
+
|
436
|
+
# The name of the environment. Format: `projects//locations//agents//
|
437
|
+
# environments/`.
|
438
|
+
# Corresponds to the JSON property `name`
|
439
|
+
# @return [String]
|
440
|
+
attr_accessor :name
|
441
|
+
|
442
|
+
# The configuration for continuous tests.
|
443
|
+
# Corresponds to the JSON property `testCasesConfig`
|
444
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]
|
445
|
+
attr_accessor :test_cases_config
|
446
|
+
|
447
|
+
# Output only. Update time of this environment.
|
448
|
+
# Corresponds to the JSON property `updateTime`
|
449
|
+
# @return [String]
|
450
|
+
attr_accessor :update_time
|
451
|
+
|
452
|
+
# Required. A list of configurations for flow versions. You should include
|
453
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
454
|
+
# agent. Otherwise, an error will be returned.
|
455
|
+
# Corresponds to the JSON property `versionConfigs`
|
456
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
|
457
|
+
attr_accessor :version_configs
|
458
|
+
|
459
|
+
def initialize(**args)
|
460
|
+
update!(**args)
|
461
|
+
end
|
462
|
+
|
463
|
+
# Update properties of this object
|
464
|
+
def update!(**args)
|
465
|
+
@description = args[:description] if args.key?(:description)
|
466
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
467
|
+
@name = args[:name] if args.key?(:name)
|
468
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
469
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
470
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
# The configuration for continuous tests.
|
475
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
476
|
+
include Google::Apis::Core::Hashable
|
477
|
+
|
478
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
479
|
+
# false. If set to ture, run once a day.
|
480
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
481
|
+
# @return [Boolean]
|
482
|
+
attr_accessor :enable_continuous_run
|
483
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
484
|
+
|
485
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
486
|
+
# flow version to the environment. Default false.
|
487
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
488
|
+
# @return [Boolean]
|
489
|
+
attr_accessor :enable_predeployment_run
|
490
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
491
|
+
|
492
|
+
# A list of test case names to run. They should be under the same agent. Format
|
493
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
494
|
+
# Corresponds to the JSON property `testCases`
|
495
|
+
# @return [Array<String>]
|
496
|
+
attr_accessor :test_cases
|
497
|
+
|
498
|
+
def initialize(**args)
|
499
|
+
update!(**args)
|
500
|
+
end
|
501
|
+
|
502
|
+
# Update properties of this object
|
503
|
+
def update!(**args)
|
504
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
505
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
506
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# Configuration for the version.
|
511
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
515
|
+
# Corresponds to the JSON property `version`
|
516
|
+
# @return [String]
|
517
|
+
attr_accessor :version
|
518
|
+
|
519
|
+
def initialize(**args)
|
520
|
+
update!(**args)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Update properties of this object
|
524
|
+
def update!(**args)
|
525
|
+
@version = args[:version] if args.key?(:version)
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
363
529
|
# An event handler specifies an event that can be handled during a session. When
|
364
530
|
# the specified event happens, the following actions are taken in order: * If
|
365
531
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -2876,6 +3042,57 @@ module Google
|
|
2876
3042
|
end
|
2877
3043
|
end
|
2878
3044
|
|
3045
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
3046
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3047
|
+
include Google::Apis::Core::Hashable
|
3048
|
+
|
3049
|
+
# Errors of running deployment tests.
|
3050
|
+
# Corresponds to the JSON property `testErrors`
|
3051
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError>]
|
3052
|
+
attr_accessor :test_errors
|
3053
|
+
|
3054
|
+
def initialize(**args)
|
3055
|
+
update!(**args)
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
# Update properties of this object
|
3059
|
+
def update!(**args)
|
3060
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
# The response message for Environments.DeployFlow.
|
3065
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3066
|
+
include Google::Apis::Core::Hashable
|
3067
|
+
|
3068
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
3069
|
+
# environments//deployments/`.
|
3070
|
+
# Corresponds to the JSON property `deployment`
|
3071
|
+
# @return [String]
|
3072
|
+
attr_accessor :deployment
|
3073
|
+
|
3074
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3075
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3076
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3077
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3078
|
+
# the draft agent, it is published to the default environment. When you create
|
3079
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3080
|
+
# variety of custom environments for testing, development, production, etc.
|
3081
|
+
# Corresponds to the JSON property `environment`
|
3082
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment]
|
3083
|
+
attr_accessor :environment
|
3084
|
+
|
3085
|
+
def initialize(**args)
|
3086
|
+
update!(**args)
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
# Update properties of this object
|
3090
|
+
def update!(**args)
|
3091
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
3092
|
+
@environment = args[:environment] if args.key?(:environment)
|
3093
|
+
end
|
3094
|
+
end
|
3095
|
+
|
2879
3096
|
# Represents the input for dtmf event.
|
2880
3097
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
2881
3098
|
include Google::Apis::Core::Hashable
|
@@ -2901,6 +3118,121 @@ module Google
|
|
2901
3118
|
end
|
2902
3119
|
end
|
2903
3120
|
|
3121
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3122
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3123
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3124
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3125
|
+
# the draft agent, it is published to the default environment. When you create
|
3126
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3127
|
+
# variety of custom environments for testing, development, production, etc.
|
3128
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
3129
|
+
include Google::Apis::Core::Hashable
|
3130
|
+
|
3131
|
+
# The human-readable description of the environment. The maximum length is 500
|
3132
|
+
# characters. If exceeded, the request is rejected.
|
3133
|
+
# Corresponds to the JSON property `description`
|
3134
|
+
# @return [String]
|
3135
|
+
attr_accessor :description
|
3136
|
+
|
3137
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
3138
|
+
# Limit of 64 characters.
|
3139
|
+
# Corresponds to the JSON property `displayName`
|
3140
|
+
# @return [String]
|
3141
|
+
attr_accessor :display_name
|
3142
|
+
|
3143
|
+
# The name of the environment. Format: `projects//locations//agents//
|
3144
|
+
# environments/`.
|
3145
|
+
# Corresponds to the JSON property `name`
|
3146
|
+
# @return [String]
|
3147
|
+
attr_accessor :name
|
3148
|
+
|
3149
|
+
# The configuration for continuous tests.
|
3150
|
+
# Corresponds to the JSON property `testCasesConfig`
|
3151
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
3152
|
+
attr_accessor :test_cases_config
|
3153
|
+
|
3154
|
+
# Output only. Update time of this environment.
|
3155
|
+
# Corresponds to the JSON property `updateTime`
|
3156
|
+
# @return [String]
|
3157
|
+
attr_accessor :update_time
|
3158
|
+
|
3159
|
+
# Required. A list of configurations for flow versions. You should include
|
3160
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
3161
|
+
# agent. Otherwise, an error will be returned.
|
3162
|
+
# Corresponds to the JSON property `versionConfigs`
|
3163
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
|
3164
|
+
attr_accessor :version_configs
|
3165
|
+
|
3166
|
+
def initialize(**args)
|
3167
|
+
update!(**args)
|
3168
|
+
end
|
3169
|
+
|
3170
|
+
# Update properties of this object
|
3171
|
+
def update!(**args)
|
3172
|
+
@description = args[:description] if args.key?(:description)
|
3173
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3174
|
+
@name = args[:name] if args.key?(:name)
|
3175
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3176
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3177
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3178
|
+
end
|
3179
|
+
end
|
3180
|
+
|
3181
|
+
# The configuration for continuous tests.
|
3182
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3183
|
+
include Google::Apis::Core::Hashable
|
3184
|
+
|
3185
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
3186
|
+
# false. If set to true, run once a day.
|
3187
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
3188
|
+
# @return [Boolean]
|
3189
|
+
attr_accessor :enable_continuous_run
|
3190
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
3191
|
+
|
3192
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
3193
|
+
# flow version to the environment. Default false.
|
3194
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
3195
|
+
# @return [Boolean]
|
3196
|
+
attr_accessor :enable_predeployment_run
|
3197
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
3198
|
+
|
3199
|
+
# A list of test case names to run. They should be under the same agent. Format
|
3200
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
3201
|
+
# Corresponds to the JSON property `testCases`
|
3202
|
+
# @return [Array<String>]
|
3203
|
+
attr_accessor :test_cases
|
3204
|
+
|
3205
|
+
def initialize(**args)
|
3206
|
+
update!(**args)
|
3207
|
+
end
|
3208
|
+
|
3209
|
+
# Update properties of this object
|
3210
|
+
def update!(**args)
|
3211
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
3212
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
3213
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
3214
|
+
end
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
# Configuration for the version.
|
3218
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3219
|
+
include Google::Apis::Core::Hashable
|
3220
|
+
|
3221
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
3222
|
+
# Corresponds to the JSON property `version`
|
3223
|
+
# @return [String]
|
3224
|
+
attr_accessor :version
|
3225
|
+
|
3226
|
+
def initialize(**args)
|
3227
|
+
update!(**args)
|
3228
|
+
end
|
3229
|
+
|
3230
|
+
# Update properties of this object
|
3231
|
+
def update!(**args)
|
3232
|
+
@version = args[:version] if args.key?(:version)
|
3233
|
+
end
|
3234
|
+
end
|
3235
|
+
|
2904
3236
|
# An event handler specifies an event that can be handled during a session. When
|
2905
3237
|
# the specified event happens, the following actions are taken in order: * If
|
2906
3238
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -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.24.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 = "20211022"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,12 +82,42 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class GoogleCloudDialogflowCxV3DtmfInput
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class GoogleCloudDialogflowCxV3Environment
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
91
121
|
class GoogleCloudDialogflowCxV3EventHandler
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
123
|
|
@@ -520,12 +550,42 @@ module Google
|
|
520
550
|
include Google::Apis::Core::JsonObjectSupport
|
521
551
|
end
|
522
552
|
|
553
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
523
565
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
524
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
567
|
|
526
568
|
include Google::Apis::Core::JsonObjectSupport
|
527
569
|
end
|
528
570
|
|
571
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
577
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
529
589
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
530
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
591
|
|
@@ -2417,6 +2477,23 @@ module Google
|
|
2417
2477
|
end
|
2418
2478
|
end
|
2419
2479
|
|
2480
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
2481
|
+
# @private
|
2482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2483
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError::Representation
|
2484
|
+
|
2485
|
+
end
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
2489
|
+
# @private
|
2490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2491
|
+
property :deployment, as: 'deployment'
|
2492
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment::Representation
|
2493
|
+
|
2494
|
+
end
|
2495
|
+
end
|
2496
|
+
|
2420
2497
|
class GoogleCloudDialogflowCxV3DtmfInput
|
2421
2498
|
# @private
|
2422
2499
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2425,6 +2502,36 @@ module Google
|
|
2425
2502
|
end
|
2426
2503
|
end
|
2427
2504
|
|
2505
|
+
class GoogleCloudDialogflowCxV3Environment
|
2506
|
+
# @private
|
2507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2508
|
+
property :description, as: 'description'
|
2509
|
+
property :display_name, as: 'displayName'
|
2510
|
+
property :name, as: 'name'
|
2511
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
|
2512
|
+
|
2513
|
+
property :update_time, as: 'updateTime'
|
2514
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
|
2515
|
+
|
2516
|
+
end
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
2520
|
+
# @private
|
2521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2522
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
2523
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
2524
|
+
collection :test_cases, as: 'testCases'
|
2525
|
+
end
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
2529
|
+
# @private
|
2530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2531
|
+
property :version, as: 'version'
|
2532
|
+
end
|
2533
|
+
end
|
2534
|
+
|
2428
2535
|
class GoogleCloudDialogflowCxV3EventHandler
|
2429
2536
|
# @private
|
2430
2537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3129,6 +3236,23 @@ module Google
|
|
3129
3236
|
end
|
3130
3237
|
end
|
3131
3238
|
|
3239
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3240
|
+
# @private
|
3241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3242
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
3243
|
+
|
3244
|
+
end
|
3245
|
+
end
|
3246
|
+
|
3247
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3248
|
+
# @private
|
3249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3250
|
+
property :deployment, as: 'deployment'
|
3251
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
3252
|
+
|
3253
|
+
end
|
3254
|
+
end
|
3255
|
+
|
3132
3256
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
3133
3257
|
# @private
|
3134
3258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3137,6 +3261,36 @@ module Google
|
|
3137
3261
|
end
|
3138
3262
|
end
|
3139
3263
|
|
3264
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
3265
|
+
# @private
|
3266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3267
|
+
property :description, as: 'description'
|
3268
|
+
property :display_name, as: 'displayName'
|
3269
|
+
property :name, as: 'name'
|
3270
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
|
3271
|
+
|
3272
|
+
property :update_time, as: 'updateTime'
|
3273
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
|
3274
|
+
|
3275
|
+
end
|
3276
|
+
end
|
3277
|
+
|
3278
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3279
|
+
# @private
|
3280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3281
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
3282
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
3283
|
+
collection :test_cases, as: 'testCases'
|
3284
|
+
end
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3288
|
+
# @private
|
3289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3290
|
+
property :version, as: 'version'
|
3291
|
+
end
|
3292
|
+
end
|
3293
|
+
|
3140
3294
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
3141
3295
|
# @private
|
3142
3296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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/`.
|
@@ -1152,9 +1200,12 @@ module Google
|
|
1152
1200
|
# Processes a natural language query and returns structured, actionable data as
|
1153
1201
|
# a result. This method is not idempotent, because it may cause contexts and
|
1154
1202
|
# session entity types to be updated, which in turn might affect results of
|
1155
|
-
# future queries.
|
1156
|
-
#
|
1157
|
-
#
|
1203
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
1204
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
1205
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
1206
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
1207
|
+
# Always use agent versions for production traffic. See [Versions and
|
1208
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
1158
1209
|
# @param [String] session
|
1159
1210
|
# Required. The name of the session this query is sent to. Format: `projects//
|
1160
1211
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
@@ -1579,9 +1630,15 @@ module Google
|
|
1579
1630
|
execute_or_queue_command(command, &block)
|
1580
1631
|
end
|
1581
1632
|
|
1582
|
-
# Deletes intents in the specified agent.
|
1583
|
-
#
|
1584
|
-
#
|
1633
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
1634
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
1635
|
+
# operations). The returned `Operation` type has the following method-specific
|
1636
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1637
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
1638
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
1639
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
1640
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
1641
|
+
# dialogflow/es/docs/training).
|
1585
1642
|
# @param [String] parent
|
1586
1643
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1587
1644
|
# projects//agent`.
|
@@ -1615,9 +1672,14 @@ module Google
|
|
1615
1672
|
execute_or_queue_command(command, &block)
|
1616
1673
|
end
|
1617
1674
|
|
1618
|
-
# Updates/Creates multiple intents in the specified agent.
|
1619
|
-
#
|
1620
|
-
#
|
1675
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
1676
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
1677
|
+
# running-operations). The returned `Operation` type has the following method-
|
1678
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
1679
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
1680
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
1681
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1682
|
+
# dialogflow/es/docs/training).
|
1621
1683
|
# @param [String] parent
|
1622
1684
|
# Required. The name of the agent to update or create intents in. Format: `
|
1623
1685
|
# projects//agent`.
|
@@ -2044,7 +2106,10 @@ module Google
|
|
2044
2106
|
execute_or_queue_command(command, &block)
|
2045
2107
|
end
|
2046
2108
|
|
2047
|
-
# Creates a new document.
|
2109
|
+
# Creates a new document. This method is a [long-running operation](https://
|
2110
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
2111
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
2112
|
+
# KnowledgeOperationMetadata - `response`: Document
|
2048
2113
|
# @param [String] parent
|
2049
2114
|
# Required. The knowledge base to create a document for. Format: `projects//
|
2050
2115
|
# locations//knowledgeBases/`.
|
@@ -2078,7 +2143,11 @@ module Google
|
|
2078
2143
|
execute_or_queue_command(command, &block)
|
2079
2144
|
end
|
2080
2145
|
|
2081
|
-
# Deletes the specified document.
|
2146
|
+
# Deletes the specified document. This method is a [long-running operation](
|
2147
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2148
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2149
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
2150
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
2082
2151
|
# @param [String] name
|
2083
2152
|
# Required. The name of the document to delete. Format: `projects//locations//
|
2084
2153
|
# knowledgeBases//documents/`.
|
@@ -2178,7 +2247,10 @@ module Google
|
|
2178
2247
|
execute_or_queue_command(command, &block)
|
2179
2248
|
end
|
2180
2249
|
|
2181
|
-
# Updates the specified document.
|
2250
|
+
# Updates the specified document. This method is a [long-running operation](
|
2251
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
2252
|
+
# returned `Operation` type has the following method-specific fields: - `
|
2253
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
2182
2254
|
# @param [String] name
|
2183
2255
|
# Optional. The document resource name. The name must be empty when creating a
|
2184
2256
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -2220,9 +2292,12 @@ module Google
|
|
2220
2292
|
# Reloads the specified document from its specified source, content_uri or
|
2221
2293
|
# content. The previously loaded content of the document will be deleted. Note:
|
2222
2294
|
# Even when the content of the document has not changed, there still may be side
|
2223
|
-
# effects because of internal implementation changes.
|
2224
|
-
#
|
2225
|
-
#
|
2295
|
+
# effects because of internal implementation changes. This method is a [long-
|
2296
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
2297
|
+
# running-operation). The returned `Operation` type has the following method-
|
2298
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
2299
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
2300
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
2226
2301
|
# @param [String] name
|
2227
2302
|
# Required. The name of the document to reload. Format: `projects//locations//
|
2228
2303
|
# knowledgeBases//documents/`
|
@@ -2292,9 +2367,12 @@ module Google
|
|
2292
2367
|
# Processes a natural language query and returns structured, actionable data as
|
2293
2368
|
# a result. This method is not idempotent, because it may cause contexts and
|
2294
2369
|
# session entity types to be updated, which in turn might affect results of
|
2295
|
-
# future queries.
|
2296
|
-
#
|
2297
|
-
#
|
2370
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
2371
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
2372
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
2373
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
2374
|
+
# Always use agent versions for production traffic. See [Versions and
|
2375
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
2298
2376
|
# @param [String] session
|
2299
2377
|
# Required. The name of the session this query is sent to. Format: `projects//
|
2300
2378
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
@@ -3792,7 +3870,10 @@ module Google
|
|
3792
3870
|
execute_or_queue_command(command, &block)
|
3793
3871
|
end
|
3794
3872
|
|
3795
|
-
# Creates a new document.
|
3873
|
+
# Creates a new document. This method is a [long-running operation](https://
|
3874
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
3875
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
3876
|
+
# KnowledgeOperationMetadata - `response`: Document
|
3796
3877
|
# @param [String] parent
|
3797
3878
|
# Required. The knowledge base to create a document for. Format: `projects//
|
3798
3879
|
# locations//knowledgeBases/`.
|
@@ -3826,7 +3907,11 @@ module Google
|
|
3826
3907
|
execute_or_queue_command(command, &block)
|
3827
3908
|
end
|
3828
3909
|
|
3829
|
-
# Deletes the specified document.
|
3910
|
+
# Deletes the specified document. This method is a [long-running operation](
|
3911
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
3912
|
+
# returned `Operation` type has the following method-specific fields: - `
|
3913
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
3914
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
3830
3915
|
# @param [String] name
|
3831
3916
|
# Required. The name of the document to delete. Format: `projects//locations//
|
3832
3917
|
# knowledgeBases//documents/`.
|
@@ -3926,7 +4011,10 @@ module Google
|
|
3926
4011
|
execute_or_queue_command(command, &block)
|
3927
4012
|
end
|
3928
4013
|
|
3929
|
-
# Updates the specified document.
|
4014
|
+
# Updates the specified document. This method is a [long-running operation](
|
4015
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
4016
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4017
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
3930
4018
|
# @param [String] name
|
3931
4019
|
# Optional. The document resource name. The name must be empty when creating a
|
3932
4020
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -3968,9 +4056,12 @@ module Google
|
|
3968
4056
|
# Reloads the specified document from its specified source, content_uri or
|
3969
4057
|
# content. The previously loaded content of the document will be deleted. Note:
|
3970
4058
|
# Even when the content of the document has not changed, there still may be side
|
3971
|
-
# effects because of internal implementation changes.
|
3972
|
-
#
|
3973
|
-
#
|
4059
|
+
# effects because of internal implementation changes. This method is a [long-
|
4060
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
4061
|
+
# running-operation). The returned `Operation` type has the following method-
|
4062
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
4063
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
4064
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
3974
4065
|
# @param [String] name
|
3975
4066
|
# Required. The name of the document to reload. Format: `projects//locations//
|
3976
4067
|
# knowledgeBases//documents/`
|
@@ -4177,7 +4268,12 @@ module Google
|
|
4177
4268
|
execute_or_queue_command(command, &block)
|
4178
4269
|
end
|
4179
4270
|
|
4180
|
-
# Exports the specified agent to a ZIP file.
|
4271
|
+
# Exports the specified agent to a ZIP file. This method is a [long-running
|
4272
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4273
|
+
# operations). The returned `Operation` type has the following method-specific
|
4274
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4275
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
4276
|
+
# ExportAgentResponse
|
4181
4277
|
# @param [String] parent
|
4182
4278
|
# Required. The project that the agent to export is associated with. Format: `
|
4183
4279
|
# projects/`.
|
@@ -4284,8 +4380,13 @@ module Google
|
|
4284
4380
|
# the import, the imported draft agent will be trained automatically (unless
|
4285
4381
|
# disabled in agent settings). However, once the import is done, training may
|
4286
4382
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4287
|
-
# returns in order to train explicitly.
|
4288
|
-
#
|
4383
|
+
# returns in order to train explicitly. This method is a [long-running operation]
|
4384
|
+
# (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
|
4385
|
+
# returned `Operation` type has the following method-specific fields: - `
|
4386
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
4387
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
4388
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
4389
|
+
# empty) The operation only tracks when importing is complete, not when it is
|
4289
4390
|
# done training. Note: You should always train an agent prior to sending it
|
4290
4391
|
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4291
4392
|
# es/docs/training).
|
@@ -4327,9 +4428,14 @@ module Google
|
|
4327
4428
|
# are deleted. After the restore, the restored draft agent will be trained
|
4328
4429
|
# automatically (unless disabled in agent settings). However, once the restore
|
4329
4430
|
# 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
|
-
#
|
4431
|
+
# for the operation it returns in order to train explicitly. This method is a [
|
4432
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4433
|
+
# running-operations). The returned `Operation` type has the following method-
|
4434
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4435
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4436
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
4437
|
+
# reference/google.protobuf#empty) The operation only tracks when restoring is
|
4438
|
+
# complete, not when it is done training. Note: You should always train an agent
|
4333
4439
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
4334
4440
|
# google.com/dialogflow/es/docs/training).
|
4335
4441
|
# @param [String] parent
|
@@ -4406,9 +4512,14 @@ module Google
|
|
4406
4512
|
execute_or_queue_command(command, &block)
|
4407
4513
|
end
|
4408
4514
|
|
4409
|
-
# Trains the specified agent.
|
4410
|
-
#
|
4411
|
-
#
|
4515
|
+
# Trains the specified agent. This method is a [long-running operation](https://
|
4516
|
+
# cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned
|
4517
|
+
# `Operation` type has the following method-specific fields: - `metadata`: An
|
4518
|
+
# empty [Struct message](https://developers.google.com/protocol-buffers/docs/
|
4519
|
+
# reference/google.protobuf#struct) - `response`: An [Empty message](https://
|
4520
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
4521
|
+
# Note: You should always train an agent prior to sending it queries. See the [
|
4522
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4412
4523
|
# @param [String] parent
|
4413
4524
|
# Required. The project that the agent to train is associated with. Format: `
|
4414
4525
|
# projects/`.
|
@@ -4481,9 +4592,15 @@ module Google
|
|
4481
4592
|
execute_or_queue_command(command, &block)
|
4482
4593
|
end
|
4483
4594
|
|
4484
|
-
# Deletes entity types in the specified agent.
|
4485
|
-
#
|
4486
|
-
#
|
4595
|
+
# Deletes entity types in the specified agent. This method is a [long-running
|
4596
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4597
|
+
# operations). The returned `Operation` type has the following method-specific
|
4598
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4599
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
4600
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
4601
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
4602
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
4603
|
+
# dialogflow/es/docs/training).
|
4487
4604
|
# @param [String] parent
|
4488
4605
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4489
4606
|
# projects//agent`.
|
@@ -4517,9 +4634,14 @@ module Google
|
|
4517
4634
|
execute_or_queue_command(command, &block)
|
4518
4635
|
end
|
4519
4636
|
|
4520
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4521
|
-
#
|
4522
|
-
#
|
4637
|
+
# Updates/Creates multiple entity types in the specified agent. This method is a
|
4638
|
+
# [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4639
|
+
# running-operations). The returned `Operation` type has the following method-
|
4640
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4641
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4642
|
+
# : BatchUpdateEntityTypesResponse Note: You should always train an agent prior
|
4643
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
4644
|
+
# com/dialogflow/es/docs/training).
|
4523
4645
|
# @param [String] parent
|
4524
4646
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4525
4647
|
# projects//agent`.
|
@@ -4752,9 +4874,15 @@ module Google
|
|
4752
4874
|
execute_or_queue_command(command, &block)
|
4753
4875
|
end
|
4754
4876
|
|
4755
|
-
# Creates multiple new entities in the specified entity type.
|
4756
|
-
#
|
4757
|
-
#
|
4877
|
+
# Creates multiple new entities in the specified entity type. This method is a [
|
4878
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
4879
|
+
# running-operations). The returned `Operation` type has the following method-
|
4880
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
4881
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
4882
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
4883
|
+
# reference/google.protobuf#empty) Note: You should always train an agent prior
|
4884
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
4885
|
+
# com/dialogflow/es/docs/training).
|
4758
4886
|
# @param [String] parent
|
4759
4887
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4760
4888
|
# /agent/entityTypes/`.
|
@@ -4788,9 +4916,15 @@ module Google
|
|
4788
4916
|
execute_or_queue_command(command, &block)
|
4789
4917
|
end
|
4790
4918
|
|
4791
|
-
# Deletes entities in the specified entity type.
|
4792
|
-
#
|
4793
|
-
#
|
4919
|
+
# Deletes entities in the specified entity type. This method is a [long-running
|
4920
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
4921
|
+
# operations). The returned `Operation` type has the following method-specific
|
4922
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
4923
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
4924
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
4925
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
4926
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
4927
|
+
# dialogflow/es/docs/training).
|
4794
4928
|
# @param [String] parent
|
4795
4929
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4796
4930
|
# /agent/entityTypes/`.
|
@@ -4826,9 +4960,14 @@ module Google
|
|
4826
4960
|
|
4827
4961
|
# Updates or creates multiple entities in the specified entity type. This method
|
4828
4962
|
# does not affect entities in the entity type that aren't explicitly specified
|
4829
|
-
# in the request.
|
4830
|
-
#
|
4831
|
-
#
|
4963
|
+
# in the request. This method is a [long-running operation](https://cloud.google.
|
4964
|
+
# com/dialogflow/es/docs/how/long-running-operations). The returned `Operation`
|
4965
|
+
# type has the following method-specific fields: - `metadata`: An empty [Struct
|
4966
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
4967
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
4968
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
4969
|
+
# always train an agent prior to sending it queries. See the [training
|
4970
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4832
4971
|
# @param [String] parent
|
4833
4972
|
# Required. The name of the entity type to update or create entities in. Format:
|
4834
4973
|
# `projects//agent/entityTypes/`.
|
@@ -5179,9 +5318,12 @@ module Google
|
|
5179
5318
|
# Processes a natural language query and returns structured, actionable data as
|
5180
5319
|
# a result. This method is not idempotent, because it may cause contexts and
|
5181
5320
|
# session entity types to be updated, which in turn might affect results of
|
5182
|
-
# future queries.
|
5183
|
-
#
|
5184
|
-
#
|
5321
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
5322
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
5323
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
5324
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
5325
|
+
# Always use agent versions for production traffic. See [Versions and
|
5326
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
5185
5327
|
# @param [String] session
|
5186
5328
|
# Required. The name of the session this query is sent to. Format: `projects//
|
5187
5329
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
@@ -5606,9 +5748,15 @@ module Google
|
|
5606
5748
|
execute_or_queue_command(command, &block)
|
5607
5749
|
end
|
5608
5750
|
|
5609
|
-
# Deletes intents in the specified agent.
|
5610
|
-
#
|
5611
|
-
#
|
5751
|
+
# Deletes intents in the specified agent. This method is a [long-running
|
5752
|
+
# operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-
|
5753
|
+
# operations). The returned `Operation` type has the following method-specific
|
5754
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
5755
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [
|
5756
|
+
# Empty message](https://developers.google.com/protocol-buffers/docs/reference/
|
5757
|
+
# google.protobuf#empty) Note: You should always train an agent prior to sending
|
5758
|
+
# it queries. See the [training documentation](https://cloud.google.com/
|
5759
|
+
# dialogflow/es/docs/training).
|
5612
5760
|
# @param [String] parent
|
5613
5761
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5614
5762
|
# projects//agent`.
|
@@ -5642,9 +5790,14 @@ module Google
|
|
5642
5790
|
execute_or_queue_command(command, &block)
|
5643
5791
|
end
|
5644
5792
|
|
5645
|
-
# Updates/Creates multiple intents in the specified agent.
|
5646
|
-
#
|
5647
|
-
#
|
5793
|
+
# Updates/Creates multiple intents in the specified agent. This method is a [
|
5794
|
+
# long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-
|
5795
|
+
# running-operations). The returned `Operation` type has the following method-
|
5796
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
5797
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
5798
|
+
# : BatchUpdateIntentsResponse Note: You should always train an agent prior to
|
5799
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5800
|
+
# dialogflow/es/docs/training).
|
5648
5801
|
# @param [String] parent
|
5649
5802
|
# Required. The name of the agent to update or create intents in. Format: `
|
5650
5803
|
# projects//agent`.
|
@@ -5930,9 +6083,12 @@ module Google
|
|
5930
6083
|
# Processes a natural language query and returns structured, actionable data as
|
5931
6084
|
# a result. This method is not idempotent, because it may cause contexts and
|
5932
6085
|
# session entity types to be updated, which in turn might affect results of
|
5933
|
-
# future queries.
|
5934
|
-
#
|
5935
|
-
#
|
6086
|
+
# future queries. If you might use [Agent Assist](https://cloud.google.com/
|
6087
|
+
# dialogflow/docs/#aa) or other CCAI products now or in the future, consider
|
6088
|
+
# using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
|
6089
|
+
# additional functionality for Agent Assist and other CCAI products. Note:
|
6090
|
+
# Always use agent versions for production traffic. See [Versions and
|
6091
|
+
# environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
|
5936
6092
|
# @param [String] session
|
5937
6093
|
# Required. The name of the session this query is sent to. Format: `projects//
|
5938
6094
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
@@ -7430,7 +7586,10 @@ module Google
|
|
7430
7586
|
execute_or_queue_command(command, &block)
|
7431
7587
|
end
|
7432
7588
|
|
7433
|
-
# Creates a new document.
|
7589
|
+
# Creates a new document. This method is a [long-running operation](https://
|
7590
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
7591
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
7592
|
+
# KnowledgeOperationMetadata - `response`: Document
|
7434
7593
|
# @param [String] parent
|
7435
7594
|
# Required. The knowledge base to create a document for. Format: `projects//
|
7436
7595
|
# locations//knowledgeBases/`.
|
@@ -7464,7 +7623,11 @@ module Google
|
|
7464
7623
|
execute_or_queue_command(command, &block)
|
7465
7624
|
end
|
7466
7625
|
|
7467
|
-
# Deletes the specified document.
|
7626
|
+
# Deletes the specified document. This method is a [long-running operation](
|
7627
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
7628
|
+
# returned `Operation` type has the following method-specific fields: - `
|
7629
|
+
# metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://
|
7630
|
+
# developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
7468
7631
|
# @param [String] name
|
7469
7632
|
# Required. The name of the document to delete. Format: `projects//locations//
|
7470
7633
|
# knowledgeBases//documents/`.
|
@@ -7564,7 +7727,10 @@ module Google
|
|
7564
7727
|
execute_or_queue_command(command, &block)
|
7565
7728
|
end
|
7566
7729
|
|
7567
|
-
# Updates the specified document.
|
7730
|
+
# Updates the specified document. This method is a [long-running operation](
|
7731
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
7732
|
+
# returned `Operation` type has the following method-specific fields: - `
|
7733
|
+
# metadata`: KnowledgeOperationMetadata - `response`: Document
|
7568
7734
|
# @param [String] name
|
7569
7735
|
# Optional. The document resource name. The name must be empty when creating a
|
7570
7736
|
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
@@ -7606,9 +7772,12 @@ module Google
|
|
7606
7772
|
# Reloads the specified document from its specified source, content_uri or
|
7607
7773
|
# content. The previously loaded content of the document will be deleted. Note:
|
7608
7774
|
# Even when the content of the document has not changed, there still may be side
|
7609
|
-
# effects because of internal implementation changes.
|
7610
|
-
#
|
7611
|
-
#
|
7775
|
+
# effects because of internal implementation changes. This method is a [long-
|
7776
|
+
# running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
7777
|
+
# running-operation). The returned `Operation` type has the following method-
|
7778
|
+
# specific fields: - `metadata`: KnowledgeOperationMetadata - `response`:
|
7779
|
+
# Document Note: The `projects.agent.knowledgeBases.documents` resource is
|
7780
|
+
# deprecated; only use `projects.knowledgeBases.documents`.
|
7612
7781
|
# @param [String] name
|
7613
7782
|
# Required. The name of the document to reload. Format: `projects//locations//
|
7614
7783
|
# 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.24.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-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.24.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|