google-apis-dialogflow_v3 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dialogflow_v3/classes.rb +542 -1
- data/lib/google/apis/dialogflow_v3/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3/representations.rb +249 -0
- data/lib/google/apis/dialogflow_v3/service.rb +225 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 469e12231666a8ce341706fe722c8020ac3f68412f88965910773f1a6d47469e
|
4
|
+
data.tar.gz: ef14b6b0d7ae23ce1c2d8bd09a3427f66c4e91328db13124895801b9e94e12a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88f4cef71651783b4cecfaff654b48fa4da93278b93d99917a14852a351c3e45918ad850af8f9f75e844f14d99ca84e8028b458fd61e667a90f1a31d7240055
|
7
|
+
data.tar.gz: 1c7ac3de95c49dad5e044ea021060b80a97f8f379940042b3c2311a1a76d97554e8097e067272556b5a0c9760a22d3f2d29bbbe31223ccfe60d5fe3e2c156f3d
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
|
67
67
|
|
@@ -367,6 +367,123 @@ module Google
|
|
367
367
|
end
|
368
368
|
end
|
369
369
|
|
370
|
+
# Changelogs represents a change made to a given agent.
|
371
|
+
class GoogleCloudDialogflowCxV3Changelog
|
372
|
+
include Google::Apis::Core::Hashable
|
373
|
+
|
374
|
+
# The action of the change.
|
375
|
+
# Corresponds to the JSON property `action`
|
376
|
+
# @return [String]
|
377
|
+
attr_accessor :action
|
378
|
+
|
379
|
+
# The timestamp of the change.
|
380
|
+
# Corresponds to the JSON property `createTime`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :create_time
|
383
|
+
|
384
|
+
# The affected resource display name of the change.
|
385
|
+
# Corresponds to the JSON property `displayName`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :display_name
|
388
|
+
|
389
|
+
# The unique identifier of the changelog. Format: `projects//locations//agents//
|
390
|
+
# changelogs/`.
|
391
|
+
# Corresponds to the JSON property `name`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :name
|
394
|
+
|
395
|
+
# The affected resource name of the change.
|
396
|
+
# Corresponds to the JSON property `resource`
|
397
|
+
# @return [String]
|
398
|
+
attr_accessor :resource
|
399
|
+
|
400
|
+
# The affected resource type.
|
401
|
+
# Corresponds to the JSON property `type`
|
402
|
+
# @return [String]
|
403
|
+
attr_accessor :type
|
404
|
+
|
405
|
+
# Email address of the authenticated user.
|
406
|
+
# Corresponds to the JSON property `userEmail`
|
407
|
+
# @return [String]
|
408
|
+
attr_accessor :user_email
|
409
|
+
|
410
|
+
def initialize(**args)
|
411
|
+
update!(**args)
|
412
|
+
end
|
413
|
+
|
414
|
+
# Update properties of this object
|
415
|
+
def update!(**args)
|
416
|
+
@action = args[:action] if args.key?(:action)
|
417
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
418
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
419
|
+
@name = args[:name] if args.key?(:name)
|
420
|
+
@resource = args[:resource] if args.key?(:resource)
|
421
|
+
@type = args[:type] if args.key?(:type)
|
422
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# The request message for Versions.CompareVersions.
|
427
|
+
class GoogleCloudDialogflowCxV3CompareVersionsRequest
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# The language to compare the flow versions for. If not specified, the agent's
|
431
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
432
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
433
|
+
# agent before they can be used.
|
434
|
+
# Corresponds to the JSON property `languageCode`
|
435
|
+
# @return [String]
|
436
|
+
attr_accessor :language_code
|
437
|
+
|
438
|
+
# Required. Name of the target flow version to compare with the base version.
|
439
|
+
# Use version ID `0` to indicate the draft version of the specified flow. Format:
|
440
|
+
# `projects//locations//agents//flows//versions/`.
|
441
|
+
# Corresponds to the JSON property `targetVersion`
|
442
|
+
# @return [String]
|
443
|
+
attr_accessor :target_version
|
444
|
+
|
445
|
+
def initialize(**args)
|
446
|
+
update!(**args)
|
447
|
+
end
|
448
|
+
|
449
|
+
# Update properties of this object
|
450
|
+
def update!(**args)
|
451
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
452
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
# The response message for Versions.CompareVersions.
|
457
|
+
class GoogleCloudDialogflowCxV3CompareVersionsResponse
|
458
|
+
include Google::Apis::Core::Hashable
|
459
|
+
|
460
|
+
# JSON representation of the base version content.
|
461
|
+
# Corresponds to the JSON property `baseVersionContentJson`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :base_version_content_json
|
464
|
+
|
465
|
+
# The timestamp when the two version compares.
|
466
|
+
# Corresponds to the JSON property `compareTime`
|
467
|
+
# @return [String]
|
468
|
+
attr_accessor :compare_time
|
469
|
+
|
470
|
+
# JSON representation of the target version content.
|
471
|
+
# Corresponds to the JSON property `targetVersionContentJson`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :target_version_content_json
|
474
|
+
|
475
|
+
def initialize(**args)
|
476
|
+
update!(**args)
|
477
|
+
end
|
478
|
+
|
479
|
+
# Update properties of this object
|
480
|
+
def update!(**args)
|
481
|
+
@base_version_content_json = args[:base_version_content_json] if args.key?(:base_version_content_json)
|
482
|
+
@compare_time = args[:compare_time] if args.key?(:compare_time)
|
483
|
+
@target_version_content_json = args[:target_version_content_json] if args.key?(:target_version_content_json)
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
370
487
|
# Represents a result from running a test case in an agent environment.
|
371
488
|
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
372
489
|
include Google::Apis::Core::Hashable
|
@@ -610,6 +727,158 @@ module Google
|
|
610
727
|
end
|
611
728
|
end
|
612
729
|
|
730
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
731
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
732
|
+
include Google::Apis::Core::Hashable
|
733
|
+
|
734
|
+
# Errors of running deployment tests.
|
735
|
+
# Corresponds to the JSON property `testErrors`
|
736
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError>]
|
737
|
+
attr_accessor :test_errors
|
738
|
+
|
739
|
+
def initialize(**args)
|
740
|
+
update!(**args)
|
741
|
+
end
|
742
|
+
|
743
|
+
# Update properties of this object
|
744
|
+
def update!(**args)
|
745
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
# The request message for Environments.DeployFlow.
|
750
|
+
class GoogleCloudDialogflowCxV3DeployFlowRequest
|
751
|
+
include Google::Apis::Core::Hashable
|
752
|
+
|
753
|
+
# Required. The flow version to deploy. Format: `projects//locations//agents//
|
754
|
+
# flows//versions/`.
|
755
|
+
# Corresponds to the JSON property `flowVersion`
|
756
|
+
# @return [String]
|
757
|
+
attr_accessor :flow_version
|
758
|
+
|
759
|
+
def initialize(**args)
|
760
|
+
update!(**args)
|
761
|
+
end
|
762
|
+
|
763
|
+
# Update properties of this object
|
764
|
+
def update!(**args)
|
765
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# The response message for Environments.DeployFlow.
|
770
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
771
|
+
include Google::Apis::Core::Hashable
|
772
|
+
|
773
|
+
# The name of the flow version Deployment. Format: `projects//locations//agents//
|
774
|
+
# environments//deployments/`.
|
775
|
+
# Corresponds to the JSON property `deployment`
|
776
|
+
# @return [String]
|
777
|
+
attr_accessor :deployment
|
778
|
+
|
779
|
+
# Represents an environment for an agent. You can create multiple versions of
|
780
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
781
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
782
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
783
|
+
# the draft agent, it is published to the default environment. When you create
|
784
|
+
# agent versions, you can publish them to custom environments. You can create a
|
785
|
+
# variety of custom environments for testing, development, production, etc.
|
786
|
+
# Corresponds to the JSON property `environment`
|
787
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Environment]
|
788
|
+
attr_accessor :environment
|
789
|
+
|
790
|
+
def initialize(**args)
|
791
|
+
update!(**args)
|
792
|
+
end
|
793
|
+
|
794
|
+
# Update properties of this object
|
795
|
+
def update!(**args)
|
796
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
797
|
+
@environment = args[:environment] if args.key?(:environment)
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
# Represents an deployment in an environment. A deployment happens when a flow
|
802
|
+
# version configured to be active in the environment. You can configure running
|
803
|
+
# pre-deployment steps, e.g. running validation test cases, experiment auto-
|
804
|
+
# rollout, etc.
|
805
|
+
class GoogleCloudDialogflowCxV3Deployment
|
806
|
+
include Google::Apis::Core::Hashable
|
807
|
+
|
808
|
+
# End time of this deployment.
|
809
|
+
# Corresponds to the JSON property `endTime`
|
810
|
+
# @return [String]
|
811
|
+
attr_accessor :end_time
|
812
|
+
|
813
|
+
# The name of the flow version for this deployment. Format: projects//locations//
|
814
|
+
# agents//flows//versions/.
|
815
|
+
# Corresponds to the JSON property `flowVersion`
|
816
|
+
# @return [String]
|
817
|
+
attr_accessor :flow_version
|
818
|
+
|
819
|
+
# The name of the deployment. Format: projects//locations//agents//environments//
|
820
|
+
# deployments/.
|
821
|
+
# Corresponds to the JSON property `name`
|
822
|
+
# @return [String]
|
823
|
+
attr_accessor :name
|
824
|
+
|
825
|
+
# Result of the deployment.
|
826
|
+
# Corresponds to the JSON property `result`
|
827
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult]
|
828
|
+
attr_accessor :result
|
829
|
+
|
830
|
+
# Start time of this deployment.
|
831
|
+
# Corresponds to the JSON property `startTime`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :start_time
|
834
|
+
|
835
|
+
# The current state of the deployment.
|
836
|
+
# Corresponds to the JSON property `state`
|
837
|
+
# @return [String]
|
838
|
+
attr_accessor :state
|
839
|
+
|
840
|
+
def initialize(**args)
|
841
|
+
update!(**args)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Update properties of this object
|
845
|
+
def update!(**args)
|
846
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
847
|
+
@flow_version = args[:flow_version] if args.key?(:flow_version)
|
848
|
+
@name = args[:name] if args.key?(:name)
|
849
|
+
@result = args[:result] if args.key?(:result)
|
850
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
851
|
+
@state = args[:state] if args.key?(:state)
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# Result of the deployment.
|
856
|
+
class GoogleCloudDialogflowCxV3DeploymentResult
|
857
|
+
include Google::Apis::Core::Hashable
|
858
|
+
|
859
|
+
# Results of test cases running before the deployment. Format: `projects//
|
860
|
+
# locations//agents//testCases//results/`.
|
861
|
+
# Corresponds to the JSON property `deploymentTestResults`
|
862
|
+
# @return [Array<String>]
|
863
|
+
attr_accessor :deployment_test_results
|
864
|
+
|
865
|
+
# The name of the experiment triggered by this deployment. Format: projects//
|
866
|
+
# locations//agents//environments//experiments/.
|
867
|
+
# Corresponds to the JSON property `experiment`
|
868
|
+
# @return [String]
|
869
|
+
attr_accessor :experiment
|
870
|
+
|
871
|
+
def initialize(**args)
|
872
|
+
update!(**args)
|
873
|
+
end
|
874
|
+
|
875
|
+
# Update properties of this object
|
876
|
+
def update!(**args)
|
877
|
+
@deployment_test_results = args[:deployment_test_results] if args.key?(:deployment_test_results)
|
878
|
+
@experiment = args[:experiment] if args.key?(:experiment)
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
613
882
|
# The request to detect user's intent.
|
614
883
|
class GoogleCloudDialogflowCxV3DetectIntentRequest
|
615
884
|
include Google::Apis::Core::Hashable
|
@@ -896,6 +1165,11 @@ module Google
|
|
896
1165
|
# @return [String]
|
897
1166
|
attr_accessor :name
|
898
1167
|
|
1168
|
+
# The configuration for continuous tests.
|
1169
|
+
# Corresponds to the JSON property `testCasesConfig`
|
1170
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]
|
1171
|
+
attr_accessor :test_cases_config
|
1172
|
+
|
899
1173
|
# Output only. Update time of this environment.
|
900
1174
|
# Corresponds to the JSON property `updateTime`
|
901
1175
|
# @return [String]
|
@@ -917,11 +1191,48 @@ module Google
|
|
917
1191
|
@description = args[:description] if args.key?(:description)
|
918
1192
|
@display_name = args[:display_name] if args.key?(:display_name)
|
919
1193
|
@name = args[:name] if args.key?(:name)
|
1194
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
920
1195
|
@update_time = args[:update_time] if args.key?(:update_time)
|
921
1196
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
922
1197
|
end
|
923
1198
|
end
|
924
1199
|
|
1200
|
+
# The configuration for continuous tests.
|
1201
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
1202
|
+
include Google::Apis::Core::Hashable
|
1203
|
+
|
1204
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
1205
|
+
# false. If set to ture, run once a day.
|
1206
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
1207
|
+
# @return [Boolean]
|
1208
|
+
attr_accessor :enable_continuous_run
|
1209
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
1210
|
+
|
1211
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
1212
|
+
# flow version to the environment. Default false.
|
1213
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
1214
|
+
# @return [Boolean]
|
1215
|
+
attr_accessor :enable_predeployment_run
|
1216
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
1217
|
+
|
1218
|
+
# A list of test case names to run. They should be under the same agent. Format
|
1219
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
1220
|
+
# Corresponds to the JSON property `testCases`
|
1221
|
+
# @return [Array<String>]
|
1222
|
+
attr_accessor :test_cases
|
1223
|
+
|
1224
|
+
def initialize(**args)
|
1225
|
+
update!(**args)
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
# Update properties of this object
|
1229
|
+
def update!(**args)
|
1230
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
1231
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
1232
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
925
1236
|
# Configuration for the version.
|
926
1237
|
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
927
1238
|
include Google::Apis::Core::Hashable
|
@@ -2546,6 +2857,34 @@ module Google
|
|
2546
2857
|
end
|
2547
2858
|
end
|
2548
2859
|
|
2860
|
+
# The response message for Changelogs.ListChangelogs.
|
2861
|
+
class GoogleCloudDialogflowCxV3ListChangelogsResponse
|
2862
|
+
include Google::Apis::Core::Hashable
|
2863
|
+
|
2864
|
+
# The list of changelogs. There will be a maximum number of items returned based
|
2865
|
+
# on the page_size field in the request. The changelogs will be ordered by
|
2866
|
+
# timestamp.
|
2867
|
+
# Corresponds to the JSON property `changelogs`
|
2868
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog>]
|
2869
|
+
attr_accessor :changelogs
|
2870
|
+
|
2871
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
2872
|
+
# results in the list.
|
2873
|
+
# Corresponds to the JSON property `nextPageToken`
|
2874
|
+
# @return [String]
|
2875
|
+
attr_accessor :next_page_token
|
2876
|
+
|
2877
|
+
def initialize(**args)
|
2878
|
+
update!(**args)
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
# Update properties of this object
|
2882
|
+
def update!(**args)
|
2883
|
+
@changelogs = args[:changelogs] if args.key?(:changelogs)
|
2884
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2885
|
+
end
|
2886
|
+
end
|
2887
|
+
|
2549
2888
|
# The response message for Environments.ListTestCaseResults.
|
2550
2889
|
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
2551
2890
|
include Google::Apis::Core::Hashable
|
@@ -2572,6 +2911,34 @@ module Google
|
|
2572
2911
|
end
|
2573
2912
|
end
|
2574
2913
|
|
2914
|
+
# The response message for Deployments.ListDeployments.
|
2915
|
+
class GoogleCloudDialogflowCxV3ListDeploymentsResponse
|
2916
|
+
include Google::Apis::Core::Hashable
|
2917
|
+
|
2918
|
+
# The list of deployments. There will be a maximum number of items returned
|
2919
|
+
# based on the page_size field in the request. The list may in some cases be
|
2920
|
+
# empty or contain fewer entries than page_size even if this isn't the last page.
|
2921
|
+
# Corresponds to the JSON property `deployments`
|
2922
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment>]
|
2923
|
+
attr_accessor :deployments
|
2924
|
+
|
2925
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
2926
|
+
# results in the list.
|
2927
|
+
# Corresponds to the JSON property `nextPageToken`
|
2928
|
+
# @return [String]
|
2929
|
+
attr_accessor :next_page_token
|
2930
|
+
|
2931
|
+
def initialize(**args)
|
2932
|
+
update!(**args)
|
2933
|
+
end
|
2934
|
+
|
2935
|
+
# Update properties of this object
|
2936
|
+
def update!(**args)
|
2937
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
2938
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2939
|
+
end
|
2940
|
+
end
|
2941
|
+
|
2575
2942
|
# The response message for EntityTypes.ListEntityTypes.
|
2576
2943
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
2577
2944
|
include Google::Apis::Core::Hashable
|
@@ -3597,6 +3964,11 @@ module Google
|
|
3597
3964
|
# @return [Hash<String,Object>]
|
3598
3965
|
attr_accessor :diagnostic_info
|
3599
3966
|
|
3967
|
+
# Represents the input for dtmf event.
|
3968
|
+
# Corresponds to the JSON property `dtmf`
|
3969
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput]
|
3970
|
+
attr_accessor :dtmf
|
3971
|
+
|
3600
3972
|
# An intent represents a user's intent to interact with a conversational agent.
|
3601
3973
|
# You can provide information for the Dialogflow API to use to match user input
|
3602
3974
|
# to an intent by adding training phrases (i.e., examples of user input) to your
|
@@ -3697,6 +4069,7 @@ module Google
|
|
3697
4069
|
def update!(**args)
|
3698
4070
|
@current_page = args[:current_page] if args.key?(:current_page)
|
3699
4071
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
4072
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
3700
4073
|
@intent = args[:intent] if args.key?(:intent)
|
3701
4074
|
@intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
|
3702
4075
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -4343,7 +4716,9 @@ module Google
|
|
4343
4716
|
# @return [String]
|
4344
4717
|
attr_accessor :inspect_template
|
4345
4718
|
|
4346
|
-
#
|
4719
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
4720
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
4721
|
+
# populates the name automatically. Format: `projects//locations//
|
4347
4722
|
# securitySettings/`.
|
4348
4723
|
# Corresponds to the JSON property `name`
|
4349
4724
|
# @return [String]
|
@@ -6207,6 +6582,57 @@ module Google
|
|
6207
6582
|
end
|
6208
6583
|
end
|
6209
6584
|
|
6585
|
+
# Metadata returned for the Environments.DeployFlow long running operation.
|
6586
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
6587
|
+
include Google::Apis::Core::Hashable
|
6588
|
+
|
6589
|
+
# Errors of running deployment tests.
|
6590
|
+
# Corresponds to the JSON property `testErrors`
|
6591
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError>]
|
6592
|
+
attr_accessor :test_errors
|
6593
|
+
|
6594
|
+
def initialize(**args)
|
6595
|
+
update!(**args)
|
6596
|
+
end
|
6597
|
+
|
6598
|
+
# Update properties of this object
|
6599
|
+
def update!(**args)
|
6600
|
+
@test_errors = args[:test_errors] if args.key?(:test_errors)
|
6601
|
+
end
|
6602
|
+
end
|
6603
|
+
|
6604
|
+
# The response message for Environments.DeployFlow.
|
6605
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
6606
|
+
include Google::Apis::Core::Hashable
|
6607
|
+
|
6608
|
+
# The name of the flow version deployment. Format: `projects//locations//agents//
|
6609
|
+
# environments//deployments/`.
|
6610
|
+
# Corresponds to the JSON property `deployment`
|
6611
|
+
# @return [String]
|
6612
|
+
attr_accessor :deployment
|
6613
|
+
|
6614
|
+
# Represents an environment for an agent. You can create multiple versions of
|
6615
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
6616
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
6617
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
6618
|
+
# the draft agent, it is published to the default environment. When you create
|
6619
|
+
# agent versions, you can publish them to custom environments. You can create a
|
6620
|
+
# variety of custom environments for testing, development, production, etc.
|
6621
|
+
# Corresponds to the JSON property `environment`
|
6622
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Environment]
|
6623
|
+
attr_accessor :environment
|
6624
|
+
|
6625
|
+
def initialize(**args)
|
6626
|
+
update!(**args)
|
6627
|
+
end
|
6628
|
+
|
6629
|
+
# Update properties of this object
|
6630
|
+
def update!(**args)
|
6631
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
6632
|
+
@environment = args[:environment] if args.key?(:environment)
|
6633
|
+
end
|
6634
|
+
end
|
6635
|
+
|
6210
6636
|
# Represents the input for dtmf event.
|
6211
6637
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
6212
6638
|
include Google::Apis::Core::Hashable
|
@@ -6232,6 +6658,121 @@ module Google
|
|
6232
6658
|
end
|
6233
6659
|
end
|
6234
6660
|
|
6661
|
+
# Represents an environment for an agent. You can create multiple versions of
|
6662
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
6663
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
6664
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
6665
|
+
# the draft agent, it is published to the default environment. When you create
|
6666
|
+
# agent versions, you can publish them to custom environments. You can create a
|
6667
|
+
# variety of custom environments for testing, development, production, etc.
|
6668
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
6669
|
+
include Google::Apis::Core::Hashable
|
6670
|
+
|
6671
|
+
# The human-readable description of the environment. The maximum length is 500
|
6672
|
+
# characters. If exceeded, the request is rejected.
|
6673
|
+
# Corresponds to the JSON property `description`
|
6674
|
+
# @return [String]
|
6675
|
+
attr_accessor :description
|
6676
|
+
|
6677
|
+
# Required. The human-readable name of the environment (unique in an agent).
|
6678
|
+
# Limit of 64 characters.
|
6679
|
+
# Corresponds to the JSON property `displayName`
|
6680
|
+
# @return [String]
|
6681
|
+
attr_accessor :display_name
|
6682
|
+
|
6683
|
+
# The name of the environment. Format: `projects//locations//agents//
|
6684
|
+
# environments/`.
|
6685
|
+
# Corresponds to the JSON property `name`
|
6686
|
+
# @return [String]
|
6687
|
+
attr_accessor :name
|
6688
|
+
|
6689
|
+
# The configuration for continuous tests.
|
6690
|
+
# Corresponds to the JSON property `testCasesConfig`
|
6691
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
|
6692
|
+
attr_accessor :test_cases_config
|
6693
|
+
|
6694
|
+
# Output only. Update time of this environment.
|
6695
|
+
# Corresponds to the JSON property `updateTime`
|
6696
|
+
# @return [String]
|
6697
|
+
attr_accessor :update_time
|
6698
|
+
|
6699
|
+
# Required. A list of configurations for flow versions. You should include
|
6700
|
+
# version configs for all flows that are reachable from `Start Flow` in the
|
6701
|
+
# agent. Otherwise, an error will be returned.
|
6702
|
+
# Corresponds to the JSON property `versionConfigs`
|
6703
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
|
6704
|
+
attr_accessor :version_configs
|
6705
|
+
|
6706
|
+
def initialize(**args)
|
6707
|
+
update!(**args)
|
6708
|
+
end
|
6709
|
+
|
6710
|
+
# Update properties of this object
|
6711
|
+
def update!(**args)
|
6712
|
+
@description = args[:description] if args.key?(:description)
|
6713
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6714
|
+
@name = args[:name] if args.key?(:name)
|
6715
|
+
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
6716
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6717
|
+
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
6718
|
+
end
|
6719
|
+
end
|
6720
|
+
|
6721
|
+
# The configuration for continuous tests.
|
6722
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
6723
|
+
include Google::Apis::Core::Hashable
|
6724
|
+
|
6725
|
+
# Whether to run test cases in TestCasesConfig.test_cases periodically. Default
|
6726
|
+
# false. If set to ture, run once a day.
|
6727
|
+
# Corresponds to the JSON property `enableContinuousRun`
|
6728
|
+
# @return [Boolean]
|
6729
|
+
attr_accessor :enable_continuous_run
|
6730
|
+
alias_method :enable_continuous_run?, :enable_continuous_run
|
6731
|
+
|
6732
|
+
# Whether to run test cases in TestCasesConfig.test_cases before deploying a
|
6733
|
+
# flow version to the environment. Default false.
|
6734
|
+
# Corresponds to the JSON property `enablePredeploymentRun`
|
6735
|
+
# @return [Boolean]
|
6736
|
+
attr_accessor :enable_predeployment_run
|
6737
|
+
alias_method :enable_predeployment_run?, :enable_predeployment_run
|
6738
|
+
|
6739
|
+
# A list of test case names to run. They should be under the same agent. Format
|
6740
|
+
# of each test case name: `projects//locations/ /agents//testCases/`
|
6741
|
+
# Corresponds to the JSON property `testCases`
|
6742
|
+
# @return [Array<String>]
|
6743
|
+
attr_accessor :test_cases
|
6744
|
+
|
6745
|
+
def initialize(**args)
|
6746
|
+
update!(**args)
|
6747
|
+
end
|
6748
|
+
|
6749
|
+
# Update properties of this object
|
6750
|
+
def update!(**args)
|
6751
|
+
@enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
|
6752
|
+
@enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
|
6753
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
6754
|
+
end
|
6755
|
+
end
|
6756
|
+
|
6757
|
+
# Configuration for the version.
|
6758
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
6759
|
+
include Google::Apis::Core::Hashable
|
6760
|
+
|
6761
|
+
# Required. Format: projects//locations//agents//flows//versions/.
|
6762
|
+
# Corresponds to the JSON property `version`
|
6763
|
+
# @return [String]
|
6764
|
+
attr_accessor :version
|
6765
|
+
|
6766
|
+
def initialize(**args)
|
6767
|
+
update!(**args)
|
6768
|
+
end
|
6769
|
+
|
6770
|
+
# Update properties of this object
|
6771
|
+
def update!(**args)
|
6772
|
+
@version = args[:version] if args.key?(:version)
|
6773
|
+
end
|
6774
|
+
end
|
6775
|
+
|
6235
6776
|
# An event handler specifies an event that can be handled during a session. When
|
6236
6777
|
# the specified event happens, the following actions are taken in order: * If
|
6237
6778
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.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 = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,24 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudDialogflowCxV3Changelog
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDialogflowCxV3CompareVersionsRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudDialogflowCxV3CompareVersionsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
85
103
|
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
105
|
|
@@ -124,6 +142,36 @@ module Google
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
125
143
|
end
|
126
144
|
|
145
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleCloudDialogflowCxV3DeployFlowRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudDialogflowCxV3Deployment
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudDialogflowCxV3DeploymentResult
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
127
175
|
class GoogleCloudDialogflowCxV3DetectIntentRequest
|
128
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
177
|
|
@@ -166,6 +214,12 @@ module Google
|
|
166
214
|
include Google::Apis::Core::JsonObjectSupport
|
167
215
|
end
|
168
216
|
|
217
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
169
223
|
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
170
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
225
|
|
@@ -436,12 +490,24 @@ module Google
|
|
436
490
|
include Google::Apis::Core::JsonObjectSupport
|
437
491
|
end
|
438
492
|
|
493
|
+
class GoogleCloudDialogflowCxV3ListChangelogsResponse
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
439
499
|
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
440
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
501
|
|
442
502
|
include Google::Apis::Core::JsonObjectSupport
|
443
503
|
end
|
444
504
|
|
505
|
+
class GoogleCloudDialogflowCxV3ListDeploymentsResponse
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
445
511
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
446
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
513
|
|
@@ -1054,12 +1120,42 @@ module Google
|
|
1054
1120
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1121
|
end
|
1056
1122
|
|
1123
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
|
+
|
1126
|
+
include Google::Apis::Core::JsonObjectSupport
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
|
+
|
1132
|
+
include Google::Apis::Core::JsonObjectSupport
|
1133
|
+
end
|
1134
|
+
|
1057
1135
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
1058
1136
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1137
|
|
1060
1138
|
include Google::Apis::Core::JsonObjectSupport
|
1061
1139
|
end
|
1062
1140
|
|
1141
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
+
|
1156
|
+
include Google::Apis::Core::JsonObjectSupport
|
1157
|
+
end
|
1158
|
+
|
1063
1159
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
1064
1160
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
1161
|
|
@@ -2425,6 +2521,36 @@ module Google
|
|
2425
2521
|
end
|
2426
2522
|
end
|
2427
2523
|
|
2524
|
+
class GoogleCloudDialogflowCxV3Changelog
|
2525
|
+
# @private
|
2526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2527
|
+
property :action, as: 'action'
|
2528
|
+
property :create_time, as: 'createTime'
|
2529
|
+
property :display_name, as: 'displayName'
|
2530
|
+
property :name, as: 'name'
|
2531
|
+
property :resource, as: 'resource'
|
2532
|
+
property :type, as: 'type'
|
2533
|
+
property :user_email, as: 'userEmail'
|
2534
|
+
end
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
class GoogleCloudDialogflowCxV3CompareVersionsRequest
|
2538
|
+
# @private
|
2539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2540
|
+
property :language_code, as: 'languageCode'
|
2541
|
+
property :target_version, as: 'targetVersion'
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
class GoogleCloudDialogflowCxV3CompareVersionsResponse
|
2546
|
+
# @private
|
2547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2548
|
+
property :base_version_content_json, as: 'baseVersionContentJson'
|
2549
|
+
property :compare_time, as: 'compareTime'
|
2550
|
+
property :target_version_content_json, as: 'targetVersionContentJson'
|
2551
|
+
end
|
2552
|
+
end
|
2553
|
+
|
2428
2554
|
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
2429
2555
|
# @private
|
2430
2556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2497,6 +2623,51 @@ module Google
|
|
2497
2623
|
end
|
2498
2624
|
end
|
2499
2625
|
|
2626
|
+
class GoogleCloudDialogflowCxV3DeployFlowMetadata
|
2627
|
+
# @private
|
2628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2629
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError::Representation
|
2630
|
+
|
2631
|
+
end
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
class GoogleCloudDialogflowCxV3DeployFlowRequest
|
2635
|
+
# @private
|
2636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2637
|
+
property :flow_version, as: 'flowVersion'
|
2638
|
+
end
|
2639
|
+
end
|
2640
|
+
|
2641
|
+
class GoogleCloudDialogflowCxV3DeployFlowResponse
|
2642
|
+
# @private
|
2643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2644
|
+
property :deployment, as: 'deployment'
|
2645
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Environment::Representation
|
2646
|
+
|
2647
|
+
end
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
class GoogleCloudDialogflowCxV3Deployment
|
2651
|
+
# @private
|
2652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2653
|
+
property :end_time, as: 'endTime'
|
2654
|
+
property :flow_version, as: 'flowVersion'
|
2655
|
+
property :name, as: 'name'
|
2656
|
+
property :result, as: 'result', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult::Representation
|
2657
|
+
|
2658
|
+
property :start_time, as: 'startTime'
|
2659
|
+
property :state, as: 'state'
|
2660
|
+
end
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
class GoogleCloudDialogflowCxV3DeploymentResult
|
2664
|
+
# @private
|
2665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2666
|
+
collection :deployment_test_results, as: 'deploymentTestResults'
|
2667
|
+
property :experiment, as: 'experiment'
|
2668
|
+
end
|
2669
|
+
end
|
2670
|
+
|
2500
2671
|
class GoogleCloudDialogflowCxV3DetectIntentRequest
|
2501
2672
|
# @private
|
2502
2673
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2568,12 +2739,23 @@ module Google
|
|
2568
2739
|
property :description, as: 'description'
|
2569
2740
|
property :display_name, as: 'displayName'
|
2570
2741
|
property :name, as: 'name'
|
2742
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
|
2743
|
+
|
2571
2744
|
property :update_time, as: 'updateTime'
|
2572
2745
|
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
|
2573
2746
|
|
2574
2747
|
end
|
2575
2748
|
end
|
2576
2749
|
|
2750
|
+
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
|
2751
|
+
# @private
|
2752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2753
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
2754
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
2755
|
+
collection :test_cases, as: 'testCases'
|
2756
|
+
end
|
2757
|
+
end
|
2758
|
+
|
2577
2759
|
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
|
2578
2760
|
# @private
|
2579
2761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3015,6 +3197,15 @@ module Google
|
|
3015
3197
|
end
|
3016
3198
|
end
|
3017
3199
|
|
3200
|
+
class GoogleCloudDialogflowCxV3ListChangelogsResponse
|
3201
|
+
# @private
|
3202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3203
|
+
collection :changelogs, as: 'changelogs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog::Representation
|
3204
|
+
|
3205
|
+
property :next_page_token, as: 'nextPageToken'
|
3206
|
+
end
|
3207
|
+
end
|
3208
|
+
|
3018
3209
|
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
3019
3210
|
# @private
|
3020
3211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3024,6 +3215,15 @@ module Google
|
|
3024
3215
|
end
|
3025
3216
|
end
|
3026
3217
|
|
3218
|
+
class GoogleCloudDialogflowCxV3ListDeploymentsResponse
|
3219
|
+
# @private
|
3220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3221
|
+
collection :deployments, as: 'deployments', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment::Representation
|
3222
|
+
|
3223
|
+
property :next_page_token, as: 'nextPageToken'
|
3224
|
+
end
|
3225
|
+
end
|
3226
|
+
|
3027
3227
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
3028
3228
|
# @private
|
3029
3229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3299,6 +3499,8 @@ module Google
|
|
3299
3499
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
|
3300
3500
|
|
3301
3501
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
3502
|
+
property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput::Representation
|
3503
|
+
|
3302
3504
|
property :intent, as: 'intent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent::Representation
|
3303
3505
|
|
3304
3506
|
property :intent_detection_confidence, as: 'intentDetectionConfidence'
|
@@ -4038,6 +4240,23 @@ module Google
|
|
4038
4240
|
end
|
4039
4241
|
end
|
4040
4242
|
|
4243
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
|
4244
|
+
# @private
|
4245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4246
|
+
collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
4247
|
+
|
4248
|
+
end
|
4249
|
+
end
|
4250
|
+
|
4251
|
+
class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
|
4252
|
+
# @private
|
4253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4254
|
+
property :deployment, as: 'deployment'
|
4255
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
4256
|
+
|
4257
|
+
end
|
4258
|
+
end
|
4259
|
+
|
4041
4260
|
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
4042
4261
|
# @private
|
4043
4262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4046,6 +4265,36 @@ module Google
|
|
4046
4265
|
end
|
4047
4266
|
end
|
4048
4267
|
|
4268
|
+
class GoogleCloudDialogflowCxV3beta1Environment
|
4269
|
+
# @private
|
4270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4271
|
+
property :description, as: 'description'
|
4272
|
+
property :display_name, as: 'displayName'
|
4273
|
+
property :name, as: 'name'
|
4274
|
+
property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
|
4275
|
+
|
4276
|
+
property :update_time, as: 'updateTime'
|
4277
|
+
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
|
4278
|
+
|
4279
|
+
end
|
4280
|
+
end
|
4281
|
+
|
4282
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
|
4283
|
+
# @private
|
4284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4285
|
+
property :enable_continuous_run, as: 'enableContinuousRun'
|
4286
|
+
property :enable_predeployment_run, as: 'enablePredeploymentRun'
|
4287
|
+
collection :test_cases, as: 'testCases'
|
4288
|
+
end
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
|
4292
|
+
# @private
|
4293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4294
|
+
property :version, as: 'version'
|
4295
|
+
end
|
4296
|
+
end
|
4297
|
+
|
4049
4298
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
4050
4299
|
# @private
|
4051
4300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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::DialogflowV3::GoogleCloudDialogflowCxV3Changelog] parsed result object
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
468
|
+
#
|
469
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog]
|
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, 'v3/{+name}', options)
|
476
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog::Representation
|
477
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog
|
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::DialogflowV3::GoogleCloudDialogflowCxV3ListChangelogsResponse] parsed result object
|
514
|
+
# @yieldparam err [StandardError] error object if request failed
|
515
|
+
#
|
516
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListChangelogsResponse]
|
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, 'v3/{+parent}/changelogs', options)
|
523
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListChangelogsResponse::Representation
|
524
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListChangelogsResponse
|
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. Note: You should always train a
|
454
535
|
# flow prior to sending it queries. See the [training documentation](https://
|
455
536
|
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
@@ -735,6 +816,43 @@ module Google
|
|
735
816
|
execute_or_queue_command(command, &block)
|
736
817
|
end
|
737
818
|
|
819
|
+
# Deploys a flow to the specified Environment. This method is a [long-running
|
820
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
821
|
+
# operation). The returned `Operation` type has the following method-specific
|
822
|
+
# fields: - `metadata`: DeployFlowMetadata - `response`: DeployFlowResponse
|
823
|
+
# @param [String] environment
|
824
|
+
# Required. The environment to deploy the flow to. Format: `projects//locations//
|
825
|
+
# agents// environments/`.
|
826
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeployFlowRequest] google_cloud_dialogflow_cx_v3_deploy_flow_request_object
|
827
|
+
# @param [String] fields
|
828
|
+
# Selector specifying which fields to include in a partial response.
|
829
|
+
# @param [String] quota_user
|
830
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
831
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
832
|
+
# @param [Google::Apis::RequestOptions] options
|
833
|
+
# Request-specific options
|
834
|
+
#
|
835
|
+
# @yield [result, err] Result & error if block supplied
|
836
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
837
|
+
# @yieldparam err [StandardError] error object if request failed
|
838
|
+
#
|
839
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
840
|
+
#
|
841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
844
|
+
def deploy_project_location_agent_environment_flow(environment, google_cloud_dialogflow_cx_v3_deploy_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
845
|
+
command = make_simple_command(:post, 'v3/{+environment}:deployFlow', options)
|
846
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeployFlowRequest::Representation
|
847
|
+
command.request_object = google_cloud_dialogflow_cx_v3_deploy_flow_request_object
|
848
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
849
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
850
|
+
command.params['environment'] = environment unless environment.nil?
|
851
|
+
command.query['fields'] = fields unless fields.nil?
|
852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
853
|
+
execute_or_queue_command(command, &block)
|
854
|
+
end
|
855
|
+
|
738
856
|
# Retrieves the specified Environment.
|
739
857
|
# @param [String] name
|
740
858
|
# Required. The name of the Environment. Format: `projects//locations//agents//
|
@@ -958,6 +1076,75 @@ module Google
|
|
958
1076
|
execute_or_queue_command(command, &block)
|
959
1077
|
end
|
960
1078
|
|
1079
|
+
# Retrieves the specified Deployment.
|
1080
|
+
# @param [String] name
|
1081
|
+
# Required. The name of the Deployment. Format: `projects//locations//agents//
|
1082
|
+
# environments//deployments/`.
|
1083
|
+
# @param [String] fields
|
1084
|
+
# Selector specifying which fields to include in a partial response.
|
1085
|
+
# @param [String] quota_user
|
1086
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1087
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1088
|
+
# @param [Google::Apis::RequestOptions] options
|
1089
|
+
# Request-specific options
|
1090
|
+
#
|
1091
|
+
# @yield [result, err] Result & error if block supplied
|
1092
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment] parsed result object
|
1093
|
+
# @yieldparam err [StandardError] error object if request failed
|
1094
|
+
#
|
1095
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment]
|
1096
|
+
#
|
1097
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1098
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1099
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1100
|
+
def get_project_location_agent_environment_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
1101
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
1102
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment::Representation
|
1103
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment
|
1104
|
+
command.params['name'] = name unless name.nil?
|
1105
|
+
command.query['fields'] = fields unless fields.nil?
|
1106
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1107
|
+
execute_or_queue_command(command, &block)
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# Returns the list of all deployments in the specified Environment.
|
1111
|
+
# @param [String] parent
|
1112
|
+
# Required. The Environment to list all environments for. Format: `projects//
|
1113
|
+
# locations//agents//environments/`.
|
1114
|
+
# @param [Fixnum] page_size
|
1115
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
1116
|
+
# most 100.
|
1117
|
+
# @param [String] page_token
|
1118
|
+
# The next_page_token value returned from a previous list request.
|
1119
|
+
# @param [String] fields
|
1120
|
+
# Selector specifying which fields to include in a partial response.
|
1121
|
+
# @param [String] quota_user
|
1122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1124
|
+
# @param [Google::Apis::RequestOptions] options
|
1125
|
+
# Request-specific options
|
1126
|
+
#
|
1127
|
+
# @yield [result, err] Result & error if block supplied
|
1128
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListDeploymentsResponse] parsed result object
|
1129
|
+
# @yieldparam err [StandardError] error object if request failed
|
1130
|
+
#
|
1131
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListDeploymentsResponse]
|
1132
|
+
#
|
1133
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1134
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1135
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1136
|
+
def list_project_location_agent_environment_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1137
|
+
command = make_simple_command(:get, 'v3/{+parent}/deployments', options)
|
1138
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListDeploymentsResponse::Representation
|
1139
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListDeploymentsResponse
|
1140
|
+
command.params['parent'] = parent unless parent.nil?
|
1141
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1142
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1143
|
+
command.query['fields'] = fields unless fields.nil?
|
1144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1145
|
+
execute_or_queue_command(command, &block)
|
1146
|
+
end
|
1147
|
+
|
961
1148
|
# Creates an Experiment in the specified Environment.
|
962
1149
|
# @param [String] parent
|
963
1150
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
@@ -2388,6 +2575,41 @@ module Google
|
|
2388
2575
|
execute_or_queue_command(command, &block)
|
2389
2576
|
end
|
2390
2577
|
|
2578
|
+
# Compares the specified base version with target version.
|
2579
|
+
# @param [String] base_version
|
2580
|
+
# Required. Name of the base flow version to compare with the target version.
|
2581
|
+
# Use version ID `0` to indicate the draft version of the specified flow. Format:
|
2582
|
+
# `projects//locations//agents//flows//versions/`.
|
2583
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsRequest] google_cloud_dialogflow_cx_v3_compare_versions_request_object
|
2584
|
+
# @param [String] fields
|
2585
|
+
# Selector specifying which fields to include in a partial response.
|
2586
|
+
# @param [String] quota_user
|
2587
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2588
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2589
|
+
# @param [Google::Apis::RequestOptions] options
|
2590
|
+
# Request-specific options
|
2591
|
+
#
|
2592
|
+
# @yield [result, err] Result & error if block supplied
|
2593
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsResponse] parsed result object
|
2594
|
+
# @yieldparam err [StandardError] error object if request failed
|
2595
|
+
#
|
2596
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsResponse]
|
2597
|
+
#
|
2598
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2599
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2600
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2601
|
+
def compare_project_location_agent_flow_version_versions(base_version, google_cloud_dialogflow_cx_v3_compare_versions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2602
|
+
command = make_simple_command(:post, 'v3/{+baseVersion}:compareVersions', options)
|
2603
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsRequest::Representation
|
2604
|
+
command.request_object = google_cloud_dialogflow_cx_v3_compare_versions_request_object
|
2605
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsResponse::Representation
|
2606
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsResponse
|
2607
|
+
command.params['baseVersion'] = base_version unless base_version.nil?
|
2608
|
+
command.query['fields'] = fields unless fields.nil?
|
2609
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2610
|
+
execute_or_queue_command(command, &block)
|
2611
|
+
end
|
2612
|
+
|
2391
2613
|
# Creates a Version in the specified Flow. This method is a [long-running
|
2392
2614
|
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
2393
2615
|
# operation). The returned `Operation` type has the following method-specific
|
@@ -4004,7 +4226,9 @@ module Google
|
|
4004
4226
|
|
4005
4227
|
# Updates the specified SecuritySettings.
|
4006
4228
|
# @param [String] name
|
4007
|
-
#
|
4229
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
4230
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
4231
|
+
# populates the name automatically. Format: `projects//locations//
|
4008
4232
|
# securitySettings/`.
|
4009
4233
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettings] google_cloud_dialogflow_cx_v3_security_settings_object
|
4010
4234
|
# @param [String] update_mask
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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-10-27 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_v3/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_v3/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.22.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|