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
@@ -82,12 +82,42 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class GoogleCloudDialogflowCxV3DtmfInput
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class GoogleCloudDialogflowCxV3Environment
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
91
121
|
class GoogleCloudDialogflowCxV3EventHandler
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
123
|
|
@@ -520,6 +550,24 @@ module Google
|
|
520
550
|
include Google::Apis::Core::JsonObjectSupport
|
521
551
|
end
|
522
552
|
|
553
|
+
class GoogleCloudDialogflowCxV3beta1Changelog
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
565
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
523
571
|
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
524
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
573
|
|
@@ -562,6 +610,36 @@ module Google
|
|
562
610
|
include Google::Apis::Core::JsonObjectSupport
|
563
611
|
end
|
564
612
|
|
613
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
631
|
+
class GoogleCloudDialogflowCxV3beta1Deployment
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
637
|
+
class GoogleCloudDialogflowCxV3beta1DeploymentResult
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
565
643
|
class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
|
566
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
645
|
|
@@ -604,6 +682,12 @@ module Google
|
|
604
682
|
include Google::Apis::Core::JsonObjectSupport
|
605
683
|
end
|
606
684
|
|
685
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
607
691
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
608
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
693
|
|
@@ -874,12 +958,24 @@ module Google
|
|
874
958
|
include Google::Apis::Core::JsonObjectSupport
|
875
959
|
end
|
876
960
|
|
961
|
+
class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
877
967
|
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
878
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
969
|
|
880
970
|
include Google::Apis::Core::JsonObjectSupport
|
881
971
|
end
|
882
972
|
|
973
|
+
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
883
979
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
884
980
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
981
|
|
@@ -2423,6 +2519,23 @@ module Google
|
|
2423
2519
|
end
|
2424
2520
|
end
|
2425
2521
|
|
2522
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
2523
|
+
# @private
|
2524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2525
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError::Representation
|
2526
|
+
|
2527
|
+
end
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
2531
|
+
# @private
|
2532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2533
|
+
property :deployment, as: 'deployment'
|
2534
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Environment::Representation
|
2535
|
+
|
2536
|
+
end
|
2537
|
+
end
|
2538
|
+
|
2426
2539
|
class GoogleCloudDialogflowCxV3DtmfInput
|
2427
2540
|
# @private
|
2428
2541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2431,6 +2544,36 @@ module Google
|
|
2431
2544
|
end
|
2432
2545
|
end
|
2433
2546
|
|
2547
|
+
class GoogleCloudDialogflowCxV3Environment
|
2548
|
+
# @private
|
2549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2550
|
+
property :description, as: 'description'
|
2551
|
+
property :display_name, as: 'displayName'
|
2552
|
+
property :name, as: 'name'
|
2553
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
|
2554
|
+
|
2555
|
+
property :update_time, as: 'updateTime'
|
2556
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
|
2557
|
+
|
2558
|
+
end
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
2562
|
+
# @private
|
2563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2564
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
2565
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
2566
|
+
collection :test_cases, as: 'testCases'
|
2567
|
+
end
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
2571
|
+
# @private
|
2572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2573
|
+
property :version, as: 'version'
|
2574
|
+
end
|
2575
|
+
end
|
2576
|
+
|
2434
2577
|
class GoogleCloudDialogflowCxV3EventHandler
|
2435
2578
|
# @private
|
2436
2579
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3137,6 +3280,36 @@ module Google
|
|
3137
3280
|
end
|
3138
3281
|
end
|
3139
3282
|
|
3283
|
+
class GoogleCloudDialogflowCxV3beta1Changelog
|
3284
|
+
# @private
|
3285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3286
|
+
property :action, as: 'action'
|
3287
|
+
property :create_time, as: 'createTime'
|
3288
|
+
property :display_name, as: 'displayName'
|
3289
|
+
property :name, as: 'name'
|
3290
|
+
property :resource, as: 'resource'
|
3291
|
+
property :type, as: 'type'
|
3292
|
+
property :user_email, as: 'userEmail'
|
3293
|
+
end
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
|
3297
|
+
# @private
|
3298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3299
|
+
property :language_code, as: 'languageCode'
|
3300
|
+
property :target_version, as: 'targetVersion'
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
3304
|
+
class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
|
3305
|
+
# @private
|
3306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3307
|
+
property :base_version_content_json, as: 'baseVersionContentJson'
|
3308
|
+
property :compare_time, as: 'compareTime'
|
3309
|
+
property :target_version_content_json, as: 'targetVersionContentJson'
|
3310
|
+
end
|
3311
|
+
end
|
3312
|
+
|
3140
3313
|
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3141
3314
|
# @private
|
3142
3315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3209,6 +3382,51 @@ module Google
|
|
3209
3382
|
end
|
3210
3383
|
end
|
3211
3384
|
|
3385
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
3386
|
+
# @private
|
3387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3388
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
3389
|
+
|
3390
|
+
end
|
3391
|
+
end
|
3392
|
+
|
3393
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
|
3394
|
+
# @private
|
3395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3396
|
+
property :flow_version, as: 'flowVersion'
|
3397
|
+
end
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
3401
|
+
# @private
|
3402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3403
|
+
property :deployment, as: 'deployment'
|
3404
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
3405
|
+
|
3406
|
+
end
|
3407
|
+
end
|
3408
|
+
|
3409
|
+
class GoogleCloudDialogflowCxV3beta1Deployment
|
3410
|
+
# @private
|
3411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3412
|
+
property :end_time, as: 'endTime'
|
3413
|
+
property :flow_version, as: 'flowVersion'
|
3414
|
+
property :name, as: 'name'
|
3415
|
+
property :result, as: 'result', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult::Representation
|
3416
|
+
|
3417
|
+
property :start_time, as: 'startTime'
|
3418
|
+
property :state, as: 'state'
|
3419
|
+
end
|
3420
|
+
end
|
3421
|
+
|
3422
|
+
class GoogleCloudDialogflowCxV3beta1DeploymentResult
|
3423
|
+
# @private
|
3424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3425
|
+
collection :deployment_test_results, as: 'deploymentTestResults'
|
3426
|
+
property :experiment, as: 'experiment'
|
3427
|
+
end
|
3428
|
+
end
|
3429
|
+
|
3212
3430
|
class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
|
3213
3431
|
# @private
|
3214
3432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3280,12 +3498,23 @@ module Google
|
|
3280
3498
|
property :description, as: 'description'
|
3281
3499
|
property :display_name, as: 'displayName'
|
3282
3500
|
property :name, as: 'name'
|
3501
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
|
3502
|
+
|
3283
3503
|
property :update_time, as: 'updateTime'
|
3284
3504
|
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
|
3285
3505
|
|
3286
3506
|
end
|
3287
3507
|
end
|
3288
3508
|
|
3509
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
3510
|
+
# @private
|
3511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3512
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
3513
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
3514
|
+
collection :test_cases, as: 'testCases'
|
3515
|
+
end
|
3516
|
+
end
|
3517
|
+
|
3289
3518
|
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
3290
3519
|
# @private
|
3291
3520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3727,6 +3956,15 @@ module Google
|
|
3727
3956
|
end
|
3728
3957
|
end
|
3729
3958
|
|
3959
|
+
class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
|
3960
|
+
# @private
|
3961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3962
|
+
collection :changelogs, as: 'changelogs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog::Representation
|
3963
|
+
|
3964
|
+
property :next_page_token, as: 'nextPageToken'
|
3965
|
+
end
|
3966
|
+
end
|
3967
|
+
|
3730
3968
|
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
3731
3969
|
# @private
|
3732
3970
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3736,6 +3974,15 @@ module Google
|
|
3736
3974
|
end
|
3737
3975
|
end
|
3738
3976
|
|
3977
|
+
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
3978
|
+
# @private
|
3979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3980
|
+
collection :deployments, as: 'deployments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment::Representation
|
3981
|
+
|
3982
|
+
property :next_page_token, as: 'nextPageToken'
|
3983
|
+
end
|
3984
|
+
end
|
3985
|
+
|
3739
3986
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
3740
3987
|
# @private
|
3741
3988
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4011,6 +4258,8 @@ module Google
|
|
4011
4258
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
4012
4259
|
|
4013
4260
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4261
|
+
property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation
|
4262
|
+
|
4014
4263
|
property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
4015
4264
|
|
4016
4265
|
property :intent_detection_confidence, as: 'intentDetectionConfidence'
|
@@ -450,6 +450,87 @@ module Google
|
|
450
450
|
execute_or_queue_command(command, &block)
|
451
451
|
end
|
452
452
|
|
453
|
+
# Retrieves the specified Changelog.
|
454
|
+
# @param [String] name
|
455
|
+
# Required. The name of the changelog to get. Format: `projects//locations//
|
456
|
+
# agents//changelogs/`.
|
457
|
+
# @param [String] fields
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
459
|
+
# @param [String] quota_user
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
462
|
+
# @param [Google::Apis::RequestOptions] options
|
463
|
+
# Request-specific options
|
464
|
+
#
|
465
|
+
# @yield [result, err] Result & error if block supplied
|
466
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog] parsed result object
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
468
|
+
#
|
469
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog]
|
470
|
+
#
|
471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
+
def get_project_location_agent_changelog(name, fields: nil, quota_user: nil, options: nil, &block)
|
475
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
476
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog::Representation
|
477
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog
|
478
|
+
command.params['name'] = name unless name.nil?
|
479
|
+
command.query['fields'] = fields unless fields.nil?
|
480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
481
|
+
execute_or_queue_command(command, &block)
|
482
|
+
end
|
483
|
+
|
484
|
+
# Returns the list of Changelogs.
|
485
|
+
# @param [String] parent
|
486
|
+
# Required. The agent containing the changelogs. Format: `projects//locations//
|
487
|
+
# agents/`.
|
488
|
+
# @param [String] filter
|
489
|
+
# The filter string. Supports filter by user_email, resource, type and
|
490
|
+
# create_time. Some examples: 1. By user email: user_email = "someone@google.com"
|
491
|
+
# 2. By resource name: resource = "projects/123/locations/global/agents/456/
|
492
|
+
# flows/789" 3. By resource display name: display_name = "my agent" 4. By action:
|
493
|
+
# action = "Create" 5. By type: type = "flows" 6. By create time. Currently
|
494
|
+
# predicates on `create_time` and `create_time_epoch_seconds` are supported:
|
495
|
+
# create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.
|
496
|
+
# 01Z 7. Combination of above filters: resource = "projects/123/locations/global/
|
497
|
+
# agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <=
|
498
|
+
# 2017-01-15T01:30:15.01Z
|
499
|
+
# @param [Fixnum] page_size
|
500
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
501
|
+
# most 1000.
|
502
|
+
# @param [String] page_token
|
503
|
+
# The next_page_token value returned from a previous list request.
|
504
|
+
# @param [String] fields
|
505
|
+
# Selector specifying which fields to include in a partial response.
|
506
|
+
# @param [String] quota_user
|
507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
509
|
+
# @param [Google::Apis::RequestOptions] options
|
510
|
+
# Request-specific options
|
511
|
+
#
|
512
|
+
# @yield [result, err] Result & error if block supplied
|
513
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse] parsed result object
|
514
|
+
# @yieldparam err [StandardError] error object if request failed
|
515
|
+
#
|
516
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse]
|
517
|
+
#
|
518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
|
+
def list_project_location_agent_changelogs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
522
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/changelogs', options)
|
523
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse::Representation
|
524
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
|
525
|
+
command.params['parent'] = parent unless parent.nil?
|
526
|
+
command.query['filter'] = filter unless filter.nil?
|
527
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
528
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
529
|
+
command.query['fields'] = fields unless fields.nil?
|
530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
531
|
+
execute_or_queue_command(command, &block)
|
532
|
+
end
|
533
|
+
|
453
534
|
# Creates an entity type in the specified agent.
|
454
535
|
# @param [String] parent
|
455
536
|
# Required. The agent to create a entity type for. Format: `projects//locations//
|
@@ -733,6 +814,43 @@ module Google
|
|
733
814
|
execute_or_queue_command(command, &block)
|
734
815
|
end
|
735
816
|
|
817
|
+
# Deploys a flow to the specified Environment. This method is a [long-running
|
818
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
819
|
+
# operation). The returned `Operation` type has the following method-specific
|
820
|
+
# fields: - `metadata`: DeployFlowMetadata - `response`: DeployFlowResponse
|
821
|
+
# @param [String] environment
|
822
|
+
# Required. The environment to deploy the flow to. Format: `projects//locations//
|
823
|
+
# agents// environments/`.
|
824
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest] google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
|
825
|
+
# @param [String] fields
|
826
|
+
# Selector specifying which fields to include in a partial response.
|
827
|
+
# @param [String] quota_user
|
828
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
829
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
830
|
+
# @param [Google::Apis::RequestOptions] options
|
831
|
+
# Request-specific options
|
832
|
+
#
|
833
|
+
# @yield [result, err] Result & error if block supplied
|
834
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
835
|
+
# @yieldparam err [StandardError] error object if request failed
|
836
|
+
#
|
837
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
838
|
+
#
|
839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
842
|
+
def deploy_project_location_agent_environment_flow(environment, google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
843
|
+
command = make_simple_command(:post, 'v3beta1/{+environment}:deployFlow', options)
|
844
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest::Representation
|
845
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
|
846
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
847
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
848
|
+
command.params['environment'] = environment unless environment.nil?
|
849
|
+
command.query['fields'] = fields unless fields.nil?
|
850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
851
|
+
execute_or_queue_command(command, &block)
|
852
|
+
end
|
853
|
+
|
736
854
|
# Retrieves the specified Environment.
|
737
855
|
# @param [String] name
|
738
856
|
# Required. The name of the Environment. Format: `projects//locations//agents//
|
@@ -956,6 +1074,75 @@ module Google
|
|
956
1074
|
execute_or_queue_command(command, &block)
|
957
1075
|
end
|
958
1076
|
|
1077
|
+
# Retrieves the specified Deployment.
|
1078
|
+
# @param [String] name
|
1079
|
+
# Required. The name of the Deployment. Format: `projects//locations//agents//
|
1080
|
+
# environments//deployments/`.
|
1081
|
+
# @param [String] fields
|
1082
|
+
# Selector specifying which fields to include in a partial response.
|
1083
|
+
# @param [String] quota_user
|
1084
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1085
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1086
|
+
# @param [Google::Apis::RequestOptions] options
|
1087
|
+
# Request-specific options
|
1088
|
+
#
|
1089
|
+
# @yield [result, err] Result & error if block supplied
|
1090
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment] parsed result object
|
1091
|
+
# @yieldparam err [StandardError] error object if request failed
|
1092
|
+
#
|
1093
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment]
|
1094
|
+
#
|
1095
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1096
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1097
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1098
|
+
def get_project_location_agent_environment_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
1099
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1100
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment::Representation
|
1101
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment
|
1102
|
+
command.params['name'] = name unless name.nil?
|
1103
|
+
command.query['fields'] = fields unless fields.nil?
|
1104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1105
|
+
execute_or_queue_command(command, &block)
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# Returns the list of all deployments in the specified Environment.
|
1109
|
+
# @param [String] parent
|
1110
|
+
# Required. The Environment to list all environments for. Format: `projects//
|
1111
|
+
# locations//agents//environments/`.
|
1112
|
+
# @param [Fixnum] page_size
|
1113
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
1114
|
+
# most 100.
|
1115
|
+
# @param [String] page_token
|
1116
|
+
# The next_page_token value returned from a previous list request.
|
1117
|
+
# @param [String] fields
|
1118
|
+
# Selector specifying which fields to include in a partial response.
|
1119
|
+
# @param [String] quota_user
|
1120
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1121
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1122
|
+
# @param [Google::Apis::RequestOptions] options
|
1123
|
+
# Request-specific options
|
1124
|
+
#
|
1125
|
+
# @yield [result, err] Result & error if block supplied
|
1126
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse] parsed result object
|
1127
|
+
# @yieldparam err [StandardError] error object if request failed
|
1128
|
+
#
|
1129
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse]
|
1130
|
+
#
|
1131
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1132
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1133
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1134
|
+
def list_project_location_agent_environment_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1135
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/deployments', options)
|
1136
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse::Representation
|
1137
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
1138
|
+
command.params['parent'] = parent unless parent.nil?
|
1139
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1140
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1141
|
+
command.query['fields'] = fields unless fields.nil?
|
1142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1143
|
+
execute_or_queue_command(command, &block)
|
1144
|
+
end
|
1145
|
+
|
959
1146
|
# Creates an Experiment in the specified Environment.
|
960
1147
|
# @param [String] parent
|
961
1148
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
@@ -2380,6 +2567,41 @@ module Google
|
|
2380
2567
|
execute_or_queue_command(command, &block)
|
2381
2568
|
end
|
2382
2569
|
|
2570
|
+
# Compares the specified base version with target version.
|
2571
|
+
# @param [String] base_version
|
2572
|
+
# Required. Name of the base flow version to compare with the target version.
|
2573
|
+
# Use version ID `0` to indicate the draft version of the specified flow. Format:
|
2574
|
+
# `projects//locations//agents/ /flows//versions/`.
|
2575
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest] google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object
|
2576
|
+
# @param [String] fields
|
2577
|
+
# Selector specifying which fields to include in a partial response.
|
2578
|
+
# @param [String] quota_user
|
2579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2581
|
+
# @param [Google::Apis::RequestOptions] options
|
2582
|
+
# Request-specific options
|
2583
|
+
#
|
2584
|
+
# @yield [result, err] Result & error if block supplied
|
2585
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse] parsed result object
|
2586
|
+
# @yieldparam err [StandardError] error object if request failed
|
2587
|
+
#
|
2588
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse]
|
2589
|
+
#
|
2590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2593
|
+
def compare_project_location_agent_flow_version_versions(base_version, google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2594
|
+
command = make_simple_command(:post, 'v3beta1/{+baseVersion}:compareVersions', options)
|
2595
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest::Representation
|
2596
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object
|
2597
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse::Representation
|
2598
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
|
2599
|
+
command.params['baseVersion'] = base_version unless base_version.nil?
|
2600
|
+
command.query['fields'] = fields unless fields.nil?
|
2601
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2602
|
+
execute_or_queue_command(command, &block)
|
2603
|
+
end
|
2604
|
+
|
2383
2605
|
# Creates a Version in the specified Flow. This method is a [long-running
|
2384
2606
|
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
2385
2607
|
# operation). The returned `Operation` type has the following method-specific
|
@@ -3996,7 +4218,9 @@ module Google
|
|
3996
4218
|
|
3997
4219
|
# Updates the specified SecuritySettings.
|
3998
4220
|
# @param [String] name
|
3999
|
-
#
|
4221
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
4222
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
4223
|
+
# populates the name automatically. Format: `projects//locations//
|
4000
4224
|
# securitySettings/`.
|
4001
4225
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
4002
4226
|
# @param [String] update_mask
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.25.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|