@google-cloud/discoveryengine 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/protos.d.ts +5387 -265
- package/build/protos/protos.js +77991 -63105
- package/build/protos/protos.json +1512 -91
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +8 -2
- package/build/src/v1/cmek_config_service_client.d.ts +2287 -0
- package/build/src/v1/cmek_config_service_client.js +3274 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +44 -0
- package/build/src/v1/completion_service_client.d.ts +90 -0
- package/build/src/v1/completion_service_client.js +134 -2
- package/build/src/v1/completion_service_proto_list.json +6 -1
- package/build/src/v1/control_service_client.d.ts +90 -0
- package/build/src/v1/control_service_client.js +150 -0
- package/build/src/v1/control_service_proto_list.json +6 -1
- package/build/src/v1/conversational_search_service_client.d.ts +90 -0
- package/build/src/v1/conversational_search_service_client.js +192 -0
- package/build/src/v1/conversational_search_service_proto_list.json +6 -1
- package/build/src/v1/data_store_service_client.d.ts +96 -0
- package/build/src/v1/data_store_service_client.js +140 -2
- package/build/src/v1/data_store_service_proto_list.json +6 -1
- package/build/src/v1/document_service_client.d.ts +90 -0
- package/build/src/v1/document_service_client.js +158 -2
- package/build/src/v1/document_service_proto_list.json +6 -1
- package/build/src/v1/engine_service_client.d.ts +90 -0
- package/build/src/v1/engine_service_client.js +140 -2
- package/build/src/v1/engine_service_proto_list.json +6 -1
- package/build/src/v1/gapic_metadata.json +184 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +90 -0
- package/build/src/v1/grounded_generation_service_client.js +138 -0
- package/build/src/v1/grounded_generation_service_proto_list.json +6 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2470 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3449 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +44 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/project_service_client.d.ts +90 -0
- package/build/src/v1/project_service_client.js +128 -2
- package/build/src/v1/project_service_proto_list.json +6 -1
- package/build/src/v1/rank_service_client.d.ts +90 -0
- package/build/src/v1/rank_service_client.js +132 -0
- package/build/src/v1/rank_service_proto_list.json +6 -1
- package/build/src/v1/recommendation_service_client.d.ts +90 -0
- package/build/src/v1/recommendation_service_client.js +132 -0
- package/build/src/v1/recommendation_service_proto_list.json +6 -1
- package/build/src/v1/schema_service_client.d.ts +90 -0
- package/build/src/v1/schema_service_client.js +134 -2
- package/build/src/v1/schema_service_proto_list.json +6 -1
- package/build/src/v1/search_service_client.d.ts +90 -0
- package/build/src/v1/search_service_client.js +126 -0
- package/build/src/v1/search_service_proto_list.json +6 -1
- package/build/src/v1/search_tuning_service_client.d.ts +90 -0
- package/build/src/v1/search_tuning_service_client.js +134 -2
- package/build/src/v1/search_tuning_service_proto_list.json +6 -1
- package/build/src/v1/serving_config_service_client.d.ts +90 -0
- package/build/src/v1/serving_config_service_client.js +132 -0
- package/build/src/v1/serving_config_service_proto_list.json +6 -1
- package/build/src/v1/site_search_engine_service_client.d.ts +90 -0
- package/build/src/v1/site_search_engine_service_client.js +146 -2
- package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
- package/build/src/v1/user_event_service_client.d.ts +90 -0
- package/build/src/v1/user_event_service_client.js +140 -2
- package/build/src/v1/user_event_service_proto_list.json +6 -1
- package/build/src/v1/user_license_service_client.d.ts +2256 -0
- package/build/src/v1/user_license_service_client.js +3194 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +44 -0
- package/build/src/v1alpha/acl_config_service_client.js +12 -0
- package/build/src/v1alpha/chunk_service_client.js +6 -0
- package/build/src/v1alpha/completion_service_client.js +7 -1
- package/build/src/v1alpha/control_service_client.js +24 -0
- package/build/src/v1alpha/conversational_search_service_client.js +66 -0
- package/build/src/v1alpha/data_store_service_client.js +25 -1
- package/build/src/v1alpha/document_service_client.js +37 -1
- package/build/src/v1alpha/engine_service_client.js +25 -1
- package/build/src/v1alpha/estimate_billing_service_client.js +1 -1
- package/build/src/v1alpha/evaluation_service_client.js +7 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +6 -0
- package/build/src/v1alpha/project_service_client.js +13 -1
- package/build/src/v1alpha/rank_service_client.js +6 -0
- package/build/src/v1alpha/recommendation_service_client.js +6 -0
- package/build/src/v1alpha/sample_query_service_client.js +25 -1
- package/build/src/v1alpha/sample_query_set_service_client.js +24 -0
- package/build/src/v1alpha/schema_service_client.js +7 -1
- package/build/src/v1alpha/search_tuning_service_client.js +7 -1
- package/build/src/v1alpha/serving_config_service_client.js +12 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +19 -1
- package/build/src/v1alpha/user_event_service_client.js +13 -1
- package/build/src/v1beta/completion_service_client.js +13 -1
- package/build/src/v1beta/control_service_client.js +24 -0
- package/build/src/v1beta/conversational_search_service_client.js +66 -0
- package/build/src/v1beta/data_store_service_client.js +13 -1
- package/build/src/v1beta/document_service_client.js +31 -1
- package/build/src/v1beta/engine_service_client.js +25 -1
- package/build/src/v1beta/evaluation_service_client.js +7 -1
- package/build/src/v1beta/grounded_generation_service_client.js +12 -0
- package/build/src/v1beta/project_service_client.js +1 -1
- package/build/src/v1beta/rank_service_client.js +6 -0
- package/build/src/v1beta/recommendation_service_client.js +6 -0
- package/build/src/v1beta/sample_query_service_client.js +25 -1
- package/build/src/v1beta/sample_query_set_service_client.js +24 -0
- package/build/src/v1beta/schema_service_client.js +7 -1
- package/build/src/v1beta/search_tuning_service_client.js +7 -1
- package/build/src/v1beta/serving_config_service_client.js +12 -0
- package/build/src/v1beta/site_search_engine_service_client.js +19 -1
- package/build/src/v1beta/user_event_service_client.js +13 -1
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -0,0 +1,375 @@
|
|
1
|
+
// Copyright 2025 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.cloud.discoveryengine.v1;
|
18
|
+
|
19
|
+
import "google/api/annotations.proto";
|
20
|
+
import "google/api/client.proto";
|
21
|
+
import "google/api/field_behavior.proto";
|
22
|
+
import "google/api/resource.proto";
|
23
|
+
import "google/cloud/discoveryengine/v1/identity_mapping_store.proto";
|
24
|
+
import "google/longrunning/operations.proto";
|
25
|
+
import "google/protobuf/empty.proto";
|
26
|
+
import "google/protobuf/timestamp.proto";
|
27
|
+
import "google/rpc/status.proto";
|
28
|
+
|
29
|
+
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1";
|
30
|
+
option go_package = "cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb";
|
31
|
+
option java_multiple_files = true;
|
32
|
+
option java_outer_classname = "IdentityMappingStoreServiceProto";
|
33
|
+
option java_package = "com.google.cloud.discoveryengine.v1";
|
34
|
+
option objc_class_prefix = "DISCOVERYENGINE";
|
35
|
+
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1";
|
36
|
+
option ruby_package = "Google::Cloud::DiscoveryEngine::V1";
|
37
|
+
|
38
|
+
// Service for managing Identity Mapping Stores.
|
39
|
+
service IdentityMappingStoreService {
|
40
|
+
option (google.api.default_host) = "discoveryengine.googleapis.com";
|
41
|
+
option (google.api.oauth_scopes) =
|
42
|
+
"https://www.googleapis.com/auth/cloud-platform";
|
43
|
+
|
44
|
+
// Creates a new Identity Mapping Store.
|
45
|
+
rpc CreateIdentityMappingStore(CreateIdentityMappingStoreRequest)
|
46
|
+
returns (IdentityMappingStore) {
|
47
|
+
option (google.api.http) = {
|
48
|
+
post: "/v1/{parent=projects/*/locations/*}/identityMappingStores"
|
49
|
+
body: "identity_mapping_store"
|
50
|
+
};
|
51
|
+
option (google.api.method_signature) =
|
52
|
+
"parent,identity_mapping_store,identity_mapping_store_id";
|
53
|
+
}
|
54
|
+
|
55
|
+
// Gets the Identity Mapping Store.
|
56
|
+
rpc GetIdentityMappingStore(GetIdentityMappingStoreRequest)
|
57
|
+
returns (IdentityMappingStore) {
|
58
|
+
option (google.api.http) = {
|
59
|
+
get: "/v1/{name=projects/*/locations/*/identityMappingStores/*}"
|
60
|
+
};
|
61
|
+
option (google.api.method_signature) = "name";
|
62
|
+
}
|
63
|
+
|
64
|
+
// Deletes the Identity Mapping Store.
|
65
|
+
rpc DeleteIdentityMappingStore(DeleteIdentityMappingStoreRequest)
|
66
|
+
returns (google.longrunning.Operation) {
|
67
|
+
option (google.api.http) = {
|
68
|
+
delete: "/v1/{name=projects/*/locations/*/identityMappingStores/*}"
|
69
|
+
};
|
70
|
+
option (google.api.method_signature) = "name";
|
71
|
+
option (google.longrunning.operation_info) = {
|
72
|
+
response_type: "google.protobuf.Empty"
|
73
|
+
metadata_type: "google.cloud.discoveryengine.v1.DeleteIdentityMappingStoreMetadata"
|
74
|
+
};
|
75
|
+
}
|
76
|
+
|
77
|
+
// Imports a list of Identity Mapping Entries to an Identity Mapping Store.
|
78
|
+
rpc ImportIdentityMappings(ImportIdentityMappingsRequest)
|
79
|
+
returns (google.longrunning.Operation) {
|
80
|
+
option (google.api.http) = {
|
81
|
+
post: "/v1/{identity_mapping_store=projects/*/locations/*/identityMappingStores/*}:importIdentityMappings"
|
82
|
+
body: "*"
|
83
|
+
};
|
84
|
+
option (google.longrunning.operation_info) = {
|
85
|
+
response_type: "google.cloud.discoveryengine.v1.ImportIdentityMappingsResponse"
|
86
|
+
metadata_type: "google.cloud.discoveryengine.v1.IdentityMappingEntryOperationMetadata"
|
87
|
+
};
|
88
|
+
}
|
89
|
+
|
90
|
+
// Purges specified or all Identity Mapping Entries from an Identity Mapping
|
91
|
+
// Store.
|
92
|
+
rpc PurgeIdentityMappings(PurgeIdentityMappingsRequest)
|
93
|
+
returns (google.longrunning.Operation) {
|
94
|
+
option (google.api.http) = {
|
95
|
+
post: "/v1/{identity_mapping_store=projects/*/locations/*/identityMappingStores/*}:purgeIdentityMappings"
|
96
|
+
body: "*"
|
97
|
+
};
|
98
|
+
option (google.longrunning.operation_info) = {
|
99
|
+
response_type: "google.protobuf.Empty"
|
100
|
+
metadata_type: "google.cloud.discoveryengine.v1.IdentityMappingEntryOperationMetadata"
|
101
|
+
};
|
102
|
+
}
|
103
|
+
|
104
|
+
// Lists Identity Mappings in an Identity Mapping Store.
|
105
|
+
rpc ListIdentityMappings(ListIdentityMappingsRequest)
|
106
|
+
returns (ListIdentityMappingsResponse) {
|
107
|
+
option (google.api.http) = {
|
108
|
+
get: "/v1/{identity_mapping_store=projects/*/locations/*/identityMappingStores/*}:listIdentityMappings"
|
109
|
+
};
|
110
|
+
}
|
111
|
+
|
112
|
+
// Lists all Identity Mapping Stores.
|
113
|
+
rpc ListIdentityMappingStores(ListIdentityMappingStoresRequest)
|
114
|
+
returns (ListIdentityMappingStoresResponse) {
|
115
|
+
option (google.api.http) = {
|
116
|
+
get: "/v1/{parent=projects/*/locations/*}/identityMappingStores"
|
117
|
+
};
|
118
|
+
option (google.api.method_signature) = "parent";
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
// Request message for
|
123
|
+
// [IdentityMappingStoreService.CreateIdentityMappingStore][google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore]
|
124
|
+
message CreateIdentityMappingStoreRequest {
|
125
|
+
// CMEK options for the Identity Mapping Store. Setting this field will
|
126
|
+
// override the default CmekConfig if one is set for the project.
|
127
|
+
oneof cmek_options {
|
128
|
+
// Resource name of the CmekConfig to use for protecting this Identity
|
129
|
+
// Mapping Store.
|
130
|
+
string cmek_config_name = 5 [(google.api.resource_reference) = {
|
131
|
+
type: "discoveryengine.googleapis.com/CmekConfig"
|
132
|
+
}];
|
133
|
+
|
134
|
+
// Identity Mapping Store without CMEK protections. If a default CmekConfig
|
135
|
+
// is set for the project, setting this field will override the default
|
136
|
+
// CmekConfig as well.
|
137
|
+
bool disable_cmek = 6;
|
138
|
+
}
|
139
|
+
|
140
|
+
// Required. The parent collection resource name, such as
|
141
|
+
// `projects/{project}/locations/{location}`.
|
142
|
+
string parent = 1 [
|
143
|
+
(google.api.field_behavior) = REQUIRED,
|
144
|
+
(google.api.resource_reference) = {
|
145
|
+
type: "discoveryengine.googleapis.com/Location"
|
146
|
+
}
|
147
|
+
];
|
148
|
+
|
149
|
+
// Required. The ID of the Identity Mapping Store to create.
|
150
|
+
//
|
151
|
+
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
152
|
+
// (_), and hyphens (-). The maximum length is 63 characters.
|
153
|
+
string identity_mapping_store_id = 2 [(google.api.field_behavior) = REQUIRED];
|
154
|
+
|
155
|
+
// Required. The Identity Mapping Store to create.
|
156
|
+
IdentityMappingStore identity_mapping_store = 3
|
157
|
+
[(google.api.field_behavior) = REQUIRED];
|
158
|
+
}
|
159
|
+
|
160
|
+
// Request message for
|
161
|
+
// [IdentityMappingStoreService.GetIdentityMappingStore][google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore]
|
162
|
+
message GetIdentityMappingStoreRequest {
|
163
|
+
// Required. The name of the Identity Mapping Store to get.
|
164
|
+
// Format:
|
165
|
+
// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
166
|
+
string name = 1 [
|
167
|
+
(google.api.field_behavior) = REQUIRED,
|
168
|
+
(google.api.resource_reference) = {
|
169
|
+
type: "discoveryengine.googleapis.com/IdentityMappingStore"
|
170
|
+
}
|
171
|
+
];
|
172
|
+
}
|
173
|
+
|
174
|
+
// Request message for
|
175
|
+
// [IdentityMappingStoreService.DeleteIdentityMappingStore][google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore]
|
176
|
+
message DeleteIdentityMappingStoreRequest {
|
177
|
+
// Required. The name of the Identity Mapping Store to delete.
|
178
|
+
// Format:
|
179
|
+
// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
180
|
+
string name = 1 [
|
181
|
+
(google.api.field_behavior) = REQUIRED,
|
182
|
+
(google.api.resource_reference) = {
|
183
|
+
type: "discoveryengine.googleapis.com/IdentityMappingStore"
|
184
|
+
}
|
185
|
+
];
|
186
|
+
}
|
187
|
+
|
188
|
+
// Request message for
|
189
|
+
// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings]
|
190
|
+
message ImportIdentityMappingsRequest {
|
191
|
+
// The inline source to import identity mapping entries from.
|
192
|
+
message InlineSource {
|
193
|
+
// A maximum of 10000 entries can be imported at one time
|
194
|
+
repeated IdentityMappingEntry identity_mapping_entries = 1;
|
195
|
+
}
|
196
|
+
|
197
|
+
// The source of the input.
|
198
|
+
oneof source {
|
199
|
+
// The inline source to import identity mapping entries from.
|
200
|
+
InlineSource inline_source = 2;
|
201
|
+
}
|
202
|
+
|
203
|
+
// Required. The name of the Identity Mapping Store to import Identity Mapping
|
204
|
+
// Entries to. Format:
|
205
|
+
// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
206
|
+
string identity_mapping_store = 1 [
|
207
|
+
(google.api.field_behavior) = REQUIRED,
|
208
|
+
(google.api.resource_reference) = {
|
209
|
+
type: "discoveryengine.googleapis.com/IdentityMappingStore"
|
210
|
+
}
|
211
|
+
];
|
212
|
+
}
|
213
|
+
|
214
|
+
// Response message for
|
215
|
+
// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings]
|
216
|
+
message ImportIdentityMappingsResponse {
|
217
|
+
// A sample of errors encountered while processing the request.
|
218
|
+
repeated google.rpc.Status error_samples = 1;
|
219
|
+
}
|
220
|
+
|
221
|
+
// Request message for
|
222
|
+
// [IdentityMappingStoreService.PurgeIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings]
|
223
|
+
message PurgeIdentityMappingsRequest {
|
224
|
+
// The inline source to purge identity mapping entries from.
|
225
|
+
message InlineSource {
|
226
|
+
// A maximum of 10000 entries can be purged at one time
|
227
|
+
repeated IdentityMappingEntry identity_mapping_entries = 1;
|
228
|
+
}
|
229
|
+
|
230
|
+
// The source of the input.
|
231
|
+
oneof source {
|
232
|
+
// The inline source to purge identity mapping entries from.
|
233
|
+
InlineSource inline_source = 2;
|
234
|
+
}
|
235
|
+
|
236
|
+
// Required. The name of the Identity Mapping Store to purge Identity Mapping
|
237
|
+
// Entries from. Format:
|
238
|
+
// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
239
|
+
string identity_mapping_store = 1 [
|
240
|
+
(google.api.field_behavior) = REQUIRED,
|
241
|
+
(google.api.resource_reference) = {
|
242
|
+
type: "discoveryengine.googleapis.com/IdentityMappingStore"
|
243
|
+
}
|
244
|
+
];
|
245
|
+
|
246
|
+
// Filter matching identity mappings to purge.
|
247
|
+
// The eligible field for filtering is:
|
248
|
+
// * `update_time`: in ISO 8601 "zulu" format.
|
249
|
+
// * `external_id`
|
250
|
+
//
|
251
|
+
// Examples:
|
252
|
+
//
|
253
|
+
// * Deleting all identity mappings updated in a time range:
|
254
|
+
// `update_time > "2012-04-23T18:25:43.511Z" AND update_time <
|
255
|
+
// "2012-04-23T18:30:43.511Z"`
|
256
|
+
// * Deleting all identity mappings for a given external_id:
|
257
|
+
// `external_id = "id1"`
|
258
|
+
// * Deleting all identity mappings inside an identity mapping store:
|
259
|
+
// `*`
|
260
|
+
//
|
261
|
+
// The filtering fields are assumed to have an implicit AND.
|
262
|
+
// Should not be used with source. An error will be thrown, if both are
|
263
|
+
// provided.
|
264
|
+
string filter = 3;
|
265
|
+
|
266
|
+
// Actually performs the purge. If `force` is set to false, return the
|
267
|
+
// expected purge count without deleting any identity mappings. This field is
|
268
|
+
// only supported for purge with filter. For input source this field is
|
269
|
+
// ignored and data will be purged regardless of the value of this field.
|
270
|
+
optional bool force = 4;
|
271
|
+
}
|
272
|
+
|
273
|
+
// Request message for
|
274
|
+
// [IdentityMappingStoreService.ListIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings]
|
275
|
+
message ListIdentityMappingsRequest {
|
276
|
+
// Required. The name of the Identity Mapping Store to list Identity Mapping
|
277
|
+
// Entries in. Format:
|
278
|
+
// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
279
|
+
string identity_mapping_store = 1 [
|
280
|
+
(google.api.field_behavior) = REQUIRED,
|
281
|
+
(google.api.resource_reference) = {
|
282
|
+
type: "discoveryengine.googleapis.com/IdentityMappingStore"
|
283
|
+
}
|
284
|
+
];
|
285
|
+
|
286
|
+
// Maximum number of IdentityMappings to return. If unspecified, defaults
|
287
|
+
// to 2000. The maximum allowed value is 10000. Values above 10000 will be
|
288
|
+
// coerced to 10000.
|
289
|
+
int32 page_size = 2;
|
290
|
+
|
291
|
+
// A page token, received from a previous `ListIdentityMappings` call.
|
292
|
+
// Provide this to retrieve the subsequent page.
|
293
|
+
//
|
294
|
+
// When paginating, all other parameters provided to
|
295
|
+
// `ListIdentityMappings` must match the call that provided the page
|
296
|
+
// token.
|
297
|
+
string page_token = 3;
|
298
|
+
}
|
299
|
+
|
300
|
+
// Response message for
|
301
|
+
// [IdentityMappingStoreService.ListIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings]
|
302
|
+
message ListIdentityMappingsResponse {
|
303
|
+
// The Identity Mapping Entries.
|
304
|
+
repeated IdentityMappingEntry identity_mapping_entries = 1;
|
305
|
+
|
306
|
+
// A token that can be sent as `page_token` to retrieve the next page. If this
|
307
|
+
// field is omitted, there are no subsequent pages.
|
308
|
+
string next_page_token = 2;
|
309
|
+
}
|
310
|
+
|
311
|
+
// Request message for
|
312
|
+
// [IdentityMappingStoreService.ListIdentityMappingStores][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores]
|
313
|
+
message ListIdentityMappingStoresRequest {
|
314
|
+
// Required. The parent of the Identity Mapping Stores to list.
|
315
|
+
// Format:
|
316
|
+
// `projects/{project}/locations/{location}`.
|
317
|
+
string parent = 1 [
|
318
|
+
(google.api.field_behavior) = REQUIRED,
|
319
|
+
(google.api.resource_reference) = {
|
320
|
+
type: "discoveryengine.googleapis.com/Location"
|
321
|
+
}
|
322
|
+
];
|
323
|
+
|
324
|
+
// Maximum number of IdentityMappingStores to return. If unspecified, defaults
|
325
|
+
// to 100. The maximum allowed value is 1000. Values above 1000 will be
|
326
|
+
// coerced to 1000.
|
327
|
+
int32 page_size = 2;
|
328
|
+
|
329
|
+
// A page token, received from a previous `ListIdentityMappingStores` call.
|
330
|
+
// Provide this to retrieve the subsequent page.
|
331
|
+
//
|
332
|
+
// When paginating, all other parameters provided to
|
333
|
+
// `ListIdentityMappingStores` must match the call that provided the page
|
334
|
+
// token.
|
335
|
+
string page_token = 3;
|
336
|
+
}
|
337
|
+
|
338
|
+
// Response message for
|
339
|
+
// [IdentityMappingStoreService.ListIdentityMappingStores][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores]
|
340
|
+
message ListIdentityMappingStoresResponse {
|
341
|
+
// The Identity Mapping Stores.
|
342
|
+
repeated IdentityMappingStore identity_mapping_stores = 1;
|
343
|
+
|
344
|
+
// A token that can be sent as `page_token` to retrieve the next page. If this
|
345
|
+
// field is omitted, there are no subsequent pages.
|
346
|
+
string next_page_token = 2;
|
347
|
+
}
|
348
|
+
|
349
|
+
// IdentityMappingEntry LongRunningOperation metadata for
|
350
|
+
// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings]
|
351
|
+
// and
|
352
|
+
// [IdentityMappingStoreService.PurgeIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings]
|
353
|
+
message IdentityMappingEntryOperationMetadata {
|
354
|
+
// The number of IdentityMappingEntries that were successfully processed.
|
355
|
+
int64 success_count = 1;
|
356
|
+
|
357
|
+
// The number of IdentityMappingEntries that failed to be processed.
|
358
|
+
int64 failure_count = 2;
|
359
|
+
|
360
|
+
// The total number of IdentityMappingEntries that were processed.
|
361
|
+
int64 total_count = 3;
|
362
|
+
}
|
363
|
+
|
364
|
+
// Metadata related to the progress of the
|
365
|
+
// [IdentityMappingStoreService.DeleteIdentityMappingStore][google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore]
|
366
|
+
// operation. This will be returned by the google.longrunning.Operation.metadata
|
367
|
+
// field.
|
368
|
+
message DeleteIdentityMappingStoreMetadata {
|
369
|
+
// Operation create time.
|
370
|
+
google.protobuf.Timestamp create_time = 1;
|
371
|
+
|
372
|
+
// Operation last update time. If the operation is done, this is also the
|
373
|
+
// finish time.
|
374
|
+
google.protobuf.Timestamp update_time = 2;
|
375
|
+
}
|
@@ -121,6 +121,12 @@ message SearchRequest {
|
|
121
121
|
// For more information on boosting, see
|
122
122
|
// [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
123
123
|
BoostSpec boost_spec = 6 [(google.api.field_behavior) = OPTIONAL];
|
124
|
+
|
125
|
+
// Optional. Custom search operators which if specified will be used to
|
126
|
+
// filter results from workspace data stores. For more information on custom
|
127
|
+
// search operators, see
|
128
|
+
// [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).
|
129
|
+
string custom_search_operators = 7 [(google.api.field_behavior) = OPTIONAL];
|
124
130
|
}
|
125
131
|
|
126
132
|
// A facet specification to perform faceted search.
|
@@ -100,6 +100,12 @@ message TargetSite {
|
|
100
100
|
// 1. target site deleted if unindexing is successful;
|
101
101
|
// 2. state reverts to SUCCEEDED if the unindexing fails.
|
102
102
|
DELETING = 4;
|
103
|
+
|
104
|
+
// The target site change is pending but cancellable.
|
105
|
+
CANCELLABLE = 5;
|
106
|
+
|
107
|
+
// The target site change is cancelled.
|
108
|
+
CANCELLED = 6;
|
103
109
|
}
|
104
110
|
|
105
111
|
// Output only. The fully qualified resource name of the target site.
|
@@ -0,0 +1,98 @@
|
|
1
|
+
// Copyright 2025 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.cloud.discoveryengine.v1;
|
18
|
+
|
19
|
+
import "google/api/field_behavior.proto";
|
20
|
+
import "google/api/resource.proto";
|
21
|
+
import "google/protobuf/timestamp.proto";
|
22
|
+
|
23
|
+
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1";
|
24
|
+
option go_package = "cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb";
|
25
|
+
option java_multiple_files = true;
|
26
|
+
option java_outer_classname = "UserLicenseProto";
|
27
|
+
option java_package = "com.google.cloud.discoveryengine.v1";
|
28
|
+
option objc_class_prefix = "DISCOVERYENGINE";
|
29
|
+
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1";
|
30
|
+
option ruby_package = "Google::Cloud::DiscoveryEngine::V1";
|
31
|
+
|
32
|
+
// User License information assigned by the admin.
|
33
|
+
message UserLicense {
|
34
|
+
// License assignment state enumeration.
|
35
|
+
enum LicenseAssignmentState {
|
36
|
+
// Default value.
|
37
|
+
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;
|
38
|
+
|
39
|
+
// License assigned to the user.
|
40
|
+
ASSIGNED = 1;
|
41
|
+
|
42
|
+
// No license assigned to the user.
|
43
|
+
// Deprecated, translated to NO_LICENSE.
|
44
|
+
UNASSIGNED = 2;
|
45
|
+
|
46
|
+
// No license assigned to the user.
|
47
|
+
NO_LICENSE = 3;
|
48
|
+
|
49
|
+
// User attempted to login but no license assigned to the user.
|
50
|
+
// This state is only used for no user first time login attempt but cannot
|
51
|
+
// get license assigned.
|
52
|
+
// Users already logged in but cannot get license assigned will be assigned
|
53
|
+
// NO_LICENSE state(License could be unassigned by admin).
|
54
|
+
NO_LICENSE_ATTEMPTED_LOGIN = 4;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Required. Immutable. The user principal of the User, could be email address
|
58
|
+
// or other prinical identifier. This field is immutable. Admin assign
|
59
|
+
// licenses based on the user principal.
|
60
|
+
string user_principal = 1 [
|
61
|
+
(google.api.field_behavior) = IMMUTABLE,
|
62
|
+
(google.api.field_behavior) = REQUIRED
|
63
|
+
];
|
64
|
+
|
65
|
+
// Optional. The user profile.
|
66
|
+
// We user user full name(First name + Last name) as user profile.
|
67
|
+
string user_profile = 3 [(google.api.field_behavior) = OPTIONAL];
|
68
|
+
|
69
|
+
// Output only. License assignment state of the user.
|
70
|
+
// If the user is assigned with a license config, the user loggin will be
|
71
|
+
// assigned with the license;
|
72
|
+
// If the user's license assignment state is unassigned or unspecified, no
|
73
|
+
// license config will be associated to the user;
|
74
|
+
LicenseAssignmentState license_assignment_state = 4
|
75
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
76
|
+
|
77
|
+
// Optional. The full resource name of the Subscription(LicenseConfig)
|
78
|
+
// assigned to the user.
|
79
|
+
string license_config = 5 [
|
80
|
+
(google.api.field_behavior) = OPTIONAL,
|
81
|
+
(google.api.resource_reference) = {
|
82
|
+
type: "discoveryengine.googleapis.com/LicenseConfig"
|
83
|
+
}
|
84
|
+
];
|
85
|
+
|
86
|
+
// Output only. User created timestamp.
|
87
|
+
google.protobuf.Timestamp create_time = 6
|
88
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
89
|
+
|
90
|
+
// Output only. User update timestamp.
|
91
|
+
google.protobuf.Timestamp update_time = 7
|
92
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
93
|
+
|
94
|
+
// Output only. User last logged in time.
|
95
|
+
// If the user has not logged in yet, this field will be empty.
|
96
|
+
google.protobuf.Timestamp last_login_time = 8
|
97
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
98
|
+
}
|