google-apis-dialogflow_v3beta1 0.20.0 → 0.21.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/lib/google/apis/dialogflow_v3beta1/classes.rb +104 -11
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +33 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +158 -23
- data/lib/google/apis/dialogflow_v3beta1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0fa3cd21a92535bfaa6ec49e42e0bb6d2e888034fb6bac704c4ccc94749100b
|
4
|
+
data.tar.gz: 8022d2b42aeb3963797bc914b208229f69c257d4cd3b30aa9d174ac86cac0190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70175bbc3e0af73dc105f6fa1a1f967661e8137ef1b496aefe92a6d3e3d38ec9ad31cc71fd5c7dcdd55cd52bd199cc33ee553eb18d7180f4e167ae007a500ce5
|
7
|
+
data.tar.gz: bc654419ef9fd28c71dd55c85a34e07686d93ddeee8acfc7f959e17476b9a482b7e0c136f3e3d3599e9682ade14773173779ae5d328ea2f66f4998ad9cf15b6c
|
data/CHANGELOG.md
CHANGED
@@ -221,7 +221,8 @@ module Google
|
|
221
221
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Page]
|
222
222
|
attr_accessor :current_page
|
223
223
|
|
224
|
-
# Required. Input only. The diagnostic info output for the turn.
|
224
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
225
|
+
# calculate the testing coverage.
|
225
226
|
# Corresponds to the JSON property `diagnosticInfo`
|
226
227
|
# @return [Hash<String,Object>]
|
227
228
|
attr_accessor :diagnostic_info
|
@@ -489,6 +490,7 @@ module Google
|
|
489
490
|
end
|
490
491
|
|
491
492
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
493
|
+
# This message currently has no fields.
|
492
494
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
493
495
|
include Google::Apis::Core::Hashable
|
494
496
|
|
@@ -1868,7 +1870,8 @@ module Google
|
|
1868
1870
|
end
|
1869
1871
|
end
|
1870
1872
|
|
1871
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1873
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
1874
|
+
# message currently has no fields.
|
1872
1875
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1873
1876
|
include Google::Apis::Core::Hashable
|
1874
1877
|
|
@@ -3034,7 +3037,8 @@ module Google
|
|
3034
3037
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
3035
3038
|
attr_accessor :current_page
|
3036
3039
|
|
3037
|
-
# Required. Input only. The diagnostic info output for the turn.
|
3040
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
3041
|
+
# calculate the testing coverage.
|
3038
3042
|
# Corresponds to the JSON property `diagnosticInfo`
|
3039
3043
|
# @return [Hash<String,Object>]
|
3040
3044
|
attr_accessor :diagnostic_info
|
@@ -3948,6 +3952,7 @@ module Google
|
|
3948
3952
|
end
|
3949
3953
|
|
3950
3954
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3955
|
+
# This message currently has no fields.
|
3951
3956
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3952
3957
|
include Google::Apis::Core::Hashable
|
3953
3958
|
|
@@ -6787,7 +6792,8 @@ module Google
|
|
6787
6792
|
end
|
6788
6793
|
end
|
6789
6794
|
|
6790
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6795
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
6796
|
+
# message currently has no fields.
|
6791
6797
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6792
6798
|
include Google::Apis::Core::Hashable
|
6793
6799
|
|
@@ -6845,6 +6851,17 @@ module Google
|
|
6845
6851
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
6846
6852
|
include Google::Apis::Core::Hashable
|
6847
6853
|
|
6854
|
+
# [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
|
6855
|
+
# template to define de-identification configuration for the content. If empty,
|
6856
|
+
# Dialogflow replaces sensitive info with `[redacted]` text. The template name
|
6857
|
+
# will have one of the following formats: `projects//locations//
|
6858
|
+
# deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
|
6859
|
+
# `deidentify_template` must be located in the same region as the `
|
6860
|
+
# SecuritySettings`.
|
6861
|
+
# Corresponds to the JSON property `deidentifyTemplate`
|
6862
|
+
# @return [String]
|
6863
|
+
attr_accessor :deidentify_template
|
6864
|
+
|
6848
6865
|
# Required. The human-readable name of the security settings, unique within the
|
6849
6866
|
# location.
|
6850
6867
|
# Corresponds to the JSON property `displayName`
|
@@ -6860,8 +6877,9 @@ module Google
|
|
6860
6877
|
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6861
6878
|
# template to define inspect base settings. If empty, we use the default DLP
|
6862
6879
|
# inspect config. The template name will have one of the following formats: `
|
6863
|
-
# projects//inspectTemplates/` OR `
|
6864
|
-
#
|
6880
|
+
# projects//locations//inspectTemplates/` OR `organizations//locations//
|
6881
|
+
# inspectTemplates/` Note: `inspect_template` must be located in the same region
|
6882
|
+
# as the `SecuritySettings`.
|
6865
6883
|
# Corresponds to the JSON property `inspectTemplate`
|
6866
6884
|
# @return [String]
|
6867
6885
|
attr_accessor :inspect_template
|
@@ -6904,6 +6922,7 @@ module Google
|
|
6904
6922
|
|
6905
6923
|
# Update properties of this object
|
6906
6924
|
def update!(**args)
|
6925
|
+
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
|
6907
6926
|
@display_name = args[:display_name] if args.key?(:display_name)
|
6908
6927
|
@insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
|
6909
6928
|
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
|
@@ -8945,8 +8964,9 @@ module Google
|
|
8945
8964
|
# @return [Array<String>]
|
8946
8965
|
attr_accessor :events
|
8947
8966
|
|
8948
|
-
# Read-only. Information about all followup intents that have this
|
8949
|
-
# direct or indirect parent. We populate this field only in the
|
8967
|
+
# Output only. Read-only. Information about all followup intents that have this
|
8968
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
8969
|
+
# output.
|
8950
8970
|
# Corresponds to the JSON property `followupIntentInfo`
|
8951
8971
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
8952
8972
|
attr_accessor :followup_intent_info
|
@@ -9031,9 +9051,10 @@ module Google
|
|
9031
9051
|
attr_accessor :reset_contexts
|
9032
9052
|
alias_method :reset_contexts?, :reset_contexts
|
9033
9053
|
|
9034
|
-
# Read-only. The unique identifier of the root intent in the chain
|
9035
|
-
# intents. It identifies the correct followup intents chain for this
|
9036
|
-
# populate this field only in the output. Format: `projects//agent/
|
9054
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
9055
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
9056
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
9057
|
+
# intents/`.
|
9037
9058
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
9038
9059
|
# @return [String]
|
9039
9060
|
attr_accessor :root_followup_intent_name
|
@@ -13985,6 +14006,78 @@ module Google
|
|
13985
14006
|
end
|
13986
14007
|
end
|
13987
14008
|
|
14009
|
+
# The response message for Locations.ListLocations.
|
14010
|
+
class GoogleCloudLocationListLocationsResponse
|
14011
|
+
include Google::Apis::Core::Hashable
|
14012
|
+
|
14013
|
+
# A list of locations that matches the specified filter in the request.
|
14014
|
+
# Corresponds to the JSON property `locations`
|
14015
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation>]
|
14016
|
+
attr_accessor :locations
|
14017
|
+
|
14018
|
+
# The standard List next-page token.
|
14019
|
+
# Corresponds to the JSON property `nextPageToken`
|
14020
|
+
# @return [String]
|
14021
|
+
attr_accessor :next_page_token
|
14022
|
+
|
14023
|
+
def initialize(**args)
|
14024
|
+
update!(**args)
|
14025
|
+
end
|
14026
|
+
|
14027
|
+
# Update properties of this object
|
14028
|
+
def update!(**args)
|
14029
|
+
@locations = args[:locations] if args.key?(:locations)
|
14030
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14031
|
+
end
|
14032
|
+
end
|
14033
|
+
|
14034
|
+
# A resource that represents Google Cloud Platform location.
|
14035
|
+
class GoogleCloudLocationLocation
|
14036
|
+
include Google::Apis::Core::Hashable
|
14037
|
+
|
14038
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
14039
|
+
# "Tokyo".
|
14040
|
+
# Corresponds to the JSON property `displayName`
|
14041
|
+
# @return [String]
|
14042
|
+
attr_accessor :display_name
|
14043
|
+
|
14044
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
14045
|
+
# region": "us-east1"`
|
14046
|
+
# Corresponds to the JSON property `labels`
|
14047
|
+
# @return [Hash<String,String>]
|
14048
|
+
attr_accessor :labels
|
14049
|
+
|
14050
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
14051
|
+
# Corresponds to the JSON property `locationId`
|
14052
|
+
# @return [String]
|
14053
|
+
attr_accessor :location_id
|
14054
|
+
|
14055
|
+
# Service-specific metadata. For example the available capacity at the given
|
14056
|
+
# location.
|
14057
|
+
# Corresponds to the JSON property `metadata`
|
14058
|
+
# @return [Hash<String,Object>]
|
14059
|
+
attr_accessor :metadata
|
14060
|
+
|
14061
|
+
# Resource name for the location, which may vary between implementations. For
|
14062
|
+
# example: `"projects/example-project/locations/us-east1"`
|
14063
|
+
# Corresponds to the JSON property `name`
|
14064
|
+
# @return [String]
|
14065
|
+
attr_accessor :name
|
14066
|
+
|
14067
|
+
def initialize(**args)
|
14068
|
+
update!(**args)
|
14069
|
+
end
|
14070
|
+
|
14071
|
+
# Update properties of this object
|
14072
|
+
def update!(**args)
|
14073
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14074
|
+
@labels = args[:labels] if args.key?(:labels)
|
14075
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
14076
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
14077
|
+
@name = args[:name] if args.key?(:name)
|
14078
|
+
end
|
14079
|
+
end
|
14080
|
+
|
13988
14081
|
# The response message for Operations.ListOperations.
|
13989
14082
|
class GoogleLongrunningListOperationsResponse
|
13990
14083
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.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 = "20210830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2284,6 +2284,18 @@ module Google
|
|
2284
2284
|
include Google::Apis::Core::JsonObjectSupport
|
2285
2285
|
end
|
2286
2286
|
|
2287
|
+
class GoogleCloudLocationListLocationsResponse
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2289
|
+
|
2290
|
+
include Google::Apis::Core::JsonObjectSupport
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
class GoogleCloudLocationLocation
|
2294
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2295
|
+
|
2296
|
+
include Google::Apis::Core::JsonObjectSupport
|
2297
|
+
end
|
2298
|
+
|
2287
2299
|
class GoogleLongrunningListOperationsResponse
|
2288
2300
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2289
2301
|
|
@@ -4202,6 +4214,7 @@ module Google
|
|
4202
4214
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
4203
4215
|
# @private
|
4204
4216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4217
|
+
property :deidentify_template, as: 'deidentifyTemplate'
|
4205
4218
|
property :display_name, as: 'displayName'
|
4206
4219
|
property :insights_export_settings, as: 'insightsExportSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings::Representation
|
4207
4220
|
|
@@ -6149,6 +6162,26 @@ module Google
|
|
6149
6162
|
end
|
6150
6163
|
end
|
6151
6164
|
|
6165
|
+
class GoogleCloudLocationListLocationsResponse
|
6166
|
+
# @private
|
6167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6168
|
+
collection :locations, as: 'locations', class: Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation::Representation
|
6169
|
+
|
6170
|
+
property :next_page_token, as: 'nextPageToken'
|
6171
|
+
end
|
6172
|
+
end
|
6173
|
+
|
6174
|
+
class GoogleCloudLocationLocation
|
6175
|
+
# @private
|
6176
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6177
|
+
property :display_name, as: 'displayName'
|
6178
|
+
hash :labels, as: 'labels'
|
6179
|
+
property :location_id, as: 'locationId'
|
6180
|
+
hash :metadata, as: 'metadata'
|
6181
|
+
property :name, as: 'name'
|
6182
|
+
end
|
6183
|
+
end
|
6184
|
+
|
6152
6185
|
class GoogleLongrunningListOperationsResponse
|
6153
6186
|
# @private
|
6154
6187
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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/`.
|
@@ -751,7 +840,11 @@ module Google
|
|
751
840
|
execute_or_queue_command(command, &block)
|
752
841
|
end
|
753
842
|
|
754
|
-
# Updates the specified Environment.
|
843
|
+
# Updates the specified Environment. This method is a [long-running operation](
|
844
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
845
|
+
# returned `Operation` type has the following method-specific fields: - `
|
846
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
847
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: Environment
|
755
848
|
# @param [String] name
|
756
849
|
# The name of the environment. Format: `projects//locations//agents//
|
757
850
|
# environments/`.
|
@@ -788,7 +881,11 @@ module Google
|
|
788
881
|
execute_or_queue_command(command, &block)
|
789
882
|
end
|
790
883
|
|
791
|
-
# Kicks off a continuous test under the specified Environment.
|
884
|
+
# Kicks off a continuous test under the specified Environment. This method is a [
|
885
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
886
|
+
# running-operation). The returned `Operation` type has the following method-
|
887
|
+
# specific fields: - `metadata`: RunContinuousTestMetadata - `response`:
|
888
|
+
# RunContinuousTestResponse
|
792
889
|
# @param [String] environment
|
793
890
|
# Required. Format: `projects//locations//agents//environments/`.
|
794
891
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest] google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
@@ -1493,8 +1590,13 @@ module Google
|
|
1493
1590
|
execute_or_queue_command(command, &block)
|
1494
1591
|
end
|
1495
1592
|
|
1496
|
-
# Exports the specified flow to a binary file.
|
1497
|
-
#
|
1593
|
+
# Exports the specified flow to a binary file. This method is a [long-running
|
1594
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
1595
|
+
# operation). The returned `Operation` type has the following method-specific
|
1596
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1597
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
1598
|
+
# ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that
|
1599
|
+
# the flow references will also be exported.
|
1498
1600
|
# @param [String] name
|
1499
1601
|
# Required. The name of the flow to export. Format: `projects//locations//agents/
|
1500
1602
|
# /flows/`.
|
@@ -1604,9 +1706,14 @@ module Google
|
|
1604
1706
|
execute_or_queue_command(command, &block)
|
1605
1707
|
end
|
1606
1708
|
|
1607
|
-
# Imports the specified flow to the specified agent from a binary file.
|
1608
|
-
#
|
1609
|
-
#
|
1709
|
+
# Imports the specified flow to the specified agent from a binary file. This
|
1710
|
+
# method is a [long-running operation](https://cloud.google.com/dialogflow/cx/
|
1711
|
+
# docs/how/long-running-operation). The returned `Operation` type has the
|
1712
|
+
# following method-specific fields: - `metadata`: An empty [Struct message](
|
1713
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1714
|
+
# struct) - `response`: ImportFlowResponse Note: You should always train a flow
|
1715
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1716
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1610
1717
|
# @param [String] parent
|
1611
1718
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1612
1719
|
# agents/`.
|
@@ -1704,8 +1811,8 @@ module Google
|
|
1704
1811
|
# com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
|
1705
1812
|
# be enabled in the agent before they can be used.
|
1706
1813
|
# @param [String] update_mask
|
1707
|
-
#
|
1708
|
-
#
|
1814
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
1815
|
+
# fields will be updated.
|
1709
1816
|
# @param [String] fields
|
1710
1817
|
# Selector specifying which fields to include in a partial response.
|
1711
1818
|
# @param [String] quota_user
|
@@ -1738,9 +1845,14 @@ module Google
|
|
1738
1845
|
end
|
1739
1846
|
|
1740
1847
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1741
|
-
# trained.
|
1742
|
-
#
|
1743
|
-
#
|
1848
|
+
# trained. This method is a [long-running operation](https://cloud.google.com/
|
1849
|
+
# dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type
|
1850
|
+
# has the following method-specific fields: - `metadata`: An empty [Struct
|
1851
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
1852
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
1853
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
1854
|
+
# always train a flow prior to sending it queries. See the [training
|
1855
|
+
# documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1744
1856
|
# @param [String] name
|
1745
1857
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1746
1858
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
@@ -2268,7 +2380,10 @@ module Google
|
|
2268
2380
|
execute_or_queue_command(command, &block)
|
2269
2381
|
end
|
2270
2382
|
|
2271
|
-
# Creates a Version in the specified Flow.
|
2383
|
+
# Creates a Version in the specified Flow. This method is a [long-running
|
2384
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
2385
|
+
# operation). The returned `Operation` type has the following method-specific
|
2386
|
+
# fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version
|
2272
2387
|
# @param [String] parent
|
2273
2388
|
# Required. The Flow to create an Version for. Format: `projects//locations//
|
2274
2389
|
# agents//flows/`.
|
@@ -2402,7 +2517,13 @@ module Google
|
|
2402
2517
|
execute_or_queue_command(command, &block)
|
2403
2518
|
end
|
2404
2519
|
|
2405
|
-
# Loads resources in the specified version to the draft flow.
|
2520
|
+
# Loads resources in the specified version to the draft flow. This method is a [
|
2521
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
2522
|
+
# running-operation). The returned `Operation` type has the following method-
|
2523
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
2524
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
2525
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
2526
|
+
# reference/google.protobuf#empty)
|
2406
2527
|
# @param [String] name
|
2407
2528
|
# Required. The Version to be loaded to draft flow. Format: `projects//locations/
|
2408
2529
|
# /agents//flows//versions/`.
|
@@ -3027,7 +3148,10 @@ module Google
|
|
3027
3148
|
execute_or_queue_command(command, &block)
|
3028
3149
|
end
|
3029
3150
|
|
3030
|
-
# Kicks off a batch run of test cases.
|
3151
|
+
# Kicks off a batch run of test cases. This method is a [long-running operation](
|
3152
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
3153
|
+
# returned `Operation` type has the following method-specific fields: - `
|
3154
|
+
# metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse
|
3031
3155
|
# @param [String] parent
|
3032
3156
|
# Required. Agent name. Format: `projects//locations//agents/ `.
|
3033
3157
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object
|
@@ -3129,7 +3253,11 @@ module Google
|
|
3129
3253
|
end
|
3130
3254
|
|
3131
3255
|
# 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.
|
3256
|
+
# file. Filter can be applied to export a subset of test cases. This method is a
|
3257
|
+
# [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
3258
|
+
# running-operation). The returned `Operation` type has the following method-
|
3259
|
+
# specific fields: - `metadata`: ExportTestCasesMetadata - `response`:
|
3260
|
+
# ExportTestCasesResponse
|
3133
3261
|
# @param [String] parent
|
3134
3262
|
# Required. The agent where to export test cases from. Format: `projects//
|
3135
3263
|
# locations//agents/`.
|
@@ -3196,7 +3324,11 @@ module Google
|
|
3196
3324
|
|
3197
3325
|
# Imports the test cases from a Cloud Storage bucket or a local file. It always
|
3198
3326
|
# creates new test cases and won't overwite any existing ones. The provided ID
|
3199
|
-
# in the imported test case is neglected.
|
3327
|
+
# in the imported test case is neglected. This method is a [long-running
|
3328
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
3329
|
+
# operation). The returned `Operation` type has the following method-specific
|
3330
|
+
# fields: - `metadata`: ImportTestCasesMetadata - `response`:
|
3331
|
+
# ImportTestCasesResponse
|
3200
3332
|
# @param [String] parent
|
3201
3333
|
# Required. The agent to import test cases to. Format: `projects//locations//
|
3202
3334
|
# agents/`.
|
@@ -3311,7 +3443,10 @@ module Google
|
|
3311
3443
|
execute_or_queue_command(command, &block)
|
3312
3444
|
end
|
3313
3445
|
|
3314
|
-
# Kicks off a test case run.
|
3446
|
+
# Kicks off a test case run. This method is a [long-running operation](https://
|
3447
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
3448
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
3449
|
+
# RunTestCaseMetadata - `response`: RunTestCaseResponse
|
3315
3450
|
# @param [String] name
|
3316
3451
|
# Required. Format of test case name to run: `projects//locations/ /agents//
|
3317
3452
|
# testCases/`.
|
@@ -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.21.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-09-06 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.21.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: []
|