@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
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.cloud.discoveryengine.v1.CmekConfigService": {
|
4
|
+
"retry_codes": {
|
5
|
+
"non_idempotent": [],
|
6
|
+
"idempotent": [
|
7
|
+
"DEADLINE_EXCEEDED",
|
8
|
+
"UNAVAILABLE"
|
9
|
+
]
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"default": {
|
13
|
+
"initial_retry_delay_millis": 100,
|
14
|
+
"retry_delay_multiplier": 1.3,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 60000,
|
17
|
+
"rpc_timeout_multiplier": 1,
|
18
|
+
"max_rpc_timeout_millis": 60000,
|
19
|
+
"total_timeout_millis": 600000
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"methods": {
|
23
|
+
"UpdateCmekConfig": {
|
24
|
+
"retry_codes_name": "non_idempotent",
|
25
|
+
"retry_params_name": "default"
|
26
|
+
},
|
27
|
+
"GetCmekConfig": {
|
28
|
+
"retry_codes_name": "non_idempotent",
|
29
|
+
"retry_params_name": "default"
|
30
|
+
},
|
31
|
+
"ListCmekConfigs": {
|
32
|
+
"retry_codes_name": "non_idempotent",
|
33
|
+
"retry_params_name": "default"
|
34
|
+
},
|
35
|
+
"DeleteCmekConfig": {
|
36
|
+
"retry_codes_name": "non_idempotent",
|
37
|
+
"retry_params_name": "default"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
[
|
2
|
+
"../../protos/google/cloud/discoveryengine/v1/answer.proto",
|
3
|
+
"../../protos/google/cloud/discoveryengine/v1/chunk.proto",
|
4
|
+
"../../protos/google/cloud/discoveryengine/v1/cmek_config_service.proto",
|
5
|
+
"../../protos/google/cloud/discoveryengine/v1/common.proto",
|
6
|
+
"../../protos/google/cloud/discoveryengine/v1/completion.proto",
|
7
|
+
"../../protos/google/cloud/discoveryengine/v1/completion_service.proto",
|
8
|
+
"../../protos/google/cloud/discoveryengine/v1/control.proto",
|
9
|
+
"../../protos/google/cloud/discoveryengine/v1/control_service.proto",
|
10
|
+
"../../protos/google/cloud/discoveryengine/v1/conversation.proto",
|
11
|
+
"../../protos/google/cloud/discoveryengine/v1/conversational_search_service.proto",
|
12
|
+
"../../protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto",
|
13
|
+
"../../protos/google/cloud/discoveryengine/v1/data_store.proto",
|
14
|
+
"../../protos/google/cloud/discoveryengine/v1/data_store_service.proto",
|
15
|
+
"../../protos/google/cloud/discoveryengine/v1/document.proto",
|
16
|
+
"../../protos/google/cloud/discoveryengine/v1/document_processing_config.proto",
|
17
|
+
"../../protos/google/cloud/discoveryengine/v1/document_service.proto",
|
18
|
+
"../../protos/google/cloud/discoveryengine/v1/engine.proto",
|
19
|
+
"../../protos/google/cloud/discoveryengine/v1/engine_service.proto",
|
20
|
+
"../../protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto",
|
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",
|
24
|
+
"../../protos/google/cloud/discoveryengine/v1/import_config.proto",
|
25
|
+
"../../protos/google/cloud/discoveryengine/v1/project.proto",
|
26
|
+
"../../protos/google/cloud/discoveryengine/v1/project_service.proto",
|
27
|
+
"../../protos/google/cloud/discoveryengine/v1/purge_config.proto",
|
28
|
+
"../../protos/google/cloud/discoveryengine/v1/rank_service.proto",
|
29
|
+
"../../protos/google/cloud/discoveryengine/v1/recommendation_service.proto",
|
30
|
+
"../../protos/google/cloud/discoveryengine/v1/safety.proto",
|
31
|
+
"../../protos/google/cloud/discoveryengine/v1/schema.proto",
|
32
|
+
"../../protos/google/cloud/discoveryengine/v1/schema_service.proto",
|
33
|
+
"../../protos/google/cloud/discoveryengine/v1/search_service.proto",
|
34
|
+
"../../protos/google/cloud/discoveryengine/v1/search_tuning_service.proto",
|
35
|
+
"../../protos/google/cloud/discoveryengine/v1/serving_config.proto",
|
36
|
+
"../../protos/google/cloud/discoveryengine/v1/serving_config_service.proto",
|
37
|
+
"../../protos/google/cloud/discoveryengine/v1/session.proto",
|
38
|
+
"../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
|
39
|
+
"../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1/user_event.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"
|
44
|
+
]
|
@@ -365,86 +365,86 @@ export declare class CompletionServiceClient {
|
|
365
365
|
*/
|
366
366
|
checkPurgeCompletionSuggestionsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata>>;
|
367
367
|
/**
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
368
|
+
* Gets information about a location.
|
369
|
+
*
|
370
|
+
* @param {Object} request
|
371
|
+
* The request object that will be sent.
|
372
|
+
* @param {string} request.name
|
373
|
+
* Resource name for the location.
|
374
|
+
* @param {object} [options]
|
375
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
376
|
+
* @returns {Promise} - The promise which resolves to an array.
|
377
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
378
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
379
|
+
* for more details and examples.
|
380
|
+
* @example
|
381
|
+
* ```
|
382
|
+
* const [response] = await client.getLocation(request);
|
383
|
+
* ```
|
384
|
+
*/
|
385
385
|
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>;
|
386
386
|
/**
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
387
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
388
|
+
*
|
389
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
390
|
+
* @param {Object} request
|
391
|
+
* The request object that will be sent.
|
392
|
+
* @param {string} request.name
|
393
|
+
* The resource that owns the locations collection, if applicable.
|
394
|
+
* @param {string} request.filter
|
395
|
+
* The standard list filter.
|
396
|
+
* @param {number} request.pageSize
|
397
|
+
* The standard list page size.
|
398
|
+
* @param {string} request.pageToken
|
399
|
+
* The standard list page token.
|
400
|
+
* @param {object} [options]
|
401
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
402
|
+
* @returns {Object}
|
403
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
404
|
+
* When you iterate the returned iterable, each element will be an object representing
|
405
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
406
|
+
* so you can stop the iteration when you don't need more results.
|
407
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
408
|
+
* for more details and examples.
|
409
|
+
* @example
|
410
|
+
* ```
|
411
|
+
* const iterable = client.listLocationsAsync(request);
|
412
|
+
* for await (const response of iterable) {
|
413
|
+
* // process response
|
414
|
+
* }
|
415
|
+
* ```
|
416
|
+
*/
|
417
417
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
418
418
|
/**
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
419
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
420
|
+
* method to poll the operation result at intervals as recommended by the API
|
421
|
+
* service.
|
422
|
+
*
|
423
|
+
* @param {Object} request - The request object that will be sent.
|
424
|
+
* @param {string} request.name - The name of the operation resource.
|
425
|
+
* @param {Object=} options
|
426
|
+
* Optional parameters. You can override the default settings for this call,
|
427
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
428
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
429
|
+
* for the details.
|
430
|
+
* @param {function(?Error, ?Object)=} callback
|
431
|
+
* The function which will be called with the result of the API call.
|
432
|
+
*
|
433
|
+
* The second parameter to the callback is an object representing
|
434
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
435
|
+
* @return {Promise} - The promise which resolves to an array.
|
436
|
+
* The first element of the array is an object representing
|
437
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
438
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
439
|
+
*
|
440
|
+
* @example
|
441
|
+
* ```
|
442
|
+
* const client = longrunning.operationsClient();
|
443
|
+
* const name = '';
|
444
|
+
* const [response] = await client.getOperation({name});
|
445
|
+
* // doThingsWith(response)
|
446
|
+
* ```
|
447
|
+
*/
|
448
448
|
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]>;
|
449
449
|
/**
|
450
450
|
* Lists operations that match the specified filter in the request. If the
|
@@ -577,6 +577,39 @@ export declare class CompletionServiceClient {
|
|
577
577
|
* @returns {string} A string representing the engine.
|
578
578
|
*/
|
579
579
|
matchEngineFromEngineName(engineName: string): string | number;
|
580
|
+
/**
|
581
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
582
|
+
*
|
583
|
+
* @param {string} project
|
584
|
+
* @param {string} location
|
585
|
+
* @param {string} identity_mapping_store
|
586
|
+
* @returns {string} Resource name string.
|
587
|
+
*/
|
588
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
589
|
+
/**
|
590
|
+
* Parse the project from IdentityMappingStore resource.
|
591
|
+
*
|
592
|
+
* @param {string} identityMappingStoreName
|
593
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
594
|
+
* @returns {string} A string representing the project.
|
595
|
+
*/
|
596
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
597
|
+
/**
|
598
|
+
* Parse the location from IdentityMappingStore resource.
|
599
|
+
*
|
600
|
+
* @param {string} identityMappingStoreName
|
601
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
602
|
+
* @returns {string} A string representing the location.
|
603
|
+
*/
|
604
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
605
|
+
/**
|
606
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
607
|
+
*
|
608
|
+
* @param {string} identityMappingStoreName
|
609
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
610
|
+
* @returns {string} A string representing the identity_mapping_store.
|
611
|
+
*/
|
612
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
580
613
|
/**
|
581
614
|
* Return a fully-qualified project resource name string.
|
582
615
|
*
|
@@ -592,6 +625,63 @@ export declare class CompletionServiceClient {
|
|
592
625
|
* @returns {string} A string representing the project.
|
593
626
|
*/
|
594
627
|
matchProjectFromProjectName(projectName: string): string | number;
|
628
|
+
/**
|
629
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
630
|
+
*
|
631
|
+
* @param {string} project
|
632
|
+
* @param {string} location
|
633
|
+
* @returns {string} Resource name string.
|
634
|
+
*/
|
635
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
636
|
+
/**
|
637
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
638
|
+
*
|
639
|
+
* @param {string} projectLocationCmekConfigName
|
640
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
641
|
+
* @returns {string} A string representing the project.
|
642
|
+
*/
|
643
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
644
|
+
/**
|
645
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
646
|
+
*
|
647
|
+
* @param {string} projectLocationCmekConfigName
|
648
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
649
|
+
* @returns {string} A string representing the location.
|
650
|
+
*/
|
651
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
652
|
+
/**
|
653
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
654
|
+
*
|
655
|
+
* @param {string} project
|
656
|
+
* @param {string} location
|
657
|
+
* @param {string} cmek_config
|
658
|
+
* @returns {string} Resource name string.
|
659
|
+
*/
|
660
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
661
|
+
/**
|
662
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
663
|
+
*
|
664
|
+
* @param {string} projectLocationCmekConfigsName
|
665
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
666
|
+
* @returns {string} A string representing the project.
|
667
|
+
*/
|
668
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
669
|
+
/**
|
670
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
671
|
+
*
|
672
|
+
* @param {string} projectLocationCmekConfigsName
|
673
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
674
|
+
* @returns {string} A string representing the location.
|
675
|
+
*/
|
676
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
677
|
+
/**
|
678
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
679
|
+
*
|
680
|
+
* @param {string} projectLocationCmekConfigsName
|
681
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
682
|
+
* @returns {string} A string representing the cmek_config.
|
683
|
+
*/
|
684
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
595
685
|
/**
|
596
686
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
597
687
|
*
|