google-cloud-dialogflow-v2 0.10.1 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/v2/agent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +39 -5
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +94 -49
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +30 -21
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +35 -38
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/context_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +47 -42
- data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +44 -41
- data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +44 -41
- data/lib/google/cloud/dialogflow/v2/document_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +27 -10
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +73 -51
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +30 -21
- data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +45 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +102 -46
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +30 -21
- data/lib/google/cloud/dialogflow/v2/environment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +7 -7
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +67 -51
- data/lib/google/cloud/dialogflow/v2/fulfillment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +35 -38
- data/lib/google/cloud/dialogflow/v2/gcs_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +16 -1
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +65 -43
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +30 -21
- data/lib/google/cloud/dialogflow/v2/knowledge_base_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +44 -41
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/participant_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +50 -43
- data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +2 -2
- 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 +44 -41
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +15 -1
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +49 -38
- data/lib/google/cloud/dialogflow/v2/validation_result_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/version_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +49 -41
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -2
- 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]
|
@@ -99,19 +98,15 @@ module Google
|
|
99
98
|
##
|
100
99
|
# Create a new Versions client object.
|
101
100
|
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
# To create a new Versions client with the default
|
105
|
-
# configuration:
|
106
|
-
#
|
107
|
-
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new
|
101
|
+
# @example
|
108
102
|
#
|
109
|
-
#
|
110
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new
|
111
105
|
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
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
|
115
110
|
#
|
116
111
|
# @yield [config] Configure the Versions client.
|
117
112
|
# @yieldparam config [Client::Configuration]
|
@@ -131,10 +126,9 @@ module Google
|
|
131
126
|
|
132
127
|
# Create credentials
|
133
128
|
credentials = @config.credentials
|
134
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
130
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.
|
137
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
138
132
|
!@config.endpoint.split(".").first.include?("-")
|
139
133
|
credentials ||= Credentials.default scope: @config.scope,
|
140
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -176,6 +170,7 @@ module Google
|
|
176
170
|
# @param parent [::String]
|
177
171
|
# Required. The agent to list all versions from.
|
178
172
|
# Supported formats:
|
173
|
+
#
|
179
174
|
# - `projects/<Project ID>/agent`
|
180
175
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
181
176
|
# @param page_size [::Integer]
|
@@ -218,7 +213,9 @@ module Google
|
|
218
213
|
options.apply_defaults timeout: @config.rpcs.list_versions.timeout,
|
219
214
|
metadata: metadata,
|
220
215
|
retry_policy: @config.rpcs.list_versions.retry_policy
|
221
|
-
|
216
|
+
|
217
|
+
options.apply_defaults timeout: @config.timeout,
|
218
|
+
metadata: @config.metadata,
|
222
219
|
retry_policy: @config.retry_policy
|
223
220
|
|
224
221
|
@versions_stub.call_rpc :list_versions, request, options: options do |response, operation|
|
@@ -251,6 +248,7 @@ module Google
|
|
251
248
|
# @param name [::String]
|
252
249
|
# Required. The name of the version.
|
253
250
|
# Supported formats:
|
251
|
+
#
|
254
252
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
255
253
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
256
254
|
# ID>`
|
@@ -289,7 +287,9 @@ module Google
|
|
289
287
|
options.apply_defaults timeout: @config.rpcs.get_version.timeout,
|
290
288
|
metadata: metadata,
|
291
289
|
retry_policy: @config.rpcs.get_version.retry_policy
|
292
|
-
|
290
|
+
|
291
|
+
options.apply_defaults timeout: @config.timeout,
|
292
|
+
metadata: @config.metadata,
|
293
293
|
retry_policy: @config.retry_policy
|
294
294
|
|
295
295
|
@versions_stub.call_rpc :get_version, request, options: options do |response, operation|
|
@@ -323,6 +323,7 @@ module Google
|
|
323
323
|
# @param parent [::String]
|
324
324
|
# Required. The agent to create a version for.
|
325
325
|
# Supported formats:
|
326
|
+
#
|
326
327
|
# - `projects/<Project ID>/agent`
|
327
328
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
328
329
|
# @param version [::Google::Cloud::Dialogflow::V2::Version, ::Hash]
|
@@ -362,7 +363,9 @@ module Google
|
|
362
363
|
options.apply_defaults timeout: @config.rpcs.create_version.timeout,
|
363
364
|
metadata: metadata,
|
364
365
|
retry_policy: @config.rpcs.create_version.retry_policy
|
365
|
-
|
366
|
+
|
367
|
+
options.apply_defaults timeout: @config.timeout,
|
368
|
+
metadata: @config.metadata,
|
366
369
|
retry_policy: @config.retry_policy
|
367
370
|
|
368
371
|
@versions_stub.call_rpc :create_version, request, options: options do |response, operation|
|
@@ -398,6 +401,7 @@ module Google
|
|
398
401
|
# @param version [::Google::Cloud::Dialogflow::V2::Version, ::Hash]
|
399
402
|
# Required. The version to update.
|
400
403
|
# Supported formats:
|
404
|
+
#
|
401
405
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
402
406
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
403
407
|
# ID>`
|
@@ -438,7 +442,9 @@ module Google
|
|
438
442
|
options.apply_defaults timeout: @config.rpcs.update_version.timeout,
|
439
443
|
metadata: metadata,
|
440
444
|
retry_policy: @config.rpcs.update_version.retry_policy
|
441
|
-
|
445
|
+
|
446
|
+
options.apply_defaults timeout: @config.timeout,
|
447
|
+
metadata: @config.metadata,
|
442
448
|
retry_policy: @config.retry_policy
|
443
449
|
|
444
450
|
@versions_stub.call_rpc :update_version, request, options: options do |response, operation|
|
@@ -470,6 +476,7 @@ module Google
|
|
470
476
|
# @param name [::String]
|
471
477
|
# Required. The name of the version to delete.
|
472
478
|
# Supported formats:
|
479
|
+
#
|
473
480
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
474
481
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
475
482
|
# ID>`
|
@@ -508,7 +515,9 @@ module Google
|
|
508
515
|
options.apply_defaults timeout: @config.rpcs.delete_version.timeout,
|
509
516
|
metadata: metadata,
|
510
517
|
retry_policy: @config.rpcs.delete_version.retry_policy
|
511
|
-
|
518
|
+
|
519
|
+
options.apply_defaults timeout: @config.timeout,
|
520
|
+
metadata: @config.metadata,
|
512
521
|
retry_policy: @config.retry_policy
|
513
522
|
|
514
523
|
@versions_stub.call_rpc :delete_version, request, options: options do |response, operation|
|
@@ -532,22 +541,21 @@ module Google
|
|
532
541
|
# Configuration can be applied globally to all clients, or to a single client
|
533
542
|
# on construction.
|
534
543
|
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# to 20 seconds,
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
# 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
|
551
559
|
#
|
552
560
|
# @!attribute [rw] endpoint
|
553
561
|
# The hostname or hostname:port of the service endpoint.
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/dialogflow/v2/webhook.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/cloud/dialogflow/v2/context_pb'
|
7
5
|
require 'google/cloud/dialogflow/v2/intent_pb'
|
8
6
|
require 'google/cloud/dialogflow/v2/session_pb'
|
9
7
|
require 'google/cloud/dialogflow/v2/session_entity_type_pb'
|
10
8
|
require 'google/protobuf/struct_pb'
|
11
9
|
require 'google/api/annotations_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/dialogflow/v2/webhook.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.dialogflow.v2.WebhookRequest" do
|
@@ -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.3
|
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-18 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: []
|