google-cloud-dialogflow-v2 0.10.0 → 0.11.2
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/AUTHENTICATION.md +8 -8
- data/README.md +2 -2
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +39 -5
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +96 -54
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +34 -25
- data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +37 -43
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +49 -47
- data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +46 -46
- data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +46 -46
- data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +27 -10
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +75 -56
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +34 -25
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +45 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +104 -51
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +34 -25
- data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +7 -7
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +69 -56
- data/lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +37 -43
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +16 -1
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +67 -48
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +34 -25
- data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +46 -46
- data/lib/google/cloud/dialogflow/v2/participant_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +53 -52
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +46 -46
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +38 -47
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +51 -46
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/dialogflow/v2/environment.rb +22 -4
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +4 -3
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/v2/validation_result.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/version.rb +6 -0
- metadata +8 -7
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::Dialogflow::V2::Versions::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all Versions clients
|
47
|
+
# ::Google::Cloud::Dialogflow::V2::Versions::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -67,10 +66,7 @@ module Google
|
|
67
66
|
|
68
67
|
default_config.timeout = 60.0
|
69
68
|
default_config.retry_policy = {
|
70
|
-
initial_delay: 0.1,
|
71
|
-
max_delay: 60.0,
|
72
|
-
multiplier: 1.3,
|
73
|
-
retry_codes: [14]
|
69
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
74
70
|
}
|
75
71
|
|
76
72
|
default_config
|
@@ -102,19 +98,15 @@ module Google
|
|
102
98
|
##
|
103
99
|
# Create a new Versions client object.
|
104
100
|
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
# To create a new Versions client with the default
|
108
|
-
# configuration:
|
109
|
-
#
|
110
|
-
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new
|
101
|
+
# @example
|
111
102
|
#
|
112
|
-
#
|
113
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new
|
114
105
|
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
106
|
+
# # Create a client using a custom configuration
|
107
|
+
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new do |config|
|
108
|
+
# config.timeout = 10.0
|
109
|
+
# end
|
118
110
|
#
|
119
111
|
# @yield [config] Configure the Versions client.
|
120
112
|
# @yieldparam config [Client::Configuration]
|
@@ -134,14 +126,13 @@ module Google
|
|
134
126
|
|
135
127
|
# Create credentials
|
136
128
|
credentials = @config.credentials
|
137
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
138
130
|
# but only if the default endpoint does not have a region prefix.
|
139
|
-
enable_self_signed_jwt = @config.
|
140
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
141
132
|
!@config.endpoint.split(".").first.include?("-")
|
142
133
|
credentials ||= Credentials.default scope: @config.scope,
|
143
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
144
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
135
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
145
136
|
credentials = Credentials.new credentials, scope: @config.scope
|
146
137
|
end
|
147
138
|
@quota_project_id = @config.quota_project
|
@@ -179,6 +170,7 @@ module Google
|
|
179
170
|
# @param parent [::String]
|
180
171
|
# Required. The agent to list all versions from.
|
181
172
|
# Supported formats:
|
173
|
+
#
|
182
174
|
# - `projects/<Project ID>/agent`
|
183
175
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
184
176
|
# @param page_size [::Integer]
|
@@ -221,7 +213,9 @@ module Google
|
|
221
213
|
options.apply_defaults timeout: @config.rpcs.list_versions.timeout,
|
222
214
|
metadata: metadata,
|
223
215
|
retry_policy: @config.rpcs.list_versions.retry_policy
|
224
|
-
|
216
|
+
|
217
|
+
options.apply_defaults timeout: @config.timeout,
|
218
|
+
metadata: @config.metadata,
|
225
219
|
retry_policy: @config.retry_policy
|
226
220
|
|
227
221
|
@versions_stub.call_rpc :list_versions, request, options: options do |response, operation|
|
@@ -254,6 +248,7 @@ module Google
|
|
254
248
|
# @param name [::String]
|
255
249
|
# Required. The name of the version.
|
256
250
|
# Supported formats:
|
251
|
+
#
|
257
252
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
258
253
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
259
254
|
# ID>`
|
@@ -292,7 +287,9 @@ module Google
|
|
292
287
|
options.apply_defaults timeout: @config.rpcs.get_version.timeout,
|
293
288
|
metadata: metadata,
|
294
289
|
retry_policy: @config.rpcs.get_version.retry_policy
|
295
|
-
|
290
|
+
|
291
|
+
options.apply_defaults timeout: @config.timeout,
|
292
|
+
metadata: @config.metadata,
|
296
293
|
retry_policy: @config.retry_policy
|
297
294
|
|
298
295
|
@versions_stub.call_rpc :get_version, request, options: options do |response, operation|
|
@@ -326,6 +323,7 @@ module Google
|
|
326
323
|
# @param parent [::String]
|
327
324
|
# Required. The agent to create a version for.
|
328
325
|
# Supported formats:
|
326
|
+
#
|
329
327
|
# - `projects/<Project ID>/agent`
|
330
328
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
331
329
|
# @param version [::Google::Cloud::Dialogflow::V2::Version, ::Hash]
|
@@ -365,7 +363,9 @@ module Google
|
|
365
363
|
options.apply_defaults timeout: @config.rpcs.create_version.timeout,
|
366
364
|
metadata: metadata,
|
367
365
|
retry_policy: @config.rpcs.create_version.retry_policy
|
368
|
-
|
366
|
+
|
367
|
+
options.apply_defaults timeout: @config.timeout,
|
368
|
+
metadata: @config.metadata,
|
369
369
|
retry_policy: @config.retry_policy
|
370
370
|
|
371
371
|
@versions_stub.call_rpc :create_version, request, options: options do |response, operation|
|
@@ -401,6 +401,7 @@ module Google
|
|
401
401
|
# @param version [::Google::Cloud::Dialogflow::V2::Version, ::Hash]
|
402
402
|
# Required. The version to update.
|
403
403
|
# Supported formats:
|
404
|
+
#
|
404
405
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
405
406
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
406
407
|
# ID>`
|
@@ -441,7 +442,9 @@ module Google
|
|
441
442
|
options.apply_defaults timeout: @config.rpcs.update_version.timeout,
|
442
443
|
metadata: metadata,
|
443
444
|
retry_policy: @config.rpcs.update_version.retry_policy
|
444
|
-
|
445
|
+
|
446
|
+
options.apply_defaults timeout: @config.timeout,
|
447
|
+
metadata: @config.metadata,
|
445
448
|
retry_policy: @config.retry_policy
|
446
449
|
|
447
450
|
@versions_stub.call_rpc :update_version, request, options: options do |response, operation|
|
@@ -473,6 +476,7 @@ module Google
|
|
473
476
|
# @param name [::String]
|
474
477
|
# Required. The name of the version to delete.
|
475
478
|
# Supported formats:
|
479
|
+
#
|
476
480
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
477
481
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
478
482
|
# ID>`
|
@@ -511,7 +515,9 @@ module Google
|
|
511
515
|
options.apply_defaults timeout: @config.rpcs.delete_version.timeout,
|
512
516
|
metadata: metadata,
|
513
517
|
retry_policy: @config.rpcs.delete_version.retry_policy
|
514
|
-
|
518
|
+
|
519
|
+
options.apply_defaults timeout: @config.timeout,
|
520
|
+
metadata: @config.metadata,
|
515
521
|
retry_policy: @config.retry_policy
|
516
522
|
|
517
523
|
@versions_stub.call_rpc :delete_version, request, options: options do |response, operation|
|
@@ -535,22 +541,21 @@ module Google
|
|
535
541
|
# Configuration can be applied globally to all clients, or to a single client
|
536
542
|
# on construction.
|
537
543
|
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# to 20 seconds,
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
# end
|
544
|
+
# @example
|
545
|
+
#
|
546
|
+
# # Modify the global config, setting the timeout for
|
547
|
+
# # list_versions to 20 seconds,
|
548
|
+
# # and all remaining timeouts to 10 seconds.
|
549
|
+
# ::Google::Cloud::Dialogflow::V2::Versions::Client.configure do |config|
|
550
|
+
# config.timeout = 10.0
|
551
|
+
# config.rpcs.list_versions.timeout = 20.0
|
552
|
+
# end
|
553
|
+
#
|
554
|
+
# # Apply the above configuration only to a new client.
|
555
|
+
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new do |config|
|
556
|
+
# config.timeout = 10.0
|
557
|
+
# config.rpcs.list_versions.timeout = 20.0
|
558
|
+
# end
|
554
559
|
#
|
555
560
|
# @!attribute [rw] endpoint
|
556
561
|
# The hostname or hostname:port of the service endpoint.
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -43,17 +43,21 @@ module Google
|
|
43
43
|
# @return [::String]
|
44
44
|
# Output only. The unique identifier of this agent environment.
|
45
45
|
# Supported formats:
|
46
|
+
#
|
46
47
|
# - `projects/<Project ID>/agent/environments/<Environment ID>`
|
47
48
|
# - `projects/<Project ID>/locations/<Location
|
48
49
|
# ID>/agent/environments/<Environment ID>`
|
50
|
+
#
|
51
|
+
# The environment ID for the default environment is `-`.
|
49
52
|
# @!attribute [rw] description
|
50
53
|
# @return [::String]
|
51
54
|
# Optional. The developer-provided description for this environment.
|
52
55
|
# The maximum length is 500 characters. If exceeded, the request is rejected.
|
53
56
|
# @!attribute [rw] agent_version
|
54
57
|
# @return [::String]
|
55
|
-
#
|
58
|
+
# Optional. The agent version loaded into this environment.
|
56
59
|
# Supported formats:
|
60
|
+
#
|
57
61
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
58
62
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
59
63
|
# ID>`
|
@@ -134,6 +138,7 @@ module Google
|
|
134
138
|
# @return [::String]
|
135
139
|
# Required. The agent to list all environments from.
|
136
140
|
# Format:
|
141
|
+
#
|
137
142
|
# - `projects/<Project ID>/agent`
|
138
143
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
139
144
|
# @!attribute [rw] page_size
|
@@ -167,9 +172,12 @@ module Google
|
|
167
172
|
# @return [::String]
|
168
173
|
# Required. The name of the environment.
|
169
174
|
# Supported formats:
|
175
|
+
#
|
170
176
|
# - `projects/<Project ID>/agent/environments/<Environment ID>`
|
171
177
|
# - `projects/<Project ID>/locations/<Location
|
172
178
|
# ID>/agent/environments/<Environment ID>`
|
179
|
+
#
|
180
|
+
# The environment ID for the default environment is `-`.
|
173
181
|
class GetEnvironmentRequest
|
174
182
|
include ::Google::Protobuf::MessageExts
|
175
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -180,6 +188,7 @@ module Google
|
|
180
188
|
# @return [::String]
|
181
189
|
# Required. The agent to create an environment for.
|
182
190
|
# Supported formats:
|
191
|
+
#
|
183
192
|
# - `projects/<Project ID>/agent`
|
184
193
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
185
194
|
# @!attribute [rw] environment
|
@@ -202,10 +211,10 @@ module Google
|
|
202
211
|
# Required. The mask to control which fields get updated.
|
203
212
|
# @!attribute [rw] allow_load_to_draft_and_discard_changes
|
204
213
|
# @return [::Boolean]
|
205
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
214
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
206
215
|
# environment, which is an operation that cannot be undone. To confirm that
|
207
216
|
# the caller desires this overwrite, this field must be explicitly set to
|
208
|
-
# true when updating the
|
217
|
+
# true when updating the default environment (environment ID = `-`).
|
209
218
|
class UpdateEnvironmentRequest
|
210
219
|
include ::Google::Protobuf::MessageExts
|
211
220
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -216,9 +225,12 @@ module Google
|
|
216
225
|
# @return [::String]
|
217
226
|
# Required. The name of the environment to delete.
|
218
227
|
# / Format:
|
228
|
+
#
|
219
229
|
# - `projects/<Project ID>/agent/environments/<Environment ID>`
|
220
230
|
# - `projects/<Project ID>/locations/<Location
|
221
|
-
#
|
231
|
+
# ID>/agent/environments/<Environment ID>`
|
232
|
+
#
|
233
|
+
# The environment ID for the default environment is `-`.
|
222
234
|
class DeleteEnvironmentRequest
|
223
235
|
include ::Google::Protobuf::MessageExts
|
224
236
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -229,9 +241,12 @@ module Google
|
|
229
241
|
# @return [::String]
|
230
242
|
# Required. The name of the environment to retrieve history for.
|
231
243
|
# Supported formats:
|
244
|
+
#
|
232
245
|
# - `projects/<Project ID>/agent/environments/<Environment ID>`
|
233
246
|
# - `projects/<Project ID>/locations/<Location
|
234
247
|
# ID>/agent/environments/<Environment ID>`
|
248
|
+
#
|
249
|
+
# The environment ID for the default environment is `-`.
|
235
250
|
# @!attribute [rw] page_size
|
236
251
|
# @return [::Integer]
|
237
252
|
# Optional. The maximum number of items to return in a single page. By default 100 and
|
@@ -249,9 +264,12 @@ module Google
|
|
249
264
|
# @return [::String]
|
250
265
|
# Output only. The name of the environment this history is for.
|
251
266
|
# Supported formats:
|
267
|
+
#
|
252
268
|
# - `projects/<Project ID>/agent/environments/<Environment ID>`
|
253
269
|
# - `projects/<Project ID>/locations/<Location
|
254
270
|
# ID>/agent/environments/<Environment ID>`
|
271
|
+
#
|
272
|
+
# The environment ID for the default environment is `-`.
|
255
273
|
# @!attribute [r] entries
|
256
274
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::EnvironmentHistory::Entry>]
|
257
275
|
# Output only. The list of agent environments. There will be a maximum number of items
|
@@ -113,8 +113,9 @@ module Google
|
|
113
113
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::Platform>]
|
114
114
|
# Optional. The list of platforms for which the first responses will be
|
115
115
|
# copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
|
116
|
-
# @!attribute [
|
116
|
+
# @!attribute [r] root_followup_intent_name
|
117
117
|
# @return [::String]
|
118
|
+
# Output only.
|
118
119
|
# Read-only. The unique identifier of the root intent in the chain of
|
119
120
|
# followup intents. It identifies the correct followup intents chain for
|
120
121
|
# this intent. We populate this field only in the output.
|
@@ -130,9 +131,9 @@ module Google
|
|
130
131
|
#
|
131
132
|
# It identifies the parent followup intent.
|
132
133
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
133
|
-
# @!attribute [
|
134
|
+
# @!attribute [r] followup_intent_info
|
134
135
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::FollowupIntentInfo>]
|
135
|
-
# Read-only. Information about all followup intents that have this intent as
|
136
|
+
# Output only. Read-only. Information about all followup intents that have this intent as
|
136
137
|
# a direct or indirect parent. We populate this field only in the output.
|
137
138
|
class Intent
|
138
139
|
include ::Google::Protobuf::MessageExts
|
@@ -510,6 +510,9 @@ module Google
|
|
510
510
|
# @return [::Google::Protobuf::Duration]
|
511
511
|
# Time offset of the end of this Speech recognition result relative to the
|
512
512
|
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
513
|
+
# @!attribute [rw] language_code
|
514
|
+
# @return [::String]
|
515
|
+
# Detected language code for the transcript.
|
513
516
|
class StreamingRecognitionResult
|
514
517
|
include ::Google::Protobuf::MessageExts
|
515
518
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,7 +43,7 @@ module Google
|
|
43
43
|
# associated with certain entities.
|
44
44
|
# @!attribute [rw] error_message
|
45
45
|
# @return [::String]
|
46
|
-
# The detailed error
|
46
|
+
# The detailed error message.
|
47
47
|
class ValidationError
|
48
48
|
include ::Google::Protobuf::MessageExts
|
49
49
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,6 +43,7 @@ module Google
|
|
43
43
|
# @return [::String]
|
44
44
|
# Output only. The unique identifier of this agent version.
|
45
45
|
# Supported formats:
|
46
|
+
#
|
46
47
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
47
48
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
48
49
|
# ID>`
|
@@ -86,6 +87,7 @@ module Google
|
|
86
87
|
# @return [::String]
|
87
88
|
# Required. The agent to list all versions from.
|
88
89
|
# Supported formats:
|
90
|
+
#
|
89
91
|
# - `projects/<Project ID>/agent`
|
90
92
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
91
93
|
# @!attribute [rw] page_size
|
@@ -119,6 +121,7 @@ module Google
|
|
119
121
|
# @return [::String]
|
120
122
|
# Required. The name of the version.
|
121
123
|
# Supported formats:
|
124
|
+
#
|
122
125
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
123
126
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
124
127
|
# ID>`
|
@@ -132,6 +135,7 @@ module Google
|
|
132
135
|
# @return [::String]
|
133
136
|
# Required. The agent to create a version for.
|
134
137
|
# Supported formats:
|
138
|
+
#
|
135
139
|
# - `projects/<Project ID>/agent`
|
136
140
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
137
141
|
# @!attribute [rw] version
|
@@ -147,6 +151,7 @@ module Google
|
|
147
151
|
# @return [::Google::Cloud::Dialogflow::V2::Version]
|
148
152
|
# Required. The version to update.
|
149
153
|
# Supported formats:
|
154
|
+
#
|
150
155
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
151
156
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
152
157
|
# ID>`
|
@@ -163,6 +168,7 @@ module Google
|
|
163
168
|
# @return [::String]
|
164
169
|
# Required. The name of the version to delete.
|
165
170
|
# Supported formats:
|
171
|
+
#
|
166
172
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
167
173
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
168
174
|
# ID>`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.2
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -160,9 +160,10 @@ description: Dialogflow is an end-to-end, build-once deploy-everywhere developme
|
|
160
160
|
suite for creating conversational interfaces for websites, mobile applications,
|
161
161
|
popular messaging platforms, and IoT devices. You can use it to build interfaces
|
162
162
|
(such as chatbots and conversational IVR) that enable natural and rich interactions
|
163
|
-
between your users and your business.
|
164
|
-
|
165
|
-
|
163
|
+
between your users and your business. This client is for Dialogflow ES, providing
|
164
|
+
the standard agent type suitable for small and simple agents. Note that google-cloud-dialogflow-v2
|
165
|
+
is a version-specific client library. For most uses, we recommend installing the
|
166
|
+
main client library google-cloud-dialogflow instead. See the readme for more details.
|
166
167
|
email: googleapis-packages@google.com
|
167
168
|
executables: []
|
168
169
|
extensions: []
|