google-cloud-dialogflow-v2 1.12.1 → 1.13.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/lib/google/cloud/dialogflow/v2/agent_coaching_instruction_pb.rb +47 -0
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +19 -0
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +10 -1
- data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +19 -0
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +10 -1
- data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/generator_evaluation_pb.rb +82 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluation_services_pb.rb +51 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +815 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/credentials.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +841 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +92 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +752 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +945 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/service_stub.rb +326 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest.rb +54 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations.rb +56 -0
- data/lib/google/cloud/dialogflow/v2/generator_pb.rb +18 -1
- data/lib/google/cloud/dialogflow/v2/generators/paths.rb +19 -0
- data/lib/google/cloud/dialogflow/v2/operations_pb.rb +45 -0
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/rest.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunk_pb.rb +62 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunk_services_pb.rb +53 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +885 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/credentials.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/paths.rb +69 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +815 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/service_stub.rb +388 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/rest.rb +53 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks.rb +55 -0
- data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/tool_pb.rb +80 -0
- data/lib/google/cloud/dialogflow/v2/tool_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/v2/tools/client.rb +897 -0
- data/lib/google/cloud/dialogflow/v2/tools/credentials.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/tools/paths.rb +109 -0
- data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +827 -0
- data/lib/google/cloud/dialogflow/v2/tools/rest/service_stub.rb +388 -0
- data/lib/google/cloud/dialogflow/v2/tools/rest.rb +55 -0
- data/lib/google/cloud/dialogflow/v2/tools.rb +57 -0
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/v2/agent_coaching_instruction.rb +109 -0
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +8 -3
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +40 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +19 -2
- data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +2 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +12 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +38 -6
- data/proto_docs/google/cloud/dialogflow/v2/document.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/v2/generator.rb +220 -4
- data/proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb +539 -0
- data/proto_docs/google/cloud/dialogflow/v2/operations.rb +39 -0
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +70 -7
- data/proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb +211 -0
- data/proto_docs/google/cloud/dialogflow/v2/tool.rb +552 -0
- data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +115 -0
- metadata +39 -1
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
require "google/cloud/dialogflow/v2/generator_evaluation_pb"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Dialogflow
|
|
24
|
+
module V2
|
|
25
|
+
module GeneratorEvaluations
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the GeneratorEvaluations service.
|
|
29
|
+
# Service stub contains baseline method implementations
|
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
|
31
|
+
#
|
|
32
|
+
class ServiceStub
|
|
33
|
+
# @private
|
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
|
35
|
+
# These require statements are intentionally placed here to initialize
|
|
36
|
+
# the REST modules only when it's required.
|
|
37
|
+
require "gapic/rest"
|
|
38
|
+
|
|
39
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
|
40
|
+
endpoint_template: endpoint_template,
|
|
41
|
+
universe_domain: universe_domain,
|
|
42
|
+
credentials: credentials,
|
|
43
|
+
numeric_enums: true,
|
|
44
|
+
service_name: self.class,
|
|
45
|
+
raise_faraday_errors: false,
|
|
46
|
+
logger: logger
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
##
|
|
50
|
+
# The effective universe domain
|
|
51
|
+
#
|
|
52
|
+
# @return [String]
|
|
53
|
+
#
|
|
54
|
+
def universe_domain
|
|
55
|
+
@client_stub.universe_domain
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
##
|
|
59
|
+
# The effective endpoint
|
|
60
|
+
#
|
|
61
|
+
# @return [String]
|
|
62
|
+
#
|
|
63
|
+
def endpoint
|
|
64
|
+
@client_stub.endpoint
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
##
|
|
68
|
+
# The logger used for request/response debug logging.
|
|
69
|
+
#
|
|
70
|
+
# @return [Logger]
|
|
71
|
+
#
|
|
72
|
+
def logger stub: false
|
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
##
|
|
77
|
+
# Baseline implementation for the create_generator_evaluation REST call
|
|
78
|
+
#
|
|
79
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::CreateGeneratorEvaluationRequest]
|
|
80
|
+
# A request object representing the call parameters. Required.
|
|
81
|
+
# @param options [::Gapic::CallOptions]
|
|
82
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
83
|
+
#
|
|
84
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
85
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Longrunning::Operation]
|
|
89
|
+
# A result object deserialized from the server's reply
|
|
90
|
+
def create_generator_evaluation request_pb, options = nil
|
|
91
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
92
|
+
|
|
93
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_generator_evaluation_request request_pb
|
|
94
|
+
query_string_params = if query_string_params.any?
|
|
95
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
96
|
+
else
|
|
97
|
+
{}
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
response = @client_stub.make_http_request(
|
|
101
|
+
verb,
|
|
102
|
+
uri: uri,
|
|
103
|
+
body: body || "",
|
|
104
|
+
params: query_string_params,
|
|
105
|
+
method_name: "create_generator_evaluation",
|
|
106
|
+
options: options
|
|
107
|
+
)
|
|
108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
109
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
110
|
+
catch :response do
|
|
111
|
+
yield result, operation if block_given?
|
|
112
|
+
result
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
##
|
|
117
|
+
# Baseline implementation for the get_generator_evaluation REST call
|
|
118
|
+
#
|
|
119
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::GetGeneratorEvaluationRequest]
|
|
120
|
+
# A request object representing the call parameters. Required.
|
|
121
|
+
# @param options [::Gapic::CallOptions]
|
|
122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
123
|
+
#
|
|
124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
125
|
+
# @yieldparam result [::Google::Cloud::Dialogflow::V2::GeneratorEvaluation]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Dialogflow::V2::GeneratorEvaluation]
|
|
129
|
+
# A result object deserialized from the server's reply
|
|
130
|
+
def get_generator_evaluation request_pb, options = nil
|
|
131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
132
|
+
|
|
133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_generator_evaluation_request request_pb
|
|
134
|
+
query_string_params = if query_string_params.any?
|
|
135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
136
|
+
else
|
|
137
|
+
{}
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
response = @client_stub.make_http_request(
|
|
141
|
+
verb,
|
|
142
|
+
uri: uri,
|
|
143
|
+
body: body || "",
|
|
144
|
+
params: query_string_params,
|
|
145
|
+
method_name: "get_generator_evaluation",
|
|
146
|
+
options: options
|
|
147
|
+
)
|
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
149
|
+
result = ::Google::Cloud::Dialogflow::V2::GeneratorEvaluation.decode_json response.body, ignore_unknown_fields: true
|
|
150
|
+
catch :response do
|
|
151
|
+
yield result, operation if block_given?
|
|
152
|
+
result
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
##
|
|
157
|
+
# Baseline implementation for the list_generator_evaluations REST call
|
|
158
|
+
#
|
|
159
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsRequest]
|
|
160
|
+
# A request object representing the call parameters. Required.
|
|
161
|
+
# @param options [::Gapic::CallOptions]
|
|
162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
163
|
+
#
|
|
164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
165
|
+
# @yieldparam result [::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsResponse]
|
|
166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
167
|
+
#
|
|
168
|
+
# @return [::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsResponse]
|
|
169
|
+
# A result object deserialized from the server's reply
|
|
170
|
+
def list_generator_evaluations request_pb, options = nil
|
|
171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
172
|
+
|
|
173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_generator_evaluations_request request_pb
|
|
174
|
+
query_string_params = if query_string_params.any?
|
|
175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
176
|
+
else
|
|
177
|
+
{}
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
response = @client_stub.make_http_request(
|
|
181
|
+
verb,
|
|
182
|
+
uri: uri,
|
|
183
|
+
body: body || "",
|
|
184
|
+
params: query_string_params,
|
|
185
|
+
method_name: "list_generator_evaluations",
|
|
186
|
+
options: options
|
|
187
|
+
)
|
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
189
|
+
result = ::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
190
|
+
catch :response do
|
|
191
|
+
yield result, operation if block_given?
|
|
192
|
+
result
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
##
|
|
197
|
+
# Baseline implementation for the delete_generator_evaluation REST call
|
|
198
|
+
#
|
|
199
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::DeleteGeneratorEvaluationRequest]
|
|
200
|
+
# A request object representing the call parameters. Required.
|
|
201
|
+
# @param options [::Gapic::CallOptions]
|
|
202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
203
|
+
#
|
|
204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
205
|
+
# @yieldparam result [::Google::Protobuf::Empty]
|
|
206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
207
|
+
#
|
|
208
|
+
# @return [::Google::Protobuf::Empty]
|
|
209
|
+
# A result object deserialized from the server's reply
|
|
210
|
+
def delete_generator_evaluation request_pb, options = nil
|
|
211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
212
|
+
|
|
213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_generator_evaluation_request request_pb
|
|
214
|
+
query_string_params = if query_string_params.any?
|
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
216
|
+
else
|
|
217
|
+
{}
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
response = @client_stub.make_http_request(
|
|
221
|
+
verb,
|
|
222
|
+
uri: uri,
|
|
223
|
+
body: body || "",
|
|
224
|
+
params: query_string_params,
|
|
225
|
+
method_name: "delete_generator_evaluation",
|
|
226
|
+
options: options
|
|
227
|
+
)
|
|
228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
229
|
+
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
|
230
|
+
catch :response do
|
|
231
|
+
yield result, operation if block_given?
|
|
232
|
+
result
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
##
|
|
237
|
+
# @private
|
|
238
|
+
#
|
|
239
|
+
# GRPC transcoding helper method for the create_generator_evaluation REST call
|
|
240
|
+
#
|
|
241
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::CreateGeneratorEvaluationRequest]
|
|
242
|
+
# A request object representing the call parameters. Required.
|
|
243
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
244
|
+
# Uri, Body, Query string parameters
|
|
245
|
+
def self.transcode_create_generator_evaluation_request request_pb
|
|
246
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
247
|
+
.with_bindings(
|
|
248
|
+
uri_method: :post,
|
|
249
|
+
uri_template: "/v2/{parent}/evaluations",
|
|
250
|
+
body: "generator_evaluation",
|
|
251
|
+
matches: [
|
|
252
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/generators/[^/]+/?$}, false]
|
|
253
|
+
]
|
|
254
|
+
)
|
|
255
|
+
transcoder.transcode request_pb
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
##
|
|
259
|
+
# @private
|
|
260
|
+
#
|
|
261
|
+
# GRPC transcoding helper method for the get_generator_evaluation REST call
|
|
262
|
+
#
|
|
263
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::GetGeneratorEvaluationRequest]
|
|
264
|
+
# A request object representing the call parameters. Required.
|
|
265
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
266
|
+
# Uri, Body, Query string parameters
|
|
267
|
+
def self.transcode_get_generator_evaluation_request request_pb
|
|
268
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
269
|
+
.with_bindings(
|
|
270
|
+
uri_method: :get,
|
|
271
|
+
uri_template: "/v2/{name}",
|
|
272
|
+
matches: [
|
|
273
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+/?$}, false]
|
|
274
|
+
]
|
|
275
|
+
)
|
|
276
|
+
transcoder.transcode request_pb
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
##
|
|
280
|
+
# @private
|
|
281
|
+
#
|
|
282
|
+
# GRPC transcoding helper method for the list_generator_evaluations REST call
|
|
283
|
+
#
|
|
284
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::ListGeneratorEvaluationsRequest]
|
|
285
|
+
# A request object representing the call parameters. Required.
|
|
286
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
287
|
+
# Uri, Body, Query string parameters
|
|
288
|
+
def self.transcode_list_generator_evaluations_request request_pb
|
|
289
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
290
|
+
.with_bindings(
|
|
291
|
+
uri_method: :get,
|
|
292
|
+
uri_template: "/v2/{parent}/evaluations",
|
|
293
|
+
matches: [
|
|
294
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/generators/[^/]+/?$}, false]
|
|
295
|
+
]
|
|
296
|
+
)
|
|
297
|
+
transcoder.transcode request_pb
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
##
|
|
301
|
+
# @private
|
|
302
|
+
#
|
|
303
|
+
# GRPC transcoding helper method for the delete_generator_evaluation REST call
|
|
304
|
+
#
|
|
305
|
+
# @param request_pb [::Google::Cloud::Dialogflow::V2::DeleteGeneratorEvaluationRequest]
|
|
306
|
+
# A request object representing the call parameters. Required.
|
|
307
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
308
|
+
# Uri, Body, Query string parameters
|
|
309
|
+
def self.transcode_delete_generator_evaluation_request request_pb
|
|
310
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
311
|
+
.with_bindings(
|
|
312
|
+
uri_method: :delete,
|
|
313
|
+
uri_template: "/v2/{name}",
|
|
314
|
+
matches: [
|
|
315
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+/?$}, false]
|
|
316
|
+
]
|
|
317
|
+
)
|
|
318
|
+
transcoder.transcode request_pb
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/dialogflow/v2/version"
|
|
24
|
+
require "google/cloud/dialogflow/v2/bindings_override"
|
|
25
|
+
|
|
26
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/credentials"
|
|
27
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/paths"
|
|
28
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/rest/operations"
|
|
29
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/rest/client"
|
|
30
|
+
|
|
31
|
+
module Google
|
|
32
|
+
module Cloud
|
|
33
|
+
module Dialogflow
|
|
34
|
+
module V2
|
|
35
|
+
##
|
|
36
|
+
# Service for managing generator evaluations.
|
|
37
|
+
#
|
|
38
|
+
# To load this service and instantiate a REST client:
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/dialogflow/v2/generator_evaluations/rest"
|
|
41
|
+
# client = ::Google::Cloud::Dialogflow::V2::GeneratorEvaluations::Rest::Client.new
|
|
42
|
+
#
|
|
43
|
+
module GeneratorEvaluations
|
|
44
|
+
# Client for the REST transport
|
|
45
|
+
module Rest
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
54
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
require "gapic/common"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/dialogflow/v2/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/credentials"
|
|
26
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/paths"
|
|
27
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/operations"
|
|
28
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/client"
|
|
29
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/rest"
|
|
30
|
+
|
|
31
|
+
module Google
|
|
32
|
+
module Cloud
|
|
33
|
+
module Dialogflow
|
|
34
|
+
module V2
|
|
35
|
+
##
|
|
36
|
+
# Service for managing generator evaluations.
|
|
37
|
+
#
|
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/dialogflow/v2/generator_evaluations"
|
|
41
|
+
# client = ::Google::Cloud::Dialogflow::V2::GeneratorEvaluations::Client.new
|
|
42
|
+
#
|
|
43
|
+
# @example Load this service and instantiate a REST client
|
|
44
|
+
#
|
|
45
|
+
# require "google/cloud/dialogflow/v2/generator_evaluations/rest"
|
|
46
|
+
# client = ::Google::Cloud::Dialogflow::V2::GeneratorEvaluations::Rest::Client.new
|
|
47
|
+
#
|
|
48
|
+
module GeneratorEvaluations
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
helper_path = ::File.join __dir__, "generator_evaluations", "helpers.rb"
|
|
56
|
+
require "google/cloud/dialogflow/v2/generator_evaluations/helpers" if ::File.file? helper_path
|
|
@@ -8,12 +8,14 @@ require 'google/api/annotations_pb'
|
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
|
+
require 'google/cloud/dialogflow/v2/agent_coaching_instruction_pb'
|
|
12
|
+
require 'google/cloud/dialogflow/v2/tool_call_pb'
|
|
11
13
|
require 'google/protobuf/empty_pb'
|
|
12
14
|
require 'google/protobuf/field_mask_pb'
|
|
13
15
|
require 'google/protobuf/timestamp_pb'
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xdc\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xce\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\x12\x15\n\x11SITUATION_CONCISE\x10\t\x12\x12\n\x0e\x41\x43TION_CONCISE\x10\n\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"$\n\x0f\x46reeFormContext\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x9c\x05\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x11\x66ree_form_context\x18\x0b \x01(\x0b\x32+.google.cloud.dialogflow.v2.FreeFormContextH\x00\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x1e\n\x0fpublished_model\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontextB\x12\n\x10\x66oundation_model\"+\n\x12\x46reeFormSuggestion\x12\x15\n\x08response\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xca\x01\n\x13GeneratorSuggestion\x12S\n\x14\x66ree_form_suggestion\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.v2.FreeFormSuggestionB\x03\xe0\x41\x01H\x00\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nsuggestion*}\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x12\x14\n\x10\x43USTOMER_MESSAGE\x10\x03\x12\x11\n\rAGENT_MESSAGE\x10\x04\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x94\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
|
|
18
|
+
descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/dialogflow/v2/agent_coaching_instruction.proto\x1a*google/cloud/dialogflow/v2/tool_call.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xc3\x01\n\x14\x41gentCoachingContext\x12!\n\x14overarching_guidance\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12O\n\x0cinstructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\t \x01(\tB\x03\xe0\x41\x01\"\xdc\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xce\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\x12\x15\n\x11SITUATION_CONCISE\x10\t\x12\x12\n\x0e\x41\x43TION_CONCISE\x10\n\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"$\n\x0f\x46reeFormContext\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x86\x07\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x11\x66ree_form_context\x18\x0b \x01(\x0b\x32+.google.cloud.dialogflow.v2.FreeFormContextH\x00\x12R\n\x16\x61gent_coaching_context\x18\x0c \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.AgentCoachingContextH\x00\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x1e\n\x0fpublished_model\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x05tools\x18\x0e \x03(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Tool\x12]\n\x1asuggestion_deduping_config\x18\x17 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SuggestionDedupingConfigB\x03\xe0\x41\x01:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontextB\x12\n\x10\x66oundation_model\"+\n\x12\x46reeFormSuggestion\x12\x15\n\x08response\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\t\n\x17\x41gentCoachingSuggestion\x12Z\n\x17\x61pplicable_instructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12p\n\x18\x61gent_action_suggestions\x18\x02 \x03(\x0b\x32I.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestionB\x03\xe0\x41\x01\x12\x61\n\x10sample_responses\x18\x03 \x03(\x0b\x32\x42.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponseB\x03\xe0\x41\x01\x1a+\n\x07Sources\x12 \n\x13instruction_indexes\x18\x02 \x03(\x05\x42\x03\xe0\x41\x03\x1a\xde\x02\n\x14\x44uplicateCheckResult\x12\x80\x01\n\x15\x64uplicate_suggestions\x18\x01 \x03(\x0b\x32\\.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionB\x03\xe0\x41\x03\x1a\xc2\x01\n\x13\x44uplicateSuggestion\x12\x1a\n\ranswer_record\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12\x1d\n\x10suggestion_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1d\n\x10similarity_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03\x1a\xf4\x01\n\x15\x41gentActionSuggestion\x12\x19\n\x0c\x61gent_action\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\x1a\xee\x01\n\x0eSampleResponse\x12\x1a\n\rresponse_text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\"\x9e\x04\n\x13GeneratorSuggestion\x12S\n\x14\x66ree_form_suggestion\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.v2.FreeFormSuggestionB\x03\xe0\x41\x01H\x00\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x12]\n\x19\x61gent_coaching_suggestion\x18\x03 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.AgentCoachingSuggestionB\x03\xe0\x41\x01H\x00\x12Y\n\x0etool_call_info\x18\t \x03(\x0b\x32<.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfoB\x03\xe0\x41\x01\x1a\x97\x01\n\x0cToolCallInfo\x12<\n\ttool_call\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.ToolCallB\x03\xe0\x41\x02\x12I\n\x10tool_call_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.ToolCallResultB\x03\xe0\x41\x02\x42\x0c\n\nsuggestion\"[\n\x18SuggestionDedupingConfig\x12\x1c\n\x0f\x65nable_deduping\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14similarity_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\xb8\x04\n\x0bRaiSettings\x12W\n\x14rai_category_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig\x1a\xcf\x03\n\x11RaiCategoryConfig\x12\\\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.RaiCategoryB\x03\xe0\x41\x01\x12j\n\x11sensitivity_level\x18\x02 \x01(\x0e\x32J.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevelB\x03\xe0\x41\x01\"z\n\x0bRaiCategory\x12\x1c\n\x18RAI_CATEGORY_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44\x41NGEROUS_CONTENT\x10\x01\x12\x15\n\x11SEXUALLY_EXPLICIT\x10\x02\x12\x0e\n\nHARASSMENT\x10\x03\x12\x0f\n\x0bHATE_SPEECH\x10\x04\"t\n\x10SensitivityLevel\x12!\n\x1dSENSITIVITY_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nBLOCK_MOST\x10\x01\x12\x0e\n\nBLOCK_SOME\x10\x02\x12\r\n\tBLOCK_FEW\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04*}\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x12\x14\n\x10\x43USTOMER_MESSAGE\x10\x03\x12\x11\n\rAGENT_MESSAGE\x10\x04\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x91\x02\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}b\x06proto3"
|
|
17
19
|
|
|
18
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
21
|
|
|
@@ -30,6 +32,8 @@ rescue TypeError
|
|
|
30
32
|
imports = [
|
|
31
33
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
32
34
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
35
|
+
["google.cloud.dialogflow.v2.AgentCoachingInstruction", "google/cloud/dialogflow/v2/agent_coaching_instruction.proto"],
|
|
36
|
+
["google.cloud.dialogflow.v2.ToolCall", "google/cloud/dialogflow/v2/tool_call.proto"],
|
|
33
37
|
]
|
|
34
38
|
imports.each do |type_name, expected_filename|
|
|
35
39
|
import_file = pool.lookup(type_name).file_descriptor
|
|
@@ -57,6 +61,7 @@ module Google
|
|
|
57
61
|
SummarizationSectionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationSectionList").msgclass
|
|
58
62
|
FewShotExample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.FewShotExample").msgclass
|
|
59
63
|
InferenceParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.InferenceParameter").msgclass
|
|
64
|
+
AgentCoachingContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingContext").msgclass
|
|
60
65
|
SummarizationSection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationSection").msgclass
|
|
61
66
|
SummarizationSection::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationSection.Type").enummodule
|
|
62
67
|
SummarizationContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationContext").msgclass
|
|
@@ -65,7 +70,19 @@ module Google
|
|
|
65
70
|
FreeFormSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.FreeFormSuggestion").msgclass
|
|
66
71
|
SummarySuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarySuggestion").msgclass
|
|
67
72
|
SummarySuggestion::SummarySection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarySuggestion.SummarySection").msgclass
|
|
73
|
+
AgentCoachingSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion").msgclass
|
|
74
|
+
AgentCoachingSuggestion::Sources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources").msgclass
|
|
75
|
+
AgentCoachingSuggestion::DuplicateCheckResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult").msgclass
|
|
76
|
+
AgentCoachingSuggestion::DuplicateCheckResult::DuplicateSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion").msgclass
|
|
77
|
+
AgentCoachingSuggestion::AgentActionSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion").msgclass
|
|
78
|
+
AgentCoachingSuggestion::SampleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse").msgclass
|
|
68
79
|
GeneratorSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorSuggestion").msgclass
|
|
80
|
+
GeneratorSuggestion::ToolCallInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo").msgclass
|
|
81
|
+
SuggestionDedupingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SuggestionDedupingConfig").msgclass
|
|
82
|
+
RaiSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.RaiSettings").msgclass
|
|
83
|
+
RaiSettings::RaiCategoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig").msgclass
|
|
84
|
+
RaiSettings::RaiCategoryConfig::RaiCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.RaiCategory").enummodule
|
|
85
|
+
RaiSettings::RaiCategoryConfig::SensitivityLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevel").enummodule
|
|
69
86
|
TriggerEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.TriggerEvent").enummodule
|
|
70
87
|
end
|
|
71
88
|
end
|
|
@@ -57,6 +57,25 @@ module Google
|
|
|
57
57
|
"projects/#{project}"
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
##
|
|
61
|
+
# Create a fully-qualified Tool resource string.
|
|
62
|
+
#
|
|
63
|
+
# The resource will be in the following format:
|
|
64
|
+
#
|
|
65
|
+
# `projects/{project}/locations/{location}/tools/{tool}`
|
|
66
|
+
#
|
|
67
|
+
# @param project [String]
|
|
68
|
+
# @param location [String]
|
|
69
|
+
# @param tool [String]
|
|
70
|
+
#
|
|
71
|
+
# @return [::String]
|
|
72
|
+
def tool_path project:, location:, tool:
|
|
73
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
74
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
75
|
+
|
|
76
|
+
"projects/#{project}/locations/#{location}/tools/#{tool}"
|
|
77
|
+
end
|
|
78
|
+
|
|
60
79
|
extend self
|
|
61
80
|
end
|
|
62
81
|
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/dialogflow/v2/operations.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n+google/cloud/dialogflow/v2/operations.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"I\n$GeneratorEvaluationOperationMetadata\x12!\n\x14generator_evaluation\x18\x01 \x01(\tB\x03\xe0\x41\x03\x42\x95\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0fOperationsProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
|
|
15
|
+
begin
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
rescue TypeError
|
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
+
parsed.clear_dependency
|
|
22
|
+
serialized = parsed.class.encode(parsed)
|
|
23
|
+
file = pool.add_serialized_file(serialized)
|
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
+
imports = [
|
|
26
|
+
]
|
|
27
|
+
imports.each do |type_name, expected_filename|
|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
29
|
+
if import_file.name != expected_filename
|
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
34
|
+
warn "This will become an error in the next major version."
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
module Google
|
|
38
|
+
module Cloud
|
|
39
|
+
module Dialogflow
|
|
40
|
+
module V2
|
|
41
|
+
GeneratorEvaluationOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorEvaluationOperationMetadata").msgclass
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|