google-cloud-discovery_engine-v1beta 0.13.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/client.rb +219 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +205 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/service_stub.rb +136 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +19 -1
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +19 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +10 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +10 -1
- data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/paths.rb +68 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +50 -1
- data/lib/google/cloud/discovery_engine/v1beta/search_service/paths.rb +68 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +50 -1
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/client.rb +139 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +132 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/service_stub.rb +75 -0
- data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/answer_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/completion_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_services_pb.rb +8 -0
- data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/custom_tuning_model_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/data_store_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/data_store_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/import_config_pb.rb +6 -1
- data/lib/google/cloud/discoveryengine/v1beta/purge_config_pb.rb +7 -1
- data/lib/google/cloud/discoveryengine/v1beta/search_service_pb.rb +16 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_event_service_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_event_service_services_pb.rb +5 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +14 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +31 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +28 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb +16 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb +25 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store_service.rb +10 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +114 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +119 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +332 -0
- metadata +2 -2
@@ -384,6 +384,131 @@ module Google
|
|
384
384
|
raise ::Google::Cloud::Error.from_error(e)
|
385
385
|
end
|
386
386
|
|
387
|
+
##
|
388
|
+
# Deletes permanently all user events specified by the filter provided.
|
389
|
+
# Depending on the number of events specified by the filter, this operation
|
390
|
+
# could take hours or days to complete. To test a filter, use the list
|
391
|
+
# command first.
|
392
|
+
#
|
393
|
+
# @overload purge_user_events(request, options = nil)
|
394
|
+
# Pass arguments to `purge_user_events` via a request object, either of type
|
395
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest} or an equivalent Hash.
|
396
|
+
#
|
397
|
+
# @param request [::Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest, ::Hash]
|
398
|
+
# A request object representing the call parameters. Required. To specify no
|
399
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
400
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
401
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
402
|
+
#
|
403
|
+
# @overload purge_user_events(parent: nil, filter: nil, force: nil)
|
404
|
+
# Pass arguments to `purge_user_events` via keyword arguments. Note that at
|
405
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
406
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
407
|
+
#
|
408
|
+
# @param parent [::String]
|
409
|
+
# Required. The resource name of the catalog under which the events are
|
410
|
+
# created. The format is
|
411
|
+
# `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}`
|
412
|
+
# @param filter [::String]
|
413
|
+
# Required. The filter string to specify the events to be deleted with a
|
414
|
+
# length limit of 5,000 characters. The eligible fields for filtering are:
|
415
|
+
#
|
416
|
+
# * `eventType`: Double quoted
|
417
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::UserEvent#event_type UserEvent.event_type}
|
418
|
+
# string.
|
419
|
+
# * `eventTime`: in ISO 8601 "zulu" format.
|
420
|
+
# * `userPseudoId`: Double quoted string. Specifying this will delete all
|
421
|
+
# events associated with a visitor.
|
422
|
+
# * `userId`: Double quoted string. Specifying this will delete all events
|
423
|
+
# associated with a user.
|
424
|
+
#
|
425
|
+
# Examples:
|
426
|
+
#
|
427
|
+
# * Deleting all events in a time range:
|
428
|
+
# `eventTime > "2012-04-23T18:25:43.511Z"
|
429
|
+
# eventTime < "2012-04-23T18:30:43.511Z"`
|
430
|
+
# * Deleting specific eventType:
|
431
|
+
# `eventType = "search"`
|
432
|
+
# * Deleting all events for a specific visitor:
|
433
|
+
# `userPseudoId = "visitor1024"`
|
434
|
+
# * Deleting all events inside a DataStore:
|
435
|
+
# `*`
|
436
|
+
#
|
437
|
+
# The filtering fields are assumed to have an implicit AND.
|
438
|
+
# @param force [::Boolean]
|
439
|
+
# The `force` field is currently not supported. Purge user event requests
|
440
|
+
# will permanently delete all purgeable events. Once the development is
|
441
|
+
# complete:
|
442
|
+
# If `force` is set to false, the method will return the expected
|
443
|
+
# purge count without deleting any user events. This field will default to
|
444
|
+
# false if not included in the request.
|
445
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
446
|
+
# @yieldparam result [::Gapic::Operation]
|
447
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
448
|
+
#
|
449
|
+
# @return [::Gapic::Operation]
|
450
|
+
#
|
451
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
452
|
+
#
|
453
|
+
# @example Basic example
|
454
|
+
# require "google/cloud/discovery_engine/v1beta"
|
455
|
+
#
|
456
|
+
# # Create a client object. The client can be reused for multiple calls.
|
457
|
+
# client = Google::Cloud::DiscoveryEngine::V1beta::UserEventService::Rest::Client.new
|
458
|
+
#
|
459
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
460
|
+
# request = Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest.new
|
461
|
+
#
|
462
|
+
# # Call the purge_user_events method.
|
463
|
+
# result = client.purge_user_events request
|
464
|
+
#
|
465
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
466
|
+
# # check the status of an operation, cancel it, or wait for results.
|
467
|
+
# # Here is how to wait for a response.
|
468
|
+
# result.wait_until_done! timeout: 60
|
469
|
+
# if result.response?
|
470
|
+
# p result.response
|
471
|
+
# else
|
472
|
+
# puts "No response received."
|
473
|
+
# end
|
474
|
+
#
|
475
|
+
def purge_user_events request, options = nil
|
476
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
477
|
+
|
478
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest
|
479
|
+
|
480
|
+
# Converts hash and nil to an options object
|
481
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
482
|
+
|
483
|
+
# Customize the options with defaults
|
484
|
+
call_metadata = @config.rpcs.purge_user_events.metadata.to_h
|
485
|
+
|
486
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
487
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
488
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
489
|
+
gapic_version: ::Google::Cloud::DiscoveryEngine::V1beta::VERSION,
|
490
|
+
transports_version_send: [:rest]
|
491
|
+
|
492
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
493
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
494
|
+
|
495
|
+
options.apply_defaults timeout: @config.rpcs.purge_user_events.timeout,
|
496
|
+
metadata: call_metadata,
|
497
|
+
retry_policy: @config.rpcs.purge_user_events.retry_policy
|
498
|
+
|
499
|
+
options.apply_defaults timeout: @config.timeout,
|
500
|
+
metadata: @config.metadata,
|
501
|
+
retry_policy: @config.retry_policy
|
502
|
+
|
503
|
+
@user_event_service_stub.purge_user_events request, options do |result, operation|
|
504
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
505
|
+
yield result, operation if block_given?
|
506
|
+
return result
|
507
|
+
end
|
508
|
+
rescue ::Gapic::Rest::Error => e
|
509
|
+
raise ::Google::Cloud::Error.from_error(e)
|
510
|
+
end
|
511
|
+
|
387
512
|
##
|
388
513
|
# Bulk import of user events. Request processing might be
|
389
514
|
# synchronous. Events that already exist are skipped.
|
@@ -631,6 +756,11 @@ module Google
|
|
631
756
|
#
|
632
757
|
attr_reader :collect_user_event
|
633
758
|
##
|
759
|
+
# RPC-specific configuration for `purge_user_events`
|
760
|
+
# @return [::Gapic::Config::Method]
|
761
|
+
#
|
762
|
+
attr_reader :purge_user_events
|
763
|
+
##
|
634
764
|
# RPC-specific configuration for `import_user_events`
|
635
765
|
# @return [::Gapic::Config::Method]
|
636
766
|
#
|
@@ -642,6 +772,8 @@ module Google
|
|
642
772
|
@write_user_event = ::Gapic::Config::Method.new write_user_event_config
|
643
773
|
collect_user_event_config = parent_rpcs.collect_user_event if parent_rpcs.respond_to? :collect_user_event
|
644
774
|
@collect_user_event = ::Gapic::Config::Method.new collect_user_event_config
|
775
|
+
purge_user_events_config = parent_rpcs.purge_user_events if parent_rpcs.respond_to? :purge_user_events
|
776
|
+
@purge_user_events = ::Gapic::Config::Method.new purge_user_events_config
|
645
777
|
import_user_events_config = parent_rpcs.import_user_events if parent_rpcs.respond_to? :import_user_events
|
646
778
|
@import_user_events = ::Gapic::Config::Method.new import_user_events_config
|
647
779
|
|
@@ -137,6 +137,44 @@ module Google
|
|
137
137
|
result
|
138
138
|
end
|
139
139
|
|
140
|
+
##
|
141
|
+
# Baseline implementation for the purge_user_events REST call
|
142
|
+
#
|
143
|
+
# @param request_pb [::Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest]
|
144
|
+
# A request object representing the call parameters. Required.
|
145
|
+
# @param options [::Gapic::CallOptions]
|
146
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
147
|
+
#
|
148
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
149
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
150
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
151
|
+
#
|
152
|
+
# @return [::Google::Longrunning::Operation]
|
153
|
+
# A result object deserialized from the server's reply
|
154
|
+
def purge_user_events request_pb, options = nil
|
155
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
156
|
+
|
157
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_purge_user_events_request request_pb
|
158
|
+
query_string_params = if query_string_params.any?
|
159
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
160
|
+
else
|
161
|
+
{}
|
162
|
+
end
|
163
|
+
|
164
|
+
response = @client_stub.make_http_request(
|
165
|
+
verb,
|
166
|
+
uri: uri,
|
167
|
+
body: body || "",
|
168
|
+
params: query_string_params,
|
169
|
+
options: options
|
170
|
+
)
|
171
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
172
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
173
|
+
|
174
|
+
yield result, operation if block_given?
|
175
|
+
result
|
176
|
+
end
|
177
|
+
|
140
178
|
##
|
141
179
|
# Baseline implementation for the import_user_events REST call
|
142
180
|
#
|
@@ -238,6 +276,43 @@ module Google
|
|
238
276
|
["parent", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/?$}, false]
|
239
277
|
]
|
240
278
|
)
|
279
|
+
.with_bindings(
|
280
|
+
uri_method: :get,
|
281
|
+
uri_template: "/v1beta/{parent}/userEvents:collect",
|
282
|
+
matches: [
|
283
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
284
|
+
]
|
285
|
+
)
|
286
|
+
transcoder.transcode request_pb
|
287
|
+
end
|
288
|
+
|
289
|
+
##
|
290
|
+
# @private
|
291
|
+
#
|
292
|
+
# GRPC transcoding helper method for the purge_user_events REST call
|
293
|
+
#
|
294
|
+
# @param request_pb [::Google::Cloud::DiscoveryEngine::V1beta::PurgeUserEventsRequest]
|
295
|
+
# A request object representing the call parameters. Required.
|
296
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
297
|
+
# Uri, Body, Query string parameters
|
298
|
+
def self.transcode_purge_user_events_request request_pb
|
299
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
300
|
+
.with_bindings(
|
301
|
+
uri_method: :post,
|
302
|
+
uri_template: "/v1beta/{parent}/userEvents:purge",
|
303
|
+
body: "*",
|
304
|
+
matches: [
|
305
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/?$}, false]
|
306
|
+
]
|
307
|
+
)
|
308
|
+
.with_bindings(
|
309
|
+
uri_method: :post,
|
310
|
+
uri_template: "/v1beta/{parent}/userEvents:purge",
|
311
|
+
body: "*",
|
312
|
+
matches: [
|
313
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/?$}, false]
|
314
|
+
]
|
315
|
+
)
|
241
316
|
transcoder.transcode request_pb
|
242
317
|
end
|
243
318
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/struct_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n0google/cloud/discoveryengine/v1beta/answer.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n0google/cloud/discoveryengine/v1beta/answer.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc3\x1f\n\x06\x41nswer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12@\n\x05state\x18\x02 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1beta.Answer.State\x12\x13\n\x0b\x61nswer_text\x18\x03 \x01(\t\x12G\n\tcitations\x18\x04 \x03(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.Answer.Citation\x12I\n\nreferences\x18\x05 \x03(\x0b\x32\x35.google.cloud.discoveryengine.v1beta.Answer.Reference\x12\x19\n\x11related_questions\x18\x06 \x03(\t\x12?\n\x05steps\x18\x07 \x03(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.Answer.Step\x12\x64\n\x18query_understanding_info\x18\n \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo\x12_\n\x16\x61nswer_skipped_reasons\x18\x0b \x03(\x0e\x32?.google.cloud.discoveryengine.v1beta.Answer.AnswerSkippedReason\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x7f\n\x08\x43itation\x12\x13\n\x0bstart_index\x18\x01 \x01(\x03\x12\x11\n\tend_index\x18\x02 \x01(\x03\x12K\n\x07sources\x18\x03 \x03(\x0b\x32:.google.cloud.discoveryengine.v1beta.Answer.CitationSource\x1a&\n\x0e\x43itationSource\x12\x14\n\x0creference_id\x18\x01 \x01(\t\x1a\xe9\x07\n\tReference\x12t\n\x1aunstructured_document_info\x18\x01 \x01(\x0b\x32N.google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfoH\x00\x12U\n\nchunk_info\x18\x02 \x01(\x0b\x32?.google.cloud.discoveryengine.v1beta.Answer.Reference.ChunkInfoH\x00\x1a\xd3\x02\n\x18UnstructuredDocumentInfo\x12>\n\x08\x64ocument\x18\x01 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12s\n\x0e\x63hunk_contents\x18\x04 \x03(\x0b\x32[.google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent\x12,\n\x0bstruct_data\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x38\n\x0c\x43hunkContent\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x17\n\x0fpage_identifier\x18\x02 \x01(\t\x1a\xad\x03\n\tChunkInfo\x12\x38\n\x05\x63hunk\x18\x01 \x01(\tB)\xfa\x41&\n$discoveryengine.googleapis.com/Chunk\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x1c\n\x0frelevance_score\x18\x03 \x01(\x02H\x00\x88\x01\x01\x12k\n\x11\x64ocument_metadata\x18\x04 \x01(\x0b\x32P.google.cloud.discoveryengine.v1beta.Answer.Reference.ChunkInfo.DocumentMetadata\x1a\xb5\x01\n\x10\x44ocumentMetadata\x12>\n\x08\x64ocument\x18\x01 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x17\n\x0fpage_identifier\x18\x04 \x01(\t\x12,\n\x0bstruct_data\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x12\n\x10_relevance_scoreB\t\n\x07\x63ontent\x1a\xd8\x08\n\x04Step\x12\x45\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.discoveryengine.v1beta.Answer.Step.State\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07thought\x18\x03 \x01(\t\x12H\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32\x37.google.cloud.discoveryengine.v1beta.Answer.Step.Action\x1a\xcc\x06\n\x06\x41\x63tion\x12]\n\rsearch_action\x18\x02 \x01(\x0b\x32\x44.google.cloud.discoveryengine.v1beta.Answer.Step.Action.SearchActionH\x00\x12X\n\x0bobservation\x18\x03 \x01(\x0b\x32\x43.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation\x1a\x1d\n\x0cSearchAction\x12\r\n\x05query\x18\x01 \x01(\t\x1a\xdf\x04\n\x0bObservation\x12h\n\x0esearch_results\x18\x02 \x03(\x0b\x32P.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult\x1a\xe5\x03\n\x0cSearchResult\x12\x10\n\x08\x64ocument\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12r\n\x0csnippet_info\x18\x04 \x03(\x0b\x32\\.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo\x12n\n\nchunk_info\x18\x05 \x03(\x0b\x32Z.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo\x12,\n\x0bstruct_data\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x36\n\x0bSnippetInfo\x12\x0f\n\x07snippet\x18\x01 \x01(\t\x12\x16\n\x0esnippet_status\x18\x02 \x01(\t\x1a]\n\tChunkInfo\x12\r\n\x05\x63hunk\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x1c\n\x0frelevance_score\x18\x03 \x01(\x02H\x00\x88\x01\x01\x42\x12\n\x10_relevance_scoreB\x08\n\x06\x61\x63tion\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x1a\x87\x03\n\x16QueryUnderstandingInfo\x12}\n\x19query_classification_info\x18\x01 \x03(\x0b\x32Z.google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo\x1a\xed\x01\n\x17QueryClassificationInfo\x12m\n\x04type\x18\x01 \x01(\x0e\x32_.google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type\x12\x10\n\x08positive\x18\x02 \x01(\x08\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41\x44VERSARIAL_QUERY\x10\x01\x12\x1c\n\x18NON_ANSWER_SEEKING_QUERY\x10\x02\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\"\xdb\x01\n\x13\x41nswerSkippedReason\x12%\n!ANSWER_SKIPPED_REASON_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41\x44VERSARIAL_QUERY_IGNORED\x10\x01\x12$\n NON_ANSWER_SEEKING_QUERY_IGNORED\x10\x02\x12\x1f\n\x1bOUT_OF_DOMAIN_QUERY_IGNORED\x10\x03\x12\x1e\n\x1aPOTENTIAL_POLICY_VIOLATION\x10\x04\x12\x17\n\x13NO_RELEVANT_CONTENT\x10\x05:\x85\x03\xea\x41\x81\x03\n%discoveryengine.googleapis.com/Answer\x12\x63projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}\x12|projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}\x12uprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}B\x92\x02\n\'com.google.cloud.discoveryengine.v1betaB\x0b\x41nswerProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n4google/cloud/discoveryengine/v1beta/completion.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xed\x01\n\x17SuggestionDenyListEntry\x12\x19\n\x0c\x62lock_phrase\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12g\n\x0ematch_operator\x18\x02 \x01(\x0e\x32J.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperatorB\x03\xe0\x41\x02\"N\n\rMatchOperator\x12\x1e\n\x1aMATCH_OPERATOR_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\
|
10
|
+
descriptor_data = "\n4google/cloud/discoveryengine/v1beta/completion.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xed\x01\n\x17SuggestionDenyListEntry\x12\x19\n\x0c\x62lock_phrase\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12g\n\x0ematch_operator\x18\x02 \x01(\x0e\x32J.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperatorB\x03\xe0\x41\x02\"N\n\rMatchOperator\x12\x1e\n\x1aMATCH_OPERATOR_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\"\xc7\x01\n\x14\x43ompletionSuggestion\x12\x16\n\x0cglobal_score\x18\x02 \x01(\x01H\x00\x12\x13\n\tfrequency\x18\x03 \x01(\x03H\x00\x12\x17\n\nsuggestion\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\x12\x10\n\x08group_id\x18\x05 \x01(\t\x12\x13\n\x0bgroup_score\x18\x06 \x01(\x01\x12\x1b\n\x13\x61lternative_phrases\x18\x07 \x03(\tB\x0e\n\x0cranking_infoB\x96\x02\n\'com.google.cloud.discoveryengine.v1betaB\x0f\x43ompletionProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -39,6 +39,7 @@ module Google
|
|
39
39
|
module V1beta
|
40
40
|
SuggestionDenyListEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry").msgclass
|
41
41
|
SuggestionDenyListEntry::MatchOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperator").enummodule
|
42
|
+
CompletionSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CompletionSuggestion").msgclass
|
42
43
|
end
|
43
44
|
end
|
44
45
|
end
|
@@ -13,7 +13,7 @@ require 'google/cloud/discoveryengine/v1beta/purge_config_pb'
|
|
13
13
|
require 'google/longrunning/operations_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/completion_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/discoveryengine/v1beta/import_config.proto\x1a\x36google/cloud/discoveryengine/v1beta/purge_config.proto\x1a#google/longrunning/operations.proto\"\xbf\x01\n\x14\x43ompleteQueryRequest\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bquery_model\x18\x03 \x01(\t\x12\x16\n\x0euser_pseudo_id\x18\x04 \x01(\t\x12 \n\x18include_tail_suggestions\x18\x05 \x01(\x08\"\xe4\x01\n\x15\x43ompleteQueryResponse\x12\x65\n\x11query_suggestions\x18\x01 \x03(\x0b\x32J.google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion\x12\x1c\n\x14tail_match_triggered\x18\x02 \x01(\x08\x1a\x46\n\x0fQuerySuggestion\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12\x1f\n\x17\x63ompletable_field_paths\x18\x02 \x03(\t2\
|
16
|
+
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/completion_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/discoveryengine/v1beta/import_config.proto\x1a\x36google/cloud/discoveryengine/v1beta/purge_config.proto\x1a#google/longrunning/operations.proto\"\xbf\x01\n\x14\x43ompleteQueryRequest\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bquery_model\x18\x03 \x01(\t\x12\x16\n\x0euser_pseudo_id\x18\x04 \x01(\t\x12 \n\x18include_tail_suggestions\x18\x05 \x01(\x08\"\xe4\x01\n\x15\x43ompleteQueryResponse\x12\x65\n\x11query_suggestions\x18\x01 \x03(\x0b\x32J.google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion\x12\x1c\n\x14tail_match_triggered\x18\x02 \x01(\x08\x1a\x46\n\x0fQuerySuggestion\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12\x1f\n\x17\x63ompletable_field_paths\x18\x02 \x03(\t2\xcf\x12\n\x11\x43ompletionService\x12\xb0\x02\n\rCompleteQuery\x12\x39.google.cloud.discoveryengine.v1beta.CompleteQueryRequest\x1a:.google.cloud.discoveryengine.v1beta.CompleteQueryResponse\"\xa7\x01\x82\xd3\xe4\x93\x02\xa0\x01\x12\x46/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQueryZV\x12T/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery\x12\xf9\x03\n\x1fImportSuggestionDenyListEntries\x12K.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest\x1a\x1d.google.longrunning.Operation\"\xe9\x02\xca\x41\x9a\x01\nKgoogle.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse\x12Kgoogle.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesMetadata\x82\xd3\xe4\x93\x02\xc4\x01\"c/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import:\x01*ZZ\"U/v1beta/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import:\x01*\x12\xf4\x03\n\x1ePurgeSuggestionDenyListEntries\x12J.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesRequest\x1a\x1d.google.longrunning.Operation\"\xe6\x02\xca\x41\x98\x01\nJgoogle.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse\x12Jgoogle.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata\x82\xd3\xe4\x93\x02\xc3\x01\"b/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge:\x01*ZZ\"U/v1beta/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge:\x01*\x12\xe1\x03\n\x1bImportCompletionSuggestions\x12G.google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest\x1a\x1d.google.longrunning.Operation\"\xd9\x02\xca\x41\x92\x01\nGgoogle.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse\x12Ggoogle.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata\x82\xd3\xe4\x93\x02\xbc\x01\"_/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import:\x01*ZV\"Q/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import:\x01*\x12\xdb\x03\n\x1aPurgeCompletionSuggestions\x12\x46.google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x02\xca\x41\x90\x01\nFgoogle.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse\x12\x46google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata\x82\xd3\xe4\x93\x02\xba\x01\"^/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge:\x01*ZU\"P/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9d\x02\n\'com.google.cloud.discoveryengine.v1betaB\x16\x43ompletionServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -43,6 +43,14 @@ module Google
|
|
43
43
|
# [SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry]
|
44
44
|
# for a DataStore.
|
45
45
|
rpc :PurgeSuggestionDenyListEntries, ::Google::Cloud::DiscoveryEngine::V1beta::PurgeSuggestionDenyListEntriesRequest, ::Google::Longrunning::Operation
|
46
|
+
# Imports
|
47
|
+
# [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
|
48
|
+
# for a DataStore.
|
49
|
+
rpc :ImportCompletionSuggestions, ::Google::Cloud::DiscoveryEngine::V1beta::ImportCompletionSuggestionsRequest, ::Google::Longrunning::Operation
|
50
|
+
# Permanently deletes all
|
51
|
+
# [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s
|
52
|
+
# for a DataStore.
|
53
|
+
rpc :PurgeCompletionSuggestions, ::Google::Cloud::DiscoveryEngine::V1beta::PurgeCompletionSuggestionsRequest, ::Google::Longrunning::Operation
|
46
54
|
end
|
47
55
|
|
48
56
|
Stub = Service.rpc_stub_class
|
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
|
|
16
16
|
require 'google/protobuf/field_mask_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\nGgoogle/cloud/discoveryengine/v1beta/conversational_search_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/answer.proto\x1a\x36google/cloud/discoveryengine/v1beta/conversation.proto\x1a\x38google/cloud/discoveryengine/v1beta/search_service.proto\x1a\x31google/cloud/discoveryengine/v1beta/session.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb1\x05\n\x1b\x43onverseConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\x12\x42\n\x05query\x18\x02 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.TextInputB\x03\xe0\x41\x02\x12I\n\x0eserving_config\x18\x03 \x01(\tB1\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12G\n\x0c\x63onversation\x18\x05 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x13\n\x0bsafe_search\x18\x06 \x01(\x08\x12\x65\n\x0buser_labels\x18\x07 \x03(\x0b\x32P.google.cloud.discoveryengine.v1beta.ConverseConversationRequest.UserLabelsEntry\x12\x66\n\x0csummary_spec\x18\x08 \x01(\x0b\x32P.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12P\n\nboost_spec\x18\n \x01(\x0b\x32<.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x02\n\x1c\x43onverseConversationResponse\x12\x39\n\x05reply\x18\x01 \x01(\x0b\x32*.google.cloud.discoveryengine.v1beta.Reply\x12G\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x19\n\x11related_questions\x18\x06 \x03(\t\x12X\n\x0esearch_results\x18\x03 \x03(\x0b\x32@.google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult\"\xab\x01\n\x19\x43reateConversationRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.ConversationB\x03\xe0\x41\x02\"\x9a\x01\n\x19UpdateConversationRequest\x12L\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.ConversationB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x19\x44\x65leteConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"[\n\x16GetConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"\xa5\x01\n\x18ListConversationsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"~\n\x19ListConversationsResponse\x12H\n\rconversations\x18\x01 \x03(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf2\x1e\n\x12\x41nswerQueryRequest\x12L\n\x0eserving_config\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12>\n\x05query\x18\x02 \x01(\x0b\x32*.google.cloud.discoveryengine.v1beta.QueryB\x03\xe0\x41\x02\x12<\n\x07session\x18\x03 \x01(\tB+\xfa\x41(\n&discoveryengine.googleapis.com/Session\x12W\n\x0bsafety_spec\x18\x04 \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SafetySpec\x12l\n\x16related_questions_spec\x18\x05 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.RelatedQuestionsSpec\x12l\n\x16\x61nswer_generation_spec\x18\x07 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec\x12W\n\x0bsearch_spec\x18\x08 \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec\x12p\n\x18query_understanding_spec\x18\t \x01(\x0b\x32N.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec\x12\x19\n\x11\x61synchronous_mode\x18\n \x01(\x08\x12\x16\n\x0euser_pseudo_id\x18\x0c \x01(\t\x1a\x1c\n\nSafetySpec\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\x1a&\n\x14RelatedQuestionsSpec\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\x1a\x82\x04\n\x14\x41nswerGenerationSpec\x12j\n\nmodel_spec\x18\x01 \x01(\x0b\x32V.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec.ModelSpec\x12l\n\x0bprompt_spec\x18\x02 \x01(\x0b\x32W.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec.PromptSpec\x12\x19\n\x11include_citations\x18\x03 \x01(\x08\x12\x1c\n\x14\x61nswer_language_code\x18\x04 \x01(\t\x12 \n\x18ignore_adversarial_query\x18\x05 \x01(\x08\x12\'\n\x1fignore_non_answer_seeking_query\x18\x06 \x01(\x08\x12(\n\x1bignore_low_relevant_content\x18\x07 \x01(\x08H\x00\x88\x01\x01\x1a\"\n\tModelSpec\x12\x15\n\rmodel_version\x18\x01 \x01(\t\x1a\x1e\n\nPromptSpec\x12\x10\n\x08preamble\x18\x01 \x01(\tB\x1e\n\x1c_ignore_low_relevant_content\x1a\xbb\x0f\n\nSearchSpec\x12h\n\rsearch_params\x18\x01 \x01(\x0b\x32O.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParamsH\x00\x12q\n\x12search_result_list\x18\x02 \x01(\x0b\x32S.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultListH\x00\x1a\xed\x02\n\x0cSearchParams\x12\x1a\n\x12max_return_results\x18\x01 \x01(\x05\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12P\n\nboost_spec\x18\x03 \x01(\x0b\x32<.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12q\n\x12search_result_mode\x18\x05 \x01(\x0e\x32U.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode\x12Z\n\x10\x64\x61ta_store_specs\x18\x07 \x03(\x0b\x32@.google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec\x1a\xd6\n\n\x10SearchResultList\x12x\n\x0esearch_results\x18\x01 \x03(\x0b\x32`.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult\x1a\xc7\t\n\x0cSearchResult\x12\x9f\x01\n\x1aunstructured_document_info\x18\x01 \x01(\x0b\x32y.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoH\x00\x12\x80\x01\n\nchunk_info\x18\x02 \x01(\x0b\x32j.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoH\x00\x1a\xae\x06\n\x18UnstructuredDocumentInfo\x12>\n\x08\x64ocument\x18\x01 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\xa5\x01\n\x11\x64ocument_contexts\x18\x04 \x03(\x0b\x32\x89\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext\x12\xa9\x01\n\x13\x65xtractive_segments\x18\x05 \x03(\x0b\x32\x8b\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment\x12\xa7\x01\n\x12\x65xtractive_answers\x18\x06 \x03(\x0b\x32\x8a\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer\x1a;\n\x0f\x44ocumentContext\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a=\n\x11\x45xtractiveSegment\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a<\n\x10\x45xtractiveAnswer\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1aV\n\tChunkInfo\x12\x38\n\x05\x63hunk\x18\x01 \x01(\tB)\xfa\x41&\n$discoveryengine.googleapis.com/Chunk\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\tB\t\n\x07\x63ontentB\x07\n\x05input\x1a\xd3\x04\n\x16QueryUnderstandingSpec\x12\x89\x01\n\x19query_classification_spec\x18\x01 \x01(\x0b\x32\x66.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec\x12\x7f\n\x14query_rephraser_spec\x18\x02 \x01(\x0b\x32\x61.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec\x1a\xe8\x01\n\x17QueryClassificationSpec\x12z\n\x05types\x18\x01 \x03(\x0e\x32k.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41\x44VERSARIAL_QUERY\x10\x01\x12\x1c\n\x18NON_ANSWER_SEEKING_QUERY\x10\x02\x1a\x41\n\x12QueryRephraserSpec\x12\x0f\n\x07\x64isable\x18\x01 \x01(\x08\x12\x1a\n\x12max_rephrase_steps\x18\x02 \x01(\x05\"\xad\x01\n\x13\x41nswerQueryResponse\x12;\n\x06\x61nswer\x18\x01 \x01(\x0b\x32+.google.cloud.discoveryengine.v1beta.Answer\x12=\n\x07session\x18\x02 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.Session\x12\x1a\n\x12\x61nswer_query_token\x18\x03 \x01(\t\"O\n\x10GetAnswerRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Answer\"\x9c\x01\n\x14\x43reateSessionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x42\n\x07session\x18\x02 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.SessionB\x03\xe0\x41\x02\"\x8b\x01\n\x14UpdateSessionRequest\x12\x42\n\x07session\x18\x01 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.SessionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"T\n\x14\x44\x65leteSessionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&discoveryengine.googleapis.com/Session\"Q\n\x11GetSessionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&discoveryengine.googleapis.com/Session\"\xa0\x01\n\x13ListSessionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"o\n\x14ListSessionsResponse\x12>\n\x08sessions\x18\x01 \x03(\x0b\x32,.google.cloud.discoveryengine.v1beta.Session\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd7)\n\x1b\x43onversationalSearchService\x12\xbf\x03\n\x14\x43onverseConversation\x12@.google.cloud.discoveryengine.v1beta.ConverseConversationRequest\x1a\x41.google.cloud.discoveryengine.v1beta.ConverseConversationResponse\"\xa1\x02\xda\x41\nname,query\x82\xd3\xe4\x93\x02\x8d\x02\"K/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse:\x01*Z^\"Y/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse:\x01*Z[\"V/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse:\x01*\x12\xba\x03\n\x12\x43reateConversation\x12>.google.cloud.discoveryengine.v1beta.CreateConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xb0\x02\xda\x41\x13parent,conversation\x82\xd3\xe4\x93\x02\x93\x02\"B/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations:\x0c\x63onversationZ`\"P/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations:\x0c\x63onversationZ]\"M/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations:\x0c\x63onversation\x12\xe6\x02\n\x12\x44\x65leteConversation\x12>.google.cloud.discoveryengine.v1beta.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"\xf7\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe9\x01*B/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}ZR*P/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZO*M/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\xe6\x03\n\x12UpdateConversation\x12>.google.cloud.discoveryengine.v1beta.UpdateConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xdc\x02\xda\x41\x18\x63onversation,update_mask\x82\xd3\xe4\x93\x02\xba\x02\x32O/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}:\x0c\x63onversationZm2]/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:\x0c\x63onversationZj2Z/v1beta/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}:\x0c\x63onversation\x12\xfb\x02\n\x0fGetConversation\x12;.google.cloud.discoveryengine.v1beta.GetConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xf7\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe9\x01\x12\x42/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}ZR\x12P/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZO\x12M/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\x8e\x03\n\x11ListConversations\x12=.google.cloud.discoveryengine.v1beta.ListConversationsRequest\x1a>.google.cloud.discoveryengine.v1beta.ListConversationsResponse\"\xf9\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xe9\x01\x12\x42/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversationsZR\x12P/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversationsZO\x12M/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations\x12\xb2\x03\n\x0b\x41nswerQuery\x12\x37.google.cloud.discoveryengine.v1beta.AnswerQueryRequest\x1a\x38.google.cloud.discoveryengine.v1beta.AnswerQueryResponse\"\xaf\x02\x82\xd3\xe4\x93\x02\xa8\x02\"T/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:answer:\x01*Zg\"b/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:answer:\x01*Zd\"_/v1beta/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:answer:\x01*\x12\xf8\x02\n\tGetAnswer\x12\x35.google.cloud.discoveryengine.v1beta.GetAnswerRequest\x1a+.google.cloud.discoveryengine.v1beta.Answer\"\x86\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\xf8\x01\x12G/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*/answers/*}ZW\x12U/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*/answers/*}ZT\x12R/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*/answers/*}\x12\x88\x03\n\rCreateSession\x12\x39.google.cloud.discoveryengine.v1beta.CreateSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\x8d\x02\xda\x41\x0eparent,session\x82\xd3\xe4\x93\x02\xf5\x01\"=/v1beta/{parent=projects/*/locations/*/dataStores/*}/sessions:\x07sessionZV\"K/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessions:\x07sessionZS\"H/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/sessions:\x07session\x12\xcd\x02\n\rDeleteSession\x12\x39.google.cloud.discoveryengine.v1beta.DeleteSessionRequest\x1a\x16.google.protobuf.Empty\"\xe8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xda\x01*=/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*}ZM*K/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZJ*H/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\xa5\x03\n\rUpdateSession\x12\x39.google.cloud.discoveryengine.v1beta.UpdateSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\xaa\x02\xda\x41\x13session,update_mask\x82\xd3\xe4\x93\x02\x8d\x02\x32\x45/v1beta/{session.name=projects/*/locations/*/dataStores/*/sessions/*}:\x07sessionZ^2S/v1beta/{session.name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}:\x07sessionZ[2P/v1beta/{session.name=projects/*/locations/*/collections/*/engines/*/sessions/*}:\x07session\x12\xdd\x02\n\nGetSession\x12\x36.google.cloud.discoveryengine.v1beta.GetSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\xe8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xda\x01\x12=/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*}ZM\x12K/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZJ\x12H/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\xf0\x02\n\x0cListSessions\x12\x38.google.cloud.discoveryengine.v1beta.ListSessionsRequest\x1a\x39.google.cloud.discoveryengine.v1beta.ListSessionsResponse\"\xea\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xda\x01\x12=/v1beta/{parent=projects/*/locations/*/dataStores/*}/sessionsZM\x12K/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessionsZJ\x12H/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/sessions\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa7\x02\n\'com.google.cloud.discoveryengine.v1betaB ConversationalSearchServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
19
|
+
descriptor_data = "\nGgoogle/cloud/discoveryengine/v1beta/conversational_search_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/answer.proto\x1a\x36google/cloud/discoveryengine/v1beta/conversation.proto\x1a\x38google/cloud/discoveryengine/v1beta/search_service.proto\x1a\x31google/cloud/discoveryengine/v1beta/session.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xb1\x05\n\x1b\x43onverseConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\x12\x42\n\x05query\x18\x02 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.TextInputB\x03\xe0\x41\x02\x12I\n\x0eserving_config\x18\x03 \x01(\tB1\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12G\n\x0c\x63onversation\x18\x05 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x13\n\x0bsafe_search\x18\x06 \x01(\x08\x12\x65\n\x0buser_labels\x18\x07 \x03(\x0b\x32P.google.cloud.discoveryengine.v1beta.ConverseConversationRequest.UserLabelsEntry\x12\x66\n\x0csummary_spec\x18\x08 \x01(\x0b\x32P.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12P\n\nboost_spec\x18\n \x01(\x0b\x32<.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x02\n\x1c\x43onverseConversationResponse\x12\x39\n\x05reply\x18\x01 \x01(\x0b\x32*.google.cloud.discoveryengine.v1beta.Reply\x12G\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x19\n\x11related_questions\x18\x06 \x03(\t\x12X\n\x0esearch_results\x18\x03 \x03(\x0b\x32@.google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult\"\xab\x01\n\x19\x43reateConversationRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.ConversationB\x03\xe0\x41\x02\"\x9a\x01\n\x19UpdateConversationRequest\x12L\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.ConversationB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x19\x44\x65leteConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"[\n\x16GetConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"\xa5\x01\n\x18ListConversationsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"~\n\x19ListConversationsResponse\x12H\n\rconversations\x18\x01 \x03(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83 \n\x12\x41nswerQueryRequest\x12L\n\x0eserving_config\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12>\n\x05query\x18\x02 \x01(\x0b\x32*.google.cloud.discoveryengine.v1beta.QueryB\x03\xe0\x41\x02\x12<\n\x07session\x18\x03 \x01(\tB+\xfa\x41(\n&discoveryengine.googleapis.com/Session\x12W\n\x0bsafety_spec\x18\x04 \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SafetySpec\x12l\n\x16related_questions_spec\x18\x05 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.RelatedQuestionsSpec\x12l\n\x16\x61nswer_generation_spec\x18\x07 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec\x12W\n\x0bsearch_spec\x18\x08 \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec\x12p\n\x18query_understanding_spec\x18\t \x01(\x0b\x32N.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec\x12\x19\n\x11\x61synchronous_mode\x18\n \x01(\x08\x12\x16\n\x0euser_pseudo_id\x18\x0c \x01(\t\x12\\\n\x0buser_labels\x18\r \x03(\x0b\x32G.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.UserLabelsEntry\x1a\x1c\n\nSafetySpec\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\x1a&\n\x14RelatedQuestionsSpec\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\x1a\x82\x04\n\x14\x41nswerGenerationSpec\x12j\n\nmodel_spec\x18\x01 \x01(\x0b\x32V.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec.ModelSpec\x12l\n\x0bprompt_spec\x18\x02 \x01(\x0b\x32W.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec.PromptSpec\x12\x19\n\x11include_citations\x18\x03 \x01(\x08\x12\x1c\n\x14\x61nswer_language_code\x18\x04 \x01(\t\x12 \n\x18ignore_adversarial_query\x18\x05 \x01(\x08\x12\'\n\x1fignore_non_answer_seeking_query\x18\x06 \x01(\x08\x12(\n\x1bignore_low_relevant_content\x18\x07 \x01(\x08H\x00\x88\x01\x01\x1a\"\n\tModelSpec\x12\x15\n\rmodel_version\x18\x01 \x01(\t\x1a\x1e\n\nPromptSpec\x12\x10\n\x08preamble\x18\x01 \x01(\tB\x1e\n\x1c_ignore_low_relevant_content\x1a\xbb\x0f\n\nSearchSpec\x12h\n\rsearch_params\x18\x01 \x01(\x0b\x32O.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParamsH\x00\x12q\n\x12search_result_list\x18\x02 \x01(\x0b\x32S.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultListH\x00\x1a\xed\x02\n\x0cSearchParams\x12\x1a\n\x12max_return_results\x18\x01 \x01(\x05\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12P\n\nboost_spec\x18\x03 \x01(\x0b\x32<.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12q\n\x12search_result_mode\x18\x05 \x01(\x0e\x32U.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode\x12Z\n\x10\x64\x61ta_store_specs\x18\x07 \x03(\x0b\x32@.google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec\x1a\xd6\n\n\x10SearchResultList\x12x\n\x0esearch_results\x18\x01 \x03(\x0b\x32`.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult\x1a\xc7\t\n\x0cSearchResult\x12\x9f\x01\n\x1aunstructured_document_info\x18\x01 \x01(\x0b\x32y.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoH\x00\x12\x80\x01\n\nchunk_info\x18\x02 \x01(\x0b\x32j.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoH\x00\x1a\xae\x06\n\x18UnstructuredDocumentInfo\x12>\n\x08\x64ocument\x18\x01 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\xa5\x01\n\x11\x64ocument_contexts\x18\x04 \x03(\x0b\x32\x89\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext\x12\xa9\x01\n\x13\x65xtractive_segments\x18\x05 \x03(\x0b\x32\x8b\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment\x12\xa7\x01\n\x12\x65xtractive_answers\x18\x06 \x03(\x0b\x32\x8a\x01.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer\x1a;\n\x0f\x44ocumentContext\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a=\n\x11\x45xtractiveSegment\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a<\n\x10\x45xtractiveAnswer\x12\x17\n\x0fpage_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1aV\n\tChunkInfo\x12\x38\n\x05\x63hunk\x18\x01 \x01(\tB)\xfa\x41&\n$discoveryengine.googleapis.com/Chunk\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\tB\t\n\x07\x63ontentB\x07\n\x05input\x1a\xd3\x04\n\x16QueryUnderstandingSpec\x12\x89\x01\n\x19query_classification_spec\x18\x01 \x01(\x0b\x32\x66.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec\x12\x7f\n\x14query_rephraser_spec\x18\x02 \x01(\x0b\x32\x61.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec\x1a\xe8\x01\n\x17QueryClassificationSpec\x12z\n\x05types\x18\x01 \x03(\x0e\x32k.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41\x44VERSARIAL_QUERY\x10\x01\x12\x1c\n\x18NON_ANSWER_SEEKING_QUERY\x10\x02\x1a\x41\n\x12QueryRephraserSpec\x12\x0f\n\x07\x64isable\x18\x01 \x01(\x08\x12\x1a\n\x12max_rephrase_steps\x18\x02 \x01(\x05\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n\x13\x41nswerQueryResponse\x12;\n\x06\x61nswer\x18\x01 \x01(\x0b\x32+.google.cloud.discoveryengine.v1beta.Answer\x12=\n\x07session\x18\x02 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.Session\x12\x1a\n\x12\x61nswer_query_token\x18\x03 \x01(\t\"O\n\x10GetAnswerRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Answer\"\x9c\x01\n\x14\x43reateSessionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x42\n\x07session\x18\x02 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.SessionB\x03\xe0\x41\x02\"\x8b\x01\n\x14UpdateSessionRequest\x12\x42\n\x07session\x18\x01 \x01(\x0b\x32,.google.cloud.discoveryengine.v1beta.SessionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"T\n\x14\x44\x65leteSessionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&discoveryengine.googleapis.com/Session\"Q\n\x11GetSessionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&discoveryengine.googleapis.com/Session\"\xa0\x01\n\x13ListSessionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"o\n\x14ListSessionsResponse\x12>\n\x08sessions\x18\x01 \x03(\x0b\x32,.google.cloud.discoveryengine.v1beta.Session\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd7)\n\x1b\x43onversationalSearchService\x12\xbf\x03\n\x14\x43onverseConversation\x12@.google.cloud.discoveryengine.v1beta.ConverseConversationRequest\x1a\x41.google.cloud.discoveryengine.v1beta.ConverseConversationResponse\"\xa1\x02\xda\x41\nname,query\x82\xd3\xe4\x93\x02\x8d\x02\"K/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse:\x01*Z^\"Y/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse:\x01*Z[\"V/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse:\x01*\x12\xba\x03\n\x12\x43reateConversation\x12>.google.cloud.discoveryengine.v1beta.CreateConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xb0\x02\xda\x41\x13parent,conversation\x82\xd3\xe4\x93\x02\x93\x02\"B/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations:\x0c\x63onversationZ`\"P/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations:\x0c\x63onversationZ]\"M/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations:\x0c\x63onversation\x12\xe6\x02\n\x12\x44\x65leteConversation\x12>.google.cloud.discoveryengine.v1beta.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"\xf7\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe9\x01*B/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}ZR*P/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZO*M/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\xe6\x03\n\x12UpdateConversation\x12>.google.cloud.discoveryengine.v1beta.UpdateConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xdc\x02\xda\x41\x18\x63onversation,update_mask\x82\xd3\xe4\x93\x02\xba\x02\x32O/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}:\x0c\x63onversationZm2]/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:\x0c\x63onversationZj2Z/v1beta/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}:\x0c\x63onversation\x12\xfb\x02\n\x0fGetConversation\x12;.google.cloud.discoveryengine.v1beta.GetConversationRequest\x1a\x31.google.cloud.discoveryengine.v1beta.Conversation\"\xf7\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe9\x01\x12\x42/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}ZR\x12P/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZO\x12M/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\x8e\x03\n\x11ListConversations\x12=.google.cloud.discoveryengine.v1beta.ListConversationsRequest\x1a>.google.cloud.discoveryengine.v1beta.ListConversationsResponse\"\xf9\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xe9\x01\x12\x42/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversationsZR\x12P/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversationsZO\x12M/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations\x12\xb2\x03\n\x0b\x41nswerQuery\x12\x37.google.cloud.discoveryengine.v1beta.AnswerQueryRequest\x1a\x38.google.cloud.discoveryengine.v1beta.AnswerQueryResponse\"\xaf\x02\x82\xd3\xe4\x93\x02\xa8\x02\"T/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:answer:\x01*Zg\"b/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:answer:\x01*Zd\"_/v1beta/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:answer:\x01*\x12\xf8\x02\n\tGetAnswer\x12\x35.google.cloud.discoveryengine.v1beta.GetAnswerRequest\x1a+.google.cloud.discoveryengine.v1beta.Answer\"\x86\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\xf8\x01\x12G/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*/answers/*}ZW\x12U/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*/answers/*}ZT\x12R/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*/answers/*}\x12\x88\x03\n\rCreateSession\x12\x39.google.cloud.discoveryengine.v1beta.CreateSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\x8d\x02\xda\x41\x0eparent,session\x82\xd3\xe4\x93\x02\xf5\x01\"=/v1beta/{parent=projects/*/locations/*/dataStores/*}/sessions:\x07sessionZV\"K/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessions:\x07sessionZS\"H/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/sessions:\x07session\x12\xcd\x02\n\rDeleteSession\x12\x39.google.cloud.discoveryengine.v1beta.DeleteSessionRequest\x1a\x16.google.protobuf.Empty\"\xe8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xda\x01*=/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*}ZM*K/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZJ*H/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\xa5\x03\n\rUpdateSession\x12\x39.google.cloud.discoveryengine.v1beta.UpdateSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\xaa\x02\xda\x41\x13session,update_mask\x82\xd3\xe4\x93\x02\x8d\x02\x32\x45/v1beta/{session.name=projects/*/locations/*/dataStores/*/sessions/*}:\x07sessionZ^2S/v1beta/{session.name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}:\x07sessionZ[2P/v1beta/{session.name=projects/*/locations/*/collections/*/engines/*/sessions/*}:\x07session\x12\xdd\x02\n\nGetSession\x12\x36.google.cloud.discoveryengine.v1beta.GetSessionRequest\x1a,.google.cloud.discoveryengine.v1beta.Session\"\xe8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xda\x01\x12=/v1beta/{name=projects/*/locations/*/dataStores/*/sessions/*}ZM\x12K/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZJ\x12H/v1beta/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\xf0\x02\n\x0cListSessions\x12\x38.google.cloud.discoveryengine.v1beta.ListSessionsRequest\x1a\x39.google.cloud.discoveryengine.v1beta.ListSessionsResponse\"\xea\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xda\x01\x12=/v1beta/{parent=projects/*/locations/*/dataStores/*}/sessionsZM\x12K/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessionsZJ\x12H/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/sessions\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa7\x02\n\'com.google.cloud.discoveryengine.v1betaB ConversationalSearchServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n=google/cloud/discoveryengine/v1beta/custom_tuning_model.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n=google/cloud/discoveryengine/v1beta/custom_tuning_model.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x07\n\x11\x43ustomTuningModel\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0discoveryengine.googleapis.com/CustomTuningModel\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\rmodel_version\x18\x03 \x01(\x03\x12V\n\x0bmodel_state\x18\x04 \x01(\x0e\x32\x41.google.cloud.discoveryengine.v1beta.CustomTuningModel.ModelState\x12\x33\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x37\n\x13training_start_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x07metrics\x18\x07 \x03(\x0b\x32\x43.google.cloud.discoveryengine.v1beta.CustomTuningModel.MetricsEntry\x1a.\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xa3\x01\n\nModelState\x12\x1b\n\x17MODEL_STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fTRAINING_PAUSED\x10\x01\x12\x0c\n\x08TRAINING\x10\x02\x12\x15\n\x11TRAINING_COMPLETE\x10\x03\x12\x15\n\x11READY_FOR_SERVING\x10\x04\x12\x13\n\x0fTRAINING_FAILED\x10\x05\x12\x12\n\x0eNO_IMPROVEMENT\x10\x06:\xa4\x02\xea\x41\xa0\x02\n0discoveryengine.googleapis.com/CustomTuningModel\x12hprojects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}\x12\x81\x01projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}B\x9d\x02\n\'com.google.cloud.discoveryengine.v1betaB\x16\x43ustomTuningModelProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -12,7 +12,7 @@ require 'google/cloud/discoveryengine/v1beta/schema_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n4google/cloud/discoveryengine/v1beta/data_store.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/common.proto\x1a\x44google/cloud/discoveryengine/v1beta/document_processing_config.proto\x1a\x30google/cloud/discoveryengine/v1beta/schema.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
15
|
+
descriptor_data = "\n4google/cloud/discoveryengine/v1beta/data_store.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/common.proto\x1a\x44google/cloud/discoveryengine/v1beta/document_processing_config.proto\x1a\x30google/cloud/discoveryengine/v1beta/schema.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x07\n\tDataStore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12U\n\x11industry_vertical\x18\x03 \x01(\x0e\x32\x35.google.cloud.discoveryengine.v1beta.IndustryVerticalB\x03\xe0\x41\x05\x12I\n\x0esolution_types\x18\x05 \x03(\x0e\x32\x31.google.cloud.discoveryengine.v1beta.SolutionType\x12\x1e\n\x11\x64\x65\x66\x61ult_schema_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12Y\n\x0e\x63ontent_config\x18\x06 \x01(\x0e\x32<.google.cloud.discoveryengine.v1beta.DataStore.ContentConfigB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12H\n\rlanguage_info\x18\x0e \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1beta.LanguageInfo\x12\x61\n\x1a\x64ocument_processing_config\x18\x1b \x01(\x0b\x32=.google.cloud.discoveryengine.v1beta.DocumentProcessingConfig\x12\x44\n\x0fstarting_schema\x18\x1c \x01(\x0b\x32+.google.cloud.discoveryengine.v1beta.Schema\"i\n\rContentConfig\x12\x1e\n\x1a\x43ONTENT_CONFIG_UNSPECIFIED\x10\x00\x12\x0e\n\nNO_CONTENT\x10\x01\x12\x14\n\x10\x43ONTENT_REQUIRED\x10\x02\x12\x12\n\x0ePUBLIC_WEBSITE\x10\x03:\xc9\x01\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}\"x\n\x0cLanguageInfo\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12%\n\x18normalized_language_code\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08language\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06region\x18\x04 \x01(\tB\x03\xe0\x41\x03\x42\x95\x02\n\'com.google.cloud.discoveryengine.v1betaB\x0e\x44\x61taStoreProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -47,6 +47,7 @@ module Google
|
|
47
47
|
module V1beta
|
48
48
|
DataStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DataStore").msgclass
|
49
49
|
DataStore::ContentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DataStore.ContentConfig").enummodule
|
50
|
+
LanguageInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.LanguageInfo").msgclass
|
50
51
|
end
|
51
52
|
end
|
52
53
|
end
|
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/data_store_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1beta/data_store.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
18
|
+
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/data_store_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1beta/data_store.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x02\n\x16\x43reateDataStoreRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12G\n\ndata_store\x18\x02 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.DataStoreB\x03\xe0\x41\x02\x12\x1a\n\rdata_store_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12#\n\x1b\x63reate_advanced_site_search\x18\x04 \x01(\x08\x12$\n\x1cskip_default_schema_creation\x18\x07 \x01(\x08\"U\n\x13GetDataStoreRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"{\n\x17\x43reateDataStoreMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x91\x01\n\x15ListDataStoresRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"v\n\x16ListDataStoresResponse\x12\x43\n\x0b\x64\x61ta_stores\x18\x01 \x03(\x0b\x32..google.cloud.discoveryengine.v1beta.DataStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x16\x44\x65leteDataStoreRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"\x92\x01\n\x16UpdateDataStoreRequest\x12G\n\ndata_store\x18\x01 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.DataStoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"{\n\x17\x44\x65leteDataStoreMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xb3\r\n\x10\x44\x61taStoreService\x12\x98\x03\n\x0f\x43reateDataStore\x12;.google.cloud.discoveryengine.v1beta.CreateDataStoreRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x02\xca\x41l\n-google.cloud.discoveryengine.v1beta.DataStore\x12;google.cloud.discoveryengine.v1beta.CreateDataStoreMetadata\xda\x41\x1fparent,data_store,data_store_id\x82\xd3\xe4\x93\x02\x90\x01\"2/v1beta/{parent=projects/*/locations/*}/dataStores:\ndata_storeZN\"@/v1beta/{parent=projects/*/locations/*/collections/*}/dataStores:\ndata_store\x12\x80\x02\n\x0cGetDataStore\x12\x38.google.cloud.discoveryengine.v1beta.GetDataStoreRequest\x1a..google.cloud.discoveryengine.v1beta.DataStore\"\x85\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02x\x12\x32/v1beta/{name=projects/*/locations/*/dataStores/*}ZB\x12@/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}\x12\x93\x02\n\x0eListDataStores\x12:.google.cloud.discoveryengine.v1beta.ListDataStoresRequest\x1a;.google.cloud.discoveryengine.v1beta.ListDataStoresResponse\"\x87\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02x\x12\x32/v1beta/{parent=projects/*/locations/*}/dataStoresZB\x12@/v1beta/{parent=projects/*/locations/*/collections/*}/dataStores\x12\xcc\x02\n\x0f\x44\x65leteDataStore\x12;.google.cloud.discoveryengine.v1beta.DeleteDataStoreRequest\x1a\x1d.google.longrunning.Operation\"\xdc\x01\xca\x41T\n\x15google.protobuf.Empty\x12;google.cloud.discoveryengine.v1beta.DeleteDataStoreMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02x*2/v1beta/{name=projects/*/locations/*/dataStores/*}ZB*@/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}\x12\xc7\x02\n\x0fUpdateDataStore\x12;.google.cloud.discoveryengine.v1beta.UpdateDataStoreRequest\x1a..google.cloud.discoveryengine.v1beta.DataStore\"\xc6\x01\xda\x41\x16\x64\x61ta_store,update_mask\x82\xd3\xe4\x93\x02\xa6\x01\x32=/v1beta/{data_store.name=projects/*/locations/*/dataStores/*}:\ndata_storeZY2K/v1beta/{data_store.name=projects/*/locations/*/collections/*/dataStores/*}:\ndata_store\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9c\x02\n\'com.google.cloud.discoveryengine.v1betaB\x15\x44\x61taStoreServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -16,7 +16,7 @@ require 'google/rpc/status_pb'
|
|
16
16
|
require 'google/type/date_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n7google/cloud/discoveryengine/v1beta/import_config.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1beta/completion.proto\x1a\x32google/cloud/discoveryengine/v1beta/document.proto\x1a\x36google/cloud/discoveryengine/v1beta/sample_query.proto\x1a\x34google/cloud/discoveryengine/v1beta/user_event.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"9\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x61ta_schema\x18\x02 \x01(\t\"\xbc\x01\n\x0e\x42igQuerySource\x12+\n\x0epartition_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x61ta_schema\x18\x06 \x01(\tB\x0b\n\tpartition\"\x89\x01\n\rSpannerSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11\x65nable_data_boost\x18\x05 \x01(\x08\"\xa9\x07\n\x0f\x42igtableOptions\x12\x16\n\x0ekey_field_name\x18\x01 \x01(\t\x12T\n\x08\x66\x61milies\x18\x02 \x03(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.BigtableOptions.FamiliesEntry\x1a\x9a\x02\n\x14\x42igtableColumnFamily\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12O\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32=.google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding\x12G\n\x04type\x18\x03 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1beta.BigtableOptions.Type\x12T\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x43.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn\x1a\xd6\x01\n\x0e\x42igtableColumn\x12\x16\n\tqualifier\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12O\n\x08\x65ncoding\x18\x03 \x01(\x0e\x32=.google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding\x12G\n\x04type\x18\x04 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1beta.BigtableOptions.Type\x1az\n\rFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12X\n\x05value\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily:\x02\x38\x01\"z\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0f\n\x0bVAR_INTEGER\x10\x04\x12\x0f\n\x0b\x42IG_NUMERIC\x10\x05\x12\x0b\n\x07\x42OOLEAN\x10\x06\x12\x08\n\x04JSON\x10\x07\":\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\n\n\x06\x42INARY\x10\x02\"\xaa\x01\n\x0e\x42igtableSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12S\n\x10\x62igtable_options\x18\x04 \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.BigtableOptionsB\x03\xe0\x41\x02\"k\n\x0f\x46hirStoreSource\x12?\n\nfhir_store\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#healthcare.googleapis.com/FhirStore\x12\x17\n\x0fgcs_staging_dir\x18\x02 \x01(\t\"\x99\x01\n\x0e\x43loudSqlSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x05 \x01(\t\x12\x0f\n\x07offload\x18\x06 \x01(\x08\"t\n\x0f\x46irestoreSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcollection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\"8\n\x11ImportErrorConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x87\x04\n\x17ImportUserEventsRequest\x12\x62\n\rinline_source\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x1aX\n\x0cInlineSource\x12H\n\x0buser_events\x18\x01 \x03(\x0b\x32..google.cloud.discoveryengine.v1beta.UserEventB\x03\xe0\x41\x02\x42\x08\n\x06source\"\xcf\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x12\x1b\n\x13joined_events_count\x18\x03 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x04 \x01(\x03\"\xaa\x01\n\x18ImportUserEventsMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"\xbe\x01\n\x17ImportDocumentsMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\"\xb4\t\n\x16ImportDocumentsRequest\x12\x61\n\rinline_source\x18\x02 \x01(\x0b\x32H.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12Q\n\x11\x66hir_store_source\x18\n \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.FhirStoreSourceH\x00\x12L\n\x0espanner_source\x18\x0b \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1beta.SpannerSourceH\x00\x12O\n\x10\x63loud_sql_source\x18\x0c \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.CloudSqlSourceH\x00\x12P\n\x10\x66irestore_source\x18\r \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.FirestoreSourceH\x00\x12N\n\x0f\x62igtable_source\x18\x0f \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigtableSourceH\x00\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x12k\n\x13reconciliation_mode\x18\x06 \x01(\x0e\x32N.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61uto_generate_ids\x18\x08 \x01(\x08\x12\x10\n\x08id_field\x18\t \x01(\t\x1aU\n\x0cInlineSource\x12\x45\n\tdocuments\x18\x01 \x03(\x0b\x32-.google.cloud.discoveryengine.v1beta.DocumentB\x03\xe0\x41\x02\"T\n\x12ReconciliationMode\x12#\n\x1fRECONCILIATION_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINCREMENTAL\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\x08\n\x06source\"\x92\x01\n\x17ImportDocumentsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\"\x91\x03\n&ImportSuggestionDenyListEntriesRequest\x12q\n\rinline_source\x18\x02 \x01(\x0b\x32X.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x1a\x62\n\x0cInlineSource\x12R\n\x07\x65ntries\x18\x01 \x03(\x0b\x32<.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x92\x01\n\'ImportSuggestionDenyListEntriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16imported_entries_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x66\x61iled_entries_count\x18\x03 \x01(\x03\"\x8b\x01\n\'ImportSuggestionDenyListEntriesMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x97\x04\n\x1aImportSampleQueriesRequest\x12\x65\n\rinline_source\x18\x02 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x1a]\n\x0cInlineSource\x12M\n\x0esample_queries\x18\x01 \x03(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x96\x01\n\x1bImportSampleQueriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\"\xc2\x01\n\x1bImportSampleQueriesMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\x42\x98\x02\n\'com.google.cloud.discoveryengine.v1betaB\x11ImportConfigProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
19
|
+
descriptor_data = "\n7google/cloud/discoveryengine/v1beta/import_config.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1beta/completion.proto\x1a\x32google/cloud/discoveryengine/v1beta/document.proto\x1a\x36google/cloud/discoveryengine/v1beta/sample_query.proto\x1a\x34google/cloud/discoveryengine/v1beta/user_event.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"9\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x61ta_schema\x18\x02 \x01(\t\"\xbc\x01\n\x0e\x42igQuerySource\x12+\n\x0epartition_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x61ta_schema\x18\x06 \x01(\tB\x0b\n\tpartition\"\x89\x01\n\rSpannerSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11\x65nable_data_boost\x18\x05 \x01(\x08\"\xa9\x07\n\x0f\x42igtableOptions\x12\x16\n\x0ekey_field_name\x18\x01 \x01(\t\x12T\n\x08\x66\x61milies\x18\x02 \x03(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.BigtableOptions.FamiliesEntry\x1a\x9a\x02\n\x14\x42igtableColumnFamily\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12O\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32=.google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding\x12G\n\x04type\x18\x03 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1beta.BigtableOptions.Type\x12T\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x43.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn\x1a\xd6\x01\n\x0e\x42igtableColumn\x12\x16\n\tqualifier\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12O\n\x08\x65ncoding\x18\x03 \x01(\x0e\x32=.google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding\x12G\n\x04type\x18\x04 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1beta.BigtableOptions.Type\x1az\n\rFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12X\n\x05value\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily:\x02\x38\x01\"z\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0f\n\x0bVAR_INTEGER\x10\x04\x12\x0f\n\x0b\x42IG_NUMERIC\x10\x05\x12\x0b\n\x07\x42OOLEAN\x10\x06\x12\x08\n\x04JSON\x10\x07\":\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\n\n\x06\x42INARY\x10\x02\"\xaa\x01\n\x0e\x42igtableSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12S\n\x10\x62igtable_options\x18\x04 \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.BigtableOptionsB\x03\xe0\x41\x02\"k\n\x0f\x46hirStoreSource\x12?\n\nfhir_store\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#healthcare.googleapis.com/FhirStore\x12\x17\n\x0fgcs_staging_dir\x18\x02 \x01(\t\"\x99\x01\n\x0e\x43loudSqlSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x05 \x01(\t\x12\x0f\n\x07offload\x18\x06 \x01(\x08\"\xa0\x01\n\rAlloyDbSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0blocation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x06 \x01(\t\"t\n\x0f\x46irestoreSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcollection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\"8\n\x11ImportErrorConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x87\x04\n\x17ImportUserEventsRequest\x12\x62\n\rinline_source\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x1aX\n\x0cInlineSource\x12H\n\x0buser_events\x18\x01 \x03(\x0b\x32..google.cloud.discoveryengine.v1beta.UserEventB\x03\xe0\x41\x02\x42\x08\n\x06source\"\xcf\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x12\x1b\n\x13joined_events_count\x18\x03 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x04 \x01(\x03\"\xaa\x01\n\x18ImportUserEventsMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"\xbe\x01\n\x17ImportDocumentsMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\"\x83\n\n\x16ImportDocumentsRequest\x12\x61\n\rinline_source\x18\x02 \x01(\x0b\x32H.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12Q\n\x11\x66hir_store_source\x18\n \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.FhirStoreSourceH\x00\x12L\n\x0espanner_source\x18\x0b \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1beta.SpannerSourceH\x00\x12O\n\x10\x63loud_sql_source\x18\x0c \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.CloudSqlSourceH\x00\x12P\n\x10\x66irestore_source\x18\r \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.FirestoreSourceH\x00\x12M\n\x0f\x61lloy_db_source\x18\x0e \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1beta.AlloyDbSourceH\x00\x12N\n\x0f\x62igtable_source\x18\x0f \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigtableSourceH\x00\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x12k\n\x13reconciliation_mode\x18\x06 \x01(\x0e\x32N.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61uto_generate_ids\x18\x08 \x01(\x08\x12\x10\n\x08id_field\x18\t \x01(\t\x1aU\n\x0cInlineSource\x12\x45\n\tdocuments\x18\x01 \x03(\x0b\x32-.google.cloud.discoveryengine.v1beta.DocumentB\x03\xe0\x41\x02\"T\n\x12ReconciliationMode\x12#\n\x1fRECONCILIATION_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINCREMENTAL\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\x08\n\x06source\"\x92\x01\n\x17ImportDocumentsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\"\x91\x03\n&ImportSuggestionDenyListEntriesRequest\x12q\n\rinline_source\x18\x02 \x01(\x0b\x32X.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x1a\x62\n\x0cInlineSource\x12R\n\x07\x65ntries\x18\x01 \x03(\x0b\x32<.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x92\x01\n\'ImportSuggestionDenyListEntriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16imported_entries_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x66\x61iled_entries_count\x18\x03 \x01(\x03\"\x8b\x01\n\'ImportSuggestionDenyListEntriesMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa8\x04\n\"ImportCompletionSuggestionsRequest\x12m\n\rinline_source\x18\x02 \x01(\x0b\x32T.google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x1a\x63\n\x0cInlineSource\x12S\n\x0bsuggestions\x18\x01 \x03(\x0b\x32\x39.google.cloud.discoveryengine.v1beta.CompletionSuggestionB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x9e\x01\n#ImportCompletionSuggestionsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\"\xb5\x01\n#ImportCompletionSuggestionsMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"\x97\x04\n\x1aImportSampleQueriesRequest\x12\x65\n\rinline_source\x18\x02 \x01(\x0b\x32L.google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSourceH\x00\x12\x44\n\ngcs_source\x18\x03 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.GcsSourceH\x00\x12N\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.BigQuerySourceH\x00\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet\x12L\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\x1a]\n\x0cInlineSource\x12M\n\x0esample_queries\x18\x01 \x03(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x96\x01\n\x1bImportSampleQueriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12L\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.discoveryengine.v1beta.ImportErrorConfig\"\xc2\x01\n\x1bImportSampleQueriesMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\x42\x98\x02\n\'com.google.cloud.discoveryengine.v1betaB\x11ImportConfigProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -65,6 +65,7 @@ module Google
|
|
65
65
|
BigtableSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BigtableSource").msgclass
|
66
66
|
FhirStoreSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FhirStoreSource").msgclass
|
67
67
|
CloudSqlSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CloudSqlSource").msgclass
|
68
|
+
AlloyDbSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.AlloyDbSource").msgclass
|
68
69
|
FirestoreSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FirestoreSource").msgclass
|
69
70
|
ImportErrorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportErrorConfig").msgclass
|
70
71
|
ImportUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportUserEventsRequest").msgclass
|
@@ -80,6 +81,10 @@ module Google
|
|
80
81
|
ImportSuggestionDenyListEntriesRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource").msgclass
|
81
82
|
ImportSuggestionDenyListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse").msgclass
|
82
83
|
ImportSuggestionDenyListEntriesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesMetadata").msgclass
|
84
|
+
ImportCompletionSuggestionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest").msgclass
|
85
|
+
ImportCompletionSuggestionsRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource").msgclass
|
86
|
+
ImportCompletionSuggestionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse").msgclass
|
87
|
+
ImportCompletionSuggestionsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata").msgclass
|
83
88
|
ImportSampleQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest").msgclass
|
84
89
|
ImportSampleQueriesRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSource").msgclass
|
85
90
|
ImportSampleQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesResponse").msgclass
|