google-cloud-discovery_engine-v1 1.0.2 → 1.2.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/v1/completion_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/control_service/client.rb +6 -6
- data/lib/google/cloud/discovery_engine/v1/control_service/rest/client.rb +6 -6
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +15 -12
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +15 -12
- data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +10 -1
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +10 -1
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +109 -1
- data/lib/google/cloud/discovery_engine/v1/document_service/paths.rb +25 -0
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +102 -1
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/service_stub.rb +66 -0
- data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/client.rb +219 -3
- data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/paths.rb +85 -0
- data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/client.rb +126 -3
- data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1/recommendation_service/client.rb +2 -1
- data/lib/google/cloud/discovery_engine/v1/recommendation_service/rest/client.rb +2 -1
- data/lib/google/cloud/discovery_engine/v1/rest.rb +1 -0
- data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +11 -4
- data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +11 -4
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/client.rb +571 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/operations.rb +809 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/paths.rb +78 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/client.rb +531 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +1128 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/service_stub.rb +188 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +139 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +132 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +14 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/service_stub.rb +68 -0
- data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1.rb +1 -0
- data/lib/google/cloud/discoveryengine/v1/answer_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/common_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/custom_tuning_model_pb.rb +48 -0
- data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/document_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +11 -1
- data/lib/google/cloud/discoveryengine/v1/document_service_services_pb.rb +4 -0
- data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +23 -1
- data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_services_pb.rb +4 -0
- data/lib/google/cloud/discoveryengine/v1/import_config_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/purge_config_pb.rb +8 -1
- data/lib/google/cloud/discoveryengine/v1/search_service_pb.rb +5 -1
- data/lib/google/cloud/discoveryengine/v1/search_tuning_service_pb.rb +61 -0
- data/lib/google/cloud/discoveryengine/v1/search_tuning_service_services_pb.rb +47 -0
- data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_service_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_service_services_pb.rb +5 -0
- data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +62 -7
- data/proto_docs/google/cloud/discoveryengine/v1/control.rb +6 -4
- data/proto_docs/google/cloud/discoveryengine/v1/control_service.rb +6 -6
- data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +68 -24
- data/proto_docs/google/cloud/discoveryengine/v1/custom_tuning_model.rb +99 -0
- data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +88 -0
- data/proto_docs/google/cloud/discoveryengine/v1/data_store_service.rb +10 -0
- data/proto_docs/google/cloud/discoveryengine/v1/document.rb +22 -0
- data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +9 -5
- data/proto_docs/google/cloud/discoveryengine/v1/document_service.rb +120 -0
- data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +5 -1
- data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +385 -1
- data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +13 -7
- data/proto_docs/google/cloud/discoveryengine/v1/project.rb +1 -1
- data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +115 -0
- data/proto_docs/google/cloud/discoveryengine/v1/rank_service.rb +1 -1
- data/proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb +2 -1
- data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +156 -16
- data/proto_docs/google/cloud/discoveryengine/v1/search_tuning_service.rb +172 -0
- data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine_service.rb +5 -0
- data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +5 -1
- metadata +17 -3
@@ -61,6 +61,16 @@ module Google
|
|
61
61
|
# @return [::Google::Protobuf::Timestamp]
|
62
62
|
# Output only. Timestamp the
|
63
63
|
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} was created at.
|
64
|
+
# @!attribute [r] billing_estimation
|
65
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::DataStore::BillingEstimation]
|
66
|
+
# Output only. Data size estimation for billing.
|
67
|
+
# @!attribute [rw] workspace_config
|
68
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig]
|
69
|
+
# Config to store data store type configuration for workspace data. This
|
70
|
+
# must be set when
|
71
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore#content_config DataStore.content_config}
|
72
|
+
# is set as
|
73
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig::GOOGLE_WORKSPACE DataStore.ContentConfig.GOOGLE_WORKSPACE}.
|
64
74
|
# @!attribute [rw] document_processing_config
|
65
75
|
# @return [::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig]
|
66
76
|
# Configuration for Document understanding and enrichment.
|
@@ -84,6 +94,30 @@ module Google
|
|
84
94
|
include ::Google::Protobuf::MessageExts
|
85
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
96
|
|
97
|
+
# Estimation of data size per data store.
|
98
|
+
# @!attribute [rw] structured_data_size
|
99
|
+
# @return [::Integer]
|
100
|
+
# Data size for structured data in terms of bytes.
|
101
|
+
# @!attribute [rw] unstructured_data_size
|
102
|
+
# @return [::Integer]
|
103
|
+
# Data size for unstructured data in terms of bytes.
|
104
|
+
# @!attribute [rw] website_data_size
|
105
|
+
# @return [::Integer]
|
106
|
+
# Data size for websites in terms of bytes.
|
107
|
+
# @!attribute [rw] structured_data_update_time
|
108
|
+
# @return [::Google::Protobuf::Timestamp]
|
109
|
+
# Last updated timestamp for structured data.
|
110
|
+
# @!attribute [rw] unstructured_data_update_time
|
111
|
+
# @return [::Google::Protobuf::Timestamp]
|
112
|
+
# Last updated timestamp for unstructured data.
|
113
|
+
# @!attribute [rw] website_data_update_time
|
114
|
+
# @return [::Google::Protobuf::Timestamp]
|
115
|
+
# Last updated timestamp for websites.
|
116
|
+
class BillingEstimation
|
117
|
+
include ::Google::Protobuf::MessageExts
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
|
+
end
|
120
|
+
|
87
121
|
# Content config of the data store.
|
88
122
|
module ContentConfig
|
89
123
|
# Default value.
|
@@ -99,6 +133,60 @@ module Google
|
|
99
133
|
|
100
134
|
# The data store is used for public website search.
|
101
135
|
PUBLIC_WEBSITE = 3
|
136
|
+
|
137
|
+
# The data store is used for workspace search. Details of workspace
|
138
|
+
# data store are specified in the
|
139
|
+
# {::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig WorkspaceConfig}.
|
140
|
+
GOOGLE_WORKSPACE = 4
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# Config to store data store type configuration for workspace data
|
145
|
+
# @!attribute [rw] type
|
146
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig::Type]
|
147
|
+
# The Google Workspace data source.
|
148
|
+
# @!attribute [rw] dasher_customer_id
|
149
|
+
# @return [::String]
|
150
|
+
# Obfuscated Dasher customer ID.
|
151
|
+
# @!attribute [rw] super_admin_service_account
|
152
|
+
# @return [::String]
|
153
|
+
# Optional. The super admin service account for the workspace that will be
|
154
|
+
# used for access token generation. For now we only use it for Native Google
|
155
|
+
# Drive connector data ingestion.
|
156
|
+
# @!attribute [rw] super_admin_email_address
|
157
|
+
# @return [::String]
|
158
|
+
# Optional. The super admin email address for the workspace that will be used
|
159
|
+
# for access token generation. For now we only use it for Native Google Drive
|
160
|
+
# connector data ingestion.
|
161
|
+
class WorkspaceConfig
|
162
|
+
include ::Google::Protobuf::MessageExts
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
|
+
|
165
|
+
# Specifies the type of Workspace App supported by this DataStore
|
166
|
+
module Type
|
167
|
+
# Defaults to an unspecified Workspace type.
|
168
|
+
TYPE_UNSPECIFIED = 0
|
169
|
+
|
170
|
+
# Workspace Data Store contains Drive data
|
171
|
+
GOOGLE_DRIVE = 1
|
172
|
+
|
173
|
+
# Workspace Data Store contains Mail data
|
174
|
+
GOOGLE_MAIL = 2
|
175
|
+
|
176
|
+
# Workspace Data Store contains Sites data
|
177
|
+
GOOGLE_SITES = 3
|
178
|
+
|
179
|
+
# Workspace Data Store contains Calendar data
|
180
|
+
GOOGLE_CALENDAR = 4
|
181
|
+
|
182
|
+
# Workspace Data Store contains Chat data
|
183
|
+
GOOGLE_CHAT = 5
|
184
|
+
|
185
|
+
# Workspace Data Store contains Groups data
|
186
|
+
GOOGLE_GROUPS = 6
|
187
|
+
|
188
|
+
# Workspace Data Store contains Keep data
|
189
|
+
GOOGLE_KEEP = 7
|
102
190
|
end
|
103
191
|
end
|
104
192
|
end
|
@@ -49,6 +49,16 @@ module Google
|
|
49
49
|
# If the data store is not configured as site
|
50
50
|
# search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will
|
51
51
|
# be ignored.
|
52
|
+
# @!attribute [rw] skip_default_schema_creation
|
53
|
+
# @return [::Boolean]
|
54
|
+
# A boolean flag indicating whether to skip the default schema creation for
|
55
|
+
# the data store. Only enable this flag if you are certain that the default
|
56
|
+
# schema is incompatible with your use case.
|
57
|
+
#
|
58
|
+
# If set to true, you must manually create a schema for the data store before
|
59
|
+
# any documents can be ingested.
|
60
|
+
#
|
61
|
+
# This flag cannot be specified if `data_store.starting_schema` is specified.
|
52
62
|
class CreateDataStoreRequest
|
53
63
|
include ::Google::Protobuf::MessageExts
|
54
64
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -73,6 +73,14 @@ module Google
|
|
73
73
|
#
|
74
74
|
# This field is OUTPUT_ONLY. If this field is not populated, it means the
|
75
75
|
# document has never been indexed.
|
76
|
+
# @!attribute [r] index_status
|
77
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Document::IndexStatus]
|
78
|
+
# Output only. The index status of the document.
|
79
|
+
#
|
80
|
+
# * If document is indexed successfully, the index_time field is populated.
|
81
|
+
# * Otherwise, if document is not indexed due to errors, the error_samples
|
82
|
+
# field is populated.
|
83
|
+
# * Otherwise, index_status is unset.
|
76
84
|
class Document
|
77
85
|
include ::Google::Protobuf::MessageExts
|
78
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,6 +116,20 @@ module Google
|
|
108
116
|
include ::Google::Protobuf::MessageExts
|
109
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
118
|
end
|
119
|
+
|
120
|
+
# Index status of the document.
|
121
|
+
# @!attribute [rw] index_time
|
122
|
+
# @return [::Google::Protobuf::Timestamp]
|
123
|
+
# The time when the document was indexed.
|
124
|
+
# If this field is populated, it means the document has been indexed.
|
125
|
+
# @!attribute [rw] error_samples
|
126
|
+
# @return [::Array<::Google::Rpc::Status>]
|
127
|
+
# A sample of errors encountered while indexing the document.
|
128
|
+
# If this field is populated, the document is not indexed due to errors.
|
129
|
+
class IndexStatus
|
130
|
+
include ::Google::Protobuf::MessageExts
|
131
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
|
+
end
|
111
133
|
end
|
112
134
|
end
|
113
135
|
end
|
@@ -22,11 +22,11 @@ module Google
|
|
22
22
|
module DiscoveryEngine
|
23
23
|
module V1
|
24
24
|
# A singleton resource of
|
25
|
-
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}.
|
26
|
-
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is created
|
27
|
-
#
|
28
|
-
#
|
29
|
-
# the
|
25
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}. If it's empty when
|
26
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is created and
|
27
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is set to
|
28
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig::CONTENT_REQUIRED DataStore.ContentConfig.CONTENT_REQUIRED},
|
29
|
+
# the default parser will default to digital parser.
|
30
30
|
# @!attribute [rw] name
|
31
31
|
# @return [::String]
|
32
32
|
# The full resource name of the Document Processing Config.
|
@@ -54,6 +54,10 @@ module Google
|
|
54
54
|
# layout parsing are supported.
|
55
55
|
# * `pptx`: Override parsing config for PPTX files, only digital parsing and
|
56
56
|
# layout parsing are supported.
|
57
|
+
# * `xlsm`: Override parsing config for XLSM files, only digital parsing and
|
58
|
+
# layout parsing are supported.
|
59
|
+
# * `xlsx`: Override parsing config for XLSX files, only digital parsing and
|
60
|
+
# layout parsing are supported.
|
57
61
|
class DocumentProcessingConfig
|
58
62
|
include ::Google::Protobuf::MessageExts
|
59
63
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -179,6 +179,126 @@ module Google
|
|
179
179
|
include ::Google::Protobuf::MessageExts
|
180
180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
181
181
|
end
|
182
|
+
|
183
|
+
# Request message for
|
184
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DocumentService::Client#batch_get_documents_metadata DocumentService.BatchGetDocumentsMetadata}
|
185
|
+
# method.
|
186
|
+
# @!attribute [rw] parent
|
187
|
+
# @return [::String]
|
188
|
+
# Required. The parent branch resource name, such as
|
189
|
+
# `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
|
190
|
+
# @!attribute [rw] matcher
|
191
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest::Matcher]
|
192
|
+
# Required. Matcher for the
|
193
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document}s.
|
194
|
+
class BatchGetDocumentsMetadataRequest
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
|
198
|
+
# Matcher for the {::Google::Cloud::DiscoveryEngine::V1::Document Document}s by
|
199
|
+
# exact uris.
|
200
|
+
# @!attribute [rw] uris
|
201
|
+
# @return [::Array<::String>]
|
202
|
+
# The exact URIs to match by.
|
203
|
+
class UrisMatcher
|
204
|
+
include ::Google::Protobuf::MessageExts
|
205
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
|
+
end
|
207
|
+
|
208
|
+
# Matcher for the {::Google::Cloud::DiscoveryEngine::V1::Document Document}s by
|
209
|
+
# FHIR resource names.
|
210
|
+
# @!attribute [rw] fhir_resources
|
211
|
+
# @return [::Array<::String>]
|
212
|
+
# Required. The FHIR resources to match by.
|
213
|
+
# Format:
|
214
|
+
# projects/\\{project}/locations/\\{location}/datasets/\\{dataset}/fhirStores/\\{fhir_store}/fhir/\\{resource_type}/\\{fhir_resource_id}
|
215
|
+
class FhirMatcher
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# Matcher for the {::Google::Cloud::DiscoveryEngine::V1::Document Document}s.
|
221
|
+
# Currently supports matching by exact URIs.
|
222
|
+
# @!attribute [rw] uris_matcher
|
223
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest::UrisMatcher]
|
224
|
+
# Matcher by exact URIs.
|
225
|
+
# @!attribute [rw] fhir_matcher
|
226
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest::FhirMatcher]
|
227
|
+
# Matcher by FHIR resource names.
|
228
|
+
class Matcher
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# Response message for
|
235
|
+
# {::Google::Cloud::DiscoveryEngine::V1::DocumentService::Client#batch_get_documents_metadata DocumentService.BatchGetDocumentsMetadata}
|
236
|
+
# method.
|
237
|
+
# @!attribute [rw] documents_metadata
|
238
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataResponse::DocumentMetadata>]
|
239
|
+
# The metadata of the {::Google::Cloud::DiscoveryEngine::V1::Document Document}s.
|
240
|
+
class BatchGetDocumentsMetadataResponse
|
241
|
+
include ::Google::Protobuf::MessageExts
|
242
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
243
|
+
|
244
|
+
# The metadata of a {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
245
|
+
# @!attribute [rw] matcher_value
|
246
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue]
|
247
|
+
# The value of the matcher that was used to match the
|
248
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
249
|
+
# @!attribute [rw] state
|
250
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataResponse::State]
|
251
|
+
# The state of the document.
|
252
|
+
# @!attribute [rw] last_refreshed_time
|
253
|
+
# @return [::Google::Protobuf::Timestamp]
|
254
|
+
# The timestamp of the last time the
|
255
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document} was last indexed.
|
256
|
+
# @!attribute [rw] data_ingestion_source
|
257
|
+
# @return [::String]
|
258
|
+
# The data ingestion source of the
|
259
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
260
|
+
#
|
261
|
+
# Allowed values are:
|
262
|
+
#
|
263
|
+
# * `batch`: Data ingested via Batch API, e.g., ImportDocuments.
|
264
|
+
# * `streaming` Data ingested via Streaming API, e.g., FHIR streaming.
|
265
|
+
class DocumentMetadata
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
|
269
|
+
# The value of the matcher that was used to match the
|
270
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
271
|
+
# @!attribute [rw] uri
|
272
|
+
# @return [::String]
|
273
|
+
# If match by URI, the URI of the
|
274
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
275
|
+
# @!attribute [rw] fhir_resource
|
276
|
+
# @return [::String]
|
277
|
+
# Required. Format:
|
278
|
+
# projects/\\{project}/locations/\\{location}/datasets/\\{dataset}/fhirStores/\\{fhir_store}/fhir/\\{resource_type}/\\{fhir_resource_id}
|
279
|
+
class MatcherValue
|
280
|
+
include ::Google::Protobuf::MessageExts
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# The state of the {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
|
286
|
+
module State
|
287
|
+
# Should never be set.
|
288
|
+
STATE_UNSPECIFIED = 0
|
289
|
+
|
290
|
+
# The {::Google::Cloud::DiscoveryEngine::V1::Document Document} is indexed.
|
291
|
+
INDEXED = 1
|
292
|
+
|
293
|
+
# The {::Google::Cloud::DiscoveryEngine::V1::Document Document} is not indexed
|
294
|
+
# because its URI is not in the
|
295
|
+
# {::Google::Cloud::DiscoveryEngine::V1::TargetSite TargetSite}.
|
296
|
+
NOT_IN_TARGET_SITE = 2
|
297
|
+
|
298
|
+
# The {::Google::Cloud::DiscoveryEngine::V1::Document Document} is not indexed.
|
299
|
+
NOT_IN_INDEX = 3
|
300
|
+
end
|
301
|
+
end
|
182
302
|
end
|
183
303
|
end
|
184
304
|
end
|
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
# characters.
|
48
48
|
#
|
49
49
|
# Format:
|
50
|
-
# `projects/{
|
50
|
+
# `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
|
51
51
|
# engine should be 1-63 characters, and valid characters are
|
52
52
|
# /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
53
53
|
# @!attribute [rw] display_name
|
@@ -93,6 +93,10 @@ module Google
|
|
93
93
|
# @!attribute [rw] common_config
|
94
94
|
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig]
|
95
95
|
# Common config spec that specifies the metadata of the engine.
|
96
|
+
# @!attribute [rw] disable_analytics
|
97
|
+
# @return [::Boolean]
|
98
|
+
# Optional. Whether to disable analytics for searches performed on this
|
99
|
+
# engine.
|
96
100
|
class Engine
|
97
101
|
include ::Google::Protobuf::MessageExts
|
98
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|