google-cloud-dialogflow-v2 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +12 -8
  4. data/lib/google/cloud/dialogflow/v2/agents/client.rb +16 -12
  5. data/lib/google/cloud/dialogflow/v2/agents.rb +1 -1
  6. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +7 -0
  7. data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +2 -1
  8. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -1
  9. data/lib/google/cloud/dialogflow/v2/answer_records.rb +3 -2
  10. data/lib/google/cloud/dialogflow/v2/contexts.rb +1 -1
  11. data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +10 -5
  12. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +12 -7
  13. data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +1 -1
  14. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +10 -5
  16. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +10 -5
  17. data/lib/google/cloud/dialogflow/v2/conversation_models.rb +1 -1
  18. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +18 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +14 -7
  20. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +14 -7
  21. data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +3 -2
  22. data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +14 -6
  23. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +119 -8
  24. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +45 -0
  25. data/lib/google/cloud/dialogflow/v2/conversations.rb +3 -2
  26. data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +16 -8
  27. data/lib/google/cloud/dialogflow/v2/documents/client.rb +20 -12
  28. data/lib/google/cloud/dialogflow/v2/documents.rb +3 -2
  29. data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +2 -1
  30. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -1
  31. data/lib/google/cloud/dialogflow/v2/entity_types.rb +1 -1
  32. data/lib/google/cloud/dialogflow/v2/environments/client.rb +4 -4
  33. data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
  34. data/lib/google/cloud/dialogflow/v2/fulfillments.rb +1 -1
  35. data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +2 -1
  36. data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -1
  37. data/lib/google/cloud/dialogflow/v2/intents.rb +1 -1
  38. data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +2 -1
  39. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -1
  40. data/lib/google/cloud/dialogflow/v2/knowledge_bases.rb +3 -2
  41. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +1 -0
  42. data/lib/google/cloud/dialogflow/v2/participants/client.rb +3 -2
  43. data/lib/google/cloud/dialogflow/v2/participants.rb +1 -1
  44. data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +2 -1
  45. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -1
  46. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +3 -2
  47. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +8 -6
  48. data/lib/google/cloud/dialogflow/v2/sessions.rb +1 -1
  49. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  50. data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -2
  51. data/lib/google/cloud/dialogflow/v2/versions.rb +1 -1
  52. data/lib/google/cloud/dialogflow/v2.rb +2 -2
  53. data/proto_docs/google/api/client.rb +318 -0
  54. data/proto_docs/google/api/launch_stage.rb +71 -0
  55. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +26 -15
  56. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +34 -9
  57. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +28 -18
  58. data/proto_docs/google/cloud/dialogflow/v2/context.rb +14 -7
  59. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +99 -14
  60. data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +15 -10
  61. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +41 -14
  62. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +28 -15
  63. data/proto_docs/google/cloud/dialogflow/v2/document.rb +26 -15
  64. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +30 -15
  65. data/proto_docs/google/cloud/dialogflow/v2/environment.rb +37 -29
  66. data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +12 -7
  67. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +33 -17
  68. data/proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb +12 -6
  69. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +110 -59
  70. data/proto_docs/google/cloud/dialogflow/v2/session.rb +63 -46
  71. data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +15 -8
  72. data/proto_docs/google/cloud/dialogflow/v2/version.rb +20 -14
  73. data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +20 -13
  74. data/proto_docs/google/rpc/status.rb +4 -2
  75. metadata +7 -5
@@ -239,12 +239,14 @@ module Google
239
239
  # audio. If this field is not set and agent-level speech synthesizer is not
240
240
  # configured, no output audio is generated.
241
241
  # @param output_audio_config_mask [::Google::Protobuf::FieldMask, ::Hash]
242
- # Mask for {::Google::Cloud::Dialogflow::V2::DetectIntentRequest#output_audio_config output_audio_config} indicating which settings in this
243
- # request-level config should override speech synthesizer settings defined at
244
- # agent-level.
245
- #
246
- # If unspecified or empty, {::Google::Cloud::Dialogflow::V2::DetectIntentRequest#output_audio_config output_audio_config} replaces the agent-level
247
- # config in its entirety.
242
+ # Mask for
243
+ # {::Google::Cloud::Dialogflow::V2::DetectIntentRequest#output_audio_config output_audio_config}
244
+ # indicating which settings in this request-level config should override
245
+ # speech synthesizer settings defined at agent-level.
246
+ #
247
+ # If unspecified or empty,
248
+ # {::Google::Cloud::Dialogflow::V2::DetectIntentRequest#output_audio_config output_audio_config}
249
+ # replaces the agent-level config in its entirety.
248
250
  # @param input_audio [::String]
