@google-cloud/discoveryengine 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +13 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +3 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  11. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  13. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  16. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +6 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  21. package/build/protos/protos.d.ts +5387 -265
  22. package/build/protos/protos.js +77991 -63105
  23. package/build/protos/protos.json +1512 -91
  24. package/build/src/index.d.ts +10 -1
  25. package/build/src/index.js +8 -2
  26. package/build/src/v1/cmek_config_service_client.d.ts +2287 -0
  27. package/build/src/v1/cmek_config_service_client.js +3274 -0
  28. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  29. package/build/src/v1/cmek_config_service_proto_list.json +44 -0
  30. package/build/src/v1/completion_service_client.d.ts +90 -0
  31. package/build/src/v1/completion_service_client.js +134 -2
  32. package/build/src/v1/completion_service_proto_list.json +6 -1
  33. package/build/src/v1/control_service_client.d.ts +90 -0
  34. package/build/src/v1/control_service_client.js +150 -0
  35. package/build/src/v1/control_service_proto_list.json +6 -1
  36. package/build/src/v1/conversational_search_service_client.d.ts +90 -0
  37. package/build/src/v1/conversational_search_service_client.js +192 -0
  38. package/build/src/v1/conversational_search_service_proto_list.json +6 -1
  39. package/build/src/v1/data_store_service_client.d.ts +96 -0
  40. package/build/src/v1/data_store_service_client.js +140 -2
  41. package/build/src/v1/data_store_service_proto_list.json +6 -1
  42. package/build/src/v1/document_service_client.d.ts +90 -0
  43. package/build/src/v1/document_service_client.js +158 -2
  44. package/build/src/v1/document_service_proto_list.json +6 -1
  45. package/build/src/v1/engine_service_client.d.ts +90 -0
  46. package/build/src/v1/engine_service_client.js +140 -2
  47. package/build/src/v1/engine_service_proto_list.json +6 -1
  48. package/build/src/v1/gapic_metadata.json +184 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +90 -0
  50. package/build/src/v1/grounded_generation_service_client.js +138 -0
  51. package/build/src/v1/grounded_generation_service_proto_list.json +6 -1
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +2470 -0
  53. package/build/src/v1/identity_mapping_store_service_client.js +3449 -0
  54. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  55. package/build/src/v1/identity_mapping_store_service_proto_list.json +44 -0
  56. package/build/src/v1/index.d.ts +3 -0
  57. package/build/src/v1/index.js +7 -1
  58. package/build/src/v1/project_service_client.d.ts +90 -0
  59. package/build/src/v1/project_service_client.js +128 -2
  60. package/build/src/v1/project_service_proto_list.json +6 -1
  61. package/build/src/v1/rank_service_client.d.ts +90 -0
  62. package/build/src/v1/rank_service_client.js +132 -0
  63. package/build/src/v1/rank_service_proto_list.json +6 -1
  64. package/build/src/v1/recommendation_service_client.d.ts +90 -0
  65. package/build/src/v1/recommendation_service_client.js +132 -0
  66. package/build/src/v1/recommendation_service_proto_list.json +6 -1
  67. package/build/src/v1/schema_service_client.d.ts +90 -0
  68. package/build/src/v1/schema_service_client.js +134 -2
  69. package/build/src/v1/schema_service_proto_list.json +6 -1
  70. package/build/src/v1/search_service_client.d.ts +90 -0
  71. package/build/src/v1/search_service_client.js +126 -0
  72. package/build/src/v1/search_service_proto_list.json +6 -1
  73. package/build/src/v1/search_tuning_service_client.d.ts +90 -0
  74. package/build/src/v1/search_tuning_service_client.js +134 -2
  75. package/build/src/v1/search_tuning_service_proto_list.json +6 -1
  76. package/build/src/v1/serving_config_service_client.d.ts +90 -0
  77. package/build/src/v1/serving_config_service_client.js +132 -0
  78. package/build/src/v1/serving_config_service_proto_list.json +6 -1
  79. package/build/src/v1/site_search_engine_service_client.d.ts +90 -0
  80. package/build/src/v1/site_search_engine_service_client.js +146 -2
  81. package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
  82. package/build/src/v1/user_event_service_client.d.ts +90 -0
  83. package/build/src/v1/user_event_service_client.js +140 -2
  84. package/build/src/v1/user_event_service_proto_list.json +6 -1
  85. package/build/src/v1/user_license_service_client.d.ts +2256 -0
  86. package/build/src/v1/user_license_service_client.js +3194 -0
  87. package/build/src/v1/user_license_service_client_config.json +34 -0
  88. package/build/src/v1/user_license_service_proto_list.json +44 -0
  89. package/build/src/v1alpha/acl_config_service_client.js +12 -0
  90. package/build/src/v1alpha/chunk_service_client.js +6 -0
  91. package/build/src/v1alpha/completion_service_client.js +7 -1
  92. package/build/src/v1alpha/control_service_client.js +24 -0
  93. package/build/src/v1alpha/conversational_search_service_client.js +66 -0
  94. package/build/src/v1alpha/data_store_service_client.js +25 -1
  95. package/build/src/v1alpha/document_service_client.js +37 -1
  96. package/build/src/v1alpha/engine_service_client.js +25 -1
  97. package/build/src/v1alpha/estimate_billing_service_client.js +1 -1
  98. package/build/src/v1alpha/evaluation_service_client.js +7 -1
  99. package/build/src/v1alpha/grounded_generation_service_client.js +6 -0
  100. package/build/src/v1alpha/project_service_client.js +13 -1
  101. package/build/src/v1alpha/rank_service_client.js +6 -0
  102. package/build/src/v1alpha/recommendation_service_client.js +6 -0
  103. package/build/src/v1alpha/sample_query_service_client.js +25 -1
  104. package/build/src/v1alpha/sample_query_set_service_client.js +24 -0
  105. package/build/src/v1alpha/schema_service_client.js +7 -1
  106. package/build/src/v1alpha/search_tuning_service_client.js +7 -1
  107. package/build/src/v1alpha/serving_config_service_client.js +12 -0
  108. package/build/src/v1alpha/site_search_engine_service_client.js +19 -1
  109. package/build/src/v1alpha/user_event_service_client.js +13 -1
  110. package/build/src/v1beta/completion_service_client.js +13 -1
  111. package/build/src/v1beta/control_service_client.js +24 -0
  112. package/build/src/v1beta/conversational_search_service_client.js +66 -0
  113. package/build/src/v1beta/data_store_service_client.js +13 -1
  114. package/build/src/v1beta/document_service_client.js +31 -1
  115. package/build/src/v1beta/engine_service_client.js +25 -1
  116. package/build/src/v1beta/evaluation_service_client.js +7 -1
  117. package/build/src/v1beta/grounded_generation_service_client.js +12 -0
  118. package/build/src/v1beta/project_service_client.js +1 -1
  119. package/build/src/v1beta/rank_service_client.js +6 -0
  120. package/build/src/v1beta/recommendation_service_client.js +6 -0
  121. package/build/src/v1beta/sample_query_service_client.js +25 -1
  122. package/build/src/v1beta/sample_query_set_service_client.js +24 -0
  123. package/build/src/v1beta/schema_service_client.js +7 -1
  124. package/build/src/v1beta/search_tuning_service_client.js +7 -1
  125. package/build/src/v1beta/serving_config_service_client.js +12 -0
  126. package/build/src/v1beta/site_search_engine_service_client.js +19 -1
  127. package/build/src/v1beta/user_event_service_client.js +13 -1
  128. package/package.json +7 -7
  129. package/CHANGELOG.md +0 -274
