@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,54 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.cloud.discoveryengine.v1.IdentityMappingStoreService": {
|
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
|
+
"CreateIdentityMappingStore": {
|
24
|
+
"retry_codes_name": "non_idempotent",
|
25
|
+
"retry_params_name": "default"
|
26
|
+
},
|
27
|
+
"GetIdentityMappingStore": {
|
28
|
+
"retry_codes_name": "non_idempotent",
|
29
|
+
"retry_params_name": "default"
|
30
|
+
},
|
31
|
+
"DeleteIdentityMappingStore": {
|
32
|
+
"retry_codes_name": "non_idempotent",
|
33
|
+
"retry_params_name": "default"
|
34
|
+
},
|
35
|
+
"ImportIdentityMappings": {
|
36
|
+
"retry_codes_name": "non_idempotent",
|
37
|
+
"retry_params_name": "default"
|
38
|
+
},
|
39
|
+
"PurgeIdentityMappings": {
|
40
|
+
"retry_codes_name": "non_idempotent",
|
41
|
+
"retry_params_name": "default"
|
42
|
+
},
|
43
|
+
"ListIdentityMappings": {
|
44
|
+
"retry_codes_name": "non_idempotent",
|
45
|
+
"retry_params_name": "default"
|
46
|
+
},
|
47
|
+
"ListIdentityMappingStores": {
|
48
|
+
"retry_codes_name": "non_idempotent",
|
49
|
+
"retry_params_name": "default"
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -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
|
+
]
|
package/build/src/v1/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export { CmekConfigServiceClient } from './cmek_config_service_client';
|
1
2
|
export { CompletionServiceClient } from './completion_service_client';
|
2
3
|
export { ControlServiceClient } from './control_service_client';
|
3
4
|
export { ConversationalSearchServiceClient } from './conversational_search_service_client';
|
@@ -5,6 +6,7 @@ export { DataStoreServiceClient } from './data_store_service_client';
|
|
5
6
|
export { DocumentServiceClient } from './document_service_client';
|
6
7
|
export { EngineServiceClient } from './engine_service_client';
|
7
8
|
export { GroundedGenerationServiceClient } from './grounded_generation_service_client';
|
9
|
+
export { IdentityMappingStoreServiceClient } from './identity_mapping_store_service_client';
|
8
10
|
export { ProjectServiceClient } from './project_service_client';
|
9
11
|
export { RankServiceClient } from './rank_service_client';
|
10
12
|
export { RecommendationServiceClient } from './recommendation_service_client';
|
@@ -14,3 +16,4 @@ export { SearchTuningServiceClient } from './search_tuning_service_client';
|
|
14
16
|
export { ServingConfigServiceClient } from './serving_config_service_client';
|
15
17
|
export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
|
16
18
|
export { UserEventServiceClient } from './user_event_service_client';
|
19
|
+
export { UserLicenseServiceClient } from './user_license_service_client';
|
package/build/src/v1/index.js
CHANGED
@@ -17,7 +17,9 @@
|
|
17
17
|
// ** https://github.com/googleapis/gapic-generator-typescript **
|
18
18
|
// ** All changes to this file may be overwritten. **
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
20
|
-
exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.ServingConfigServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = void 0;
|
20
|
+
exports.UserLicenseServiceClient = exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.ServingConfigServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.IdentityMappingStoreServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = exports.CmekConfigServiceClient = void 0;
|
21
|
+
var cmek_config_service_client_1 = require("./cmek_config_service_client");
|
22
|
+
Object.defineProperty(exports, "CmekConfigServiceClient", { enumerable: true, get: function () { return cmek_config_service_client_1.CmekConfigServiceClient; } });
|
21
23
|
var completion_service_client_1 = require("./completion_service_client");
|
22
24
|
Object.defineProperty(exports, "CompletionServiceClient", { enumerable: true, get: function () { return completion_service_client_1.CompletionServiceClient; } });
|
23
25
|
var control_service_client_1 = require("./control_service_client");
|
@@ -32,6 +34,8 @@ var engine_service_client_1 = require("./engine_service_client");
|
|
32
34
|
Object.defineProperty(exports, "EngineServiceClient", { enumerable: true, get: function () { return engine_service_client_1.EngineServiceClient; } });
|
33
35
|
var grounded_generation_service_client_1 = require("./grounded_generation_service_client");
|
34
36
|
Object.defineProperty(exports, "GroundedGenerationServiceClient", { enumerable: true, get: function () { return grounded_generation_service_client_1.GroundedGenerationServiceClient; } });
|
37
|
+
var identity_mapping_store_service_client_1 = require("./identity_mapping_store_service_client");
|
38
|
+
Object.defineProperty(exports, "IdentityMappingStoreServiceClient", { enumerable: true, get: function () { return identity_mapping_store_service_client_1.IdentityMappingStoreServiceClient; } });
|
35
39
|
var project_service_client_1 = require("./project_service_client");
|
36
40
|
Object.defineProperty(exports, "ProjectServiceClient", { enumerable: true, get: function () { return project_service_client_1.ProjectServiceClient; } });
|
37
41
|
var rank_service_client_1 = require("./rank_service_client");
|
@@ -50,4 +54,6 @@ var site_search_engine_service_client_1 = require("./site_search_engine_service_
|
|
50
54
|
Object.defineProperty(exports, "SiteSearchEngineServiceClient", { enumerable: true, get: function () { return site_search_engine_service_client_1.SiteSearchEngineServiceClient; } });
|
51
55
|
var user_event_service_client_1 = require("./user_event_service_client");
|
52
56
|
Object.defineProperty(exports, "UserEventServiceClient", { enumerable: true, get: function () { return user_event_service_client_1.UserEventServiceClient; } });
|
57
|
+
var user_license_service_client_1 = require("./user_license_service_client");
|
58
|
+
Object.defineProperty(exports, "UserLicenseServiceClient", { enumerable: true, get: function () { return user_license_service_client_1.UserLicenseServiceClient; } });
|
53
59
|
//# sourceMappingURL=index.js.map
|
@@ -172,86 +172,86 @@ export declare class ProjectServiceClient {
|
|
172
172
|
*/
|
173
173
|
checkProvisionProjectProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.Project, protos.google.cloud.discoveryengine.v1.ProvisionProjectMetadata>>;
|
174
174
|
/**
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
175
|
+
* Gets information about a location.
|
176
|
+
*
|
177
|
+
* @param {Object} request
|
178
|
+
* The request object that will be sent.
|
179
|
+
* @param {string} request.name
|
180
|
+
* Resource name for the location.
|
181
|
+
* @param {object} [options]
|
182
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
183
|
+
* @returns {Promise} - The promise which resolves to an array.
|
184
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
185
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
186
|
+
* for more details and examples.
|
187
|
+
* @example
|
188
|
+
* ```
|
189
|
+
* const [response] = await client.getLocation(request);
|
190
|
+
* ```
|
191
|
+
*/
|
192
192
|
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>;
|
193
193
|
/**
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
194
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
195
|
+
*
|
196
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
197
|
+
* @param {Object} request
|
198
|
+
* The request object that will be sent.
|
199
|
+
* @param {string} request.name
|
200
|
+
* The resource that owns the locations collection, if applicable.
|
201
|
+
* @param {string} request.filter
|
202
|
+
* The standard list filter.
|
203
|
+
* @param {number} request.pageSize
|
204
|
+
* The standard list page size.
|
205
|
+
* @param {string} request.pageToken
|
206
|
+
* The standard list page token.
|
207
|
+
* @param {object} [options]
|
208
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
209
|
+
* @returns {Object}
|
210
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
211
|
+
* When you iterate the returned iterable, each element will be an object representing
|
212
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
213
|
+
* so you can stop the iteration when you don't need more results.
|
214
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
215
|
+
* for more details and examples.
|
216
|
+
* @example
|
217
|
+
* ```
|
218
|
+
* const iterable = client.listLocationsAsync(request);
|
219
|
+
* for await (const response of iterable) {
|
220
|
+
* // process response
|
221
|
+
* }
|
222
|
+
* ```
|
223
|
+
*/
|
224
224
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
225
225
|
/**
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
226
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
227
|
+
* method to poll the operation result at intervals as recommended by the API
|
228
|
+
* service.
|
229
|
+
*
|
230
|
+
* @param {Object} request - The request object that will be sent.
|
231
|
+
* @param {string} request.name - The name of the operation resource.
|
232
|
+
* @param {Object=} options
|
233
|
+
* Optional parameters. You can override the default settings for this call,
|
234
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
235
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
236
|
+
* for the details.
|
237
|
+
* @param {function(?Error, ?Object)=} callback
|
238
|
+
* The function which will be called with the result of the API call.
|
239
|
+
*
|
240
|
+
* The second parameter to the callback is an object representing
|
241
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
242
|
+
* @return {Promise} - The promise which resolves to an array.
|
243
|
+
* The first element of the array is an object representing
|
244
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
245
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
246
|
+
*
|
247
|
+
* @example
|
248
|
+
* ```
|
249
|
+
* const client = longrunning.operationsClient();
|
250
|
+
* const name = '';
|
251
|
+
* const [response] = await client.getOperation({name});
|
252
|
+
* // doThingsWith(response)
|
253
|
+
* ```
|
254
|
+
*/
|
255
255
|
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]>;
|
256
256
|
/**
|
257
257
|
* Lists operations that match the specified filter in the request. If the
|
@@ -384,6 +384,39 @@ export declare class ProjectServiceClient {
|
|
384
384
|
* @returns {string} A string representing the engine.
|
385
385
|
*/
|
386
386
|
matchEngineFromEngineName(engineName: string): string | number;
|
387
|
+
/**
|
388
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
389
|
+
*
|
390
|
+
* @param {string} project
|
391
|
+
* @param {string} location
|
392
|
+
* @param {string} identity_mapping_store
|
393
|
+
* @returns {string} Resource name string.
|
394
|
+
*/
|
395
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
396
|
+
/**
|
397
|
+
* Parse the project from IdentityMappingStore resource.
|
398
|
+
*
|
399
|
+
* @param {string} identityMappingStoreName
|
400
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
401
|
+
* @returns {string} A string representing the project.
|
402
|
+
*/
|
403
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
404
|
+
/**
|
405
|
+
* Parse the location from IdentityMappingStore resource.
|
406
|
+
*
|
407
|
+
* @param {string} identityMappingStoreName
|
408
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
409
|
+
* @returns {string} A string representing the location.
|
410
|
+
*/
|
411
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
412
|
+
/**
|
413
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
414
|
+
*
|
415
|
+
* @param {string} identityMappingStoreName
|
416
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
417
|
+
* @returns {string} A string representing the identity_mapping_store.
|
418
|
+
*/
|
419
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
387
420
|
/**
|
388
421
|
* Return a fully-qualified project resource name string.
|
389
422
|
*
|
@@ -399,6 +432,63 @@ export declare class ProjectServiceClient {
|
|
399
432
|
* @returns {string} A string representing the project.
|
400
433
|
*/
|
401
434
|
matchProjectFromProjectName(projectName: string): string | number;
|
435
|
+
/**
|
436
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
437
|
+
*
|
438
|
+
* @param {string} project
|
439
|
+
* @param {string} location
|
440
|
+
* @returns {string} Resource name string.
|
441
|
+
*/
|
442
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
443
|
+
/**
|
444
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
445
|
+
*
|
446
|
+
* @param {string} projectLocationCmekConfigName
|
447
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
448
|
+
* @returns {string} A string representing the project.
|
449
|
+
*/
|
450
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
451
|
+
/**
|
452
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
453
|
+
*
|
454
|
+
* @param {string} projectLocationCmekConfigName
|
455
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
456
|
+
* @returns {string} A string representing the location.
|
457
|
+
*/
|
458
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
459
|
+
/**
|
460
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
461
|
+
*
|
462
|
+
* @param {string} project
|
463
|
+
* @param {string} location
|
464
|
+
* @param {string} cmek_config
|
465
|
+
* @returns {string} Resource name string.
|
466
|
+
*/
|
467
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
468
|
+
/**
|
469
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
470
|
+
*
|
471
|
+
* @param {string} projectLocationCmekConfigsName
|
472
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
473
|
+
* @returns {string} A string representing the project.
|
474
|
+
*/
|
475
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
476
|
+
/**
|
477
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
478
|
+
*
|
479
|
+
* @param {string} projectLocationCmekConfigsName
|
480
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
481
|
+
* @returns {string} A string representing the location.
|
482
|
+
*/
|
483
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
484
|
+
/**
|
485
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
486
|
+
*
|
487
|
+
* @param {string} projectLocationCmekConfigsName
|
488
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
489
|
+
* @returns {string} A string representing the cmek_config.
|
490
|
+
*/
|
491
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
402
492
|
/**
|
403
493
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
404
494
|
*
|