@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.
- 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 +5415 -578
- package/build/protos/protos.js +77830 -63391
- package/build/protos/protos.json +1537 -92
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +8 -22
- 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 +166 -76
- package/build/src/v1/completion_service_client.js +258 -263
- package/build/src/v1/completion_service_proto_list.json +6 -1
- package/build/src/v1/control_service_client.d.ts +171 -81
- package/build/src/v1/control_service_client.js +246 -132
- package/build/src/v1/control_service_proto_list.json +6 -1
- package/build/src/v1/conversational_search_service_client.d.ts +233 -143
- package/build/src/v1/conversational_search_service_client.js +330 -226
- package/build/src/v1/conversational_search_service_proto_list.json +6 -1
- package/build/src/v1/data_store_service_client.d.ts +218 -122
- package/build/src/v1/data_store_service_client.js +273 -281
- package/build/src/v1/data_store_service_proto_list.json +6 -1
- package/build/src/v1/document_service_client.d.ts +210 -120
- package/build/src/v1/document_service_client.js +300 -301
- package/build/src/v1/document_service_proto_list.json +6 -1
- package/build/src/v1/engine_service_client.d.ts +193 -103
- package/build/src/v1/engine_service_client.js +273 -280
- 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 +138 -48
- package/build/src/v1/grounded_generation_service_client.js +217 -100
- 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 +166 -76
- package/build/src/v1/project_service_client.js +235 -223
- package/build/src/v1/project_service_proto_list.json +6 -1
- package/build/src/v1/rank_service_client.d.ts +137 -47
- package/build/src/v1/rank_service_client.js +204 -85
- package/build/src/v1/rank_service_proto_list.json +6 -1
- package/build/src/v1/recommendation_service_client.d.ts +137 -47
- package/build/src/v1/recommendation_service_client.js +202 -82
- package/build/src/v1/recommendation_service_proto_list.json +6 -1
- package/build/src/v1/schema_service_client.d.ts +201 -111
- package/build/src/v1/schema_service_client.js +264 -274
- package/build/src/v1/schema_service_proto_list.json +6 -1
- package/build/src/v1/search_service_client.d.ts +661 -571
- package/build/src/v1/search_service_client.js +216 -113
- package/build/src/v1/search_service_proto_list.json +6 -1
- package/build/src/v1/search_tuning_service_client.d.ts +167 -77
- package/build/src/v1/search_tuning_service_client.js +246 -236
- package/build/src/v1/search_tuning_service_proto_list.json +6 -1
- package/build/src/v1/serving_config_service_client.d.ts +138 -48
- package/build/src/v1/serving_config_service_client.js +201 -80
- package/build/src/v1/serving_config_service_proto_list.json +6 -1
- package/build/src/v1/site_search_engine_service_client.d.ts +238 -148
- package/build/src/v1/site_search_engine_service_client.js +324 -379
- package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
- package/build/src/v1/user_event_service_client.d.ts +167 -77
- package/build/src/v1/user_event_service_client.js +260 -254
- 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.d.ts +49 -49
- package/build/src/v1alpha/acl_config_service_client.js +94 -106
- package/build/src/v1alpha/chunk_service_client.d.ts +88 -88
- package/build/src/v1alpha/chunk_service_client.js +98 -120
- package/build/src/v1alpha/completion_service_client.d.ts +77 -77
- package/build/src/v1alpha/completion_service_client.js +141 -281
- package/build/src/v1alpha/control_service_client.d.ts +85 -85
- package/build/src/v1alpha/control_service_client.js +129 -151
- package/build/src/v1alpha/conversational_search_service_client.d.ts +143 -143
- package/build/src/v1alpha/conversational_search_service_client.js +211 -237
- package/build/src/v1alpha/data_store_service_client.d.ts +126 -126
- package/build/src/v1alpha/data_store_service_client.js +176 -317
- package/build/src/v1alpha/document_service_client.d.ts +126 -126
- package/build/src/v1alpha/document_service_client.js +193 -329
- package/build/src/v1alpha/engine_service_client.d.ts +106 -106
- package/build/src/v1alpha/engine_service_client.js +180 -326
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +76 -76
- package/build/src/v1alpha/estimate_billing_service_client.js +119 -244
- package/build/src/v1alpha/evaluation_service_client.d.ts +161 -161
- package/build/src/v1alpha/evaluation_service_client.js +150 -296
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +48 -48
- package/build/src/v1alpha/grounded_generation_service_client.js +85 -100
- package/build/src/v1alpha/project_service_client.d.ts +78 -78
- package/build/src/v1alpha/project_service_client.js +139 -263
- package/build/src/v1alpha/rank_service_client.d.ts +47 -47
- package/build/src/v1alpha/rank_service_client.js +87 -104
- package/build/src/v1alpha/recommendation_service_client.d.ts +47 -47
- package/build/src/v1alpha/recommendation_service_client.js +85 -100
- package/build/src/v1alpha/sample_query_service_client.d.ts +123 -123
- package/build/src/v1alpha/sample_query_service_client.js +169 -302
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +94 -94
- package/build/src/v1alpha/sample_query_set_service_client.js +130 -153
- package/build/src/v1alpha/schema_service_client.d.ts +112 -112
- package/build/src/v1alpha/schema_service_client.js +147 -293
- package/build/src/v1alpha/search_service_client.d.ts +327 -327
- package/build/src/v1alpha/search_service_client.js +88 -112
- package/build/src/v1alpha/search_tuning_service_client.d.ts +77 -77
- package/build/src/v1alpha/search_tuning_service_client.js +129 -254
- package/build/src/v1alpha/serving_config_service_client.d.ts +75 -75
- package/build/src/v1alpha/serving_config_service_client.js +109 -133
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +151 -151
- package/build/src/v1alpha/site_search_engine_service_client.js +203 -388
- package/build/src/v1alpha/user_event_service_client.d.ts +78 -78
- package/build/src/v1alpha/user_event_service_client.js +143 -272
- package/build/src/v1beta/completion_service_client.d.ts +78 -78
- package/build/src/v1beta/completion_service_client.js +149 -280
- package/build/src/v1beta/control_service_client.d.ts +84 -84
- package/build/src/v1beta/control_service_client.js +127 -147
- package/build/src/v1beta/conversational_search_service_client.d.ts +142 -142
- package/build/src/v1beta/conversational_search_service_client.js +209 -233
- package/build/src/v1beta/data_store_service_client.d.ts +124 -124
- package/build/src/v1beta/data_store_service_client.js +154 -289
- package/build/src/v1beta/document_service_client.d.ts +124 -124
- package/build/src/v1beta/document_service_client.js +181 -310
- package/build/src/v1beta/engine_service_client.d.ts +106 -106
- package/build/src/v1beta/engine_service_client.js +178 -316
- package/build/src/v1beta/evaluation_service_client.d.ts +161 -161
- package/build/src/v1beta/evaluation_service_client.js +148 -286
- package/build/src/v1beta/grounded_generation_service_client.d.ts +49 -49
- package/build/src/v1beta/grounded_generation_service_client.js +98 -114
- package/build/src/v1beta/project_service_client.d.ts +76 -76
- package/build/src/v1beta/project_service_client.js +116 -232
- package/build/src/v1beta/rank_service_client.d.ts +47 -47
- package/build/src/v1beta/rank_service_client.js +85 -99
- package/build/src/v1beta/recommendation_service_client.d.ts +47 -47
- package/build/src/v1beta/recommendation_service_client.js +83 -96
- package/build/src/v1beta/sample_query_service_client.d.ts +123 -123
- package/build/src/v1beta/sample_query_service_client.js +167 -292
- package/build/src/v1beta/sample_query_set_service_client.d.ts +94 -94
- package/build/src/v1beta/sample_query_set_service_client.js +128 -149
- package/build/src/v1beta/schema_service_client.d.ts +111 -111
- package/build/src/v1beta/schema_service_client.js +145 -283
- package/build/src/v1beta/search_service_client.d.ts +665 -665
- package/build/src/v1beta/search_service_client.js +97 -128
- package/build/src/v1beta/search_tuning_service_client.d.ts +77 -77
- package/build/src/v1beta/search_tuning_service_client.js +127 -244
- package/build/src/v1beta/serving_config_service_client.d.ts +75 -75
- package/build/src/v1beta/serving_config_service_client.js +107 -129
- package/build/src/v1beta/site_search_engine_service_client.d.ts +151 -151
- package/build/src/v1beta/site_search_engine_service_client.js +205 -387
- package/build/src/v1beta/user_event_service_client.d.ts +78 -78
- package/build/src/v1beta/user_event_service_client.js +141 -262
- package/package.json +7 -7
- package/CHANGELOG.md +0 -267
@@ -1,6 +1,7 @@
|
|
1
1
|
[
|
2
2
|
"../../protos/google/cloud/discoveryengine/v1/answer.proto",
|
3
3
|
"../../protos/google/cloud/discoveryengine/v1/chunk.proto",
|
4
|
+
"../../protos/google/cloud/discoveryengine/v1/cmek_config_service.proto",
|
4
5
|
"../../protos/google/cloud/discoveryengine/v1/common.proto",
|
5
6
|
"../../protos/google/cloud/discoveryengine/v1/completion.proto",
|
6
7
|
"../../protos/google/cloud/discoveryengine/v1/completion_service.proto",
|
@@ -18,6 +19,8 @@
|
|
18
19
|
"../../protos/google/cloud/discoveryengine/v1/engine_service.proto",
|
19
20
|
"../../protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto",
|
20
21
|
"../../protos/google/cloud/discoveryengine/v1/grounding.proto",
|
22
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto",
|
23
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto",
|
21
24
|
"../../protos/google/cloud/discoveryengine/v1/import_config.proto",
|
22
25
|
"../../protos/google/cloud/discoveryengine/v1/project.proto",
|
23
26
|
"../../protos/google/cloud/discoveryengine/v1/project_service.proto",
|
@@ -35,5 +38,7 @@
|
|
35
38
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
|
36
39
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
|
37
40
|
"../../protos/google/cloud/discoveryengine/v1/user_event.proto",
|
38
|
-
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto"
|
41
|
+
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto",
|
42
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license.proto",
|
43
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license_service.proto"
|
39
44
|
]
|
@@ -182,7 +182,7 @@ export declare class DataStoreServiceClient {
|
|
182
182
|
*/
|
183
183
|
updateDataStore(request?: protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest, options?: CallOptions): Promise<[
|
184
184
|
protos.google.cloud.discoveryengine.v1.IDataStore,
|
185
|
-
|
185
|
+
protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest | undefined,
|
186
186
|
{} | undefined
|
187
187
|
]>;
|
188
188
|
updateDataStore(request: protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest | null | undefined, {} | null | undefined>): void;
|
@@ -198,6 +198,12 @@ export declare class DataStoreServiceClient {
|
|
198
198
|
*
|
199
199
|
* @param {Object} request
|
200
200
|
* The request object that will be sent.
|
201
|
+
* @param {string} request.cmekConfigName
|
202
|
+
* Resource name of the CmekConfig to use for protecting this DataStore.
|
203
|
+
* @param {boolean} request.disableCmek
|
204
|
+
* DataStore without CMEK protections. If a default CmekConfig is set for
|
205
|
+
* the project, setting this field will override the default CmekConfig as
|
206
|
+
* well.
|
201
207
|
* @param {string} request.parent
|
202
208
|
* Required. The parent resource name, such as
|
203
209
|
* `projects/{project}/locations/{location}/collections/{collection}`.
|
@@ -305,51 +311,51 @@ export declare class DataStoreServiceClient {
|
|
305
311
|
*/
|
306
312
|
checkDeleteDataStoreProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.discoveryengine.v1.DeleteDataStoreMetadata>>;
|
307
313
|
/**
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
314
|
+
* Lists all the {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
|
315
|
+
* associated with the project.
|
316
|
+
*
|
317
|
+
* @param {Object} request
|
318
|
+
* The request object that will be sent.
|
319
|
+
* @param {string} request.parent
|
320
|
+
* Required. The parent branch resource name, such as
|
321
|
+
* `projects/{project}/locations/{location}/collections/{collection_id}`.
|
322
|
+
*
|
323
|
+
* If the caller does not have permission to list
|
324
|
+
* {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s under this
|
325
|
+
* location, regardless of whether or not this data store exists, a
|
326
|
+
* PERMISSION_DENIED error is returned.
|
327
|
+
* @param {number} request.pageSize
|
328
|
+
* Maximum number of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
|
329
|
+
* to return. If unspecified, defaults to 10. The maximum allowed value is 50.
|
330
|
+
* Values above 50 will be coerced to 50.
|
331
|
+
*
|
332
|
+
* If this field is negative, an INVALID_ARGUMENT is returned.
|
333
|
+
* @param {string} request.pageToken
|
334
|
+
* A page token
|
335
|
+
* {@link protos.google.cloud.discoveryengine.v1.ListDataStoresResponse.next_page_token|ListDataStoresResponse.next_page_token},
|
336
|
+
* received from a previous
|
337
|
+
* {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
|
338
|
+
* call. Provide this to retrieve the subsequent page.
|
339
|
+
*
|
340
|
+
* When paginating, all other parameters provided to
|
341
|
+
* {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
|
342
|
+
* must match the call that provided the page token. Otherwise, an
|
343
|
+
* INVALID_ARGUMENT error is returned.
|
344
|
+
* @param {string} request.filter
|
345
|
+
* Filter by solution type .
|
346
|
+
* For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
|
347
|
+
* @param {object} [options]
|
348
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
349
|
+
* @returns {Promise} - The promise which resolves to an array.
|
350
|
+
* The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
|
351
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
352
|
+
* times as needed and will merge results from all the pages into this array.
|
353
|
+
* Note that it can affect your quota.
|
354
|
+
* We recommend using `listDataStoresAsync()`
|
355
|
+
* method described below for async iteration which you can stop as needed.
|
356
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
357
|
+
* for more details and examples.
|
358
|
+
*/
|
353
359
|
listDataStores(request?: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options?: CallOptions): Promise<[
|
354
360
|
protos.google.cloud.discoveryengine.v1.IDataStore[],
|
355
361
|
protos.google.cloud.discoveryengine.v1.IListDataStoresRequest | null,
|
@@ -449,86 +455,86 @@ export declare class DataStoreServiceClient {
|
|
449
455
|
*/
|
450
456
|
listDataStoresAsync(request?: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.IDataStore>;
|
451
457
|
/**
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
458
|
+
* Gets information about a location.
|
459
|
+
*
|
460
|
+
* @param {Object} request
|
461
|
+
* The request object that will be sent.
|
462
|
+
* @param {string} request.name
|
463
|
+
* Resource name for the location.
|
464
|
+
* @param {object} [options]
|
465
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
466
|
+
* @returns {Promise} - The promise which resolves to an array.
|
467
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
468
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
469
|
+
* for more details and examples.
|
470
|
+
* @example
|
471
|
+
* ```
|
472
|
+
* const [response] = await client.getLocation(request);
|
473
|
+
* ```
|
474
|
+
*/
|
469
475
|
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
|
470
476
|
/**
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
477
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
478
|
+
*
|
479
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
480
|
+
* @param {Object} request
|
481
|
+
* The request object that will be sent.
|
482
|
+
* @param {string} request.name
|
483
|
+
* The resource that owns the locations collection, if applicable.
|
484
|
+
* @param {string} request.filter
|
485
|
+
* The standard list filter.
|
486
|
+
* @param {number} request.pageSize
|
487
|
+
* The standard list page size.
|
488
|
+
* @param {string} request.pageToken
|
489
|
+
* The standard list page token.
|
490
|
+
* @param {object} [options]
|
491
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
492
|
+
* @returns {Object}
|
493
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
494
|
+
* When you iterate the returned iterable, each element will be an object representing
|
495
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
496
|
+
* so you can stop the iteration when you don't need more results.
|
497
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
498
|
+
* for more details and examples.
|
499
|
+
* @example
|
500
|
+
* ```
|
501
|
+
* const iterable = client.listLocationsAsync(request);
|
502
|
+
* for await (const response of iterable) {
|
503
|
+
* // process response
|
504
|
+
* }
|
505
|
+
* ```
|
506
|
+
*/
|
501
507
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
502
508
|
/**
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
509
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
510
|
+
* method to poll the operation result at intervals as recommended by the API
|
511
|
+
* service.
|
512
|
+
*
|
513
|
+
* @param {Object} request - The request object that will be sent.
|
514
|
+
* @param {string} request.name - The name of the operation resource.
|
515
|
+
* @param {Object=} options
|
516
|
+
* Optional parameters. You can override the default settings for this call,
|
517
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
518
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
519
|
+
* for the details.
|
520
|
+
* @param {function(?Error, ?Object)=} callback
|
521
|
+
* The function which will be called with the result of the API call.
|
522
|
+
*
|
523
|
+
* The second parameter to the callback is an object representing
|
524
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
525
|
+
* @return {Promise} - The promise which resolves to an array.
|
526
|
+
* The first element of the array is an object representing
|
527
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
528
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
529
|
+
*
|
530
|
+
* @example
|
531
|
+
* ```
|
532
|
+
* const client = longrunning.operationsClient();
|
533
|
+
* const name = '';
|
534
|
+
* const [response] = await client.getOperation({name});
|
535
|
+
* // doThingsWith(response)
|
536
|
+
* ```
|
537
|
+
*/
|
532
538
|
getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
|
533
539
|
/**
|
534
540
|
* Lists operations that match the specified filter in the request. If the
|
@@ -694,6 +700,39 @@ export declare class DataStoreServiceClient {
|
|
694
700
|
* @returns {string} A string representing the engine.
|
695
701
|
*/
|
696
702
|
matchEngineFromEngineName(engineName: string): string | number;
|
703
|
+
/**
|
704
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
705
|
+
*
|
706
|
+
* @param {string} project
|
707
|
+
* @param {string} location
|
708
|
+
* @param {string} identity_mapping_store
|
709
|
+
* @returns {string} Resource name string.
|
710
|
+
*/
|
711
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
712
|
+
/**
|
713
|
+
* Parse the project from IdentityMappingStore resource.
|
714
|
+
*
|
715
|
+
* @param {string} identityMappingStoreName
|
716
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
717
|
+
* @returns {string} A string representing the project.
|
718
|
+
*/
|
719
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
720
|
+
/**
|
721
|
+
* Parse the location from IdentityMappingStore resource.
|
722
|
+
*
|
723
|
+
* @param {string} identityMappingStoreName
|
724
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
725
|
+
* @returns {string} A string representing the location.
|
726
|
+
*/
|
727
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
728
|
+
/**
|
729
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
730
|
+
*
|
731
|
+
* @param {string} identityMappingStoreName
|
732
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
733
|
+
* @returns {string} A string representing the identity_mapping_store.
|
734
|
+
*/
|
735
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
697
736
|
/**
|
698
737
|
* Return a fully-qualified project resource name string.
|
699
738
|
*
|
@@ -709,6 +748,63 @@ export declare class DataStoreServiceClient {
|
|
709
748
|
* @returns {string} A string representing the project.
|
710
749
|
*/
|
711
750
|
matchProjectFromProjectName(projectName: string): string | number;
|
751
|
+
/**
|
752
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
753
|
+
*
|
754
|
+
* @param {string} project
|
755
|
+
* @param {string} location
|
756
|
+
* @returns {string} Resource name string.
|
757
|
+
*/
|
758
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
759
|
+
/**
|
760
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
761
|
+
*
|
762
|
+
* @param {string} projectLocationCmekConfigName
|
763
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
764
|
+
* @returns {string} A string representing the project.
|
765
|
+
*/
|
766
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
767
|
+
/**
|
768
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
769
|
+
*
|
770
|
+
* @param {string} projectLocationCmekConfigName
|
771
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
772
|
+
* @returns {string} A string representing the location.
|
773
|
+
*/
|
774
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
775
|
+
/**
|
776
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
777
|
+
*
|
778
|
+
* @param {string} project
|
779
|
+
* @param {string} location
|
780
|
+
* @param {string} cmek_config
|
781
|
+
* @returns {string} Resource name string.
|
782
|
+
*/
|
783
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
784
|
+
/**
|
785
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
786
|
+
*
|
787
|
+
* @param {string} projectLocationCmekConfigsName
|
788
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
789
|
+
* @returns {string} A string representing the project.
|
790
|
+
*/
|
791
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
792
|
+
/**
|
793
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
794
|
+
*
|
795
|
+
* @param {string} projectLocationCmekConfigsName
|
796
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
797
|
+
* @returns {string} A string representing the location.
|
798
|
+
*/
|
799
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
800
|
+
/**
|
801
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
802
|
+
*
|
803
|
+
* @param {string} projectLocationCmekConfigsName
|
804
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
805
|
+
* @returns {string} A string representing the cmek_config.
|
806
|
+
*/
|
807
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
712
808
|
/**
|
713
809
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
714
810
|
*
|