@@ -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
+ ]
@@ -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';
@@ -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
@@ -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
  *
@@ -165,7 +165,10 @@ class ProjectServiceClient {
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
167
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
168
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
169
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
170
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
171
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
169
172
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
170
173
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
171
174
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -200,7 +203,7 @@ class ProjectServiceClient {
200
203
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
201
204
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
205
  };
203
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
206
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
204
207
  // This API contains "long-running operations", which return a
205
208
  // an Operation object that allows for tracking of the operation,
206
209
  // rather than holding a request open.
@@ -210,7 +213,7 @@ class ProjectServiceClient {
210
213
  };
211
214
  if (opts.fallback) {
212
215
  lroOptions.protoJson = protoFilesRoot;
213
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
216
+ lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
214
217
  }, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
215
218
  }, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
216
219
  }];
@@ -675,6 +678,51 @@ class ProjectServiceClient {
675
678
  matchEngineFromEngineName(engineName) {
676
679
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
677
680
  }
681
+ /**
682
+ * Return a fully-qualified identityMappingStore resource name string.
683
+ *
684
+ * @param {string} project
685
+ * @param {string} location
686
+ * @param {string} identity_mapping_store
687
+ * @returns {string} Resource name string.
688
+ */
689
+ identityMappingStorePath(project, location, identityMappingStore) {
690
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
691
+ project: project,
692
+ location: location,
693
+ identity_mapping_store: identityMappingStore,
694
+ });
695
+ }
696
+ /**
697
+ * Parse the project from IdentityMappingStore resource.
698
+ *
699
+ * @param {string} identityMappingStoreName
700
+ * A fully-qualified path representing IdentityMappingStore resource.
701
+ * @returns {string} A string representing the project.
702
+ */
703
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
704
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
705
+ }
706
+ /**
707
+ * Parse the location from IdentityMappingStore resource.
708
+ *
709
+ * @param {string} identityMappingStoreName
710
+ * A fully-qualified path representing IdentityMappingStore resource.
711
+ * @returns {string} A string representing the location.
712
+ */
713
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
714
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
715
+ }
716
+ /**
717
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
718
+ *
719
+ * @param {string} identityMappingStoreName
720
+ * A fully-qualified path representing IdentityMappingStore resource.
721
+ * @returns {string} A string representing the identity_mapping_store.
722
+ */
723
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
724
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
725
+ }
678
726
  /**
679
727
  * Return a fully-qualified project resource name string.
680
728
  *
@@ -696,6 +744,84 @@ class ProjectServiceClient {
696
744
  matchProjectFromProjectName(projectName) {
697
745
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
698
746
  }
747
+ /**
748
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
749
+ *
750
+ * @param {string} project
751
+ * @param {string} location
752
+ * @returns {string} Resource name string.
753
+ */
754
+ projectLocationCmekConfigPath(project, location) {
755
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
756
+ project: project,
757
+ location: location,
758
+ });
759
+ }
760
+ /**
761
+ * Parse the project from ProjectLocationCmekConfig resource.
762
+ *
763
+ * @param {string} projectLocationCmekConfigName
764
+ * A fully-qualified path representing project_location_cmekConfig resource.
765
+ * @returns {string} A string representing the project.
766
+ */
767
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
768
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
769
+ }
770
+ /**
771
+ * Parse the location from ProjectLocationCmekConfig resource.
772
+ *
773
+ * @param {string} projectLocationCmekConfigName
774
+ * A fully-qualified path representing project_location_cmekConfig resource.
775
+ * @returns {string} A string representing the location.
776
+ */
777
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
778
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
779
+ }
780
+ /**
781
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
782
+ *
783
+ * @param {string} project
784
+ * @param {string} location
785
+ * @param {string} cmek_config
786
+ * @returns {string} Resource name string.
787
+ */
788
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
789
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
790
+ project: project,
791
+ location: location,
792
+ cmek_config: cmekConfig,
793
+ });
794
+ }
795
+ /**
796
+ * Parse the project from ProjectLocationCmekConfigs resource.
797
+ *
798
+ * @param {string} projectLocationCmekConfigsName
799
+ * A fully-qualified path representing project_location_cmekConfigs resource.
800
+ * @returns {string} A string representing the project.
801
+ */
802
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
803
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
804
+ }
805
+ /**
806
+ * Parse the location from ProjectLocationCmekConfigs resource.
807
+ *
808
+ * @param {string} projectLocationCmekConfigsName
809
+ * A fully-qualified path representing project_location_cmekConfigs resource.
810
+ * @returns {string} A string representing the location.
811
+ */
812
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
813
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
814
+ }
815
+ /**
816
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
817
+ *
818
+ * @param {string} projectLocationCmekConfigsName
819
+ * A fully-qualified path representing project_location_cmekConfigs resource.
820
+ * @returns {string} A string representing the cmek_config.
821
+ */
822
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
823
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
824
+ }
699
825
  /**
700
826
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
701
827
  *
@@ -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
  ]
@@ -267,6 +267,39 @@ export declare class RankServiceClient {
267
267
  * @returns {string} A string representing the engine.
268
268
  */
