google-apis-dialogflow_v3beta1 0.19.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +626 -17
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +270 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +267 -24
- data/lib/google/apis/dialogflow_v3beta1.rb +1 -1
- metadata +3 -3
@@ -50,6 +50,79 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
+
# Gets information about a location.
|
54
|
+
# @param [String] name
|
55
|
+
# Resource name for the location.
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation::Representation
|
76
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation
|
77
|
+
command.params['name'] = name unless name.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
execute_or_queue_command(command, &block)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Lists information about the supported locations for this service.
|
84
|
+
# @param [String] name
|
85
|
+
# The resource that owns the locations collection, if applicable.
|
86
|
+
# @param [String] filter
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
90
|
+
# @param [Fixnum] page_size
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
93
|
+
# @param [String] page_token
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
96
|
+
# @param [String] fields
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
98
|
+
# @param [String] quota_user
|
99
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
101
|
+
# @param [Google::Apis::RequestOptions] options
|
102
|
+
# Request-specific options
|
103
|
+
#
|
104
|
+
# @yield [result, err] Result & error if block supplied
|
105
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse] parsed result object
|
106
|
+
# @yieldparam err [StandardError] error object if request failed
|
107
|
+
#
|
108
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse]
|
109
|
+
#
|
110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
|
+
command = make_simple_command(:get, 'v3beta1/{+name}/locations', options)
|
115
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse::Representation
|
116
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse
|
117
|
+
command.params['name'] = name unless name.nil?
|
118
|
+
command.query['filter'] = filter unless filter.nil?
|
119
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
120
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
53
126
|
# Creates an agent in the specified location. Note: You should always train a
|
54
127
|
# flow prior to sending it queries. See the [training documentation](https://
|
55
128
|
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
@@ -116,7 +189,12 @@ module Google
|
|
116
189
|
execute_or_queue_command(command, &block)
|
117
190
|
end
|
118
191
|
|
119
|
-
# Exports the specified agent to a binary file.
|
192
|
+
# Exports the specified agent to a binary file. This method is a [long-running
|
193
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
194
|
+
# operation). The returned `Operation` type has the following method-specific
|
195
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
196
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
197
|
+
# ExportAgentResponse
|
120
198
|
# @param [String] name
|
121
199
|
# Required. The name of the agent to export. Format: `projects//locations//
|
122
200
|
# agents/`.
|
@@ -295,9 +373,15 @@ module Google
|
|
295
373
|
|
296
374
|
# Restores the specified agent from a binary file. Replaces the current agent
|
297
375
|
# with a new one. Note that all existing resources in agent (e.g. intents,
|
298
|
-
# entity types, flows) will be removed.
|
299
|
-
#
|
300
|
-
#
|
376
|
+
# entity types, flows) will be removed. This method is a [long-running operation]
|
377
|
+
# (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
378
|
+
# returned `Operation` type has the following method-specific fields: - `
|
379
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
380
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
|
381
|
+
# (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
382
|
+
# empty) Note: You should always train a flow prior to sending it queries. See
|
383
|
+
# the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
|
384
|
+
# concept/training).
|
301
385
|
# @param [String] name
|
302
386
|
# Required. The name of the agent to restore into. Format: `projects//locations//
|
303
387
|
# agents/`.
|
@@ -579,7 +663,12 @@ module Google
|
|
579
663
|
execute_or_queue_command(command, &block)
|
580
664
|
end
|
581
665
|
|
582
|
-
# Creates an Environment in the specified Agent.
|
666
|
+
# Creates an Environment in the specified Agent. This method is a [long-running
|
667
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
668
|
+
# operation). The returned `Operation` type has the following method-specific
|
669
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
670
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
671
|
+
# Environment
|
583
672
|
# @param [String] parent
|
584
673
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
585
674
|
# /agents/`.
|
@@ -644,6 +733,43 @@ module Google
|
|
644
733
|
execute_or_queue_command(command, &block)
|
645
734
|
end
|
646
735
|
|
736
|
+
# Deploys a flow to the specified Environment. This method is a [long-running
|
737
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
738
|
+
# operation). The returned `Operation` type has the following method-specific
|
739
|
+
# fields: - `metadata`: DeployFlowMetadata - `response`: DeployFlowResponse
|
740
|
+
# @param [String] environment
|
741
|
+
# Required. The environment to deploy the flow to. Format: `projects//locations//
|
742
|
+
# agents// environments/`.
|
743
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest] google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
|
744
|
+
# @param [String] fields
|
745
|
+
# Selector specifying which fields to include in a partial response.
|
746
|
+
# @param [String] quota_user
|
747
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
748
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
749
|
+
# @param [Google::Apis::RequestOptions] options
|
750
|
+
# Request-specific options
|
751
|
+
#
|
752
|
+
# @yield [result, err] Result & error if block supplied
|
753
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
754
|
+
# @yieldparam err [StandardError] error object if request failed
|
755
|
+
#
|
756
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
757
|
+
#
|
758
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
759
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
760
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
761
|
+
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)
|
762
|
+
command = make_simple_command(:post, 'v3beta1/{+environment}:deployFlow', options)
|
763
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest::Representation
|
764
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
|
765
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
766
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
767
|
+
command.params['environment'] = environment unless environment.nil?
|
768
|
+
command.query['fields'] = fields unless fields.nil?
|
769
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
770
|
+
execute_or_queue_command(command, &block)
|
771
|
+
end
|
772
|
+
|
647
773
|
# Retrieves the specified Environment.
|
648
774
|
# @param [String] name
|
649
775
|
# Required. The name of the Environment. Format: `projects//locations//agents//
|
@@ -751,7 +877,11 @@ module Google
|
|
751
877
|
execute_or_queue_command(command, &block)
|
752
878
|
end
|
753
879
|
|
754
|
-
# Updates the specified Environment.
|
880
|
+
# Updates the specified Environment. This method is a [long-running operation](
|
881
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
882
|
+
# returned `Operation` type has the following method-specific fields: - `
|
883
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
884
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: Environment
|
755
885
|
# @param [String] name
|
756
886
|
# The name of the environment. Format: `projects//locations//agents//
|
757
887
|
# environments/`.
|
@@ -788,7 +918,11 @@ module Google
|
|
788
918
|
execute_or_queue_command(command, &block)
|
789
919
|
end
|
790
920
|
|
791
|
-
# Kicks off a continuous test under the specified Environment.
|
921
|
+
# Kicks off a continuous test under the specified Environment. This method is a [
|
922
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
923
|
+
# running-operation). The returned `Operation` type has the following method-
|
924
|
+
# specific fields: - `metadata`: RunContinuousTestMetadata - `response`:
|
925
|
+
# RunContinuousTestResponse
|
792
926
|
# @param [String] environment
|
793
927
|
# Required. Format: `projects//locations//agents//environments/`.
|
794
928
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest] google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
@@ -859,6 +993,75 @@ module Google
|
|
859
993
|
execute_or_queue_command(command, &block)
|
860
994
|
end
|
861
995
|
|
996
|
+
# Retrieves the specified Deployment.
|
997
|
+
# @param [String] name
|
998
|
+
# Required. The name of the Deployment. Format: `projects//locations//agents//
|
999
|
+
# environments//deployments/`.
|
1000
|
+
# @param [String] fields
|
1001
|
+
# Selector specifying which fields to include in a partial response.
|
1002
|
+
# @param [String] quota_user
|
1003
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1004
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1005
|
+
# @param [Google::Apis::RequestOptions] options
|
1006
|
+
# Request-specific options
|
1007
|
+
#
|
1008
|
+
# @yield [result, err] Result & error if block supplied
|
1009
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment] parsed result object
|
1010
|
+
# @yieldparam err [StandardError] error object if request failed
|
1011
|
+
#
|
1012
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment]
|
1013
|
+
#
|
1014
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1015
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1016
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1017
|
+
def get_project_location_agent_environment_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
1018
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1019
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment::Representation
|
1020
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment
|
1021
|
+
command.params['name'] = name unless name.nil?
|
1022
|
+
command.query['fields'] = fields unless fields.nil?
|
1023
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1024
|
+
execute_or_queue_command(command, &block)
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Returns the list of all deployments in the specified Environment.
|
1028
|
+
# @param [String] parent
|
1029
|
+
# Required. The Environment to list all environments for. Format: `projects//
|
1030
|
+
# locations//agents//environments/`.
|
1031
|
+
# @param [Fixnum] page_size
|
1032
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
1033
|
+
# most 100.
|
1034
|
+
# @param [String] page_token
|
1035
|
+
# The next_page_token value returned from a previous list request.
|
1036
|
+
# @param [String] fields
|
1037
|
+
# Selector specifying which fields to include in a partial response.
|
1038
|
+
# @param [String] quota_user
|
1039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1041
|
+
# @param [Google::Apis::RequestOptions] options
|
1042
|
+
# Request-specific options
|
1043
|
+
#
|
1044
|
+
# @yield [result, err] Result & error if block supplied
|
1045
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse] parsed result object
|
1046
|
+
# @yieldparam err [StandardError] error object if request failed
|
1047
|
+
#
|
1048
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse]
|
1049
|
+
#
|
1050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1053
|
+
def list_project_location_agent_environment_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1054
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/deployments', options)
|
1055
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse::Representation
|
1056
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
1057
|
+
command.params['parent'] = parent unless parent.nil?
|
1058
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1059
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1060
|
+
command.query['fields'] = fields unless fields.nil?
|
1061
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1062
|
+
execute_or_queue_command(command, &block)
|
1063
|
+
end
|
1064
|
+
|
862
1065
|
# Creates an Experiment in the specified Environment.
|
863
1066
|
# @param [String] parent
|
864
1067
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
@@ -1493,8 +1696,13 @@ module Google
|
|
1493
1696
|
execute_or_queue_command(command, &block)
|
1494
1697
|
end
|
1495
1698
|
|
1496
|
-
# Exports the specified flow to a binary file.
|
1497
|
-
#
|
1699
|
+
# Exports the specified flow to a binary file. This method is a [long-running
|
1700
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
1701
|
+
# operation). The returned `Operation` type has the following method-specific
|
1702
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1703
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
1704
|
+
# ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that
|
1705
|
+
# the flow references will also be exported.
|
1498
1706
|
# @param [String] name
|
1499
1707
|
# Required. The name of the flow to export. Format: `projects//locations//agents/
|
1500
1708
|
# /flows/`.
|
@@ -1604,9 +1812,14 @@ module Google
|
|
1604
1812
|
execute_or_queue_command(command, &block)
|
1605
1813
|
end
|
1606
1814
|
|
1607
|
-
# Imports the specified flow to the specified agent from a binary file.
|
1608
|
-
#
|
1609
|
-
#
|
1815
|
+
# Imports the specified flow to the specified agent from a binary file. This
|
1816
|
+
# method is a [long-running operation](https://cloud.google.com/dialogflow/cx/
|
1817
|
+
# docs/how/long-running-operation). The returned `Operation` type has the
|
1818
|
+
# following method-specific fields: - `metadata`: An empty [Struct message](
|
1819
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1820
|
+
# struct) - `response`: ImportFlowResponse Note: You should always train a flow
|
1821
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1822
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1610
1823
|
# @param [String] parent
|
1611
1824
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1612
1825
|
# agents/`.
|
@@ -1704,8 +1917,8 @@ module Google
|
|
1704
1917
|
# com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
|
1705
1918
|
# be enabled in the agent before they can be used.
|
1706
1919
|
# @param [String] update_mask
|
1707
|
-
#
|
1708
|
-
#
|
1920
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
1921
|
+
# fields will be updated.
|
1709
1922
|
# @param [String] fields
|
1710
1923
|
# Selector specifying which fields to include in a partial response.
|
1711
1924
|
# @param [String] quota_user
|
@@ -1738,9 +1951,14 @@ module Google
|
|
1738
1951
|
end
|
1739
1952
|
|
1740
1953
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1741
|
-
# trained.
|
1742
|
-
#
|
1743
|
-
#
|
1954
|
+
# trained. This method is a [long-running operation](https://cloud.google.com/
|
1955
|
+
# dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type
|
1956
|
+
# has the following method-specific fields: - `metadata`: An empty [Struct
|
1957
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
1958
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
1959
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
1960
|
+
# always train a flow prior to sending it queries. See the [training
|
1961
|
+
# documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1744
1962
|
# @param [String] name
|
1745
1963
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1746
1964
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
@@ -2268,7 +2486,10 @@ module Google
|
|
2268
2486
|
execute_or_queue_command(command, &block)
|
2269
2487
|
end
|
2270
2488
|
|
2271
|
-
# Creates a Version in the specified Flow.
|
2489
|
+
# Creates a Version in the specified Flow. This method is a [long-running
|
2490
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
2491
|
+
# operation). The returned `Operation` type has the following method-specific
|
2492
|
+
# fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version
|
2272
2493
|
# @param [String] parent
|
2273
2494
|
# Required. The Flow to create an Version for. Format: `projects//locations//
|
2274
2495
|
# agents//flows/`.
|
@@ -2402,7 +2623,13 @@ module Google
|
|
2402
2623
|
execute_or_queue_command(command, &block)
|
2403
2624
|
end
|
2404
2625
|
|
2405
|
-
# Loads resources in the specified version to the draft flow.
|
2626
|
+
# Loads resources in the specified version to the draft flow. This method is a [
|
2627
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
2628
|
+
# running-operation). The returned `Operation` type has the following method-
|
2629
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
2630
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
2631
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
2632
|
+
# reference/google.protobuf#empty)
|
2406
2633
|
# @param [String] name
|
2407
2634
|
# Required. The Version to be loaded to draft flow. Format: `projects//locations/
|
2408
2635
|
# /agents//flows//versions/`.
|
@@ -3027,7 +3254,10 @@ module Google
|
|
3027
3254
|
execute_or_queue_command(command, &block)
|
3028
3255
|
end
|
3029
3256
|
|
3030
|
-
# Kicks off a batch run of test cases.
|
3257
|
+
# Kicks off a batch run of test cases. This method is a [long-running operation](
|
3258
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
3259
|
+
# returned `Operation` type has the following method-specific fields: - `
|
3260
|
+
# metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse
|
3031
3261
|
# @param [String] parent
|
3032
3262
|
# Required. Agent name. Format: `projects//locations//agents/ `.
|
3033
3263
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object
|
@@ -3129,7 +3359,11 @@ module Google
|
|
3129
3359
|
end
|
3130
3360
|
|
3131
3361
|
# Exports the test cases under the agent to a Cloud Storage bucket or a local
|
3132
|
-
# file. Filter can be applied to export a subset of test cases.
|
3362
|
+
# file. Filter can be applied to export a subset of test cases. This method is a
|
3363
|
+
# [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
3364
|
+
# running-operation). The returned `Operation` type has the following method-
|
3365
|
+
# specific fields: - `metadata`: ExportTestCasesMetadata - `response`:
|
3366
|
+
# ExportTestCasesResponse
|
3133
3367
|
# @param [String] parent
|
3134
3368
|
# Required. The agent where to export test cases from. Format: `projects//
|
3135
3369
|
# locations//agents/`.
|
@@ -3196,7 +3430,11 @@ module Google
|
|
3196
3430
|
|
3197
3431
|
# Imports the test cases from a Cloud Storage bucket or a local file. It always
|
3198
3432
|
# creates new test cases and won't overwite any existing ones. The provided ID
|
3199
|
-
# in the imported test case is neglected.
|
3433
|
+
# in the imported test case is neglected. This method is a [long-running
|
3434
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
3435
|
+
# operation). The returned `Operation` type has the following method-specific
|
3436
|
+
# fields: - `metadata`: ImportTestCasesMetadata - `response`:
|
3437
|
+
# ImportTestCasesResponse
|
3200
3438
|
# @param [String] parent
|
3201
3439
|
# Required. The agent to import test cases to. Format: `projects//locations//
|
3202
3440
|
# agents/`.
|
@@ -3311,7 +3549,10 @@ module Google
|
|
3311
3549
|
execute_or_queue_command(command, &block)
|
3312
3550
|
end
|
3313
3551
|
|
3314
|
-
# Kicks off a test case run.
|
3552
|
+
# Kicks off a test case run. This method is a [long-running operation](https://
|
3553
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
3554
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
3555
|
+
# RunTestCaseMetadata - `response`: RunTestCaseResponse
|
3315
3556
|
# @param [String] name
|
3316
3557
|
# Required. Format of test case name to run: `projects//locations/ /agents//
|
3317
3558
|
# testCases/`.
|
@@ -3861,7 +4102,9 @@ module Google
|
|
3861
4102
|
|
3862
4103
|
# Updates the specified SecuritySettings.
|
3863
4104
|
# @param [String] name
|
3864
|
-
#
|
4105
|
+
# Resource name of the settings. Required for the SecuritySettingsService.
|
4106
|
+
# UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
|
4107
|
+
# populates the name automatically. Format: `projects//locations//
|
3865
4108
|
# securitySettings/`.
|
3866
4109
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] google_cloud_dialogflow_cx_v3beta1_security_settings_object
|
3867
4110
|
# @param [String] update_mask
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V3beta1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# View, manage and query your Dialogflow agents
|
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.23.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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|