google-cloud-discovery_engine-v1beta 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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/operations.rb +14 -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/data_store_service/rest/operations.rb +14 -0
- 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/document_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/client.rb +824 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/operations.rb +809 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/paths.rb +318 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/client.rb +770 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +1106 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/service_stub.rb +306 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest.rb +54 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service.rb +57 -0
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/rest.rb +3 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/client.rb +1035 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/operations.rb +809 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/paths.rb +73 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/client.rb +967 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +1106 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/service_stub.rb +426 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest.rb +54 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service.rb +57 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/client.rb +911 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/paths.rb +69 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/client.rb +850 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/service_stub.rb +366 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +60 -5
- 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 +60 -5
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +14 -0
- 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/operations.rb +14 -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/discovery_engine/v1beta.rb +3 -0
- data/lib/google/cloud/discoveryengine/v1beta/answer_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/chunk_pb.rb +50 -0
- data/lib/google/cloud/discoveryengine/v1beta/common_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/document_processing_config_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1beta/evaluation_pb.rb +56 -0
- data/lib/google/cloud/discoveryengine/v1beta/evaluation_service_pb.rb +59 -0
- data/lib/google/cloud/discoveryengine/v1beta/evaluation_service_services_pb.rb +57 -0
- data/lib/google/cloud/discoveryengine/v1beta/import_config_pb.rb +12 -1
- data/lib/google/cloud/discoveryengine/v1beta/purge_config_pb.rb +7 -1
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_pb.rb +49 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_service_pb.rb +59 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_service_services_pb.rb +63 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_set_pb.rb +47 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_set_service_pb.rb +57 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_set_service_services_pb.rb +59 -0
- data/lib/google/cloud/discoveryengine/v1beta/search_service_pb.rb +20 -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/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +14 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/chunk.rb +119 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +31 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +38 -2
- 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/document.rb +1 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +43 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb +223 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation_service.rb +194 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +199 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +119 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/sample_query.rb +82 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/sample_query_service.rb +179 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/sample_query_set.rb +57 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/sample_query_set_service.rb +186 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +401 -8
- data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +11 -5
- metadata +44 -2
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/evaluation_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/discoveryengine/v1beta/evaluation_pb'
|
12
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_pb'
|
13
|
+
require 'google/longrunning/operations_pb'
|
14
|
+
|
15
|
+
|
16
|
+
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/evaluation_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/evaluation.proto\x1a\x36google/cloud/discoveryengine/v1beta/sample_query.proto\x1a#google/longrunning/operations.proto\"W\n\x14GetEvaluationRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Evaluation\"\x80\x01\n\x16ListEvaluationsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"x\n\x17ListEvaluationsResponse\x12\x44\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32/.google.cloud.discoveryengine.v1beta.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\x01\n\x17\x43reateEvaluationRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12H\n\nevaluation\x18\x02 \x01(\x0b\x32/.google.cloud.discoveryengine.v1beta.EvaluationB\x03\xe0\x41\x02\"\x1a\n\x18\x43reateEvaluationMetadata\"\x8c\x01\n\x1cListEvaluationResultsRequest\x12\x45\n\nevaluation\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Evaluation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xde\x02\n\x1dListEvaluationResultsResponse\x12o\n\x12\x65valuation_results\x18\x01 \x03(\x0b\x32S.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xb2\x01\n\x10\x45valuationResult\x12K\n\x0csample_query\x18\x01 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x03\x12Q\n\x0fquality_metrics\x18\x02 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.QualityMetricsB\x03\xe0\x41\x03\x32\xbc\x08\n\x11\x45valuationService\x12\xbf\x01\n\rGetEvaluation\x12\x39.google.cloud.discoveryengine.v1beta.GetEvaluationRequest\x1a/.google.cloud.discoveryengine.v1beta.Evaluation\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{name=projects/*/locations/*/evaluations/*}\x12\xd2\x01\n\x0fListEvaluations\x12;.google.cloud.discoveryengine.v1beta.ListEvaluationsRequest\x1a<.google.cloud.discoveryengine.v1beta.ListEvaluationsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{parent=projects/*/locations/*}/evaluations\x12\xbe\x02\n\x10\x43reateEvaluation\x12<.google.cloud.discoveryengine.v1beta.CreateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\xcc\x01\xca\x41n\n.google.cloud.discoveryengine.v1beta.Evaluation\x12<google.cloud.discoveryengine.v1beta.CreateEvaluationMetadata\xda\x41\x11parent,evaluation\x82\xd3\xe4\x93\x02\x41\"3/v1beta/{parent=projects/*/locations/*}/evaluations:\nevaluation\x12\xfa\x01\n\x15ListEvaluationResults\x12\x41.google.cloud.discoveryengine.v1beta.ListEvaluationResultsRequest\x1a\x42.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse\"Z\xda\x41\nevaluation\x82\xd3\xe4\x93\x02G\x12\x45/v1beta/{evaluation=projects/*/locations/*/evaluations/*}:listResults\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\x45valuationServiceProtoP\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
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.cloud.discoveryengine.v1beta.Evaluation", "google/cloud/discoveryengine/v1beta/evaluation.proto"],
|
32
|
+
["google.cloud.discoveryengine.v1beta.SampleQuery", "google/cloud/discoveryengine/v1beta/sample_query.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
42
|
+
end
|
43
|
+
|
44
|
+
module Google
|
45
|
+
module Cloud
|
46
|
+
module DiscoveryEngine
|
47
|
+
module V1beta
|
48
|
+
GetEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetEvaluationRequest").msgclass
|
49
|
+
ListEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationsRequest").msgclass
|
50
|
+
ListEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationsResponse").msgclass
|
51
|
+
CreateEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateEvaluationRequest").msgclass
|
52
|
+
CreateEvaluationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateEvaluationMetadata").msgclass
|
53
|
+
ListEvaluationResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsRequest").msgclass
|
54
|
+
ListEvaluationResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse").msgclass
|
55
|
+
ListEvaluationResultsResponse::EvaluationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult").msgclass
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/discoveryengine/v1beta/evaluation_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/discoveryengine/v1beta/evaluation_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DiscoveryEngine
|
25
|
+
module V1beta
|
26
|
+
module EvaluationService
|
27
|
+
# Service for managing
|
28
|
+
# [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s,
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.discoveryengine.v1beta.EvaluationService'
|
36
|
+
|
37
|
+
# Gets a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].
|
38
|
+
rpc :GetEvaluation, ::Google::Cloud::DiscoveryEngine::V1beta::GetEvaluationRequest, ::Google::Cloud::DiscoveryEngine::V1beta::Evaluation
|
39
|
+
# Gets a list of
|
40
|
+
# [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
|
41
|
+
rpc :ListEvaluations, ::Google::Cloud::DiscoveryEngine::V1beta::ListEvaluationsRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListEvaluationsResponse
|
42
|
+
# Creates a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].
|
43
|
+
#
|
44
|
+
# Upon creation, the evaluation will be automatically triggered and begin
|
45
|
+
# execution.
|
46
|
+
rpc :CreateEvaluation, ::Google::Cloud::DiscoveryEngine::V1beta::CreateEvaluationRequest, ::Google::Longrunning::Operation
|
47
|
+
# Gets a list of results for a given a
|
48
|
+
# [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].
|
49
|
+
rpc :ListEvaluationResults, ::Google::Cloud::DiscoveryEngine::V1beta::ListEvaluationResultsRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListEvaluationResultsResponse
|
50
|
+
end
|
51
|
+
|
52
|
+
Stub = Service.rpc_stub_class
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -8,6 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
require 'google/cloud/discoveryengine/v1beta/completion_pb'
|
10
10
|
require 'google/cloud/discoveryengine/v1beta/document_pb'
|
11
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_pb'
|
11
12
|
require 'google/cloud/discoveryengine/v1beta/user_event_pb'
|
12
13
|
require 'google/protobuf/field_mask_pb'
|
13
14
|
require 'google/protobuf/timestamp_pb'
|
@@ -15,7 +16,7 @@ require 'google/rpc/status_pb'
|
|
15
16
|
require 'google/type/date_pb'
|
16
17
|
|
17
18
|
|
18
|
-
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\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.TimestampB\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"
|
19
20
|
|
20
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
22
|
|
@@ -37,6 +38,7 @@ rescue TypeError
|
|
37
38
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
38
39
|
["google.cloud.discoveryengine.v1beta.Document", "google/cloud/discoveryengine/v1beta/document.proto"],
|
39
40
|
["google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry", "google/cloud/discoveryengine/v1beta/completion.proto"],
|
41
|
+
["google.cloud.discoveryengine.v1beta.SampleQuery", "google/cloud/discoveryengine/v1beta/sample_query.proto"],
|
40
42
|
]
|
41
43
|
imports.each do |type_name, expected_filename|
|
42
44
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -63,6 +65,7 @@ module Google
|
|
63
65
|
BigtableSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BigtableSource").msgclass
|
64
66
|
FhirStoreSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FhirStoreSource").msgclass
|
65
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
|
66
69
|
FirestoreSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FirestoreSource").msgclass
|
67
70
|
ImportErrorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportErrorConfig").msgclass
|
68
71
|
ImportUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportUserEventsRequest").msgclass
|
@@ -78,6 +81,14 @@ module Google
|
|
78
81
|
ImportSuggestionDenyListEntriesRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource").msgclass
|
79
82
|
ImportSuggestionDenyListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse").msgclass
|
80
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
|
88
|
+
ImportSampleQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest").msgclass
|
89
|
+
ImportSampleQueriesRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSource").msgclass
|
90
|
+
ImportSampleQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesResponse").msgclass
|
91
|
+
ImportSampleQueriesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ImportSampleQueriesMetadata").msgclass
|
81
92
|
end
|
82
93
|
end
|
83
94
|
end
|
@@ -10,7 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
10
|
require 'google/rpc/status_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n6google/cloud/discoveryengine/v1beta/purge_config.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"z\n\x15PurgeDocumentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"q\n\x16PurgeDocumentsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12\x42\n\x0cpurge_sample\x18\x02 \x03(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\xbf\x01\n\x16PurgeDocumentsMetadata\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\x15\n\rignored_count\x18\x05 \x01(\x03\"i\n%PurgeSuggestionDenyListEntriesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n&PurgeSuggestionDenyListEntriesResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x8a\x01\n&PurgeSuggestionDenyListEntriesMetadata\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.TimestampB\x97\x02\n\'com.google.cloud.discoveryengine.v1betaB\x10PurgeConfigProtoP\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
|
+
descriptor_data = "\n6google/cloud/discoveryengine/v1beta/purge_config.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"~\n\x16PurgeUserEventsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\".\n\x17PurgeUserEventsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\"\xa9\x01\n\x17PurgeUserEventsMetadata\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\"z\n\x15PurgeDocumentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"q\n\x16PurgeDocumentsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12\x42\n\x0cpurge_sample\x18\x02 \x03(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\xbf\x01\n\x16PurgeDocumentsMetadata\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\x15\n\rignored_count\x18\x05 \x01(\x03\"i\n%PurgeSuggestionDenyListEntriesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n&PurgeSuggestionDenyListEntriesResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x8a\x01\n&PurgeSuggestionDenyListEntriesMetadata\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\"e\n!PurgeCompletionSuggestionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n\"PurgeCompletionSuggestionsResponse\x12\x17\n\x0fpurge_succeeded\x18\x01 \x01(\x08\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x86\x01\n\"PurgeCompletionSuggestionsMetadata\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.TimestampB\x97\x02\n\'com.google.cloud.discoveryengine.v1betaB\x10PurgeConfigProtoP\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
|
|
@@ -42,12 +42,18 @@ module Google
|
|
42
42
|
module Cloud
|
43
43
|
module DiscoveryEngine
|
44
44
|
module V1beta
|
45
|
+
PurgeUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeUserEventsRequest").msgclass
|
46
|
+
PurgeUserEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse").msgclass
|
47
|
+
PurgeUserEventsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata").msgclass
|
45
48
|
PurgeDocumentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest").msgclass
|
46
49
|
PurgeDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse").msgclass
|
47
50
|
PurgeDocumentsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata").msgclass
|
48
51
|
PurgeSuggestionDenyListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesRequest").msgclass
|
49
52
|
PurgeSuggestionDenyListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse").msgclass
|
50
53
|
PurgeSuggestionDenyListEntriesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata").msgclass
|
54
|
+
PurgeCompletionSuggestionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsRequest").msgclass
|
55
|
+
PurgeCompletionSuggestionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse").msgclass
|
56
|
+
PurgeCompletionSuggestionsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata").msgclass
|
51
57
|
end
|
52
58
|
end
|
53
59
|
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/sample_query.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n6google/cloud/discoveryengine/v1beta/sample_query.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x04\n\x0bSampleQuery\x12R\n\x0bquery_entry\x18\x02 \x01(\x0b\x32;.google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntryH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\xc0\x01\n\nQueryEntry\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12S\n\x07targets\x18\x03 \x03(\x0b\x32\x42.google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry.Target\x1aI\n\x06Target\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x14\n\x0cpage_numbers\x18\x02 \x03(\x05\x12\x12\n\x05score\x18\x03 \x01(\x01H\x00\x88\x01\x01\x42\x08\n\x06_score:\x99\x01\xea\x41\x95\x01\n*discoveryengine.googleapis.com/SampleQuery\x12gprojects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}B\t\n\x07\x63ontentB\x97\x02\n\'com.google.cloud.discoveryengine.v1betaB\x10SampleQueryProtoP\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
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module DiscoveryEngine
|
42
|
+
module V1beta
|
43
|
+
SampleQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SampleQuery").msgclass
|
44
|
+
SampleQuery::QueryEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry").msgclass
|
45
|
+
SampleQuery::QueryEntry::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SampleQuery.QueryEntry.Target").msgclass
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/sample_query_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/discoveryengine/v1beta/import_config_pb'
|
12
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_pb'
|
13
|
+
require 'google/longrunning/operations_pb'
|
14
|
+
require 'google/protobuf/empty_pb'
|
15
|
+
require 'google/protobuf/field_mask_pb'
|
16
|
+
|
17
|
+
|
18
|
+
descriptor_data = "\n>google/cloud/discoveryengine/v1beta/sample_query_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/sample_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"Y\n\x15GetSampleQueryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*discoveryengine.googleapis.com/SampleQuery\"\x88\x01\n\x18ListSampleQueriesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"~\n\x19ListSampleQueriesResponse\x12H\n\x0esample_queries\x18\x01 \x03(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcc\x01\n\x18\x43reateSampleQueryRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet\x12K\n\x0csample_query\x18\x02 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x02\x12\x1c\n\x0fsample_query_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x98\x01\n\x18UpdateSampleQueryRequest\x12K\n\x0csample_query\x18\x01 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\\\n\x18\x44\x65leteSampleQueryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*discoveryengine.googleapis.com/SampleQuery2\xeb\x0c\n\x12SampleQueryService\x12\xd6\x01\n\x0eGetSampleQuery\x12:.google.cloud.discoveryengine.v1beta.GetSampleQueryRequest\x1a\x30.google.cloud.discoveryengine.v1beta.SampleQuery\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/sampleQueries/*}\x12\xec\x01\n\x11ListSampleQueries\x12=.google.cloud.discoveryengine.v1beta.ListSampleQueriesRequest\x1a>.google.cloud.discoveryengine.v1beta.ListSampleQueriesResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1beta/{parent=projects/*/locations/*/sampleQuerySets/*}/sampleQueries\x12\x8a\x02\n\x11\x43reateSampleQuery\x12=.google.cloud.discoveryengine.v1beta.CreateSampleQueryRequest\x1a\x30.google.cloud.discoveryengine.v1beta.SampleQuery\"\x83\x01\xda\x41#parent,sample_query,sample_query_id\x82\xd3\xe4\x93\x02W\"G/v1beta/{parent=projects/*/locations/*/sampleQuerySets/*}/sampleQueries:\x0csample_query\x12\x8c\x02\n\x11UpdateSampleQuery\x12=.google.cloud.discoveryengine.v1beta.UpdateSampleQueryRequest\x1a\x30.google.cloud.discoveryengine.v1beta.SampleQuery\"\x85\x01\xda\x41\x18sample_query,update_mask\x82\xd3\xe4\x93\x02\x64\x32T/v1beta/{sample_query.name=projects/*/locations/*/sampleQuerySets/*/sampleQueries/*}:\x0csample_query\x12\xc2\x01\n\x11\x44\x65leteSampleQuery\x12=.google.cloud.discoveryengine.v1beta.DeleteSampleQueryRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I*G/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/sampleQueries/*}\x12\xd7\x02\n\x13ImportSampleQueries\x12?.google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest\x1a\x1d.google.longrunning.Operation\"\xdf\x01\xca\x41\x82\x01\n?google.cloud.discoveryengine.v1beta.ImportSampleQueriesResponse\x12?google.cloud.discoveryengine.v1beta.ImportSampleQueriesMetadata\x82\xd3\xe4\x93\x02S\"N/v1beta/{parent=projects/*/locations/*/sampleQuerySets/*}/sampleQueries:import:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9e\x02\n\'com.google.cloud.discoveryengine.v1betaB\x17SampleQueryServiceProtoP\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
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.cloud.discoveryengine.v1beta.SampleQuery", "google/cloud/discoveryengine/v1beta/sample_query.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
44
|
+
end
|
45
|
+
|
46
|
+
module Google
|
47
|
+
module Cloud
|
48
|
+
module DiscoveryEngine
|
49
|
+
module V1beta
|
50
|
+
GetSampleQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetSampleQueryRequest").msgclass
|
51
|
+
ListSampleQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListSampleQueriesRequest").msgclass
|
52
|
+
ListSampleQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListSampleQueriesResponse").msgclass
|
53
|
+
CreateSampleQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateSampleQueryRequest").msgclass
|
54
|
+
UpdateSampleQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.UpdateSampleQueryRequest").msgclass
|
55
|
+
DeleteSampleQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DeleteSampleQueryRequest").msgclass
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/discoveryengine/v1beta/sample_query_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DiscoveryEngine
|
25
|
+
module V1beta
|
26
|
+
module SampleQueryService
|
27
|
+
# Service for managing
|
28
|
+
# [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s,
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.discoveryengine.v1beta.SampleQueryService'
|
36
|
+
|
37
|
+
# Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
|
38
|
+
rpc :GetSampleQuery, ::Google::Cloud::DiscoveryEngine::V1beta::GetSampleQueryRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
|
39
|
+
# Gets a list of
|
40
|
+
# [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.
|
41
|
+
rpc :ListSampleQueries, ::Google::Cloud::DiscoveryEngine::V1beta::ListSampleQueriesRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListSampleQueriesResponse
|
42
|
+
# Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]
|
43
|
+
rpc :CreateSampleQuery, ::Google::Cloud::DiscoveryEngine::V1beta::CreateSampleQueryRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
|
44
|
+
# Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
|
45
|
+
rpc :UpdateSampleQuery, ::Google::Cloud::DiscoveryEngine::V1beta::UpdateSampleQueryRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
|
46
|
+
# Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
|
47
|
+
rpc :DeleteSampleQuery, ::Google::Cloud::DiscoveryEngine::V1beta::DeleteSampleQueryRequest, ::Google::Protobuf::Empty
|
48
|
+
# Bulk import of multiple
|
49
|
+
# [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample
|
50
|
+
# queries that already exist may be deleted.
|
51
|
+
#
|
52
|
+
# Note: It is possible for a subset of the
|
53
|
+
# [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be
|
54
|
+
# successfully imported.
|
55
|
+
rpc :ImportSampleQueries, ::Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest, ::Google::Longrunning::Operation
|
56
|
+
end
|
57
|
+
|
58
|
+
Stub = Service.rpc_stub_class
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/sample_query_set.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n:google/cloud/discoveryengine/v1beta/sample_query_set.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x89\x02\n\x0eSampleQuerySet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t:~\xea\x41{\n-discoveryengine.googleapis.com/SampleQuerySet\x12Jprojects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}B\x9a\x02\n\'com.google.cloud.discoveryengine.v1betaB\x13SampleQuerySetProtoP\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
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module DiscoveryEngine
|
42
|
+
module V1beta
|
43
|
+
SampleQuerySet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SampleQuerySet").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/sample_query_set_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_set_pb'
|
12
|
+
require 'google/protobuf/empty_pb'
|
13
|
+
require 'google/protobuf/field_mask_pb'
|
14
|
+
|
15
|
+
|
16
|
+
descriptor_data = "\nBgoogle/cloud/discoveryengine/v1beta/sample_query_set_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:google/cloud/discoveryengine/v1beta/sample_query_set.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"_\n\x18GetSampleQuerySetRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet\"\x84\x01\n\x1aListSampleQuerySetsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x86\x01\n\x1bListSampleQuerySetsResponse\x12N\n\x11sample_query_sets\x18\x01 \x03(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.SampleQuerySet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd4\x01\n\x1b\x43reateSampleQuerySetRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12R\n\x10sample_query_set\x18\x02 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.SampleQuerySetB\x03\xe0\x41\x02\x12 \n\x13sample_query_set_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xa2\x01\n\x1bUpdateSampleQuerySetRequest\x12R\n\x10sample_query_set\x18\x01 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.SampleQuerySetB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"b\n\x1b\x44\x65leteSampleQuerySetRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-discoveryengine.googleapis.com/SampleQuerySet2\x82\n\n\x15SampleQuerySetService\x12\xcf\x01\n\x11GetSampleQuerySet\x12=.google.cloud.discoveryengine.v1beta.GetSampleQuerySetRequest\x1a\x33.google.cloud.discoveryengine.v1beta.SampleQuerySet\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta/{name=projects/*/locations/*/sampleQuerySets/*}\x12\xe2\x01\n\x13ListSampleQuerySets\x12?.google.cloud.discoveryengine.v1beta.ListSampleQuerySetsRequest\x1a@.google.cloud.discoveryengine.v1beta.ListSampleQuerySetsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta/{parent=projects/*/locations/*}/sampleQuerySets\x12\x8e\x02\n\x14\x43reateSampleQuerySet\x12@.google.cloud.discoveryengine.v1beta.CreateSampleQuerySetRequest\x1a\x33.google.cloud.discoveryengine.v1beta.SampleQuerySet\"\x7f\xda\x41+parent,sample_query_set,sample_query_set_id\x82\xd3\xe4\x93\x02K\"7/v1beta/{parent=projects/*/locations/*}/sampleQuerySets:\x10sample_query_set\x12\x91\x02\n\x14UpdateSampleQuerySet\x12@.google.cloud.discoveryengine.v1beta.UpdateSampleQuerySetRequest\x1a\x33.google.cloud.discoveryengine.v1beta.SampleQuerySet\"\x81\x01\xda\x41\x1csample_query_set,update_mask\x82\xd3\xe4\x93\x02\\2H/v1beta/{sample_query_set.name=projects/*/locations/*/sampleQuerySets/*}:\x10sample_query_set\x12\xb8\x01\n\x14\x44\x65leteSampleQuerySet\x12@.google.cloud.discoveryengine.v1beta.DeleteSampleQuerySetRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1beta/{name=projects/*/locations/*/sampleQuerySets/*}\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa1\x02\n\'com.google.cloud.discoveryengine.v1betaB\x1aSampleQuerySetServiceProtoP\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
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.cloud.discoveryengine.v1beta.SampleQuerySet", "google/cloud/discoveryengine/v1beta/sample_query_set.proto"],
|
32
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
42
|
+
end
|
43
|
+
|
44
|
+
module Google
|
45
|
+
module Cloud
|
46
|
+
module DiscoveryEngine
|
47
|
+
module V1beta
|
48
|
+
GetSampleQuerySetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetSampleQuerySetRequest").msgclass
|
49
|
+
ListSampleQuerySetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListSampleQuerySetsRequest").msgclass
|
50
|
+
ListSampleQuerySetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListSampleQuerySetsResponse").msgclass
|
51
|
+
CreateSampleQuerySetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateSampleQuerySetRequest").msgclass
|
52
|
+
UpdateSampleQuerySetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.UpdateSampleQuerySetRequest").msgclass
|
53
|
+
DeleteSampleQuerySetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DeleteSampleQuerySetRequest").msgclass
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/discoveryengine/v1beta/sample_query_set_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/discoveryengine/v1beta/sample_query_set_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DiscoveryEngine
|
25
|
+
module V1beta
|
26
|
+
module SampleQuerySetService
|
27
|
+
# Service for managing
|
28
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s,
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.discoveryengine.v1beta.SampleQuerySetService'
|
36
|
+
|
37
|
+
# Gets a
|
38
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].
|
39
|
+
rpc :GetSampleQuerySet, ::Google::Cloud::DiscoveryEngine::V1beta::GetSampleQuerySetRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuerySet
|
40
|
+
# Gets a list of
|
41
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.
|
42
|
+
rpc :ListSampleQuerySets, ::Google::Cloud::DiscoveryEngine::V1beta::ListSampleQuerySetsRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListSampleQuerySetsResponse
|
43
|
+
# Creates a
|
44
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]
|
45
|
+
rpc :CreateSampleQuerySet, ::Google::Cloud::DiscoveryEngine::V1beta::CreateSampleQuerySetRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuerySet
|
46
|
+
# Updates a
|
47
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].
|
48
|
+
rpc :UpdateSampleQuerySet, ::Google::Cloud::DiscoveryEngine::V1beta::UpdateSampleQuerySetRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuerySet
|
49
|
+
# Deletes a
|
50
|
+
# [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].
|
51
|
+
rpc :DeleteSampleQuerySet, ::Google::Cloud::DiscoveryEngine::V1beta::DeleteSampleQuerySetRequest, ::Google::Protobuf::Empty
|
52
|
+
end
|
53
|
+
|
54
|
+
Stub = Service.rpc_stub_class
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|