google-apis-dialogflow_v3beta1 0.19.0 → 0.23.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/lib/google/apis/dialogflow_v3beta1/classes.rb +626 -17
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +270 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +267 -24
- data/lib/google/apis/dialogflow_v3beta1.rb +1 -1
- metadata +3 -3
@@ -221,7 +221,8 @@ module Google
|
|
221
221
|
# @return [Google::Apis::DialogflowV3beta1::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
|
@@ -334,6 +335,57 @@ module Google
|
|
334
335
|
end
|
335
336
|
end
|
336
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::DialogflowV3beta1::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::DialogflowV3beta1::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
|
+
|
337
389
|
# Represents the input for dtmf event.
|
338
390
|
class GoogleCloudDialogflowCxV3DtmfInput
|
339
391
|
include Google::Apis::Core::Hashable
|
@@ -359,6 +411,121 @@ module Google
|
|
359
411
|
end
|
360
412
|
end
|
361
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::DialogflowV3beta1::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::DialogflowV3beta1::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
|
+
|
362
529
|
# An event handler specifies an event that can be handled during a session. When
|
363
530
|
# the specified event happens, the following actions are taken in order: * If
|
364
531
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -489,6 +656,7 @@ module Google
|
|
489
656
|
end
|
490
657
|
|
491
658
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
659
|
+
# This message currently has no fields.
|
492
660
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
493
661
|
include Google::Apis::Core::Hashable
|
494
662
|
|
@@ -1868,7 +2036,8 @@ module Google
|
|
1868
2036
|
end
|
1869
2037
|
end
|
1870
2038
|
|
1871
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
2039
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
2040
|
+
# message currently has no fields.
|
1872
2041
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1873
2042
|
include Google::Apis::Core::Hashable
|
1874
2043
|
|
@@ -3034,7 +3203,8 @@ module Google
|
|
3034
3203
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
3035
3204
|
attr_accessor :current_page
|
3036
3205
|
|
3037
|
-
# Required. Input only. The diagnostic info output for the turn.
|
3206
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
3207
|
+
# calculate the testing coverage.
|
3038
3208
|
# Corresponds to the JSON property `diagnosticInfo`
|
3039
3209
|
# @return [Hash<String,Object>]
|
3040
3210
|
attr_accessor :diagnostic_info
|
@@ -3147,6 +3317,158 @@ module Google
|
|
3147
3317
|
end
|
3148
3318
|
end
|
3149
3319
|
|
3320
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
3321
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3322
|
+
include Google::Apis::Core::Hashable
|
3323
|
+
|
3324
|
+
# Errors of running deployment tests.
|
3325
|
+
# Corresponds to the JSON property `testErrors`
|
3326
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
3327
|
+
attr_accessor :test_errors
|
3328
|
+
|
3329
|
+
def initialize(**args)
|
3330
|
+
update!(**args)
|
3331
|
+
end
|
3332
|
+
|
3333
|
+
# Update properties of this object
|
3334
|
+
def update!(**args)
|
3335
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
3336
|
+
end
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
# The request message for Environments.DeployFlow.
|
3340
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
|
3341
|
+
include Google::Apis::Core::Hashable
|
3342
|
+
|
3343
|
+
# Required. The flow version to deploy. Format: `projects//locations//agents//
|
3344
|
+
# flows//versions/`.
|
3345
|
+
# Corresponds to the JSON property `flowVersion`
|
3346
|
+
# @return [String]
|
3347
|
+
attr_accessor :flow_version
|
3348
|
+
|
3349
|
+
def initialize(**args)
|
3350
|
+
update!(**args)
|
3351
|
+
end
|
3352
|
+
|
3353
|
+
# Update properties of this object
|
3354
|
+
def update!(**args)
|
3355
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
3356
|
+
end
|
3357
|
+
end
|
3358
|
+
|
3359
|
+
# The response message for Environments.DeployFlow.
|
3360
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3361
|
+
include Google::Apis::Core::Hashable
|
3362
|
+
|
3363
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
3364
|
+
# environments//deployments/`.
|
3365
|
+
# Corresponds to the JSON property `deployment`
|
3366
|
+
# @return [String]
|
3367
|
+
attr_accessor :deployment
|
3368
|
+
|
3369
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3370
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3371
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3372
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3373
|
+
# the draft agent, it is published to the default environment. When you create
|
3374
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3375
|
+
# variety of custom environments for testing, development, production, etc.
|
3376
|
+
# Corresponds to the JSON property `environment`
|
3377
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
3378
|
+
attr_accessor :environment
|
3379
|
+
|
3380
|
+
def initialize(**args)
|
3381
|
+
update!(**args)
|
3382
|
+
end
|
3383
|
+
|
3384
|
+
# Update properties of this object
|
3385
|
+
def update!(**args)
|
3386
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
3387
|
+
@environment = args[:environment] if args.key?(:environment)
|
3388
|
+
end
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
# Represents an deployment in an environment. A deployment happens when a flow
|
3392
|
+
# version configured to be active in the environment. You can configure running
|
3393
|
+
# pre-deployment steps, e.g. running validation test cases, experiment auto-
|
3394
|
+
# rollout, etc.
|
3395
|
+
class GoogleCloudDialogflowCxV3beta1Deployment
|
3396
|
+
include Google::Apis::Core::Hashable
|
3397
|
+
|
3398
|
+
# End time of this deployment.
|
3399
|
+
# Corresponds to the JSON property `endTime`
|
3400
|
+
# @return [String]
|
3401
|
+
attr_accessor :end_time
|
3402
|
+
|
3403
|
+
# The name of the flow version for this deployment. Format: projects//locations//
|
3404
|
+
# agents//flows//versions/.
|
3405
|
+
# Corresponds to the JSON property `flowVersion`
|
3406
|
+
# @return [String]
|
3407
|
+
attr_accessor :flow_version
|
3408
|
+
|
3409
|
+
# The name of the deployment. Format: projects//locations//agents//environments//
|
3410
|
+
# deployments/.
|
3411
|
+
# Corresponds to the JSON property `name`
|
3412
|
+
# @return [String]
|
3413
|
+
attr_accessor :name
|
3414
|
+
|
3415
|
+
# Result of the deployment.
|
3416
|
+
# Corresponds to the JSON property `result`
|
3417
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult]
|
3418
|
+
attr_accessor :result
|
3419
|
+
|
3420
|
+
# Start time of this deployment.
|
3421
|
+
# Corresponds to the JSON property `startTime`
|
3422
|
+
# @return [String]
|
3423
|
+
attr_accessor :start_time
|
3424
|
+
|
3425
|
+
# The current state of the deployment.
|
3426
|
+
# Corresponds to the JSON property `state`
|
3427
|
+
# @return [String]
|
3428
|
+
attr_accessor :state
|
3429
|
+
|
3430
|
+
def initialize(**args)
|
3431
|
+
update!(**args)
|
3432
|
+
end
|
3433
|
+
|
3434
|
+
# Update properties of this object
|
3435
|
+
def update!(**args)
|
3436
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3437
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
3438
|
+
@name = args[:name] if args.key?(:name)
|
3439
|
+
@result = args[:result] if args.key?(:result)
|
3440
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3441
|
+
@state = args[:state] if args.key?(:state)
|
3442
|
+
end
|
3443
|
+
end
|
3444
|
+
|
3445
|
+
# Result of the deployment.
|
3446
|
+
class GoogleCloudDialogflowCxV3beta1DeploymentResult
|
3447
|
+
include Google::Apis::Core::Hashable
|
3448
|
+
|
3449
|
+
# Results of test cases running before the deployment. Format: `projects//
|
3450
|
+
# locations//agents//testCases//results/`.
|
3451
|
+
# Corresponds to the JSON property `deploymentTestResults`
|
3452
|
+
# @return [Array<String>]
|
3453
|
+
attr_accessor :deployment_test_results
|
3454
|
+
|
3455
|
+
# The name of the experiment triggered by this deployment. Format: projects//
|
3456
|
+
# locations//agents//environments//experiments/.
|
3457
|
+
# Corresponds to the JSON property `experiment`
|
3458
|
+
# @return [String]
|
3459
|
+
attr_accessor :experiment
|
3460
|
+
|
3461
|
+
def initialize(**args)
|
3462
|
+
update!(**args)
|
3463
|
+
end
|
3464
|
+
|
3465
|
+
# Update properties of this object
|
3466
|
+
def update!(**args)
|
3467
|
+
@deployment_test_results = args[:deployment_test_results] if args.key?(:deployment_test_results)
|
3468
|
+
@experiment = args[:experiment] if args.key?(:experiment)
|
3469
|
+
end
|
3470
|
+
end
|
3471
|
+
|
3150
3472
|
# The request to detect user's intent.
|
3151
3473
|
class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
|
3152
3474
|
include Google::Apis::Core::Hashable
|
@@ -3433,6 +3755,11 @@ module Google
|
|
3433
3755
|
# @return [String]
|
3434
3756
|
attr_accessor :name
|
3435
3757
|
|
3758
|
+
# The configuration for continuous tests.
|
3759
|
+
# Corresponds to the JSON property `testCasesConfig`
|
3760
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
3761
|
+
attr_accessor :test_cases_config
|
3762
|
+
|
3436
3763
|
# Output only. Update time of this environment.
|
3437
3764
|
# Corresponds to the JSON property `updateTime`
|
3438
3765
|
# @return [String]
|
@@ -3454,11 +3781,48 @@ module Google
|
|
3454
3781
|
@description = args[:description] if args.key?(:description)
|
3455
3782
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3456
3783
|
@name = args[:name] if args.key?(:name)
|
3784
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3457
3785
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3458
3786
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3459
3787
|
end
|
3460
3788
|
end
|
3461
3789
|
|
3790
|
+
# The configuration for continuous tests.
|
3791
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3792
|
+
include Google::Apis::Core::Hashable
|
3793
|
+
|
3794
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
3795
|
+
# false. If set to ture, run once a day.
|
3796
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
3797
|
+
# @return [Boolean]
|
3798
|
+
attr_accessor :enable_continuous_run
|
3799
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
3800
|
+
|
3801
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
3802
|
+
# flow version to the environment. Default false.
|
3803
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
3804
|
+
# @return [Boolean]
|
3805
|
+
attr_accessor :enable_predeployment_run
|
3806
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
3807
|
+
|
3808
|
+
# A list of test case names to run. They should be under the same agent. Format
|
3809
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
3810
|
+
# Corresponds to the JSON property `testCases`
|
3811
|
+
# @return [Array<String>]
|
3812
|
+
attr_accessor :test_cases
|
3813
|
+
|
3814
|
+
def initialize(**args)
|
3815
|
+
update!(**args)
|
3816
|
+
end
|
3817
|
+
|
3818
|
+
# Update properties of this object
|
3819
|
+
def update!(**args)
|
3820
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
3821
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
3822
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
3823
|
+
end
|
3824
|
+
end
|
3825
|
+
|
3462
3826
|
# Configuration for the version.
|
3463
3827
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3464
3828
|
include Google::Apis::Core::Hashable
|
@@ -3583,11 +3947,9 @@ module Google
|
|
3583
3947
|
# @return [String]
|
3584
3948
|
attr_accessor :end_time
|
3585
3949
|
|
3586
|
-
#
|
3587
|
-
#
|
3588
|
-
#
|
3589
|
-
# LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:
|
3590
|
-
# default_experiment_length)
|
3950
|
+
# Maximum number of days to run the experiment. If auto-rollout is not enabled,
|
3951
|
+
# default value and maximum will be 30 days. If auto-rollout is enabled, default
|
3952
|
+
# value and maximum will be 6 days.
|
3591
3953
|
# Corresponds to the JSON property `experimentLength`
|
3592
3954
|
# @return [String]
|
3593
3955
|
attr_accessor :experiment_length
|
@@ -3609,6 +3971,22 @@ module Google
|
|
3609
3971
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult]
|
3610
3972
|
attr_accessor :result
|
3611
3973
|
|
3974
|
+
# The configuration for auto rollout.
|
3975
|
+
# Corresponds to the JSON property `rolloutConfig`
|
3976
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig]
|
3977
|
+
attr_accessor :rollout_config
|
3978
|
+
|
3979
|
+
# The reason why rollout has failed. Should only be set when state is
|
3980
|
+
# ROLLOUT_FAILED.
|
3981
|
+
# Corresponds to the JSON property `rolloutFailureReason`
|
3982
|
+
# @return [String]
|
3983
|
+
attr_accessor :rollout_failure_reason
|
3984
|
+
|
3985
|
+
# State of the auto-rollout process.
|
3986
|
+
# Corresponds to the JSON property `rolloutState`
|
3987
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState]
|
3988
|
+
attr_accessor :rollout_state
|
3989
|
+
|
3612
3990
|
# Start time of this experiment.
|
3613
3991
|
# Corresponds to the JSON property `startTime`
|
3614
3992
|
# @return [String]
|
@@ -3641,6 +4019,9 @@ module Google
|
|
3641
4019
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3642
4020
|
@name = args[:name] if args.key?(:name)
|
3643
4021
|
@result = args[:result] if args.key?(:result)
|
4022
|
+
@rollout_config = args[:rollout_config] if args.key?(:rollout_config)
|
4023
|
+
@rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
|
4024
|
+
@rollout_state = args[:rollout_state] if args.key?(:rollout_state)
|
3644
4025
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3645
4026
|
@state = args[:state] if args.key?(:state)
|
3646
4027
|
@variants_history = args[:variants_history] if args.key?(:variants_history)
|
@@ -3931,6 +4312,7 @@ module Google
|
|
3931
4312
|
end
|
3932
4313
|
|
3933
4314
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
4315
|
+
# This message currently has no fields.
|
3934
4316
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3935
4317
|
include Google::Apis::Core::Hashable
|
3936
4318
|
|
@@ -5091,6 +5473,34 @@ module Google
|
|
5091
5473
|
end
|
5092
5474
|
end
|
5093
5475
|
|
5476
|
+
# The response message for Deployments.ListDeployments.
|
5477
|
+
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
5478
|
+
include Google::Apis::Core::Hashable
|
5479
|
+
|
5480
|
+
# The list of deployments. There will be a maximum number of items returned
|
5481
|
+
# based on the page_size field in the request. The list may in some cases be
|
5482
|
+
# empty or contain fewer entries than page_size even if this isn't the last page.
|
5483
|
+
# Corresponds to the JSON property `deployments`
|
5484
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment>]
|
5485
|
+
attr_accessor :deployments
|
5486
|
+
|
5487
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
5488
|
+
# results in the list.
|
5489
|
+
# Corresponds to the JSON property `nextPageToken`
|
5490
|
+
# @return [String]
|
5491
|
+
attr_accessor :next_page_token
|
5492
|
+
|
5493
|
+
def initialize(**args)
|
5494
|
+
update!(**args)
|
5495
|
+
end
|
5496
|
+
|
5497
|
+
# Update properties of this object
|
5498
|
+
def update!(**args)
|
5499
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
5500
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5501
|
+
end
|
5502
|
+
end
|
5503
|
+
|
5094
5504
|
# The response message for EntityTypes.ListEntityTypes.
|
5095
5505
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
5096
5506
|
include Google::Apis::Core::Hashable
|
@@ -6116,6 +6526,11 @@ module Google
|
|
6116
6526
|
# @return [Hash<String,Object>]
|
6117
6527
|
attr_accessor :diagnostic_info
|
6118
6528
|
|
6529
|
+
# Represents the input for dtmf event.
|
6530
|
+
# Corresponds to the JSON property `dtmf`
|
6531
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput]
|
6532
|
+
attr_accessor :dtmf
|
6533
|
+
|
6119
6534
|
# An intent represents a user's intent to interact with a conversational agent.
|
6120
6535
|
# You can provide information for the Dialogflow API to use to match user input
|
6121
6536
|
# to an intent by adding training phrases (i.e., examples of user input) to your
|
@@ -6216,6 +6631,7 @@ module Google
|
|
6216
6631
|
def update!(**args)
|
6217
6632
|
@current_page = args[:current_page] if args.key?(:current_page)
|
6218
6633
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
6634
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
6219
6635
|
@intent = args[:intent] if args.key?(:intent)
|
6220
6636
|
@intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
|
6221
6637
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -6615,6 +7031,109 @@ module Google
|
|
6615
7031
|
end
|
6616
7032
|
end
|
6617
7033
|
|
7034
|
+
# The configuration for auto rollout.
|
7035
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
7036
|
+
include Google::Apis::Core::Hashable
|
7037
|
+
|
7038
|
+
# The conditions that are used to evaluate the failure of a rollout step. If not
|
7039
|
+
# specified, no rollout steps will fail. E.g. "containment_rate < 10% OR
|
7040
|
+
# average_turn_count < 3". See the [conditions reference](https://cloud.google.
|
7041
|
+
# com/dialogflow/cx/docs/reference/condition).
|
7042
|
+
# Corresponds to the JSON property `failureCondition`
|
7043
|
+
# @return [String]
|
7044
|
+
attr_accessor :failure_condition
|
7045
|
+
|
7046
|
+
# The conditions that are used to evaluate the success of a rollout step. If not
|
7047
|
+
# specified, all rollout steps will proceed to the next one unless failure
|
7048
|
+
# conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See
|
7049
|
+
# the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/
|
7050
|
+
# reference/condition).
|
7051
|
+
# Corresponds to the JSON property `rolloutCondition`
|
7052
|
+
# @return [String]
|
7053
|
+
attr_accessor :rollout_condition
|
7054
|
+
|
7055
|
+
# Steps to roll out a flow version. Steps should be sorted by percentage in
|
7056
|
+
# ascending order.
|
7057
|
+
# Corresponds to the JSON property `rolloutSteps`
|
7058
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep>]
|
7059
|
+
attr_accessor :rollout_steps
|
7060
|
+
|
7061
|
+
def initialize(**args)
|
7062
|
+
update!(**args)
|
7063
|
+
end
|
7064
|
+
|
7065
|
+
# Update properties of this object
|
7066
|
+
def update!(**args)
|
7067
|
+
@failure_condition = args[:failure_condition] if args.key?(:failure_condition)
|
7068
|
+
@rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition)
|
7069
|
+
@rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps)
|
7070
|
+
end
|
7071
|
+
end
|
7072
|
+
|
7073
|
+
# A single rollout step with specified traffic allocation.
|
7074
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
|
7075
|
+
include Google::Apis::Core::Hashable
|
7076
|
+
|
7077
|
+
# The name of the rollout step;
|
7078
|
+
# Corresponds to the JSON property `displayName`
|
7079
|
+
# @return [String]
|
7080
|
+
attr_accessor :display_name
|
7081
|
+
|
7082
|
+
# The minimum time that this step should last. Should be longer than 1 hour. If
|
7083
|
+
# not set, the default minimum duration for each step will be 1 hour.
|
7084
|
+
# Corresponds to the JSON property `minDuration`
|
7085
|
+
# @return [String]
|
7086
|
+
attr_accessor :min_duration
|
7087
|
+
|
7088
|
+
# The percentage of traffic allocated to the flow version of this rollout step. (
|
7089
|
+
# 0%, 100%].
|
7090
|
+
# Corresponds to the JSON property `trafficPercent`
|
7091
|
+
# @return [Fixnum]
|
7092
|
+
attr_accessor :traffic_percent
|
7093
|
+
|
7094
|
+
def initialize(**args)
|
7095
|
+
update!(**args)
|
7096
|
+
end
|
7097
|
+
|
7098
|
+
# Update properties of this object
|
7099
|
+
def update!(**args)
|
7100
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7101
|
+
@min_duration = args[:min_duration] if args.key?(:min_duration)
|
7102
|
+
@traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
|
7103
|
+
end
|
7104
|
+
end
|
7105
|
+
|
7106
|
+
# State of the auto-rollout process.
|
7107
|
+
class GoogleCloudDialogflowCxV3beta1RolloutState
|
7108
|
+
include Google::Apis::Core::Hashable
|
7109
|
+
|
7110
|
+
# Start time of the current step.
|
7111
|
+
# Corresponds to the JSON property `startTime`
|
7112
|
+
# @return [String]
|
7113
|
+
attr_accessor :start_time
|
7114
|
+
|
7115
|
+
# Display name of the current auto rollout step.
|
7116
|
+
# Corresponds to the JSON property `step`
|
7117
|
+
# @return [String]
|
7118
|
+
attr_accessor :step
|
7119
|
+
|
7120
|
+
# Index of the current step in the auto rollout steps list.
|
7121
|
+
# Corresponds to the JSON property `stepIndex`
|
7122
|
+
# @return [Fixnum]
|
7123
|
+
attr_accessor :step_index
|
7124
|
+
|
7125
|
+
def initialize(**args)
|
7126
|
+
update!(**args)
|
7127
|
+
end
|
7128
|
+
|
7129
|
+
# Update properties of this object
|
7130
|
+
def update!(**args)
|
7131
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
7132
|
+
@step = args[:step] if args.key?(:step)
|
7133
|
+
@step_index = args[:step_index] if args.key?(:step_index)
|
7134
|
+
end
|
7135
|
+
end
|
7136
|
+
|
6618
7137
|
# Metadata returned for the Environments.RunContinuousTest long running
|
6619
7138
|
# operation.
|
6620
7139
|
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
@@ -6667,7 +7186,8 @@ module Google
|
|
6667
7186
|
end
|
6668
7187
|
end
|
6669
7188
|
|
6670
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7189
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
7190
|
+
# message currently has no fields.
|
6671
7191
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6672
7192
|
include Google::Apis::Core::Hashable
|
6673
7193
|
|
@@ -6725,6 +7245,17 @@ module Google
|
|
6725
7245
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
6726
7246
|
include Google::Apis::Core::Hashable
|
6727
7247
|
|
7248
|
+
# [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
|
7249
|
+
# template to define de-identification configuration for the content. If empty,
|
7250
|
+
# Dialogflow replaces sensitive info with `[redacted]` text. The template name
|
7251
|
+
# will have one of the following formats: `projects//locations//
|
7252
|
+
# deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
|
7253
|
+
# `deidentify_template` must be located in the same region as the `
|
7254
|
+
# SecuritySettings`.
|
7255
|
+
# Corresponds to the JSON property `deidentifyTemplate`
|
7256
|
+
# @return [String]
|
7257
|
+
attr_accessor :deidentify_template
|
7258
|
+
|
6728
7259
|
# Required. The human-readable name of the security settings, unique within the
|
6729
7260
|
# location.
|
6730
7261
|
# Corresponds to the JSON property `displayName`
|
@@ -6740,13 +7271,16 @@ module Google
|
|
6740
7271
|
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6741
7272
|
# template to define inspect base settings. If empty, we use the default DLP
|
6742
7273
|
# inspect config. The template name will have one of the following formats: `
|
6743
|
-
# projects//inspectTemplates/` OR `
|
6744
|
-
#
|
7274
|
+
# projects//locations//inspectTemplates/` OR `organizations//locations//
|
7275
|
+
# inspectTemplates/` Note: `inspect_template` must be located in the same region
|
7276
|
+
# as the `SecuritySettings`.
|
6745
7277
|
# Corresponds to the JSON property `inspectTemplate`
|
6746
7278
|
# @return [String]
|
6747
7279
|
attr_accessor :inspect_template
|
6748
7280
|
|
6749
|
-
#
|
7281
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
7282
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
7283
|
+
# populates the name automatically. Format: `projects//locations//
|
6750
7284
|
# securitySettings/`.
|
6751
7285
|
# Corresponds to the JSON property `name`
|
6752
7286
|
# @return [String]
|
@@ -6784,6 +7318,7 @@ module Google
|
|
6784
7318
|
|
6785
7319
|
# Update properties of this object
|
6786
7320
|
def update!(**args)
|
7321
|
+
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
|
6787
7322
|
@display_name = args[:display_name] if args.key?(:display_name)
|
6788
7323
|
@insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
|
6789
7324
|
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
|
@@ -8825,8 +9360,9 @@ module Google
|
|
8825
9360
|
# @return [Array<String>]
|
8826
9361
|
attr_accessor :events
|
8827
9362
|
|
8828
|
-
# Read-only. Information about all followup intents that have this
|
8829
|
-
# direct or indirect parent. We populate this field only in the
|
9363
|
+
# Output only. Read-only. Information about all followup intents that have this
|
9364
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
9365
|
+
# output.
|
8830
9366
|
# Corresponds to the JSON property `followupIntentInfo`
|
8831
9367
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
8832
9368
|
attr_accessor :followup_intent_info
|
@@ -8911,9 +9447,10 @@ module Google
|
|
8911
9447
|
attr_accessor :reset_contexts
|
8912
9448
|
alias_method :reset_contexts?, :reset_contexts
|
8913
9449
|
|
8914
|
-
# Read-only. The unique identifier of the root intent in the chain
|
8915
|
-
# intents. It identifies the correct followup intents chain for this
|
8916
|
-
# populate this field only in the output. Format: `projects//agent/
|
9450
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
9451
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
9452
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
9453
|
+
# intents/`.
|
8917
9454
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
8918
9455
|
# @return [String]
|
8919
9456
|
attr_accessor :root_followup_intent_name
|
@@ -13865,6 +14402,78 @@ module Google
|
|
13865
14402
|
end
|
13866
14403
|
end
|
13867
14404
|
|
14405
|
+
# The response message for Locations.ListLocations.
|
14406
|
+
class GoogleCloudLocationListLocationsResponse
|
14407
|
+
include Google::Apis::Core::Hashable
|
14408
|
+
|
14409
|
+
# A list of locations that matches the specified filter in the request.
|
14410
|
+
# Corresponds to the JSON property `locations`
|
14411
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation>]
|
14412
|
+
attr_accessor :locations
|
14413
|
+
|
14414
|
+
# The standard List next-page token.
|
14415
|
+
# Corresponds to the JSON property `nextPageToken`
|
14416
|
+
# @return [String]
|
14417
|
+
attr_accessor :next_page_token
|
14418
|
+
|
14419
|
+
def initialize(**args)
|
14420
|
+
update!(**args)
|
14421
|
+
end
|
14422
|
+
|
14423
|
+
# Update properties of this object
|
14424
|
+
def update!(**args)
|
14425
|
+
@locations = args[:locations] if args.key?(:locations)
|
14426
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14427
|
+
end
|
14428
|
+
end
|
14429
|
+
|
14430
|
+
# A resource that represents Google Cloud Platform location.
|
14431
|
+
class GoogleCloudLocationLocation
|
14432
|
+
include Google::Apis::Core::Hashable
|
14433
|
+
|
14434
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
14435
|
+
# "Tokyo".
|
14436
|
+
# Corresponds to the JSON property `displayName`
|
14437
|
+
# @return [String]
|
14438
|
+
attr_accessor :display_name
|
14439
|
+
|
14440
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
14441
|
+
# region": "us-east1"`
|
14442
|
+
# Corresponds to the JSON property `labels`
|
14443
|
+
# @return [Hash<String,String>]
|
14444
|
+
attr_accessor :labels
|
14445
|
+
|
14446
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
14447
|
+
# Corresponds to the JSON property `locationId`
|
14448
|
+
# @return [String]
|
14449
|
+
attr_accessor :location_id
|
14450
|
+
|
14451
|
+
# Service-specific metadata. For example the available capacity at the given
|
14452
|
+
# location.
|
14453
|
+
# Corresponds to the JSON property `metadata`
|
14454
|
+
# @return [Hash<String,Object>]
|
14455
|
+
attr_accessor :metadata
|
14456
|
+
|
14457
|
+
# Resource name for the location, which may vary between implementations. For
|
14458
|
+
# example: `"projects/example-project/locations/us-east1"`
|
14459
|
+
# Corresponds to the JSON property `name`
|
14460
|
+
# @return [String]
|
14461
|
+
attr_accessor :name
|
14462
|
+
|
14463
|
+
def initialize(**args)
|
14464
|
+
update!(**args)
|
14465
|
+
end
|
14466
|
+
|
14467
|
+
# Update properties of this object
|
14468
|
+
def update!(**args)
|
14469
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14470
|
+
@labels = args[:labels] if args.key?(:labels)
|
14471
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
14472
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14473
|
+
@name = args[:name] if args.key?(:name)
|
14474
|
+
end
|
14475
|
+
end
|
14476
|
+
|
13868
14477
|
# The response message for Operations.ListOperations.
|
13869
14478
|
class GoogleLongrunningListOperationsResponse
|
13870
14479
|
include Google::Apis::Core::Hashable
|