249
251
  # The natural language speech audio to be processed. This field
250
252
  # should be populated iff `query_input` is set to an input audio config.
@@ -36,7 +36,7 @@ module Google
36
36
  # For more information, see the [API interactions
37
37
  # guide](https://cloud.google.com/dialogflow/docs/api-overview).
38
38
  #
39
- # To load this service and instantiate a client:
39
+ # @example Load this service and instantiate a gRPC client
40
40
  #
41
41
  # require "google/cloud/dialogflow/v2/sessions"
42
42
  # client = ::Google::Cloud::Dialogflow::V2::Sessions::Client.new
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.19.0"
24
+ VERSION = "0.21.0"
25
25
  end
26
26
  end
27
27
  end
@@ -188,8 +188,8 @@ module Google
188
188
  # - `projects/<Project ID>/agent`
189
189
  # - `projects/<Project ID>/locations/<Location ID>/agent`
190
190
  # @param page_size [::Integer]
191
- # Optional. The maximum number of items to return in a single page. By default 100 and
192
- # at most 1000.
191
+ # Optional. The maximum number of items to return in a single page. By
192
+ # default 100 and at most 1000.
193
193
  # @param page_token [::String]
194
194
  # Optional. The next_page_token value returned from a previous list request.
195
195
  #
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Service for managing {::Google::Cloud::Dialogflow::V2::Version Versions}.
35
35
  #
36
- # To load this service and instantiate a client:
36
+ # @example Load this service and instantiate a gRPC client
37
37
  #
38
38
  # require "google/cloud/dialogflow/v2/versions"
39
39
  # client = ::Google::Cloud::Dialogflow::V2::Versions::Client.new
@@ -39,9 +39,9 @@ module Google
39
39
  module Cloud
40
40
  module Dialogflow
41
41
  ##
42
- # To load this package, including all its services, and instantiate a client:
42
+ # API client module.
43
43
  #
44
- # @example
44
+ # @example Load this package, including all its services, and instantiate a gRPC client
45
45
  #
46
46
  # require "google/cloud/dialogflow/v2"
47
47
  # client = ::Google::Cloud::Dialogflow::V2::Agents::Client.new
