@google-cloud/discoveryengine 2.1.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.
Files changed (172) hide show
  1. package/README.md +13 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +3 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  11. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  13. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  16. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +6 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  21. package/build/protos/protos.d.ts +5415 -578
  22. package/build/protos/protos.js +77830 -63391
  23. package/build/protos/protos.json +1537 -92
  24. package/build/src/index.d.ts +10 -1
  25. package/build/src/index.js +8 -22
  26. package/build/src/v1/cmek_config_service_client.d.ts +2287 -0
  27. package/build/src/v1/cmek_config_service_client.js +3274 -0
  28. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  29. package/build/src/v1/cmek_config_service_proto_list.json +44 -0
  30. package/build/src/v1/completion_service_client.d.ts +166 -76
  31. package/build/src/v1/completion_service_client.js +258 -263
  32. package/build/src/v1/completion_service_proto_list.json +6 -1
  33. package/build/src/v1/control_service_client.d.ts +171 -81
  34. package/build/src/v1/control_service_client.js +246 -132
  35. package/build/src/v1/control_service_proto_list.json +6 -1
  36. package/build/src/v1/conversational_search_service_client.d.ts +233 -143
  37. package/build/src/v1/conversational_search_service_client.js +330 -226
  38. package/build/src/v1/conversational_search_service_proto_list.json +6 -1
  39. package/build/src/v1/data_store_service_client.d.ts +218 -122
  40. package/build/src/v1/data_store_service_client.js +273 -281
  41. package/build/src/v1/data_store_service_proto_list.json +6 -1
  42. package/build/src/v1/document_service_client.d.ts +210 -120
  43. package/build/src/v1/document_service_client.js +300 -301
  44. package/build/src/v1/document_service_proto_list.json +6 -1
  45. package/build/src/v1/engine_service_client.d.ts +193 -103
  46. package/build/src/v1/engine_service_client.js +273 -280
  47. package/build/src/v1/engine_service_proto_list.json +6 -1
  48. package/build/src/v1/gapic_metadata.json +184 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +138 -48
  50. package/build/src/v1/grounded_generation_service_client.js +217 -100
  51. package/build/src/v1/grounded_generation_service_proto_list.json +6 -1
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +2470 -0
  53. package/build/src/v1/identity_mapping_store_service_client.js +3449 -0
  54. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  55. package/build/src/v1/identity_mapping_store_service_proto_list.json +44 -0
  56. package/build/src/v1/index.d.ts +3 -0
  57. package/build/src/v1/index.js +7 -1
  58. package/build/src/v1/project_service_client.d.ts +166 -76
  59. package/build/src/v1/project_service_client.js +235 -223
  60. package/build/src/v1/project_service_proto_list.json +6 -1
  61. package/build/src/v1/rank_service_client.d.ts +137 -47
  62. package/build/src/v1/rank_service_client.js +204 -85
  63. package/build/src/v1/rank_service_proto_list.json +6 -1
  64. package/build/src/v1/recommendation_service_client.d.ts +137 -47
  65. package/build/src/v1/recommendation_service_client.js +202 -82
  66. package/build/src/v1/recommendation_service_proto_list.json +6 -1
  67. package/build/src/v1/schema_service_client.d.ts +201 -111
  68. package/build/src/v1/schema_service_client.js +264 -274
  69. package/build/src/v1/schema_service_proto_list.json +6 -1
  70. package/build/src/v1/search_service_client.d.ts +661 -571
  71. package/build/src/v1/search_service_client.js +216 -113
  72. package/build/src/v1/search_service_proto_list.json +6 -1
  73. package/build/src/v1/search_tuning_service_client.d.ts +167 -77
  74. package/build/src/v1/search_tuning_service_client.js +246 -236
  75. package/build/src/v1/search_tuning_service_proto_list.json +6 -1
  76. package/build/src/v1/serving_config_service_client.d.ts +138 -48
  77. package/build/src/v1/serving_config_service_client.js +201 -80
  78. package/build/src/v1/serving_config_service_proto_list.json +6 -1
  79. package/build/src/v1/site_search_engine_service_client.d.ts +238 -148
  80. package/build/src/v1/site_search_engine_service_client.js +324 -379
  81. package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
  82. package/build/src/v1/user_event_service_client.d.ts +167 -77
  83. package/build/src/v1/user_event_service_client.js +260 -254
  84. package/build/src/v1/user_event_service_proto_list.json +6 -1
  85. package/build/src/v1/user_license_service_client.d.ts +2256 -0
  86. package/build/src/v1/user_license_service_client.js +3194 -0
  87. package/build/src/v1/user_license_service_client_config.json +34 -0
  88. package/build/src/v1/user_license_service_proto_list.json +44 -0
  89. package/build/src/v1alpha/acl_config_service_client.d.ts +49 -49
  90. package/build/src/v1alpha/acl_config_service_client.js +94 -106
  91. package/build/src/v1alpha/chunk_service_client.d.ts +88 -88
  92. package/build/src/v1alpha/chunk_service_client.js +98 -120
  93. package/build/src/v1alpha/completion_service_client.d.ts +77 -77
  94. package/build/src/v1alpha/completion_service_client.js +141 -281
  95. package/build/src/v1alpha/control_service_client.d.ts +85 -85
  96. package/build/src/v1alpha/control_service_client.js +129 -151
  97. package/build/src/v1alpha/conversational_search_service_client.d.ts +143 -143
  98. package/build/src/v1alpha/conversational_search_service_client.js +211 -237
  99. package/build/src/v1alpha/data_store_service_client.d.ts +126 -126
  100. package/build/src/v1alpha/data_store_service_client.js +176 -317
  101. package/build/src/v1alpha/document_service_client.d.ts +126 -126
  102. package/build/src/v1alpha/document_service_client.js +193 -329
  103. package/build/src/v1alpha/engine_service_client.d.ts +106 -106
  104. package/build/src/v1alpha/engine_service_client.js +180 -326
  105. package/build/src/v1alpha/estimate_billing_service_client.d.ts +76 -76
  106. package/build/src/v1alpha/estimate_billing_service_client.js +119 -244
  107. package/build/src/v1alpha/evaluation_service_client.d.ts +161 -161
  108. package/build/src/v1alpha/evaluation_service_client.js +150 -296
  109. package/build/src/v1alpha/grounded_generation_service_client.d.ts +48 -48
  110. package/build/src/v1alpha/grounded_generation_service_client.js +85 -100
  111. package/build/src/v1alpha/project_service_client.d.ts +78 -78
  112. package/build/src/v1alpha/project_service_client.js +139 -263
  113. package/build/src/v1alpha/rank_service_client.d.ts +47 -47
  114. package/build/src/v1alpha/rank_service_client.js +87 -104
  115. package/build/src/v1alpha/recommendation_service_client.d.ts +47 -47
  116. package/build/src/v1alpha/recommendation_service_client.js +85 -100
  117. package/build/src/v1alpha/sample_query_service_client.d.ts +123 -123
  118. package/build/src/v1alpha/sample_query_service_client.js +169 -302
  119. package/build/src/v1alpha/sample_query_set_service_client.d.ts +94 -94
  120. package/build/src/v1alpha/sample_query_set_service_client.js +130 -153
  121. package/build/src/v1alpha/schema_service_client.d.ts +112 -112
  122. package/build/src/v1alpha/schema_service_client.js +147 -293
  123. package/build/src/v1alpha/search_service_client.d.ts +327 -327
  124. package/build/src/v1alpha/search_service_client.js +88 -112
  125. package/build/src/v1alpha/search_tuning_service_client.d.ts +77 -77
  126. package/build/src/v1alpha/search_tuning_service_client.js +129 -254
  127. package/build/src/v1alpha/serving_config_service_client.d.ts +75 -75
  128. package/build/src/v1alpha/serving_config_service_client.js +109 -133
  129. package/build/src/v1alpha/site_search_engine_service_client.d.ts +151 -151
  130. package/build/src/v1alpha/site_search_engine_service_client.js +203 -388
  131. package/build/src/v1alpha/user_event_service_client.d.ts +78 -78
  132. package/build/src/v1alpha/user_event_service_client.js +143 -272
  133. package/build/src/v1beta/completion_service_client.d.ts +78 -78
  134. package/build/src/v1beta/completion_service_client.js +149 -280
  135. package/build/src/v1beta/control_service_client.d.ts +84 -84
  136. package/build/src/v1beta/control_service_client.js +127 -147
  137. package/build/src/v1beta/conversational_search_service_client.d.ts +142 -142
  138. package/build/src/v1beta/conversational_search_service_client.js +209 -233
  139. package/build/src/v1beta/data_store_service_client.d.ts +124 -124
  140. package/build/src/v1beta/data_store_service_client.js +154 -289
  141. package/build/src/v1beta/document_service_client.d.ts +124 -124
  142. package/build/src/v1beta/document_service_client.js +181 -310
  143. package/build/src/v1beta/engine_service_client.d.ts +106 -106
  144. package/build/src/v1beta/engine_service_client.js +178 -316
  145. package/build/src/v1beta/evaluation_service_client.d.ts +161 -161
  146. package/build/src/v1beta/evaluation_service_client.js +148 -286
  147. package/build/src/v1beta/grounded_generation_service_client.d.ts +49 -49
  148. package/build/src/v1beta/grounded_generation_service_client.js +98 -114
  149. package/build/src/v1beta/project_service_client.d.ts +76 -76
  150. package/build/src/v1beta/project_service_client.js +116 -232
  151. package/build/src/v1beta/rank_service_client.d.ts +47 -47
  152. package/build/src/v1beta/rank_service_client.js +85 -99
  153. package/build/src/v1beta/recommendation_service_client.d.ts +47 -47
  154. package/build/src/v1beta/recommendation_service_client.js +83 -96
  155. package/build/src/v1beta/sample_query_service_client.d.ts +123 -123
  156. package/build/src/v1beta/sample_query_service_client.js +167 -292
  157. package/build/src/v1beta/sample_query_set_service_client.d.ts +94 -94
  158. package/build/src/v1beta/sample_query_set_service_client.js +128 -149
  159. package/build/src/v1beta/schema_service_client.d.ts +111 -111
  160. package/build/src/v1beta/schema_service_client.js +145 -283
  161. package/build/src/v1beta/search_service_client.d.ts +665 -665
  162. package/build/src/v1beta/search_service_client.js +97 -128
  163. package/build/src/v1beta/search_tuning_service_client.d.ts +77 -77
  164. package/build/src/v1beta/search_tuning_service_client.js +127 -244
  165. package/build/src/v1beta/serving_config_service_client.d.ts +75 -75
  166. package/build/src/v1beta/serving_config_service_client.js +107 -129
  167. package/build/src/v1beta/site_search_engine_service_client.d.ts +151 -151
  168. package/build/src/v1beta/site_search_engine_service_client.js +205 -387
  169. package/build/src/v1beta/user_event_service_client.d.ts +78 -78
  170. package/build/src/v1beta/user_event_service_client.js +141 -262
  171. package/package.json +7 -7
  172. package/CHANGELOG.md +0 -267
@@ -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
+ }