google-apis-dialogflow_v3 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v3/classes.rb +104 -11
- data/lib/google/apis/dialogflow_v3/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3/representations.rb +33 -0
- data/lib/google/apis/dialogflow_v3/service.rb +158 -23
- data/lib/google/apis/dialogflow_v3.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: 0b47da7748af1047540d20af8cc51dad5cc7aed49db6af15cd87f77880f5fcc1
|
4
|
+
data.tar.gz: c2e9c4d321de766338e4317b77e53ea3584175736a3f9c8fb3a8f36a3eb1947c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 675d95a8f755ba2b511b35278a6937bb942e6cbdcf0292a3cc8830ef0362bf8adf1cd4d80ff3fddb2c3edc4b262cf391d23eeb304c006d455878b27e52298edb
|
7
|
+
data.tar.gz: ab48a97e5c84dbd730e4e4695604569911643bc83c255e39e32fd377f189754b9b9499d81b9f1ca519fe11b3f8572c8accae3d4ea8ff08e7730f415ad506d140
|
data/CHANGELOG.md
CHANGED
@@ -496,7 +496,8 @@ module Google
|
|
496
496
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page]
|
497
497
|
attr_accessor :current_page
|
498
498
|
|
499
|
-
# Required. Input only. The diagnostic info output for the turn.
|
499
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
500
|
+
# calculate the testing coverage.
|
500
501
|
# Corresponds to the JSON property `diagnosticInfo`
|
501
502
|
# @return [Hash<String,Object>]
|
502
503
|
attr_accessor :diagnostic_info
|
@@ -1410,6 +1411,7 @@ module Google
|
|
1410
1411
|
end
|
1411
1412
|
|
1412
1413
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
1414
|
+
# This message currently has no fields.
|
1413
1415
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
1414
1416
|
include Google::Apis::Core::Hashable
|
1415
1417
|
|
@@ -4249,7 +4251,8 @@ module Google
|
|
4249
4251
|
end
|
4250
4252
|
end
|
4251
4253
|
|
4252
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4254
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
4255
|
+
# message currently has no fields.
|
4253
4256
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
4254
4257
|
include Google::Apis::Core::Hashable
|
4255
4258
|
|
@@ -4307,6 +4310,17 @@ module Google
|
|
4307
4310
|
class GoogleCloudDialogflowCxV3SecuritySettings
|
4308
4311
|
include Google::Apis::Core::Hashable
|
4309
4312
|
|
4313
|
+
# [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
|
4314
|
+
# template to define de-identification configuration for the content. If empty,
|
4315
|
+
# Dialogflow replaces sensitive info with `[redacted]` text. The template name
|
4316
|
+
# will have one of the following formats: `projects//locations//
|
4317
|
+
# deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
|
4318
|
+
# `deidentify_template` must be located in the same region as the `
|
4319
|
+
# SecuritySettings`.
|
4320
|
+
# Corresponds to the JSON property `deidentifyTemplate`
|
4321
|
+
# @return [String]
|
4322
|
+
attr_accessor :deidentify_template
|
4323
|
+
|
4310
4324
|
# Required. The human-readable name of the security settings, unique within the
|
4311
4325
|
# location.
|
4312
4326
|
# Corresponds to the JSON property `displayName`
|
@@ -4322,8 +4336,9 @@ module Google
|
|
4322
4336
|
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
4323
4337
|
# template to define inspect base settings. If empty, we use the default DLP
|
4324
4338
|
# inspect config. The template name will have one of the following formats: `
|
4325
|
-
# projects//inspectTemplates/` OR `
|
4326
|
-
#
|
4339
|
+
# projects//locations//inspectTemplates/` OR `organizations//locations//
|
4340
|
+
# inspectTemplates/` Note: `inspect_template` must be located in the same region
|
4341
|
+
# as the `SecuritySettings`.
|
4327
4342
|
# Corresponds to the JSON property `inspectTemplate`
|
4328
4343
|
# @return [String]
|
4329
4344
|
attr_accessor :inspect_template
|
@@ -4366,6 +4381,7 @@ module Google
|
|
4366
4381
|
|
4367
4382
|
# Update properties of this object
|
4368
4383
|
def update!(**args)
|
4384
|
+
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
|
4369
4385
|
@display_name = args[:display_name] if args.key?(:display_name)
|
4370
4386
|
@insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
|
4371
4387
|
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
|
@@ -6077,7 +6093,8 @@ module Google
|
|
6077
6093
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Page]
|
6078
6094
|
attr_accessor :current_page
|
6079
6095
|
|
6080
|
-
# Required. Input only. The diagnostic info output for the turn.
|
6096
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
6097
|
+
# calculate the testing coverage.
|
6081
6098
|
# Corresponds to the JSON property `diagnosticInfo`
|
6082
6099
|
# @return [Hash<String,Object>]
|
6083
6100
|
attr_accessor :diagnostic_info
|
@@ -6345,6 +6362,7 @@ module Google
|
|
6345
6362
|
end
|
6346
6363
|
|
6347
6364
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
6365
|
+
# This message currently has no fields.
|
6348
6366
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
6349
6367
|
include Google::Apis::Core::Hashable
|
6350
6368
|
|
@@ -7724,7 +7742,8 @@ module Google
|
|
7724
7742
|
end
|
7725
7743
|
end
|
7726
7744
|
|
7727
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7745
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
7746
|
+
# message currently has no fields.
|
7728
7747
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
7729
7748
|
include Google::Apis::Core::Hashable
|
7730
7749
|
|
@@ -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::DialogflowV3::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::DialogflowV3::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 DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 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
|
|
@@ -3490,6 +3502,7 @@ module Google
|
|
3490
3502
|
class GoogleCloudDialogflowCxV3SecuritySettings
|
3491
3503
|
# @private
|
3492
3504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3505
|
+
property :deidentify_template, as: 'deidentifyTemplate'
|
3493
3506
|
property :display_name, as: 'displayName'
|
3494
3507
|
property :insights_export_settings, as: 'insightsExportSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings::Representation
|
3495
3508
|
|
@@ -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::DialogflowV3::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudLocationLocation] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::DialogflowV3::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, 'v3/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudLocationLocation::Representation
|
76
|
+
command.response_class = Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudLocationListLocationsResponse] parsed result object
|
106
|
+
# @yieldparam err [StandardError] error object if request failed
|
107
|
+
#
|
108
|
+
# @return [Google::Apis::DialogflowV3::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, 'v3/{+name}/locations', options)
|
115
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudLocationListLocationsResponse::Representation
|
116
|
+
command.response_class = Google::Apis::DialogflowV3::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
|
54
127
|
# flows prior to sending them 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 flows prior to sending them 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/`.
|
@@ -581,7 +665,12 @@ module Google
|
|
581
665
|
execute_or_queue_command(command, &block)
|
582
666
|
end
|
583
667
|
|
584
|
-
# Creates an Environment in the specified Agent.
|
668
|
+
# Creates an Environment in the specified Agent. This method is a [long-running
|
669
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
670
|
+
# operation). The returned `Operation` type has the following method-specific
|
671
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
672
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
673
|
+
# Environment
|
585
674
|
# @param [String] parent
|
586
675
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
587
676
|
# /agents/`.
|
@@ -753,7 +842,11 @@ module Google
|
|
753
842
|
execute_or_queue_command(command, &block)
|
754
843
|
end
|
755
844
|
|
756
|
-
# Updates the specified Environment.
|
845
|
+
# Updates the specified Environment. This method is a [long-running operation](
|
846
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
847
|
+
# returned `Operation` type has the following method-specific fields: - `
|
848
|
+
# metadata`: An empty [Struct message](https://developers.google.com/protocol-
|
849
|
+
# buffers/docs/reference/google.protobuf#struct) - `response`: Environment
|
757
850
|
# @param [String] name
|
758
851
|
# The name of the environment. Format: `projects//locations//agents//
|
759
852
|
# environments/`.
|
@@ -790,7 +883,11 @@ module Google
|
|
790
883
|
execute_or_queue_command(command, &block)
|
791
884
|
end
|
792
885
|
|
793
|
-
# Kicks off a continuous test under the specified Environment.
|
886
|
+
# Kicks off a continuous test under the specified Environment. This method is a [
|
887
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
888
|
+
# running-operation). The returned `Operation` type has the following method-
|
889
|
+
# specific fields: - `metadata`: RunContinuousTestMetadata - `response`:
|
890
|
+
# RunContinuousTestResponse
|
794
891
|
# @param [String] environment
|
795
892
|
# Required. Format: `projects//locations//agents//environments/`.
|
796
893
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunContinuousTestRequest] google_cloud_dialogflow_cx_v3_run_continuous_test_request_object
|
@@ -1495,8 +1592,13 @@ module Google
|
|
1495
1592
|
execute_or_queue_command(command, &block)
|
1496
1593
|
end
|
1497
1594
|
|
1498
|
-
# Exports the specified flow to a binary file.
|
1499
|
-
#
|
1595
|
+
# Exports the specified flow to a binary file. This method is a [long-running
|
1596
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
1597
|
+
# operation). The returned `Operation` type has the following method-specific
|
1598
|
+
# fields: - `metadata`: An empty [Struct message](https://developers.google.com/
|
1599
|
+
# protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
|
1600
|
+
# ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that
|
1601
|
+
# the flow references will also be exported.
|
1500
1602
|
# @param [String] name
|
1501
1603
|
# Required. The name of the flow to export. Format: `projects//locations//agents/
|
1502
1604
|
# /flows/`.
|
@@ -1606,9 +1708,14 @@ module Google
|
|
1606
1708
|
execute_or_queue_command(command, &block)
|
1607
1709
|
end
|
1608
1710
|
|
1609
|
-
# Imports the specified flow to the specified agent from a binary file.
|
1610
|
-
#
|
1611
|
-
#
|
1711
|
+
# Imports the specified flow to the specified agent from a binary file. This
|
1712
|
+
# method is a [long-running operation](https://cloud.google.com/dialogflow/cx/
|
1713
|
+
# docs/how/long-running-operation). The returned `Operation` type has the
|
1714
|
+
# following method-specific fields: - `metadata`: An empty [Struct message](
|
1715
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1716
|
+
# struct) - `response`: ImportFlowResponse Note: You should always train a flow
|
1717
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1718
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1612
1719
|
# @param [String] parent
|
1613
1720
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1614
1721
|
# agents/`.
|
@@ -1706,8 +1813,8 @@ module Google
|
|
1706
1813
|
# com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
|
1707
1814
|
# be enabled in the agent before they can be used.
|
1708
1815
|
# @param [String] update_mask
|
1709
|
-
#
|
1710
|
-
#
|
1816
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
1817
|
+
# fields will be updated.
|
1711
1818
|
# @param [String] fields
|
1712
1819
|
# Selector specifying which fields to include in a partial response.
|
1713
1820
|
# @param [String] quota_user
|
@@ -1740,9 +1847,14 @@ module Google
|
|
1740
1847
|
end
|
1741
1848
|
|
1742
1849
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1743
|
-
# trained.
|
1744
|
-
#
|
1745
|
-
#
|
1850
|
+
# trained. This method is a [long-running operation](https://cloud.google.com/
|
1851
|
+
# dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type
|
1852
|
+
# has the following method-specific fields: - `metadata`: An empty [Struct
|
1853
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.
|
1854
|
+
# protobuf#struct) - `response`: An [Empty message](https://developers.google.
|
1855
|
+
# com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
|
1856
|
+
# always train a flow prior to sending it queries. See the [training
|
1857
|
+
# documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1746
1858
|
# @param [String] name
|
1747
1859
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1748
1860
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TrainFlowRequest] google_cloud_dialogflow_cx_v3_train_flow_request_object
|
@@ -2276,7 +2388,10 @@ module Google
|
|
2276
2388
|
execute_or_queue_command(command, &block)
|
2277
2389
|
end
|
2278
2390
|
|
2279
|
-
# Creates a Version in the specified Flow.
|
2391
|
+
# Creates a Version in the specified Flow. This method is a [long-running
|
2392
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
2393
|
+
# operation). The returned `Operation` type has the following method-specific
|
2394
|
+
# fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version
|
2280
2395
|
# @param [String] parent
|
2281
2396
|
# Required. The Flow to create an Version for. Format: `projects//locations//
|
2282
2397
|
# agents//flows/`.
|
@@ -2410,7 +2525,13 @@ module Google
|
|
2410
2525
|
execute_or_queue_command(command, &block)
|
2411
2526
|
end
|
2412
2527
|
|
2413
|
-
# Loads resources in the specified version to the draft flow.
|
2528
|
+
# Loads resources in the specified version to the draft flow. This method is a [
|
2529
|
+
# long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
2530
|
+
# running-operation). The returned `Operation` type has the following method-
|
2531
|
+
# specific fields: - `metadata`: An empty [Struct message](https://developers.
|
2532
|
+
# google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
|
2533
|
+
# : An [Empty message](https://developers.google.com/protocol-buffers/docs/
|
2534
|
+
# reference/google.protobuf#empty)
|
2414
2535
|
# @param [String] name
|
2415
2536
|
# Required. The Version to be loaded to draft flow. Format: `projects//locations/
|
2416
2537
|
# /agents//flows//versions/`.
|
@@ -3035,7 +3156,10 @@ module Google
|
|
3035
3156
|
execute_or_queue_command(command, &block)
|
3036
3157
|
end
|
3037
3158
|
|
3038
|
-
# Kicks off a batch run of test cases.
|
3159
|
+
# Kicks off a batch run of test cases. This method is a [long-running operation](
|
3160
|
+
# https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
|
3161
|
+
# returned `Operation` type has the following method-specific fields: - `
|
3162
|
+
# metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse
|
3039
3163
|
# @param [String] parent
|
3040
3164
|
# Required. Agent name. Format: `projects//locations//agents/ `.
|
3041
3165
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3_batch_run_test_cases_request_object
|
@@ -3137,7 +3261,11 @@ module Google
|
|
3137
3261
|
end
|
3138
3262
|
|
3139
3263
|
# Exports the test cases under the agent to a Cloud Storage bucket or a local
|
3140
|
-
# file. Filter can be applied to export a subset of test cases.
|
3264
|
+
# file. Filter can be applied to export a subset of test cases. This method is a
|
3265
|
+
# [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
|
3266
|
+
# running-operation). The returned `Operation` type has the following method-
|
3267
|
+
# specific fields: - `metadata`: ExportTestCasesMetadata - `response`:
|
3268
|
+
# ExportTestCasesResponse
|
3141
3269
|
# @param [String] parent
|
3142
3270
|
# Required. The agent where to export test cases from. Format: `projects//
|
3143
3271
|
# locations//agents/`.
|
@@ -3204,7 +3332,11 @@ module Google
|
|
3204
3332
|
|
3205
3333
|
# Imports the test cases from a Cloud Storage bucket or a local file. It always
|
3206
3334
|
# creates new test cases and won't overwite any existing ones. The provided ID
|
3207
|
-
# in the imported test case is neglected.
|
3335
|
+
# in the imported test case is neglected. This method is a [long-running
|
3336
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
3337
|
+
# operation). The returned `Operation` type has the following method-specific
|
3338
|
+
# fields: - `metadata`: ImportTestCasesMetadata - `response`:
|
3339
|
+
# ImportTestCasesResponse
|
3208
3340
|
# @param [String] parent
|
3209
3341
|
# Required. The agent to import test cases to. Format: `projects//locations//
|
3210
3342
|
# agents/`.
|
@@ -3319,7 +3451,10 @@ module Google
|
|
3319
3451
|
execute_or_queue_command(command, &block)
|
3320
3452
|
end
|
3321
3453
|
|
3322
|
-
# Kicks off a test case run.
|
3454
|
+
# Kicks off a test case run. This method is a [long-running operation](https://
|
3455
|
+
# cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
|
3456
|
+
# Operation` type has the following method-specific fields: - `metadata`:
|
3457
|
+
# RunTestCaseMetadata - `response`: RunTestCaseResponse
|
3323
3458
|
# @param [String] name
|
3324
3459
|
# Required. Format of test case name to run: `projects//locations/ /agents//
|
3325
3460
|
# testCases/`.
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V3'
|
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_v3
|
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_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|