269
269
  matchEngineFromEngineName(engineName: string): string | number;
270
+ /**
271
+ * Return a fully-qualified identityMappingStore resource name string.
272
+ *
273
+ * @param {string} project
274
+ * @param {string} location
275
+ * @param {string} identity_mapping_store
276
+ * @returns {string} Resource name string.
277
+ */
278
+ identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
279
+ /**
280
+ * Parse the project from IdentityMappingStore resource.
281
+ *
282
+ * @param {string} identityMappingStoreName
283
+ * A fully-qualified path representing IdentityMappingStore resource.
284
+ * @returns {string} A string representing the project.
285
+ */
286
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
287
+ /**
288
+ * Parse the location from IdentityMappingStore resource.
289
+ *
290
+ * @param {string} identityMappingStoreName
291
+ * A fully-qualified path representing IdentityMappingStore resource.
292
+ * @returns {string} A string representing the location.
293
+ */
294
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
295
+ /**
296
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
297
+ *
298
+ * @param {string} identityMappingStoreName
299
+ * A fully-qualified path representing IdentityMappingStore resource.
300
+ * @returns {string} A string representing the identity_mapping_store.
301
+ */
302
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
270
303
  /**
271
304
  * Return a fully-qualified project resource name string.
272
305
  *
@@ -282,6 +315,63 @@ export declare class RankServiceClient {
282
315
  * @returns {string} A string representing the project.
283
316
  */
