google-apis-dialogflow_v3beta1 0.20.0 → 0.24.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 +646 -12
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +282 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +383 -24
- data/lib/google/apis/dialogflow_v3beta1.rb +1 -1
- metadata +5 -5
@@ -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
|
|
@@ -2905,6 +3074,123 @@ module Google
|
|
2905
3074
|
end
|
2906
3075
|
end
|
2907
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
|
+
|
2908
3194
|
# Represents a result from running a test case in an agent environment.
|
2909
3195
|
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2910
3196
|
include Google::Apis::Core::Hashable
|
@@ -3034,7 +3320,8 @@ module Google
|
|
3034
3320
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
3035
3321
|
attr_accessor :current_page
|
3036
3322
|
|
3037
|
-
# Required. Input only. The diagnostic info output for the turn.
|
3323
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
3324
|
+
# calculate the testing coverage.
|
3038
3325
|
# Corresponds to the JSON property `diagnosticInfo`
|
3039
3326
|
# @return [Hash<String,Object>]
|
3040
3327
|
attr_accessor :diagnostic_info
|
@@ -3147,6 +3434,158 @@ module Google
|
|
3147
3434
|
end
|
3148
3435
|
end
|
3149
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
|
+
|
3150
3589
|
# The request to detect user's intent.
|
3151
3590
|
class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
|
3152
3591
|
include Google::Apis::Core::Hashable
|
@@ -3433,6 +3872,11 @@ module Google
|
|
3433
3872
|
# @return [String]
|
3434
3873
|
attr_accessor :name
|
3435
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
|
+
|
3436
3880
|
# Output only. Update time of this environment.
|
3437
3881
|
# Corresponds to the JSON property `updateTime`
|
3438
3882
|
# @return [String]
|
@@ -3454,11 +3898,48 @@ module Google
|
|
3454
3898
|
@description = args[:description] if args.key?(:description)
|
3455
3899
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3456
3900
|
@name = args[:name] if args.key?(:name)
|
3901
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3457
3902
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3458
3903
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3459
3904
|
end
|
3460
3905
|
end
|
3461
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 ture, 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
|
+
|
3462
3943
|
# Configuration for the version.
|
3463
3944
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3464
3945
|
include Google::Apis::Core::Hashable
|
@@ -3948,6 +4429,7 @@ module Google
|
|
3948
4429
|
end
|
3949
4430
|
|
3950
4431
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
4432
|
+
# This message currently has no fields.
|
3951
4433
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3952
4434
|
include Google::Apis::Core::Hashable
|
3953
4435
|
|
@@ -5082,6 +5564,34 @@ module Google
|
|
5082
5564
|
end
|
5083
5565
|
end
|
5084
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
|
+
|
5085
5595
|
# The response message for Environments.ListTestCaseResults.
|
5086
5596
|
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
5087
5597
|
include Google::Apis::Core::Hashable
|
@@ -5108,6 +5618,34 @@ module Google
|
|
5108
5618
|
end
|
5109
5619
|
end
|
5110
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
|
+
|
5111
5649
|
# The response message for EntityTypes.ListEntityTypes.
|
5112
5650
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
5113
5651
|
include Google::Apis::Core::Hashable
|
@@ -6133,6 +6671,11 @@ module Google
|
|
6133
6671
|
# @return [Hash<String,Object>]
|
6134
6672
|
attr_accessor :diagnostic_info
|
6135
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
|
+
|
6136
6679
|
# An intent represents a user's intent to interact with a conversational agent.
|
6137
6680
|
# You can provide information for the Dialogflow API to use to match user input
|
6138
6681
|
# to an intent by adding training phrases (i.e., examples of user input) to your
|
@@ -6233,6 +6776,7 @@ module Google
|
|
6233
6776
|
def update!(**args)
|
6234
6777
|
@current_page = args[:current_page] if args.key?(:current_page)
|
6235
6778
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
6779
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
6236
6780
|
@intent = args[:intent] if args.key?(:intent)
|
6237
6781
|
@intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
|
6238
6782
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -6787,7 +7331,8 @@ module Google
|
|
6787
7331
|
end
|
6788
7332
|
end
|
6789
7333
|
|
6790
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7334
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
7335
|
+
# message currently has no fields.
|
6791
7336
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6792
7337
|
include Google::Apis::Core::Hashable
|
6793
7338
|
|
@@ -6845,6 +7390,17 @@ module Google
|
|
6845
7390
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
6846
7391
|
include Google::Apis::Core::Hashable
|
6847
7392
|
|
7393
|
+
# [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
|
7394
|
+
# template to define de-identification configuration for the content. If empty,
|
7395
|
+
# Dialogflow replaces sensitive info with `[redacted]` text. The template name
|
7396
|
+
# will have one of the following formats: `projects//locations//
|
7397
|
+
# deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
|
7398
|
+
# `deidentify_template` must be located in the same region as the `
|
7399
|
+
# SecuritySettings`.
|
7400
|
+
# Corresponds to the JSON property `deidentifyTemplate`
|
7401
|
+
# @return [String]
|
7402
|
+
attr_accessor :deidentify_template
|
7403
|
+
|
6848
7404
|
# Required. The human-readable name of the security settings, unique within the
|
6849
7405
|
# location.
|
6850
7406
|
# Corresponds to the JSON property `displayName`
|
@@ -6860,13 +7416,16 @@ module Google
|
|
6860
7416
|
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6861
7417
|
# template to define inspect base settings. If empty, we use the default DLP
|
6862
7418
|
# inspect config. The template name will have one of the following formats: `
|
6863
|
-
# projects//inspectTemplates/` OR `
|
6864
|
-
#
|
7419
|
+
# projects//locations//inspectTemplates/` OR `organizations//locations//
|
7420
|
+
# inspectTemplates/` Note: `inspect_template` must be located in the same region
|
7421
|
+
# as the `SecuritySettings`.
|
6865
7422
|
# Corresponds to the JSON property `inspectTemplate`
|
6866
7423
|
# @return [String]
|
6867
7424
|
attr_accessor :inspect_template
|
6868
7425
|
|
6869
|
-
#
|
7426
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
7427
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
7428
|
+
# populates the name automatically. Format: `projects//locations//
|
6870
7429
|
# securitySettings/`.
|
6871
7430
|
# Corresponds to the JSON property `name`
|
6872
7431
|
# @return [String]
|
@@ -6904,6 +7463,7 @@ module Google
|
|
6904
7463
|
|
6905
7464
|
# Update properties of this object
|
6906
7465
|
def update!(**args)
|
7466
|
+
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
|
6907
7467
|
@display_name = args[:display_name] if args.key?(:display_name)
|
6908
7468
|
@insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
|
6909
7469
|
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
|
@@ -8945,8 +9505,9 @@ module Google
|
|
8945
9505
|
# @return [Array<String>]
|
8946
9506
|
attr_accessor :events
|
8947
9507
|
|
8948
|
-
# Read-only. Information about all followup intents that have this
|
8949
|
-
# direct or indirect parent. We populate this field only in the
|
9508
|
+
# Output only. Read-only. Information about all followup intents that have this
|
9509
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
9510
|
+
# output.
|
8950
9511
|
# Corresponds to the JSON property `followupIntentInfo`
|
8951
9512
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
8952
9513
|
attr_accessor :followup_intent_info
|
@@ -9031,9 +9592,10 @@ module Google
|
|
9031
9592
|
attr_accessor :reset_contexts
|
9032
9593
|
alias_method :reset_contexts?, :reset_contexts
|
9033
9594
|
|
9034
|
-
# Read-only. The unique identifier of the root intent in the chain
|
9035
|
-
# intents. It identifies the correct followup intents chain for this
|
9036
|
-
# populate this field only in the output. Format: `projects//agent/
|
9595
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
9596
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
9597
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
9598
|
+
# intents/`.
|
9037
9599
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
9038
9600
|
# @return [String]
|
9039
9601
|
attr_accessor :root_followup_intent_name
|
@@ -13985,6 +14547,78 @@ module Google
|
|
13985
14547
|
end
|
13986
14548
|
end
|
13987
14549
|
|
14550
|
+
# The response message for Locations.ListLocations.
|
14551
|
+
class GoogleCloudLocationListLocationsResponse
|
14552
|
+
include Google::Apis::Core::Hashable
|
14553
|
+
|
14554
|
+
# A list of locations that matches the specified filter in the request.
|
14555
|
+
# Corresponds to the JSON property `locations`
|
14556
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation>]
|
14557
|
+
attr_accessor :locations
|
14558
|
+
|
14559
|
+
# The standard List next-page token.
|
14560
|
+
# Corresponds to the JSON property `nextPageToken`
|
14561
|
+
# @return [String]
|
14562
|
+
attr_accessor :next_page_token
|
14563
|
+
|
14564
|
+
def initialize(**args)
|
14565
|
+
update!(**args)
|
14566
|
+
end
|
14567
|
+
|
14568
|
+
# Update properties of this object
|
14569
|
+
def update!(**args)
|
14570
|
+
@locations = args[:locations] if args.key?(:locations)
|
14571
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14572
|
+
end
|
14573
|
+
end
|
14574
|
+
|
14575
|
+
# A resource that represents Google Cloud Platform location.
|
14576
|
+
class GoogleCloudLocationLocation
|
14577
|
+
include Google::Apis::Core::Hashable
|
14578
|
+
|
14579
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
14580
|
+
# "Tokyo".
|
14581
|
+
# Corresponds to the JSON property `displayName`
|
14582
|
+
# @return [String]
|
14583
|
+
attr_accessor :display_name
|
14584
|
+
|
14585
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
14586
|
+
# region": "us-east1"`
|
14587
|
+
# Corresponds to the JSON property `labels`
|
14588
|
+
# @return [Hash<String,String>]
|
14589
|
+
attr_accessor :labels
|
14590
|
+
|
14591
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
14592
|
+
# Corresponds to the JSON property `locationId`
|
14593
|
+
# @return [String]
|
14594
|
+
attr_accessor :location_id
|
14595
|
+
|
14596
|
+
# Service-specific metadata. For example the available capacity at the given
|
14597
|
+
# location.
|
14598
|
+
# Corresponds to the JSON property `metadata`
|
14599
|
+
# @return [Hash<String,Object>]
|
14600
|
+
attr_accessor :metadata
|
14601
|
+
|
14602
|
+
# Resource name for the location, which may vary between implementations. For
|
14603
|
+
# example: `"projects/example-project/locations/us-east1"`
|
14604
|
+
# Corresponds to the JSON property `name`
|
14605
|
+
# @return [String]
|
14606
|
+
attr_accessor :name
|
14607
|
+
|
14608
|
+
def initialize(**args)
|
14609
|
+
update!(**args)
|
14610
|
+
end
|
14611
|
+
|
14612
|
+
# Update properties of this object
|
14613
|
+
def update!(**args)
|
14614
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14615
|
+
@labels = args[:labels] if args.key?(:labels)
|
14616
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
14617
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14618
|
+
@name = args[:name] if args.key?(:name)
|
14619
|
+
end
|
14620
|
+
end
|
14621
|
+
|
13988
14622
|
# The response message for Operations.ListOperations.
|
13989
14623
|
class GoogleLongrunningListOperationsResponse
|
13990
14624
|
include Google::Apis::Core::Hashable
|