google-cloud-discovery_engine-v1beta 0.7.1 → 0.8.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 +235 -4
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/operations.rb +801 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +221 -4
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +1077 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/service_stub.rb +136 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest.rb +1 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service.rb +1 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +20 -3
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/paths.rb +91 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +20 -3
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/service_stub.rb +45 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +925 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/operations.rb +801 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/paths.rb +97 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +864 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +1077 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/service_stub.rb +403 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest.rb +54 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service.rb +57 -0
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +887 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/operations.rb +801 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/paths.rb +73 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/client.rb +826 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +1077 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/service_stub.rb +366 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest.rb +54 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service.rb +57 -0
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +22 -3
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/paths.rb +19 -0
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/client.rb +22 -3
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/service_stub.rb +8 -0
- data/lib/google/cloud/discovery_engine/v1beta/rest.rb +4 -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 +48 -10
- data/lib/google/cloud/discovery_engine/v1beta/search_service/paths.rb +19 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +48 -10
- data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/service_stub.rb +8 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +646 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/paths.rb +146 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/client.rb +599 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/service_stub.rb +291 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +1635 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/operations.rb +801 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/paths.rb +127 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +1525 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +1077 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/service_stub.rb +860 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1beta.rb +4 -0
- data/lib/google/cloud/discoveryengine/v1beta/common_pb.rb +7 -2
- data/lib/google/cloud/discoveryengine/v1beta/completion_pb.rb +45 -0
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_pb.rb +5 -2
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_services_pb.rb +8 -0
- data/lib/google/cloud/discoveryengine/v1beta/conversation_pb.rb +2 -2
- data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_pb.rb +2 -2
- data/lib/google/cloud/discoveryengine/v1beta/data_store_pb.rb +49 -0
- data/lib/google/cloud/discoveryengine/v1beta/data_store_service_pb.rb +62 -0
- data/lib/google/cloud/discoveryengine/v1beta/data_store_service_services_pb.rb +61 -0
- data/lib/google/cloud/discoveryengine/v1beta/document_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/document_service_pb.rb +2 -2
- data/lib/google/cloud/discoveryengine/v1beta/engine_pb.rb +53 -0
- data/lib/google/cloud/discoveryengine/v1beta/engine_service_pb.rb +62 -0
- data/lib/google/cloud/discoveryengine/v1beta/engine_service_services_pb.rb +55 -0
- data/lib/google/cloud/discoveryengine/v1beta/import_config_pb.rb +8 -2
- data/lib/google/cloud/discoveryengine/v1beta/purge_config_pb.rb +7 -2
- data/lib/google/cloud/discoveryengine/v1beta/recommendation_service_pb.rb +2 -2
- data/lib/google/cloud/discoveryengine/v1beta/schema_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/schema_service_pb.rb +2 -2
- data/lib/google/cloud/discoveryengine/v1beta/search_service_pb.rb +9 -2
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_pb.rb +53 -0
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_pb.rb +54 -0
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_services_pb.rb +53 -0
- data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_pb.rb +54 -0
- data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_service_pb.rb +82 -0
- data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_service_services_pb.rb +74 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_event_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_event_service_pb.rb +2 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +60 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +53 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb +10 -4
- data/proto_docs/google/cloud/discoveryengine/v1beta/conversation.rb +2 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +19 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb +88 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store_service.rb +216 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +1 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +219 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/engine_service.rb +179 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +66 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +41 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb +22 -3
- data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +166 -15
- data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +247 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config_service.rb +85 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine.rb +160 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb +528 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +4 -3
- data/proto_docs/google/protobuf/any.rb +2 -1
- metadata +60 -2
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/discoveryengine/v1beta/serving_config_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2022 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/serving_config_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DiscoveryEngine
|
25
|
+
module V1beta
|
26
|
+
module ServingConfigService
|
27
|
+
# Service for modifying ServingConfig.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.discoveryengine.v1beta.ServingConfigService'
|
35
|
+
|
36
|
+
# Updates a ServingConfig.
|
37
|
+
#
|
38
|
+
# Returns a NOT_FOUND error if the ServingConfig does not exist.
|
39
|
+
rpc :UpdateServingConfig, ::Google::Cloud::DiscoveryEngine::V1beta::UpdateServingConfigRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig
|
40
|
+
# Gets a ServingConfig.
|
41
|
+
#
|
42
|
+
# Returns a NotFound error if the ServingConfig does not exist.
|
43
|
+
rpc :GetServingConfig, ::Google::Cloud::DiscoveryEngine::V1beta::GetServingConfigRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig
|
44
|
+
# Lists all ServingConfigs linked to this dataStore.
|
45
|
+
rpc :ListServingConfigs, ::Google::Cloud::DiscoveryEngine::V1beta::ListServingConfigsRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListServingConfigsResponse
|
46
|
+
end
|
47
|
+
|
48
|
+
Stub = Service.rpc_stub_class
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/site_search_engine.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/site_search_engine.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x02\n\x10SiteSearchEngine\x12\x0c\n\x04name\x18\x01 \x01(\t:\xf2\x01\xea\x41\xee\x01\n/discoveryengine.googleapis.com/SiteSearchEngine\x12Pprojects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine\x12iprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine\"\x8c\t\n\nTargetSite\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12$\n\x14provided_uri_pattern\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x04\x12\x42\n\x04type\x18\x03 \x01(\x0e\x32\x34.google.cloud.discoveryengine.v1beta.TargetSite.Type\x12\x18\n\x0b\x65xact_match\x18\x06 \x01(\x08\x42\x03\xe0\x41\x04\x12\"\n\x15generated_uri_pattern\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12^\n\x16site_verification_info\x18\x07 \x01(\x0b\x32\x39.google.cloud.discoveryengine.v1beta.SiteVerificationInfoB\x03\xe0\x41\x03\x12\\\n\x0findexing_status\x18\x08 \x01(\x0e\x32>.google.cloud.discoveryengine.v1beta.TargetSite.IndexingStatusB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x0e\x66\x61ilure_reason\x18\t \x01(\x0b\x32=.google.cloud.discoveryengine.v1beta.TargetSite.FailureReasonB\x03\xe0\x41\x03\x1a\xad\x01\n\rFailureReason\x12\x63\n\rquota_failure\x18\x01 \x01(\x0b\x32J.google.cloud.discoveryengine.v1beta.TargetSite.FailureReason.QuotaFailureH\x00\x1a,\n\x0cQuotaFailure\x12\x1c\n\x14total_required_quota\x18\x01 \x01(\x03\x42\t\n\x07\x66\x61ilure\"6\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INCLUDE\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02\"g\n\x0eIndexingStatus\x12\x1f\n\x1bINDEXING_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:\xa1\x02\xea\x41\x9d\x02\n)discoveryengine.googleapis.com/TargetSite\x12jprojects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}\x12\x83\x01projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}\"\xa7\x02\n\x14SiteVerificationInfo\x12p\n\x17site_verification_state\x18\x01 \x01(\x0e\x32O.google.cloud.discoveryengine.v1beta.SiteVerificationInfo.SiteVerificationState\x12/\n\x0bverify_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"l\n\x15SiteVerificationState\x12\'\n#SITE_VERIFICATION_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\x12\x0e\n\nUNVERIFIED\x10\x02\x12\x0c\n\x08\x45XEMPTED\x10\x03\x42\x9c\x02\n\'com.google.cloud.discoveryengine.v1betaB\x15SiteSearchEngineProtoP\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
|
+
SiteSearchEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SiteSearchEngine").msgclass
|
44
|
+
TargetSite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.TargetSite").msgclass
|
45
|
+
TargetSite::FailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.TargetSite.FailureReason").msgclass
|
46
|
+
TargetSite::FailureReason::QuotaFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.TargetSite.FailureReason.QuotaFailure").msgclass
|
47
|
+
TargetSite::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.TargetSite.Type").enummodule
|
48
|
+
TargetSite::IndexingStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.TargetSite.IndexingStatus").enummodule
|
49
|
+
SiteVerificationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SiteVerificationInfo").msgclass
|
50
|
+
SiteVerificationInfo::SiteVerificationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.SiteVerificationInfo.SiteVerificationState").enummodule
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/discoveryengine/v1beta/site_search_engine_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/site_search_engine_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
14
|
+
require 'google/protobuf/timestamp_pb'
|
15
|
+
|
16
|
+
|
17
|
+
descriptor_data = "\nDgoogle/cloud/discoveryengine/v1beta/site_search_engine_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/site_search_engine.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"c\n\x1aGetSiteSearchEngineRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\xad\x01\n\x17\x43reateTargetSiteRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12I\n\x0btarget_site\x18\x02 \x01(\x0b\x32/.google.cloud.discoveryengine.v1beta.TargetSiteB\x03\xe0\x41\x02\"|\n\x18\x43reateTargetSiteMetadata\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\"\xbd\x01\n\x1d\x42\x61tchCreateTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12S\n\x08requests\x18\x02 \x03(\x0b\x32<.google.cloud.discoveryengine.v1beta.CreateTargetSiteRequestB\x03\xe0\x41\x02\"W\n\x14GetTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"d\n\x17UpdateTargetSiteRequest\x12I\n\x0btarget_site\x18\x01 \x01(\x0b\x32/.google.cloud.discoveryengine.v1beta.TargetSiteB\x03\xe0\x41\x02\"|\n\x18UpdateTargetSiteMetadata\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\"Z\n\x17\x44\x65leteTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"|\n\x18\x44\x65leteTargetSiteMetadata\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\"\x88\x01\n\x16ListTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8d\x01\n\x17ListTargetSitesResponse\x12\x45\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32/.google.cloud.discoveryengine.v1beta.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\x81\x01\n\x1d\x42\x61tchCreateTargetSiteMetadata\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\"g\n\x1e\x42\x61tchCreateTargetSitesResponse\x12\x45\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32/.google.cloud.discoveryengine.v1beta.TargetSite\"v\n\x1f\x45nableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\"\n EnableAdvancedSiteSearchResponse\"\x84\x01\n EnableAdvancedSiteSearchMetadata\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\"w\n DisableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"#\n!DisableAdvancedSiteSearchResponse\"\x85\x01\n!DisableAdvancedSiteSearchMetadata\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\"|\n\x12RecrawlUrisRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\x04uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xf4\x03\n\x13RecrawlUrisResponse\x12]\n\x0f\x66\x61ilure_samples\x18\x01 \x03(\x0b\x32\x44.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo\x12\x13\n\x0b\x66\x61iled_uris\x18\x02 \x03(\t\x1a\xe8\x02\n\x0b\x46\x61ilureInfo\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12k\n\x0f\x66\x61ilure_reasons\x18\x02 \x03(\x0b\x32R.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason\x1a\xde\x01\n\rFailureReason\x12r\n\x0b\x63orpus_type\x18\x01 \x01(\x0e\x32].google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType\x12\x15\n\rerror_message\x18\x02 \x01(\t\"B\n\nCorpusType\x12\x1b\n\x17\x43ORPUS_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45SKTOP\x10\x01\x12\n\n\x06MOBILE\x10\x02\"\xf3\x01\n\x13RecrawlUrisMetadata\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\x14\n\x0cinvalid_uris\x18\x03 \x03(\t\x12\x18\n\x10valid_uris_count\x18\x04 \x01(\x05\x12\x15\n\rsuccess_count\x18\x05 \x01(\x05\x12\x15\n\rpending_count\x18\x06 \x01(\x05\x12\x1c\n\x14quota_exceeded_count\x18\x07 \x01(\x05\"h\n\x1d\x42\x61tchVerifyTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\" \n\x1e\x42\x61tchVerifyTargetSitesResponse\"\x82\x01\n\x1e\x42\x61tchVerifyTargetSitesMetadata\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\"\xa2\x01\n$FetchDomainVerificationStatusRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x9b\x01\n%FetchDomainVerificationStatusResponse\x12\x45\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32/.google.cloud.discoveryengine.v1beta.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\x8a(\n\x17SiteSearchEngineService\x12\xb8\x02\n\x13GetSiteSearchEngine\x12?.google.cloud.discoveryengine.v1beta.GetSiteSearchEngineRequest\x1a\x35.google.cloud.discoveryengine.v1beta.SiteSearchEngine\"\xa8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9a\x01\x12\x43/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}ZS\x12Q/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}\x12\xcf\x03\n\x10\x43reateTargetSite\x12<.google.cloud.discoveryengine.v1beta.CreateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x02\xca\x41n\n.google.cloud.discoveryengine.v1beta.TargetSite\x12<google.cloud.discoveryengine.v1beta.CreateTargetSiteMetadata\xda\x41\x12parent,target_site\x82\xd3\xe4\x93\x02\xd0\x01\"Q/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_siteZn\"_/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_site\x12\xe4\x03\n\x16\x42\x61tchCreateTargetSites\x12\x42.google.cloud.discoveryengine.v1beta.BatchCreateTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\xe6\x02\xca\x41\x87\x01\nBgoogle.cloud.discoveryengine.v1beta.BatchCreateTargetSitesResponse\x12\x41google.cloud.discoveryengine.v1beta.BatchCreateTargetSiteMetadata\x82\xd3\xe4\x93\x02\xd4\x01\"]/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*Zp\"k/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*\x12\xc2\x02\n\rGetTargetSite\x12\x39.google.cloud.discoveryengine.v1beta.GetTargetSiteRequest\x1a/.google.cloud.discoveryengine.v1beta.TargetSite\"\xc4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb6\x01\x12Q/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Za\x12_/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xe0\x03\n\x10UpdateTargetSite\x12<.google.cloud.discoveryengine.v1beta.UpdateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xee\x02\xca\x41n\n.google.cloud.discoveryengine.v1beta.TargetSite\x12<google.cloud.discoveryengine.v1beta.UpdateTargetSiteMetadata\xda\x41\x0btarget_site\x82\xd3\xe4\x93\x02\xe8\x01\x32]/v1beta/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_siteZz2k/v1beta/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_site\x12\x8e\x03\n\x10\x44\x65leteTargetSite\x12<.google.cloud.discoveryengine.v1beta.DeleteTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x02\xca\x41U\n\x15google.protobuf.Empty\x12<google.cloud.discoveryengine.v1beta.DeleteTargetSiteMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb6\x01*Q/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Za*_/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xd5\x02\n\x0fListTargetSites\x12;.google.cloud.discoveryengine.v1beta.ListTargetSitesRequest\x1a<.google.cloud.discoveryengine.v1beta.ListTargetSitesResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12Q/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSitesZa\x12_/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites\x12\x87\x04\n\x18\x45nableAdvancedSiteSearch\x12\x44.google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\x85\x03\xca\x41\x8c\x01\nDgoogle.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchResponse\x12\x44google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xee\x01\"j/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*Z}\"x/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*\x12\x8d\x04\n\x19\x44isableAdvancedSiteSearch\x12\x45.google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\x89\x03\xca\x41\x8e\x01\nEgoogle.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchResponse\x12\x45google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xf0\x01\"k/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*Z~\"y/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*\x12\xb8\x03\n\x0bRecrawlUris\x12\x37.google.cloud.discoveryengine.v1beta.RecrawlUrisRequest\x1a\x1d.google.longrunning.Operation\"\xd0\x02\xca\x41r\n7google.cloud.discoveryengine.v1beta.RecrawlUrisResponse\x12\x37google.cloud.discoveryengine.v1beta.RecrawlUrisMetadata\x82\xd3\xe4\x93\x02\xd4\x01\"]/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*Zp\"k/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*\x12\xff\x02\n\x16\x42\x61tchVerifyTargetSites\x12\x42.google.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\x81\x02\xca\x41\x88\x01\nBgoogle.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesResponse\x12\x42google.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesMetadata\x82\xd3\xe4\x93\x02o\"j/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites:\x01*\x12\xbe\x02\n\x1d\x46\x65tchDomainVerificationStatus\x12I.google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusRequest\x1aJ.google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n\'com.google.cloud.discoveryengine.v1betaB\x1cSiteSearchEngineServiceProtoP\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"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
27
|
+
parsed.clear_dependency
|
28
|
+
serialized = parsed.class.encode(parsed)
|
29
|
+
file = pool.add_serialized_file(serialized)
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
31
|
+
imports = [
|
32
|
+
["google.cloud.discoveryengine.v1beta.TargetSite", "google/cloud/discoveryengine/v1beta/site_search_engine.proto"],
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
43
|
+
end
|
44
|
+
|
45
|
+
module Google
|
46
|
+
module Cloud
|
47
|
+
module DiscoveryEngine
|
48
|
+
module V1beta
|
49
|
+
GetSiteSearchEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetSiteSearchEngineRequest").msgclass
|
50
|
+
CreateTargetSiteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateTargetSiteRequest").msgclass
|
51
|
+
CreateTargetSiteMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateTargetSiteMetadata").msgclass
|
52
|
+
BatchCreateTargetSitesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchCreateTargetSitesRequest").msgclass
|
53
|
+
GetTargetSiteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetTargetSiteRequest").msgclass
|
54
|
+
UpdateTargetSiteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.UpdateTargetSiteRequest").msgclass
|
55
|
+
UpdateTargetSiteMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.UpdateTargetSiteMetadata").msgclass
|
56
|
+
DeleteTargetSiteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DeleteTargetSiteRequest").msgclass
|
57
|
+
DeleteTargetSiteMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DeleteTargetSiteMetadata").msgclass
|
58
|
+
ListTargetSitesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListTargetSitesRequest").msgclass
|
59
|
+
ListTargetSitesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListTargetSitesResponse").msgclass
|
60
|
+
BatchCreateTargetSiteMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchCreateTargetSiteMetadata").msgclass
|
61
|
+
BatchCreateTargetSitesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchCreateTargetSitesResponse").msgclass
|
62
|
+
EnableAdvancedSiteSearchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchRequest").msgclass
|
63
|
+
EnableAdvancedSiteSearchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchResponse").msgclass
|
64
|
+
EnableAdvancedSiteSearchMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchMetadata").msgclass
|
65
|
+
DisableAdvancedSiteSearchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchRequest").msgclass
|
66
|
+
DisableAdvancedSiteSearchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchResponse").msgclass
|
67
|
+
DisableAdvancedSiteSearchMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchMetadata").msgclass
|
68
|
+
RecrawlUrisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisRequest").msgclass
|
69
|
+
RecrawlUrisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisResponse").msgclass
|
70
|
+
RecrawlUrisResponse::FailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo").msgclass
|
71
|
+
RecrawlUrisResponse::FailureInfo::FailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason").msgclass
|
72
|
+
RecrawlUrisResponse::FailureInfo::FailureReason::CorpusType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType").enummodule
|
73
|
+
RecrawlUrisMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.RecrawlUrisMetadata").msgclass
|
74
|
+
BatchVerifyTargetSitesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesRequest").msgclass
|
75
|
+
BatchVerifyTargetSitesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesResponse").msgclass
|
76
|
+
BatchVerifyTargetSitesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchVerifyTargetSitesMetadata").msgclass
|
77
|
+
FetchDomainVerificationStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusRequest").msgclass
|
78
|
+
FetchDomainVerificationStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusResponse").msgclass
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/discoveryengine/v1beta/site_search_engine_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2022 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/site_search_engine_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DiscoveryEngine
|
25
|
+
module V1beta
|
26
|
+
module SiteSearchEngineService
|
27
|
+
# Service for managing site search related resources.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.discoveryengine.v1beta.SiteSearchEngineService'
|
35
|
+
|
36
|
+
# Gets the
|
37
|
+
# [SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine].
|
38
|
+
rpc :GetSiteSearchEngine, ::Google::Cloud::DiscoveryEngine::V1beta::GetSiteSearchEngineRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SiteSearchEngine
|
39
|
+
# Creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].
|
40
|
+
rpc :CreateTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest, ::Google::Longrunning::Operation
|
41
|
+
# Creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a
|
42
|
+
# batch.
|
43
|
+
rpc :BatchCreateTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::BatchCreateTargetSitesRequest, ::Google::Longrunning::Operation
|
44
|
+
# Gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].
|
45
|
+
rpc :GetTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::GetTargetSiteRequest, ::Google::Cloud::DiscoveryEngine::V1beta::TargetSite
|
46
|
+
# Updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].
|
47
|
+
rpc :UpdateTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::UpdateTargetSiteRequest, ::Google::Longrunning::Operation
|
48
|
+
# Deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].
|
49
|
+
rpc :DeleteTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::DeleteTargetSiteRequest, ::Google::Longrunning::Operation
|
50
|
+
# Gets a list of
|
51
|
+
# [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s.
|
52
|
+
rpc :ListTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::ListTargetSitesRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListTargetSitesResponse
|
53
|
+
# Upgrade from basic site search to advanced site search.
|
54
|
+
rpc :EnableAdvancedSiteSearch, ::Google::Cloud::DiscoveryEngine::V1beta::EnableAdvancedSiteSearchRequest, ::Google::Longrunning::Operation
|
55
|
+
# Downgrade from advanced site search to basic site search.
|
56
|
+
rpc :DisableAdvancedSiteSearch, ::Google::Cloud::DiscoveryEngine::V1beta::DisableAdvancedSiteSearchRequest, ::Google::Longrunning::Operation
|
57
|
+
# Request on-demand recrawl for a list of URIs.
|
58
|
+
rpc :RecrawlUris, ::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisRequest, ::Google::Longrunning::Operation
|
59
|
+
# Verify target sites' ownership and validity.
|
60
|
+
# This API sends all the target sites under site search engine for
|
61
|
+
# verification.
|
62
|
+
rpc :BatchVerifyTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::BatchVerifyTargetSitesRequest, ::Google::Longrunning::Operation
|
63
|
+
# Returns list of target sites with its domain verification status.
|
64
|
+
# This method can only be called under data store with BASIC_SITE_SEARCH
|
65
|
+
# state at the moment.
|
66
|
+
rpc :FetchDomainVerificationStatus, ::Google::Cloud::DiscoveryEngine::V1beta::FetchDomainVerificationStatusRequest, ::Google::Cloud::DiscoveryEngine::V1beta::FetchDomainVerificationStatusResponse
|
67
|
+
end
|
68
|
+
|
69
|
+
Stub = Service.rpc_stub_class
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -17,7 +17,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
18
18
|
begin
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
20
|
-
rescue TypeError
|
20
|
+
rescue TypeError
|
21
21
|
# Compatibility code: will be removed in the next major version.
|
22
22
|
require 'google/protobuf/descriptor_pb'
|
23
23
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,13 +14,13 @@ require 'google/cloud/discoveryengine/v1beta/user_event_pb'
|
|
14
14
|
require 'google/longrunning/operations_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/user_event_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/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/discoveryengine/v1beta/import_config.proto\x1a\x34google/cloud/discoveryengine/v1beta/user_event.proto\x1a#google/longrunning/operations.proto\"\xb6\x01\n\x15WriteUserEventRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\nuser_event\x18\x02 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.UserEventB\x03\xe0\x41\x02H\x00\x88\x01\x01\x42\r\n\x0b_user_event\"\xa8\x01\n\x17\x43ollectUserEventRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x17\n\nuser_event\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x65ts\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x06\n\x04_uriB\x06\n\x04_ets2\xdb\x08\n\x10UserEventService\x12\xbc\x02\n\x0eWriteUserEvent\x12:.google.cloud.discoveryengine.v1beta.WriteUserEventRequest\x1a..google.cloud.discoveryengine.v1beta.UserEvent\"\xbd\x01\x82\xd3\xe4\x93\x02\xb6\x01\"E/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write:\nuser_eventZa\"S/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write:\nuser_event\x12\x92\x02\n\x10\x43ollectUserEvent\x12<.google.cloud.discoveryengine.v1beta.CollectUserEventRequest\x1a\x14.google.api.HttpBody\"\xa9\x01\x82\xd3\xe4\x93\x02\xa2\x01\x12G/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collectZW\x12U/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect\x12\x9e\x03\n\x10ImportUserEvents\x12<.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\xac\x02\x82\xd3\xe4\x93\x02\xa6\x01\"F/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import:\x01*ZY\"T/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import:\x01*\
|
17
|
+
descriptor_data = "\n<google/cloud/discoveryengine/v1beta/user_event_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/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/discoveryengine/v1beta/import_config.proto\x1a\x34google/cloud/discoveryengine/v1beta/user_event.proto\x1a#google/longrunning/operations.proto\"\xb6\x01\n\x15WriteUserEventRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12L\n\nuser_event\x18\x02 \x01(\x0b\x32..google.cloud.discoveryengine.v1beta.UserEventB\x03\xe0\x41\x02H\x00\x88\x01\x01\x42\r\n\x0b_user_event\"\xa8\x01\n\x17\x43ollectUserEventRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x17\n\nuser_event\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x65ts\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x06\n\x04_uriB\x06\n\x04_ets2\xdb\x08\n\x10UserEventService\x12\xbc\x02\n\x0eWriteUserEvent\x12:.google.cloud.discoveryengine.v1beta.WriteUserEventRequest\x1a..google.cloud.discoveryengine.v1beta.UserEvent\"\xbd\x01\x82\xd3\xe4\x93\x02\xb6\x01\"E/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write:\nuser_eventZa\"S/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write:\nuser_event\x12\x92\x02\n\x10\x43ollectUserEvent\x12<.google.cloud.discoveryengine.v1beta.CollectUserEventRequest\x1a\x14.google.api.HttpBody\"\xa9\x01\x82\xd3\xe4\x93\x02\xa2\x01\x12G/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collectZW\x12U/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect\x12\x9e\x03\n\x10ImportUserEvents\x12<.google.cloud.discoveryengine.v1beta.ImportUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\xac\x02\xca\x41|\n<google.cloud.discoveryengine.v1beta.ImportUserEventsResponse\x12<google.cloud.discoveryengine.v1beta.ImportUserEventsMetadata\x82\xd3\xe4\x93\x02\xa6\x01\"F/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import:\x01*ZY\"T/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9c\x02\n\'com.google.cloud.discoveryengine.v1betaB\x15UserEventServiceProtoP\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"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
21
21
|
begin
|
22
22
|
pool.add_serialized_file(descriptor_data)
|
23
|
-
rescue TypeError
|
23
|
+
rescue TypeError
|
24
24
|
# Compatibility code: will be removed in the next major version.
|
25
25
|
require 'google/protobuf/descriptor_pb'
|
26
26
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -101,6 +101,15 @@ module Google
|
|
101
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
102
|
end
|
103
103
|
|
104
|
+
# Defines embedding config, used for bring your own embeddings feature.
|
105
|
+
# @!attribute [rw] field_path
|
106
|
+
# @return [::String]
|
107
|
+
# Full field path in the schema mapped as embedding field.
|
108
|
+
class EmbeddingConfig
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
|
104
113
|
# Double list.
|
105
114
|
# @!attribute [rw] values
|
106
115
|
# @return [::Array<::Float>]
|
@@ -109,6 +118,57 @@ module Google
|
|
109
118
|
include ::Google::Protobuf::MessageExts
|
110
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
120
|
end
|
121
|
+
|
122
|
+
# The industry vertical associated with the
|
123
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore}.
|
124
|
+
module IndustryVertical
|
125
|
+
# Value used when unset.
|
126
|
+
INDUSTRY_VERTICAL_UNSPECIFIED = 0
|
127
|
+
|
128
|
+
# The generic vertical for documents that are not specific to any industry
|
129
|
+
# vertical.
|
130
|
+
GENERIC = 1
|
131
|
+
|
132
|
+
# The media industry vertical.
|
133
|
+
MEDIA = 2
|
134
|
+
end
|
135
|
+
|
136
|
+
# The type of solution.
|
137
|
+
module SolutionType
|
138
|
+
# Default value.
|
139
|
+
SOLUTION_TYPE_UNSPECIFIED = 0
|
140
|
+
|
141
|
+
# Used for Recommendations AI.
|
142
|
+
SOLUTION_TYPE_RECOMMENDATION = 1
|
143
|
+
|
144
|
+
# Used for Discovery Search.
|
145
|
+
SOLUTION_TYPE_SEARCH = 2
|
146
|
+
|
147
|
+
# Used for use cases related to the Generative AI agent.
|
148
|
+
SOLUTION_TYPE_CHAT = 3
|
149
|
+
end
|
150
|
+
|
151
|
+
# Tiers of search features. Different tiers might have different
|
152
|
+
# pricing. To learn more, please check the pricing documentation.
|
153
|
+
module SearchTier
|
154
|
+
# Default value when the enum is unspecified. This is invalid to use.
|
155
|
+
SEARCH_TIER_UNSPECIFIED = 0
|
156
|
+
|
157
|
+
# Standard tier.
|
158
|
+
SEARCH_TIER_STANDARD = 1
|
159
|
+
|
160
|
+
# Enterprise tier.
|
161
|
+
SEARCH_TIER_ENTERPRISE = 2
|
162
|
+
end
|
163
|
+
|
164
|
+
# Add-on that provides additional functionality for search.
|
165
|
+
module SearchAddOn
|
166
|
+
# Default value when the enum is unspecified. This is invalid to use.
|
167
|
+
SEARCH_ADD_ON_UNSPECIFIED = 0
|
168
|
+
|
169
|
+
# Large language model add-on.
|
170
|
+
SEARCH_ADD_ON_LLM = 1
|
171
|
+
end
|
112
172
|
end
|
113
173
|
end
|
114
174
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module DiscoveryEngine
|
23
|
+
module V1beta
|
24
|
+
# Suggestion deny list entry identifying the phrase to block from suggestions
|
25
|
+
# and the applied operation for the phrase.
|
26
|
+
# @!attribute [rw] block_phrase
|
27
|
+
# @return [::String]
|
28
|
+
# Required. Phrase to block from suggestions served. Can be maximum 125
|
29
|
+
# characters.
|
30
|
+
# @!attribute [rw] match_operator
|
31
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SuggestionDenyListEntry::MatchOperator]
|
32
|
+
# Required. The match operator to apply for this phrase. Whether to block the
|
33
|
+
# exact phrase, or block any suggestions containing this phrase.
|
34
|
+
class SuggestionDenyListEntry
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
|
38
|
+
# Operator for matching with the generated suggestions.
|
39
|
+
module MatchOperator
|
40
|
+
# Default value. Should not be used
|
41
|
+
MATCH_OPERATOR_UNSPECIFIED = 0
|
42
|
+
|
43
|
+
# If the suggestion is an exact match to the block_phrase, then block it.
|
44
|
+
EXACT_MATCH = 1
|
45
|
+
|
46
|
+
# If the suggestion contains the block_phrase, then block it.
|
47
|
+
CONTAINS = 2
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -35,8 +35,9 @@ module Google
|
|
35
35
|
# 128 characters.
|
36
36
|
# @!attribute [rw] query_model
|
37
37
|
# @return [::String]
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# Specifies the autocomplete data model. This overrides any model specified
|
39
|
+
# in the Configuration > Autocomplete section of the Cloud console. Currently
|
40
|
+
# supported values:
|
40
41
|
#
|
41
42
|
# * `document` - Using suggestions generated from user-imported documents.
|
42
43
|
# * `search-history` - Using suggestions generated from the past history of
|
@@ -50,8 +51,7 @@ module Google
|
|
50
51
|
# Default values:
|
51
52
|
#
|
52
53
|
# * `document` is the default model for regular dataStores.
|
53
|
-
# * `search-history` is the default model for
|
54
|
-
# [IndustryVertical.SITE_SEARCH][] dataStores.
|
54
|
+
# * `search-history` is the default model for site search dataStores.
|
55
55
|
# @!attribute [rw] user_pseudo_id
|
56
56
|
# @return [::String]
|
57
57
|
# A unique identifier for tracking visitors. For example, this could be
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
# @!attribute [rw] suggestion
|
101
101
|
# @return [::String]
|
102
102
|
# The suggestion for the query.
|
103
|
+
# @!attribute [rw] completable_field_paths
|
104
|
+
# @return [::Array<::String>]
|
105
|
+
# The unique document field paths that serve as the source of this
|
106
|
+
# suggestion if it was generated from completable fields.
|
107
|
+
#
|
108
|
+
# This field is only populated for the document-completable model.
|
103
109
|
class QuerySuggestion
|
104
110
|
include ::Google::Protobuf::MessageExts
|
105
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,6 +26,8 @@ module Google
|
|
26
26
|
# @return [::String]
|
27
27
|
# Immutable. Fully qualified name
|
28
28
|
# `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*`
|
29
|
+
# or
|
30
|
+
# `project/*/locations/global/collections/{collection}/engines/*/conversations/*`.
|
29
31
|
# @!attribute [rw] state
|
30
32
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Conversation::State]
|
31
33
|
# The state of the Conversation.
|
@@ -70,6 +70,24 @@ module Google
|
|
70
70
|
# @!attribute [rw] summary_spec
|
71
71
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec]
|
72
72
|
# A specification for configuring the summary returned in the response.
|
73
|
+
# @!attribute [rw] filter
|
74
|
+
# @return [::String]
|
75
|
+
# The filter syntax consists of an expression language for constructing a
|
76
|
+
# predicate from one or more fields of the documents being filtered. Filter
|
77
|
+
# expression is case-sensitive. This will be used to filter search results
|
78
|
+
# which may affect the summary response.
|
79
|
+
#
|
80
|
+
# If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
81
|
+
#
|
82
|
+
# Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
83
|
+
# key property defined in the Vertex AI Search backend -- this mapping is
|
84
|
+
# defined by the customer in their schema. For example a media customer might
|
85
|
+
# have a field 'name' in their schema. In this case the filter would look
|
86
|
+
# like this: filter --> name:'ANY("king kong")'
|
87
|
+
#
|
88
|
+
# For more information about filtering including syntax and filter
|
89
|
+
# operators, see
|
90
|
+
# [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
73
91
|
class ConverseConversationRequest
|
74
92
|
include ::Google::Protobuf::MessageExts
|
75
93
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -127,7 +145,7 @@ module Google
|
|
127
145
|
# {::Google::Cloud::DiscoveryEngine::V1beta::Conversation Conversation} to update.
|
128
146
|
# The following are NOT supported:
|
129
147
|
#
|
130
|
-
# *
|
148
|
+
# * {::Google::Cloud::DiscoveryEngine::V1beta::Conversation#name Conversation.name}
|
131
149
|
#
|
132
150
|
# If not set or empty, all supported fields are updated.
|
133
151
|
class UpdateConversationRequest
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module DiscoveryEngine
|
23
|
+
module V1beta
|
24
|
+
# DataStore captures global settings and configs at the DataStore level.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Immutable. The full resource name of the data store.
|
28
|
+
# Format:
|
29
|
+
# `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
|
30
|
+
#
|
31
|
+
# This field must be a UTF-8 encoded string with a length limit of 1024
|
32
|
+
# characters.
|
33
|
+
# @!attribute [rw] display_name
|
34
|
+
# @return [::String]
|
35
|
+
# Required. The data store display name.
|
36
|
+
#
|
37
|
+
# This field must be a UTF-8 encoded string with a length limit of 128
|
38
|
+
# characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
39
|
+
# @!attribute [rw] industry_vertical
|
40
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical]
|
41
|
+
# Immutable. The industry vertical that the data store registers.
|
42
|
+
# @!attribute [rw] solution_types
|
43
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SolutionType>]
|
44
|
+
# The solutions that the data store enrolls. Available solutions for each
|
45
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore#industry_vertical industry_vertical}:
|
46
|
+
#
|
47
|
+
# * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.
|
48
|
+
# * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other
|
49
|
+
# solutions cannot be enrolled.
|
50
|
+
# @!attribute [r] default_schema_id
|
51
|
+
# @return [::String]
|
52
|
+
# Output only. The id of the default
|
53
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Schema Schema} asscociated to this
|
54
|
+
# data store.
|
55
|
+
# @!attribute [rw] content_config
|
56
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ContentConfig]
|
57
|
+
# Immutable. The content config of the data store. If this field is unset,
|
58
|
+
# the server behavior defaults to
|
59
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ContentConfig::NO_CONTENT ContentConfig.NO_CONTENT}.
|
60
|
+
# @!attribute [r] create_time
|
61
|
+
# @return [::Google::Protobuf::Timestamp]
|
62
|
+
# Output only. Timestamp the
|
63
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore} was created at.
|
64
|
+
class DataStore
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
|
68
|
+
# Content config of the data store.
|
69
|
+
module ContentConfig
|
70
|
+
# Default value.
|
71
|
+
CONTENT_CONFIG_UNSPECIFIED = 0
|
72
|
+
|
73
|
+
# Only contains documents without any
|
74
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Document#content Document.content}.
|
75
|
+
NO_CONTENT = 1
|
76
|
+
|
77
|
+
# Only contains documents with
|
78
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Document#content Document.content}.
|
79
|
+
CONTENT_REQUIRED = 2
|
80
|
+
|
81
|
+
# The data store is used for public website search.
|
82
|
+
PUBLIC_WEBSITE = 3
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|