284
317
  matchProjectFromProjectName(projectName: string): string | number;
318
+ /**
319
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
320
+ *
321
+ * @param {string} project
322
+ * @param {string} location
323
+ * @returns {string} Resource name string.
324
+ */
325
+ projectLocationCmekConfigPath(project: string, location: string): string;
326
+ /**
327
+ * Parse the project from ProjectLocationCmekConfig resource.
328
+ *
329
+ * @param {string} projectLocationCmekConfigName
330
+ * A fully-qualified path representing project_location_cmekConfig resource.
331
+ * @returns {string} A string representing the project.
332
+ */
333
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
334
+ /**
335
+ * Parse the location from ProjectLocationCmekConfig resource.
336
+ *
337
+ * @param {string} projectLocationCmekConfigName
338
+ * A fully-qualified path representing project_location_cmekConfig resource.
339
+ * @returns {string} A string representing the location.
340
+ */
341
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
342
+ /**
343
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
344
+ *
345
+ * @param {string} project
346
+ * @param {string} location
347
+ * @param {string} cmek_config
348
+ * @returns {string} Resource name string.
349
+ */
350
+ projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
351
+ /**
352
+ * Parse the project from ProjectLocationCmekConfigs resource.
353
+ *
354
+ * @param {string} projectLocationCmekConfigsName
355
+ * A fully-qualified path representing project_location_cmekConfigs resource.
356
+ * @returns {string} A string representing the project.
357
+ */
358
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
359
+ /**
360
+ * Parse the location from ProjectLocationCmekConfigs resource.
361
+ *
362
+ * @param {string} projectLocationCmekConfigsName
363
+ * A fully-qualified path representing project_location_cmekConfigs resource.
364
+ * @returns {string} A string representing the location.
365
+ */
366
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
367
+ /**
368
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
369
+ *
370
+ * @param {string} projectLocationCmekConfigsName
371
+ * A fully-qualified path representing project_location_cmekConfigs resource.
372
+ * @returns {string} A string representing the cmek_config.
373
+ */
374
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
285
375
  /**
286
376
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
287
377
  *