@@ -0,0 +1,318 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @return [::String]
25
+ # Link to automatically generated reference documentation. Example:
26
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
27
+ # @!attribute [rw] destinations
28
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
29
+ # The destination where API teams want this client library to be published.
30
+ class CommonLanguageSettings
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Details about how and where to publish client libraries.
36
+ # @!attribute [rw] version
37
+ # @return [::String]
38
+ # Version of the API to apply these settings to.
39
+ # @!attribute [rw] launch_stage
40
+ # @return [::Google::Api::LaunchStage]
41
+ # Launch stage of this version of the API.
42
+ # @!attribute [rw] rest_numeric_enums
43
+ # @return [::Boolean]
44
+ # When using transport=rest, the client request will encode enums as
45
+ # numbers rather than strings.
46
+ # @!attribute [rw] java_settings
47
+ # @return [::Google::Api::JavaSettings]
48
+ # Settings for legacy Java features, supported in the Service YAML.
49
+ # @!attribute [rw] cpp_settings
50
+ # @return [::Google::Api::CppSettings]
51
+ # Settings for C++ client libraries.
52
+ # @!attribute [rw] php_settings
53
+ # @return [::Google::Api::PhpSettings]
54
+ # Settings for PHP client libraries.
55
+ # @!attribute [rw] python_settings
56
+ # @return [::Google::Api::PythonSettings]
57
+ # Settings for Python client libraries.
58
+ # @!attribute [rw] node_settings
59
+ # @return [::Google::Api::NodeSettings]
60
+ # Settings for Node client libraries.
61
+ # @!attribute [rw] dotnet_settings
62
+ # @return [::Google::Api::DotnetSettings]
63
+ # Settings for .NET client libraries.
64
+ # @!attribute [rw] ruby_settings
65
+ # @return [::Google::Api::RubySettings]
66
+ # Settings for Ruby client libraries.
67
+ # @!attribute [rw] go_settings
68
+ # @return [::Google::Api::GoSettings]
69
+ # Settings for Go client libraries.
70
+ class ClientLibrarySettings
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # This message configures the settings for publishing [Google Cloud Client
76
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
77
+ # generated from the service config.
78
+ # @!attribute [rw] method_settings
79
+ # @return [::Array<::Google::Api::MethodSettings>]
80
+ # A list of API method settings, e.g. the behavior for methods that use the
81
+ # long-running operation pattern.
82
+ # @!attribute [rw] new_issue_uri
83
+ # @return [::String]
84
+ # Link to a place that API users can report issues. Example:
85
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
+ # @!attribute [rw] documentation_uri
87
+ # @return [::String]
88
+ # Link to product home page. Example:
89
+ # https://cloud.google.com/asset-inventory/docs/overview
90
+ # @!attribute [rw] api_short_name
91
+ # @return [::String]
92
+ # Used as a tracking tag when collecting data about the APIs developer
93
+ # relations artifacts like docs, packages delivered to package managers,
94
+ # etc. Example: "speech".
95
+ # @!attribute [rw] github_label
96
+ # @return [::String]
97
+ # GitHub label to apply to issues and pull requests opened for this API.
98
+ # @!attribute [rw] codeowner_github_teams
99
+ # @return [::Array<::String>]
100
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
101
+ # containing source code for the client libraries for this API.
102
+ # @!attribute [rw] doc_tag_prefix
103
+ # @return [::String]
104
+ # A prefix used in sample code when demarking regions to be included in
105
+ # documentation.
106
+ # @!attribute [rw] organization
107
+ # @return [::Google::Api::ClientLibraryOrganization]
108
+ # For whom the client library is being published.
109
+ # @!attribute [rw] library_settings
110
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
111
+ # Client library settings. If the same version string appears multiple
112
+ # times in this list, then the last one wins. Settings from earlier
113
+ # settings with the same version string are discarded.
114
+ class Publishing
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # Settings for Java client libraries.
120
+ # @!attribute [rw] library_package
121
+ # @return [::String]
122
+ # The package name to use in Java. Clobbers the java_package option
123
+ # set in the protobuf. This should be used **only** by APIs
124
+ # who have already set the language_settings.java.package_name" field
125
+ # in gapic.yaml. API teams should use the protobuf java_package option
126
+ # where possible.
127
+ #
128
+ # Example of a YAML configuration::
129
+ #
130
+ # publishing:
131
+ # java_settings:
132
+ # library_package: com.google.cloud.pubsub.v1
133
+ # @!attribute [rw] service_class_names
134
+ # @return [::Google::Protobuf::Map{::String => ::String}]
135
+ # Configure the Java class name to use instead of the service's for its
136
+ # corresponding generated GAPIC client. Keys are fully-qualified
137
+ # service names as they appear in the protobuf (including the full
138
+ # the language_settings.java.interface_names" field in gapic.yaml. API
139
+ # teams should otherwise use the service name as it appears in the
140
+ # protobuf.
141
+ #
142
+ # Example of a YAML configuration::
143
+ #
144
+ # publishing:
145
+ # java_settings:
146
+ # service_class_names:
147
+ # - google.pubsub.v1.Publisher: TopicAdmin
148
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
149
+ # @!attribute [rw] common
150
+ # @return [::Google::Api::CommonLanguageSettings]
151
+ # Some settings.
152
+ class JavaSettings
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+
156
+ # @!attribute [rw] key
157
+ # @return [::String]
158
+ # @!attribute [rw] value
159
+ # @return [::String]
160
+ class ServiceClassNamesEntry
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+ end
165
+
166
+ # Settings for C++ client libraries.
167
+ # @!attribute [rw] common
168
+ # @return [::Google::Api::CommonLanguageSettings]
169
+ # Some settings.
170
+ class CppSettings
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+ end
174
+
175
+ # Settings for Php client libraries.
176
+ # @!attribute [rw] common
177
+ # @return [::Google::Api::CommonLanguageSettings]
178
+ # Some settings.
179
+ class PhpSettings
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Settings for Python client libraries.
185
+ # @!attribute [rw] common
186
+ # @return [::Google::Api::CommonLanguageSettings]
187
+ # Some settings.
188
+ class PythonSettings
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
193
+ # Settings for Node client libraries.
194
+ # @!attribute [rw] common
195
+ # @return [::Google::Api::CommonLanguageSettings]
196
+ # Some settings.
197
+ class NodeSettings
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Settings for Dotnet client libraries.
203
+ # @!attribute [rw] common
204
+ # @return [::Google::Api::CommonLanguageSettings]
205
+ # Some settings.
206
+ class DotnetSettings
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Settings for Ruby client libraries.
212
+ # @!attribute [rw] common
213
+ # @return [::Google::Api::CommonLanguageSettings]
214
+ # Some settings.
215
+ class RubySettings
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Settings for Go client libraries.
221
+ # @!attribute [rw] common
222
+ # @return [::Google::Api::CommonLanguageSettings]
223
+ # Some settings.
224
+ class GoSettings
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Describes the generator configuration for a method.
230
+ # @!attribute [rw] selector
231
+ # @return [::String]
232
+ # The fully qualified name of the method, for which the options below apply.
233
+ # This is used to find the method to apply the options.
234
+ # @!attribute [rw] long_running
235
+ # @return [::Google::Api::MethodSettings::LongRunning]
236
+ # Describes settings to use for long-running operations when generating
237
+ # API methods for RPCs. Complements RPCs that use the annotations in
238
+ # google/longrunning/operations.proto.
239
+ #
240
+ # Example of a YAML configuration::
241
+ #
242
+ # publishing:
243
+ # method_behavior:
244
+ # - selector: CreateAdDomain
245
+ # long_running:
246
+ # initial_poll_delay:
247
+ # seconds: 60 # 1 minute
248
+ # poll_delay_multiplier: 1.5
249
+ # max_poll_delay:
250
+ # seconds: 360 # 6 minutes
251
+ # total_poll_timeout:
252
+ # seconds: 54000 # 90 minutes
253
+ class MethodSettings
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # Describes settings to use when generating API methods that use the
258
+ # long-running operation pattern.
259
+ # All default values below are from those used in the client library
260
+ # generators (e.g.
261
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
262
+ # @!attribute [rw] initial_poll_delay
263
+ # @return [::Google::Protobuf::Duration]
264
+ # Initial delay after which the first poll request will be made.
265
+ # Default value: 5 seconds.
266
+ # @!attribute [rw] poll_delay_multiplier
267
+ # @return [::Float]
268
+ # Multiplier to gradually increase delay between subsequent polls until it
269
+ # reaches max_poll_delay.
270
+ # Default value: 1.5.
271
+ # @!attribute [rw] max_poll_delay
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Maximum time between two subsequent poll requests.
274
+ # Default value: 45 seconds.
275
+ # @!attribute [rw] total_poll_timeout
276
+ # @return [::Google::Protobuf::Duration]
277
+ # Total polling timeout.
278
+ # Default value: 5 minutes.
279
+ class LongRunning
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+ end
284
+
285
+ # The organization for which the client libraries are being published.
286
+ # Affects the url where generated docs are published, etc.
287
+ module ClientLibraryOrganization
288
+ # Not useful.
289
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
290
+
291
+ # Google Cloud Platform Org.
292
+ CLOUD = 1
293
+
294
+ # Ads (Advertising) Org.
295
+ ADS = 2
296
+
297
+ # Photos Org.
298
+ PHOTOS = 3
299
+
300
+ # Street View Org.
301
+ STREET_VIEW = 4
302
+ end
303
+
304
+ # To where should client libraries be published?
305
+ module ClientLibraryDestination
306
+ # Client libraries will neither be generated nor published to package
307
+ # managers.
308
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
309
+
310
+ # Generate the client library in a repo under github.com/googleapis,
311
+ # but don't publish it to package managers.
312
+ GITHUB = 10
313
+
314
+ # Publish the library to package managers like nuget.org and npmjs.com.
315
+ PACKAGE_MANAGER = 20
316
+ end
317
+ end
318
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # The launch stage as defined by [Google Cloud Platform
23
+ # Launch Stages](https://cloud.google.com/terms/launch-stages).
24
+ module LaunchStage
25
+ # Do not use this default value.
26
+ LAUNCH_STAGE_UNSPECIFIED = 0
27
+
28
+ # The feature is not yet implemented. Users can not use it.
29
+ UNIMPLEMENTED = 6
30
+
31
+ # Prelaunch features are hidden from users and are only visible internally.
32
+ PRELAUNCH = 7
33
+
34
+ # Early Access features are limited to a closed group of testers. To use
35
+ # these features, you must sign up in advance and sign a Trusted Tester
36
+ # agreement (which includes confidentiality provisions). These features may
37
+ # be unstable, changed in backward-incompatible ways, and are not
38
+ # guaranteed to be released.
39
+ EARLY_ACCESS = 1
40
+
41
+ # Alpha is a limited availability test for releases before they are cleared
42
+ # for widespread use. By Alpha, all significant design issues are resolved
43
+ # and we are in the process of verifying functionality. Alpha customers
44
+ # need to apply for access, agree to applicable terms, and have their
45
+ # projects allowlisted. Alpha releases don't have to be feature complete,
46
+ # no SLAs are provided, and there are no technical support obligations, but
47
+ # they will be far enough along that customers can actually use them in
48
+ # test environments or for limited-use tests -- just like they would in
49
+ # normal production cases.
50
+ ALPHA = 2
51
+
52
+ # Beta is the point at which we are ready to open a release for any
53
+ # customer to use. There are no SLA or technical support obligations in a
54
+ # Beta release. Products will be complete from a feature perspective, but
55
+ # may have some open outstanding issues. Beta releases are suitable for
56
+ # limited production use cases.
57
+ BETA = 3
58
+
59
+ # GA features are open to all developers and are considered stable and
60
+ # fully qualified for production use.
61
+ GA = 4
62
+
63
+ # Deprecated features are scheduled to be shut down and removed. For more
64
+ # information, see the "Deprecation Policy" section of our [Terms of
65
+ # Service](https://cloud.google.com/terms/)
66
+ # and the [Google Cloud Platform Subject to the Deprecation
67
+ # Policy](https://cloud.google.com/terms/deprecation) documentation.
68
+ DEPRECATED = 5
69
+ end
70
+ end
71
+ end
@@ -138,7 +138,8 @@ module Google
138
138
  end
