google-apis-dialogflow_v3beta1 0.21.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +558 -11
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +249 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +225 -1
- metadata +5 -5
@@ -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::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
|
+
|
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::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
|
+
|
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.
|
@@ -2908,6 +3074,123 @@ module Google
|
|
2908
3074
|
end
|
2909
3075
|
end
|
2910
3076
|
|
3077
|
+
# Changelogs represents a change made to a given agent.
|
3078
|
+
class GoogleCloudDialogflowCxV3beta1Changelog
|
3079
|
+
include Google::Apis::Core::Hashable
|
3080
|
+
|
3081
|
+
# The action of the change.
|
3082
|
+
# Corresponds to the JSON property `action`
|
3083
|
+
# @return [String]
|
3084
|
+
attr_accessor :action
|
3085
|
+
|
3086
|
+
# The timestamp of the change.
|
3087
|
+
# Corresponds to the JSON property `createTime`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :create_time
|
3090
|
+
|
3091
|
+
# The affected resource display name of the change.
|
3092
|
+
# Corresponds to the JSON property `displayName`
|
3093
|
+
# @return [String]
|
3094
|
+
attr_accessor :display_name
|
3095
|
+
|
3096
|
+
# The unique identifier of the changelog. Format: `projects//locations//agents//
|
3097
|
+
# changelogs/`.
|
3098
|
+
# Corresponds to the JSON property `name`
|
3099
|
+
# @return [String]
|
3100
|
+
attr_accessor :name
|
3101
|
+
|
3102
|
+
# The affected resource name of the change.
|
3103
|
+
# Corresponds to the JSON property `resource`
|
3104
|
+
# @return [String]
|
3105
|
+
attr_accessor :resource
|
3106
|
+
|
3107
|
+
# The affected resource type.
|
3108
|
+
# Corresponds to the JSON property `type`
|
3109
|
+
# @return [String]
|
3110
|
+
attr_accessor :type
|
3111
|
+
|
3112
|
+
# Email address of the authenticated user.
|
3113
|
+
# Corresponds to the JSON property `userEmail`
|
3114
|
+
# @return [String]
|
3115
|
+
attr_accessor :user_email
|
3116
|
+
|
3117
|
+
def initialize(**args)
|
3118
|
+
update!(**args)
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
# Update properties of this object
|
3122
|
+
def update!(**args)
|
3123
|
+
@action = args[:action] if args.key?(:action)
|
3124
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3125
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3126
|
+
@name = args[:name] if args.key?(:name)
|
3127
|
+
@resource = args[:resource] if args.key?(:resource)
|
3128
|
+
@type = args[:type] if args.key?(:type)
|
3129
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
3130
|
+
end
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
# The request message for Versions.CompareVersions.
|
3134
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
|
3135
|
+
include Google::Apis::Core::Hashable
|
3136
|
+
|
3137
|
+
# The language to compare the flow versions for. If not specified, the agent's
|
3138
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
3139
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
3140
|
+
# agent before they can be used.
|
3141
|
+
# Corresponds to the JSON property `languageCode`
|
3142
|
+
# @return [String]
|
3143
|
+
attr_accessor :language_code
|
3144
|
+
|
3145
|
+
# Required. Name of the target flow version to compare with the base version.
|
3146
|
+
# Use version ID `0` to indicate the draft version of the specified flow. Format:
|
3147
|
+
# `projects//locations//agents//flows//versions/`.
|
3148
|
+
# Corresponds to the JSON property `targetVersion`
|
3149
|
+
# @return [String]
|
3150
|
+
attr_accessor :target_version
|
3151
|
+
|
3152
|
+
def initialize(**args)
|
3153
|
+
update!(**args)
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
# Update properties of this object
|
3157
|
+
def update!(**args)
|
3158
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
3159
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
3160
|
+
end
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
# The response message for Versions.CompareVersions.
|
3164
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
|
3165
|
+
include Google::Apis::Core::Hashable
|
3166
|
+
|
3167
|
+
# JSON representation of the base version content.
|
3168
|
+
# Corresponds to the JSON property `baseVersionContentJson`
|
3169
|
+
# @return [String]
|
3170
|
+
attr_accessor :base_version_content_json
|
3171
|
+
|
3172
|
+
# The timestamp when the two version compares.
|
3173
|
+
# Corresponds to the JSON property `compareTime`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :compare_time
|
3176
|
+
|
3177
|
+
# JSON representation of the target version content.
|
3178
|
+
# Corresponds to the JSON property `targetVersionContentJson`
|
3179
|
+
# @return [String]
|
3180
|
+
attr_accessor :target_version_content_json
|
3181
|
+
|
3182
|
+
def initialize(**args)
|
3183
|
+
update!(**args)
|
3184
|
+
end
|
3185
|
+
|
3186
|
+
# Update properties of this object
|
3187
|
+
def update!(**args)
|
3188
|
+
@base_version_content_json = args[:base_version_content_json] if args.key?(:base_version_content_json)
|
3189
|
+
@compare_time = args[:compare_time] if args.key?(:compare_time)
|
3190
|
+
@target_version_content_json = args[:target_version_content_json] if args.key?(:target_version_content_json)
|
3191
|
+
end
|
3192
|
+
end
|
3193
|
+
|
2911
3194
|
# Represents a result from running a test case in an agent environment.
|
2912
3195
|
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2913
3196
|
include Google::Apis::Core::Hashable
|
@@ -3151,6 +3434,158 @@ module Google
|
|
3151
3434
|
end
|
3152
3435
|
end
|
3153
3436
|
|
3437
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
3438
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3439
|
+
include Google::Apis::Core::Hashable
|
3440
|
+
|
3441
|
+
# Errors of running deployment tests.
|
3442
|
+
# Corresponds to the JSON property `testErrors`
|
3443
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
3444
|
+
attr_accessor :test_errors
|
3445
|
+
|
3446
|
+
def initialize(**args)
|
3447
|
+
update!(**args)
|
3448
|
+
end
|
3449
|
+
|
3450
|
+
# Update properties of this object
|
3451
|
+
def update!(**args)
|
3452
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
3453
|
+
end
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# The request message for Environments.DeployFlow.
|
3457
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
|
3458
|
+
include Google::Apis::Core::Hashable
|
3459
|
+
|
3460
|
+
# Required. The flow version to deploy. Format: `projects//locations//agents//
|
3461
|
+
# flows//versions/`.
|
3462
|
+
# Corresponds to the JSON property `flowVersion`
|
3463
|
+
# @return [String]
|
3464
|
+
attr_accessor :flow_version
|
3465
|
+
|
3466
|
+
def initialize(**args)
|
3467
|
+
update!(**args)
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
# Update properties of this object
|
3471
|
+
def update!(**args)
|
3472
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
3473
|
+
end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
# The response message for Environments.DeployFlow.
|
3477
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3478
|
+
include Google::Apis::Core::Hashable
|
3479
|
+
|
3480
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
3481
|
+
# environments//deployments/`.
|
3482
|
+
# Corresponds to the JSON property `deployment`
|
3483
|
+
# @return [String]
|
3484
|
+
attr_accessor :deployment
|
3485
|
+
|
3486
|
+
# Represents an environment for an agent. You can create multiple versions of
|
3487
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
3488
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
3489
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
3490
|
+
# the draft agent, it is published to the default environment. When you create
|
3491
|
+
# agent versions, you can publish them to custom environments. You can create a
|
3492
|
+
# variety of custom environments for testing, development, production, etc.
|
3493
|
+
# Corresponds to the JSON property `environment`
|
3494
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
3495
|
+
attr_accessor :environment
|
3496
|
+
|
3497
|
+
def initialize(**args)
|
3498
|
+
update!(**args)
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
# Update properties of this object
|
3502
|
+
def update!(**args)
|
3503
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
3504
|
+
@environment = args[:environment] if args.key?(:environment)
|
3505
|
+
end
|
3506
|
+
end
|
3507
|
+
|
3508
|
+
# Represents an deployment in an environment. A deployment happens when a flow
|
3509
|
+
# version configured to be active in the environment. You can configure running
|
3510
|
+
# pre-deployment steps, e.g. running validation test cases, experiment auto-
|
3511
|
+
# rollout, etc.
|
3512
|
+
class GoogleCloudDialogflowCxV3beta1Deployment
|
3513
|
+
include Google::Apis::Core::Hashable
|
3514
|
+
|
3515
|
+
# End time of this deployment.
|
3516
|
+
# Corresponds to the JSON property `endTime`
|
3517
|
+
# @return [String]
|
3518
|
+
attr_accessor :end_time
|
3519
|
+
|
3520
|
+
# The name of the flow version for this deployment. Format: projects//locations//
|
3521
|
+
# agents//flows//versions/.
|
3522
|
+
# Corresponds to the JSON property `flowVersion`
|
3523
|
+
# @return [String]
|
3524
|
+
attr_accessor :flow_version
|
3525
|
+
|
3526
|
+
# The name of the deployment. Format: projects//locations//agents//environments//
|
3527
|
+
# deployments/.
|
3528
|
+
# Corresponds to the JSON property `name`
|
3529
|
+
# @return [String]
|
3530
|
+
attr_accessor :name
|
3531
|
+
|
3532
|
+
# Result of the deployment.
|
3533
|
+
# Corresponds to the JSON property `result`
|
3534
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult]
|
3535
|
+
attr_accessor :result
|
3536
|
+
|
3537
|
+
# Start time of this deployment.
|
3538
|
+
# Corresponds to the JSON property `startTime`
|
3539
|
+
# @return [String]
|
3540
|
+
attr_accessor :start_time
|
3541
|
+
|
3542
|
+
# The current state of the deployment.
|
3543
|
+
# Corresponds to the JSON property `state`
|
3544
|
+
# @return [String]
|
3545
|
+
attr_accessor :state
|
3546
|
+
|
3547
|
+
def initialize(**args)
|
3548
|
+
update!(**args)
|
3549
|
+
end
|
3550
|
+
|
3551
|
+
# Update properties of this object
|
3552
|
+
def update!(**args)
|
3553
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3554
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
3555
|
+
@name = args[:name] if args.key?(:name)
|
3556
|
+
@result = args[:result] if args.key?(:result)
|
3557
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3558
|
+
@state = args[:state] if args.key?(:state)
|
3559
|
+
end
|
3560
|
+
end
|
3561
|
+
|
3562
|
+
# Result of the deployment.
|
3563
|
+
class GoogleCloudDialogflowCxV3beta1DeploymentResult
|
3564
|
+
include Google::Apis::Core::Hashable
|
3565
|
+
|
3566
|
+
# Results of test cases running before the deployment. Format: `projects//
|
3567
|
+
# locations//agents//testCases//results/`.
|
3568
|
+
# Corresponds to the JSON property `deploymentTestResults`
|
3569
|
+
# @return [Array<String>]
|
3570
|
+
attr_accessor :deployment_test_results
|
3571
|
+
|
3572
|
+
# The name of the experiment triggered by this deployment. Format: projects//
|
3573
|
+
# locations//agents//environments//experiments/.
|
3574
|
+
# Corresponds to the JSON property `experiment`
|
3575
|
+
# @return [String]
|
3576
|
+
attr_accessor :experiment
|
3577
|
+
|
3578
|
+
def initialize(**args)
|
3579
|
+
update!(**args)
|
3580
|
+
end
|
3581
|
+
|
3582
|
+
# Update properties of this object
|
3583
|
+
def update!(**args)
|
3584
|
+
@deployment_test_results = args[:deployment_test_results] if args.key?(:deployment_test_results)
|
3585
|
+
@experiment = args[:experiment] if args.key?(:experiment)
|
3586
|
+
end
|
3587
|
+
end
|
3588
|
+
|
3154
3589
|
# The request to detect user's intent.
|
3155
3590
|
class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
|
3156
3591
|
include Google::Apis::Core::Hashable
|
@@ -3437,6 +3872,11 @@ module Google
|
|
3437
3872
|
# @return [String]
|
3438
3873
|
attr_accessor :name
|
3439
3874
|
|
3875
|
+
# The configuration for continuous tests.
|
3876
|
+
# Corresponds to the JSON property `testCasesConfig`
|
3877
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
3878
|
+
attr_accessor :test_cases_config
|
3879
|
+
|
3440
3880
|
# Output only. Update time of this environment.
|
3441
3881
|
# Corresponds to the JSON property `updateTime`
|
3442
3882
|
# @return [String]
|
@@ -3458,11 +3898,48 @@ module Google
|
|
3458
3898
|
@description = args[:description] if args.key?(:description)
|
3459
3899
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3460
3900
|
@name = args[:name] if args.key?(:name)
|
3901
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3461
3902
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3462
3903
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3463
3904
|
end
|
3464
3905
|
end
|
3465
3906
|
|
3907
|
+
# The configuration for continuous tests.
|
3908
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3909
|
+
include Google::Apis::Core::Hashable
|
3910
|
+
|
3911
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
3912
|
+
# false. If set to true, run once a day.
|
3913
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
3914
|
+
# @return [Boolean]
|
3915
|
+
attr_accessor :enable_continuous_run
|
3916
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
3917
|
+
|
3918
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
3919
|
+
# flow version to the environment. Default false.
|
3920
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
3921
|
+
# @return [Boolean]
|
3922
|
+
attr_accessor :enable_predeployment_run
|
3923
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
3924
|
+
|
3925
|
+
# A list of test case names to run. They should be under the same agent. Format
|
3926
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
3927
|
+
# Corresponds to the JSON property `testCases`
|
3928
|
+
# @return [Array<String>]
|
3929
|
+
attr_accessor :test_cases
|
3930
|
+
|
3931
|
+
def initialize(**args)
|
3932
|
+
update!(**args)
|
3933
|
+
end
|
3934
|
+
|
3935
|
+
# Update properties of this object
|
3936
|
+
def update!(**args)
|
3937
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
3938
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
3939
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
3940
|
+
end
|
3941
|
+
end
|
3942
|
+
|
3466
3943
|
# Configuration for the version.
|
3467
3944
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3468
3945
|
include Google::Apis::Core::Hashable
|
@@ -5087,6 +5564,34 @@ module Google
|
|
5087
5564
|
end
|
5088
5565
|
end
|
5089
5566
|
|
5567
|
+
# The response message for Changelogs.ListChangelogs.
|
5568
|
+
class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
|
5569
|
+
include Google::Apis::Core::Hashable
|
5570
|
+
|
5571
|
+
# The list of changelogs. There will be a maximum number of items returned based
|
5572
|
+
# on the page_size field in the request. The changelogs will be ordered by
|
5573
|
+
# timestamp.
|
5574
|
+
# Corresponds to the JSON property `changelogs`
|
5575
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog>]
|
5576
|
+
attr_accessor :changelogs
|
5577
|
+
|
5578
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
5579
|
+
# results in the list.
|
5580
|
+
# Corresponds to the JSON property `nextPageToken`
|
5581
|
+
# @return [String]
|
5582
|
+
attr_accessor :next_page_token
|
5583
|
+
|
5584
|
+
def initialize(**args)
|
5585
|
+
update!(**args)
|
5586
|
+
end
|
5587
|
+
|
5588
|
+
# Update properties of this object
|
5589
|
+
def update!(**args)
|
5590
|
+
@changelogs = args[:changelogs] if args.key?(:changelogs)
|
5591
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5592
|
+
end
|
5593
|
+
end
|
5594
|
+
|
5090
5595
|
# The response message for Environments.ListTestCaseResults.
|
5091
5596
|
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
5092
5597
|
include Google::Apis::Core::Hashable
|
@@ -5113,6 +5618,34 @@ module Google
|
|
5113
5618
|
end
|
5114
5619
|
end
|
5115
5620
|
|
5621
|
+
# The response message for Deployments.ListDeployments.
|
5622
|
+
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
5623
|
+
include Google::Apis::Core::Hashable
|
5624
|
+
|
5625
|
+
# The list of deployments. There will be a maximum number of items returned
|
5626
|
+
# based on the page_size field in the request. The list may in some cases be
|
5627
|
+
# empty or contain fewer entries than page_size even if this isn't the last page.
|
5628
|
+
# Corresponds to the JSON property `deployments`
|
5629
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment>]
|
5630
|
+
attr_accessor :deployments
|
5631
|
+
|
5632
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
5633
|
+
# results in the list.
|
5634
|
+
# Corresponds to the JSON property `nextPageToken`
|
5635
|
+
# @return [String]
|
5636
|
+
attr_accessor :next_page_token
|
5637
|
+
|
5638
|
+
def initialize(**args)
|
5639
|
+
update!(**args)
|
5640
|
+
end
|
5641
|
+
|
5642
|
+
# Update properties of this object
|
5643
|
+
def update!(**args)
|
5644
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
5645
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5646
|
+
end
|
5647
|
+
end
|
5648
|
+
|
5116
5649
|
# The response message for EntityTypes.ListEntityTypes.
|
5117
5650
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
5118
5651
|
include Google::Apis::Core::Hashable
|
@@ -6138,6 +6671,11 @@ module Google
|
|
6138
6671
|
# @return [Hash<String,Object>]
|
6139
6672
|
attr_accessor :diagnostic_info
|
6140
6673
|
|
6674
|
+
# Represents the input for dtmf event.
|
6675
|
+
# Corresponds to the JSON property `dtmf`
|
6676
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput]
|
6677
|
+
attr_accessor :dtmf
|
6678
|
+
|
6141
6679
|
# An intent represents a user's intent to interact with a conversational agent.
|
6142
6680
|
# You can provide information for the Dialogflow API to use to match user input
|
6143
6681
|
# to an intent by adding training phrases (i.e., examples of user input) to your
|
@@ -6238,6 +6776,7 @@ module Google
|
|
6238
6776
|
def update!(**args)
|
6239
6777
|
@current_page = args[:current_page] if args.key?(:current_page)
|
6240
6778
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
6779
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
6241
6780
|
@intent = args[:intent] if args.key?(:intent)
|
6242
6781
|
@intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
|
6243
6782
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -6852,7 +7391,10 @@ module Google
|
|
6852
7391
|
include Google::Apis::Core::Hashable
|
6853
7392
|
|
6854
7393
|
# [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
|
6855
|
-
# template to define de-identification configuration for the content.
|
7394
|
+
# template to define de-identification configuration for the content. The `DLP
|
7395
|
+
# De-identify Templates Reader` role is needed on the Dialogflow service
|
7396
|
+
# identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-
|
7397
|
+
# dialogflow.iam.gserviceaccount.com`) for your agent's project. If empty,
|
6856
7398
|
# Dialogflow replaces sensitive info with `[redacted]` text. The template name
|
6857
7399
|
# will have one of the following formats: `projects//locations//
|
6858
7400
|
# deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
|
@@ -6875,16 +7417,20 @@ module Google
|
|
6875
7417
|
attr_accessor :insights_export_settings
|
6876
7418
|
|
6877
7419
|
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6878
|
-
# template to define inspect base settings.
|
6879
|
-
#
|
6880
|
-
#
|
6881
|
-
#
|
6882
|
-
#
|
7420
|
+
# template to define inspect base settings. The `DLP Inspect Templates Reader`
|
7421
|
+
# role is needed on the Dialogflow service identity service account (has the
|
7422
|
+
# form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for
|
7423
|
+
# your agent's project. If empty, we use the default DLP inspect config. The
|
7424
|
+
# template name will have one of the following formats: `projects//locations//
|
7425
|
+
# inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `
|
7426
|
+
# inspect_template` must be located in the same region as the `SecuritySettings`.
|
6883
7427
|
# Corresponds to the JSON property `inspectTemplate`
|
6884
7428
|
# @return [String]
|
6885
7429
|
attr_accessor :inspect_template
|
6886
7430
|
|
6887
|
-
#
|
7431
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
7432
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
7433
|
+
# populates the name automatically. Format: `projects//locations//
|
6888
7434
|
# securitySettings/`.
|
6889
7435
|
# Corresponds to the JSON property `name`
|
6890
7436
|
# @return [String]
|
@@ -6908,10 +7454,11 @@ module Google
|
|
6908
7454
|
|
6909
7455
|
# Retains data in interaction logging for the specified number of days. This
|
6910
7456
|
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
6911
|
-
# User must
|
6912
|
-
# higher than that has no effect. A missing value or setting to 0 also
|
6913
|
-
# use Dialogflow's default TTL. Note: Interaction logging is a limited
|
6914
|
-
# feature. Talk to your Google representative to check availability for
|
7457
|
+
# User must set a value lower than Dialogflow's default 365d TTL. Setting a
|
7458
|
+
# value higher than that has no effect. A missing value or setting to 0 also
|
7459
|
+
# means we use Dialogflow's default TTL. Note: Interaction logging is a limited
|
7460
|
+
# access feature. Talk to your Google representative to check availability for
|
7461
|
+
# you.
|
6915
7462
|
# Corresponds to the JSON property `retentionWindowDays`
|
6916
7463
|
# @return [Fixnum]
|
6917
7464
|
attr_accessor :retention_window_days
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.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
|