139
139
  end
140
140
 
141
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#get_agent Agents.GetAgent}.
141
+ # The request message for
142
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#get_agent Agents.GetAgent}.
142
143
  # @!attribute [rw] parent
143
144
  # @return [::String]
144
145
  # Required. The project that the agent to fetch is associated with.
@@ -148,7 +149,8 @@ module Google
148
149
  extend ::Google::Protobuf::MessageExts::ClassMethods
149
150
  end
150
151
 
151
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#set_agent Agents.SetAgent}.
152
+ # The request message for
153
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#set_agent Agents.SetAgent}.
152
154
  # @!attribute [rw] agent
153
155
  # @return [::Google::Cloud::Dialogflow::V2::Agent]
154
156
  # Required. The agent to update.
@@ -160,7 +162,8 @@ module Google
160
162
  extend ::Google::Protobuf::MessageExts::ClassMethods
161
163
  end
162
164
 
163
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#delete_agent Agents.DeleteAgent}.
165
+ # The request message for
166
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#delete_agent Agents.DeleteAgent}.
164
167
  # @!attribute [rw] parent
165
168
  # @return [::String]
166
169
  # Required. The project that the agent to delete is associated with.
@@ -170,7 +173,8 @@ module Google
170
173
  extend ::Google::Protobuf::MessageExts::ClassMethods
171
174
  end
172
175
 
173
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#search_agents Agents.SearchAgents}.
176
+ # The request message for
177
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#search_agents Agents.SearchAgents}.
174
178
  # @!attribute [rw] parent
175
179
  # @return [::String]
176
180
  # Required. The project to list agents from.
@@ -187,7 +191,8 @@ module Google
187
191
  extend ::Google::Protobuf::MessageExts::ClassMethods
188
192
  end
189
193
 
190
- # The response message for {::Google::Cloud::Dialogflow::V2::Agents::Client#search_agents Agents.SearchAgents}.
194
+ # The response message for
195
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#search_agents Agents.SearchAgents}.
191
196
  # @!attribute [rw] agents
192
197
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Agent>]
193
198
  # The list of agents. There will be a maximum number of items returned based
@@ -201,7 +206,8 @@ module Google
201
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
202
207
  end
203
208
 
204
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent Agents.TrainAgent}.
209
+ # The request message for
210
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent Agents.TrainAgent}.
205
211
  # @!attribute [rw] parent
206
212
  # @return [::String]
207
213
  # Required. The project that the agent to train is associated with.
@@ -211,17 +217,18 @@ module Google
211
217
  extend ::Google::Protobuf::MessageExts::ClassMethods
212
218
  end
213
219
 
214
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent Agents.ExportAgent}.
220
+ # The request message for
221
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent Agents.ExportAgent}.
215
222
  # @!attribute [rw] parent
216
223
  # @return [::String]
217
224
  # Required. The project that the agent to export is associated with.
218
225
  # Format: `projects/<Project ID>`.
219
226
  # @!attribute [rw] agent_uri
220
227
  # @return [::String]
221
- # Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
222
- # URI to export the agent to.
223
- # The format of this URI must be `gs://<bucket-name>/<object-name>`.
224
- # If left unspecified, the serialized agent is returned inline.
228
+ # Required. The [Google Cloud
229
+ # Storage](https://cloud.google.com/storage/docs/) URI to export the agent
230
+ # to. The format of this URI must be `gs://<bucket-name>/<object-name>`. If
231
+ # left unspecified, the serialized agent is returned inline.
225
232
  #
226
233
  # Dialogflow performs a write operation for the Cloud Storage object
227
234
  # on the caller's behalf, so your request authentication must
@@ -233,7 +240,8 @@ module Google
233
240
  extend ::Google::Protobuf::MessageExts::ClassMethods
234
241
  end
235
242
 
236
- # The response message for {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent Agents.ExportAgent}.
243
+ # The response message for
244
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#export_agent Agents.ExportAgent}.
237
245
  # @!attribute [rw] agent_uri
238
246
  # @return [::String]
239
247
  # The URI to a file containing the exported agent. This field is populated
@@ -246,7 +254,8 @@ module Google
246
254
  extend ::Google::Protobuf::MessageExts::ClassMethods
247
255
  end
248
256
 
249
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#import_agent Agents.ImportAgent}.
257
+ # The request message for
258
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#import_agent Agents.ImportAgent}.
250
259
  # @!attribute [rw] parent
251
260
  # @return [::String]
252
261
  # Required. The project that the agent to import is associated with.
@@ -269,7 +278,8 @@ module Google
269
278
  extend ::Google::Protobuf::MessageExts::ClassMethods
270
279
  end
271
280
 
272
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#restore_agent Agents.RestoreAgent}.
281
+ # The request message for
282
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#restore_agent Agents.RestoreAgent}.
273
283
  # @!attribute [rw] parent
274
284
  # @return [::String]
275
285
  # Required. The project that the agent to restore is associated with.
@@ -292,7 +302,8 @@ module Google
292
302
  extend ::Google::Protobuf::MessageExts::ClassMethods
293
303
  end
294
304
 
295
- # The request message for {::Google::Cloud::Dialogflow::V2::Agents::Client#get_validation_result Agents.GetValidationResult}.
305
+ # The request message for
306
+ # {::Google::Cloud::Dialogflow::V2::Agents::Client#get_validation_result Agents.GetValidationResult}.
296
307
  # @!attribute [rw] parent
297
308
  # @return [::String]
298
309
  # Required. The project that the agent is associated with.
@@ -42,9 +42,11 @@ module Google
42
42
  # A typical workflow for customers provide feedback to an answer is:
43
43
  #
44
44
  # 1. For human agent assistant, customers get suggestion via ListSuggestions
45
- # API. Together with the answers, {::Google::Cloud::Dialogflow::V2::AnswerRecord#name AnswerRecord.name} are returned to the
46
- # customers.
47
- # 2. The customer uses the {::Google::Cloud::Dialogflow::V2::AnswerRecord#name AnswerRecord.name} to call the
45
+ # API. Together with the answers,
46
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecord#name AnswerRecord.name} are
47
+ # returned to the customers.
48
+ # 2. The customer uses the
49
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecord#name AnswerRecord.name} to call the
48
50
  # [UpdateAnswerRecord][] method to send feedback about a specific answer
49
51
  # that they believe is wrong.
50
52
  # @!attribute [rw] name
@@ -55,8 +57,8 @@ module Google
55
57
  # @!attribute [rw] answer_feedback
56
58
  # @return [::Google::Cloud::Dialogflow::V2::AnswerFeedback]
57
59
  # Required. The AnswerFeedback for this record. You can set this with
58
- # {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#update_answer_record AnswerRecords.UpdateAnswerRecord} in order to give us feedback about
59
- # this answer.
60
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#update_answer_record AnswerRecords.UpdateAnswerRecord}
61
+ # in order to give us feedback about this answer.
60
62
  # @!attribute [r] agent_assistant_record
61
63
  # @return [::Google::Cloud::Dialogflow::V2::AgentAssistantRecord]
62
64
  # Output only. The record for human agent assistant.
@@ -65,7 +67,8 @@ module Google
65
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
66
68
  end
67
69
 
68
- # Request message for {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#list_answer_records AnswerRecords.ListAnswerRecords}.
70
+ # Request message for
71
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#list_answer_records AnswerRecords.ListAnswerRecords}.
69
72
  # @!attribute [rw] parent
70
73
  # @return [::String]
71
74
  # Required. The project to list all answer records for in reverse
@@ -95,7 +98,8 @@ module Google
95
98
  extend ::Google::Protobuf::MessageExts::ClassMethods
96
99
  end
97
100
 
98
- # Response message for {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#list_answer_records AnswerRecords.ListAnswerRecords}.
101
+ # Response message for
102
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#list_answer_records AnswerRecords.ListAnswerRecords}.
99
103
  # @!attribute [rw] answer_records
100
104
  # @return [::Array<::Google::Cloud::Dialogflow::V2::AnswerRecord>]
101
105
  # The list of answer records.
@@ -112,7 +116,8 @@ module Google
112
116
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
117
  end
114
118
 
115
- # Request message for {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#update_answer_record AnswerRecords.UpdateAnswerRecord}.
119
+ # Request message for
120
+ # {::Google::Cloud::Dialogflow::V2::AnswerRecords::Client#update_answer_record AnswerRecords.UpdateAnswerRecord}.
116
121
  # @!attribute [rw] answer_record
117
122
  # @return [::Google::Cloud::Dialogflow::V2::AnswerRecord]
118
123
  # Required. Answer record to update.
@@ -192,12 +197,32 @@ module Google
192
197
  # @return [::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency]
193
198
  # Optional. Whether or not the suggested document is efficient. For example,
194
199
  # if the document is poorly written, hard to understand, hard to use or
195
- # too long to find useful information, {::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_efficiency document_efficiency} is
200
+ # too long to find useful information,
201
+ # {::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_efficiency document_efficiency}
202
+ # is
196
203
  # {::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency::INEFFICIENT DocumentEfficiency.INEFFICIENT}.
204
+ # @!attribute [rw] summarization_feedback
205
+ # @return [::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback]
206
+ # Optional. Feedback for conversation summarization.
197
207
  class AgentAssistantFeedback
198
208
  include ::Google::Protobuf::MessageExts
199
209
  extend ::Google::Protobuf::MessageExts::ClassMethods
200
210
 
211
+ # Feedback for conversation summarization.
212
+ # @!attribute [rw] start_time
213
+ # @return [::Google::Protobuf::Timestamp]
214
+ # Timestamp when composing of the summary starts.
215
+ # @!attribute [rw] submit_time
216
+ # @return [::Google::Protobuf::Timestamp]
217
+ # Timestamp when the summary was submitted.
218
+ # @!attribute [rw] summary_text
219
+ # @return [::String]
220
+ # Text of actual submitted summary.
221
+ class SummarizationFeedback
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
+ end
225
+
201
226
  # Relevance of an answer.
202
227
  module AnswerRelevance
203
228
  # Answer relevance unspecified.