@google-cloud/discoveryengine 1.4.0 → 1.5.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 (121) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +15 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +106 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +97 -4
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +102 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +70 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +376 -21
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +221 -30
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +27 -20
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +148 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
  37. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
  39. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
  40. package/build/protos/protos.d.ts +18160 -8292
  41. package/build/protos/protos.js +50325 -25400
  42. package/build/protos/protos.json +4864 -2447
  43. package/build/src/v1/completion_service_client.js +10 -7
  44. package/build/src/v1/conversational_search_service_client.js +10 -7
  45. package/build/src/v1/data_store_service_client.js +10 -7
  46. package/build/src/v1/document_service_client.js +10 -7
  47. package/build/src/v1/engine_service_client.js +10 -7
  48. package/build/src/v1/schema_service_client.js +10 -7
  49. package/build/src/v1/search_service_client.js +10 -7
  50. package/build/src/v1/site_search_engine_service_client.js +10 -7
  51. package/build/src/v1/user_event_service_client.js +10 -7
  52. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  53. package/build/src/v1alpha/acl_config_service_client.js +1768 -0
  54. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  55. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  56. package/build/src/v1alpha/chunk_service_client.js +1889 -0
  57. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  58. package/build/src/v1alpha/completion_service_client.d.ts +588 -3
  59. package/build/src/v1alpha/completion_service_client.js +844 -9
  60. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  61. package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
  62. package/build/src/v1alpha/conversational_search_service_client.js +326 -7
  63. package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
  64. package/build/src/v1alpha/data_store_service_client.js +575 -9
  65. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  66. package/build/src/v1alpha/document_service_client.d.ts +462 -21
  67. package/build/src/v1alpha/document_service_client.js +549 -7
  68. package/build/src/v1alpha/document_service_client_config.json +5 -0
  69. package/build/src/v1alpha/engine_service_client.d.ts +375 -2
  70. package/build/src/v1alpha/engine_service_client.js +527 -7
  71. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  72. package/build/src/v1alpha/estimate_billing_service_client.js +2034 -0
  73. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  74. package/build/src/v1alpha/index.d.ts +5 -0
  75. package/build/src/v1alpha/index.js +11 -1
  76. package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
  77. package/build/src/v1alpha/rank_service_client.js +1796 -0
  78. package/build/src/v1alpha/rank_service_client_config.json +30 -0
  79. package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
  80. package/build/src/v1alpha/recommendation_service_client.js +326 -7
  81. package/build/src/v1alpha/schema_service_client.d.ts +372 -0
  82. package/build/src/v1alpha/schema_service_client.js +527 -7
  83. package/build/src/v1alpha/search_service_client.d.ts +288 -30
  84. package/build/src/v1alpha/search_service_client.js +366 -27
  85. package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
  86. package/build/src/v1alpha/search_tuning_service_client.js +527 -7
  87. package/build/src/v1alpha/serving_config_service_client.d.ts +1370 -0
  88. package/build/src/v1alpha/serving_config_service_client.js +1939 -0
  89. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  90. package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
  91. package/build/src/v1alpha/site_search_engine_service_client.js +527 -7
  92. package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
  93. package/build/src/v1alpha/user_event_service_client.js +527 -7
  94. package/build/src/v1beta/completion_service_client.d.ts +75 -0
  95. package/build/src/v1beta/completion_service_client.js +114 -7
  96. package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
  97. package/build/src/v1beta/conversational_search_service_client.js +114 -7
  98. package/build/src/v1beta/data_store_service_client.d.ts +75 -0
  99. package/build/src/v1beta/data_store_service_client.js +114 -7
  100. package/build/src/v1beta/document_service_client.d.ts +75 -0
  101. package/build/src/v1beta/document_service_client.js +114 -7
  102. package/build/src/v1beta/engine_service_client.d.ts +75 -0
  103. package/build/src/v1beta/engine_service_client.js +114 -7
  104. package/build/src/v1beta/index.d.ts +1 -0
  105. package/build/src/v1beta/index.js +3 -1
  106. package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
  107. package/build/src/v1beta/recommendation_service_client.js +114 -7
  108. package/build/src/v1beta/schema_service_client.d.ts +75 -0
  109. package/build/src/v1beta/schema_service_client.js +114 -7
  110. package/build/src/v1beta/search_service_client.d.ts +81 -0
  111. package/build/src/v1beta/search_service_client.js +118 -7
  112. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  113. package/build/src/v1beta/search_tuning_service_client.js +1784 -0
  114. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  115. package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
  116. package/build/src/v1beta/serving_config_service_client.js +176 -12
  117. package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
  118. package/build/src/v1beta/site_search_engine_service_client.js +114 -7
  119. package/build/src/v1beta/user_event_service_client.d.ts +75 -0
  120. package/build/src/v1beta/user_event_service_client.js +114 -7
  121. package/package.json +3 -3
@@ -638,6 +638,48 @@ export declare class CompletionServiceClient {
638
638
  * @returns {string} A string representing the conversation.
639
639
  */
640
640
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
641
+ /**
642
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
643
+ *
644
+ * @param {string} project
645
+ * @param {string} location
646
+ * @param {string} collection
647
+ * @param {string} data_store
648
+ * @returns {string} Resource name string.
649
+ */
650
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
651
+ /**
652
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
653
+ *
654
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
655
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
656
+ * @returns {string} A string representing the project.
657
+ */
658
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
659
+ /**
660
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
661
+ *
662
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
663
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
664
+ * @returns {string} A string representing the location.
665
+ */
666
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
667
+ /**
668
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
669
+ *
670
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
671
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
672
+ * @returns {string} A string representing the collection.
673
+ */
674
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
675
+ /**
676
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
677
+ *
678
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
679
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
680
+ * @returns {string} A string representing the data_store.
681
+ */
682
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
641
683
  /**
642
684
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
643
685
  *
@@ -1061,6 +1103,39 @@ export declare class CompletionServiceClient {
1061
1103
  * @returns {string} A string representing the conversation.
1062
1104
  */
1063
1105
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1106
+ /**
1107
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1108
+ *
1109
+ * @param {string} project
1110
+ * @param {string} location
1111
+ * @param {string} data_store
1112
+ * @returns {string} Resource name string.
1113
+ */
1114
+ projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
1115
+ /**
1116
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1117
+ *
1118
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1119
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1120
+ * @returns {string} A string representing the project.
1121
+ */
1122
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1123
+ /**
1124
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1125
+ *
1126
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1127
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1128
+ * @returns {string} A string representing the location.
1129
+ */
1130
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1131
+ /**
1132
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1133
+ *
1134
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1135
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1136
+ * @returns {string} A string representing the data_store.
1137
+ */
1138
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1064
1139
  /**
1065
1140
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1066
1141
  *
@@ -72,7 +72,7 @@ class CompletionServiceClient {
72
72
  * ```
73
73
  */
74
74
  constructor(opts, gaxInstance) {
75
- var _a, _b, _c, _d;
75
+ var _a, _b, _c, _d, _e;
76
76
  this._terminated = false;
77
77
  this.descriptors = {
78
78
  page: {},
@@ -87,14 +87,17 @@ class CompletionServiceClient {
87
87
  (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
88
88
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
89
89
  }
90
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
91
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
92
+ : undefined;
90
93
  this._universeDomain =
91
- (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
94
+ (_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
92
95
  this._servicePath = 'discoveryengine.' + this._universeDomain;
93
96
  const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
94
97
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
95
98
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
96
- const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
97
- const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
99
+ const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
100
+ const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
98
101
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
99
102
  // Request numeric enum values if REST transport is used.
100
103
  opts.numericEnums = true;
@@ -125,7 +128,7 @@ class CompletionServiceClient {
125
128
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
126
129
  // Determine the client header string.
127
130
  const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
128
- if (typeof process !== 'undefined' && 'versions' in process) {
131
+ if (typeof process === 'object' && 'versions' in process) {
129
132
  clientHeader.push(`gl-node/${process.versions.node}`);
130
133
  }
131
134
  else {
@@ -150,6 +153,7 @@ class CompletionServiceClient {
150
153
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
151
154
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
152
155
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
156
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
153
157
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
154
158
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
155
159
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
@@ -159,6 +163,7 @@ class CompletionServiceClient {
159
163
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
160
164
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
161
165
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
166
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
162
167
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
163
168
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
164
169
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
@@ -331,7 +336,7 @@ class CompletionServiceClient {
331
336
  * @returns {string} The DNS address for this service.
332
337
  */
333
338
  static get servicePath() {
334
- if (typeof process !== undefined &&
339
+ if (typeof process === 'object' &&
335
340
  typeof process.emitWarning === 'function') {
336
341
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
337
342
  }
@@ -343,7 +348,7 @@ class CompletionServiceClient {
343
348
  * @returns {string} The DNS address for this service.
344
349
  */
345
350
  static get apiEndpoint() {
346
- if (typeof process !== undefined &&
351
+ if (typeof process === 'object' &&
347
352
  typeof process.emitWarning === 'function') {
348
353
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
349
354
  }
@@ -932,6 +937,63 @@ class CompletionServiceClient {
932
937
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
933
938
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
934
939
  }
940
+ /**
941
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
942
+ *
943
+ * @param {string} project
944
+ * @param {string} location
945
+ * @param {string} collection
946
+ * @param {string} data_store
947
+ * @returns {string} Resource name string.
948
+ */
949
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
950
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
951
+ project: project,
952
+ location: location,
953
+ collection: collection,
954
+ data_store: dataStore,
955
+ });
956
+ }
957
+ /**
958
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
959
+ *
960
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
961
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
962
+ * @returns {string} A string representing the project.
963
+ */
964
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
965
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
966
+ }
967
+ /**
968
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
969
+ *
970
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
971
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
972
+ * @returns {string} A string representing the location.
973
+ */
974
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
975
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
976
+ }
977
+ /**
978
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
979
+ *
980
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
981
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
982
+ * @returns {string} A string representing the collection.
983
+ */
984
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
985
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
986
+ }
987
+ /**
988
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
989
+ *
990
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
991
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
992
+ * @returns {string} A string representing the data_store.
993
+ */
994
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
995
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
996
+ }
935
997
  /**
936
998
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
937
999
  *
@@ -1505,6 +1567,51 @@ class CompletionServiceClient {
1505
1567
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1506
1568
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1507
1569
  }
1570
+ /**
1571
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1572
+ *
1573
+ * @param {string} project
1574
+ * @param {string} location
1575
+ * @param {string} data_store
1576
+ * @returns {string} Resource name string.
1577
+ */
1578
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1579
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1580
+ project: project,
1581
+ location: location,
1582
+ data_store: dataStore,
1583
+ });
1584
+ }
1585
+ /**
1586
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1587
+ *
1588
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1589
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1590
+ * @returns {string} A string representing the project.
1591
+ */
1592
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1593
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1594
+ }
1595
+ /**
1596
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1597
+ *
1598
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1599
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1600
+ * @returns {string} A string representing the location.
1601
+ */
1602
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1603
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1604
+ }
1605
+ /**
1606
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1607
+ *
1608
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1609
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1610
+ * @returns {string} A string representing the data_store.
1611
+ */
1612
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1613
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1614
+ }
1508
1615
  /**
1509
1616
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1510
1617
  *
@@ -177,6 +177,10 @@ export declare class ConversationalSearchServiceClient {
177
177
  * For more information about filtering including syntax and filter
178
178
  * operators, see
179
179
  * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
180
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
181
+ * Boost specification to boost certain documents in search results which may
182
+ * affect the converse response. For more information on boosting, see
183
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
180
184
  * @param {object} [options]
181
185
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
182
186
  * @returns {Promise} - The promise which resolves to an array.
@@ -693,6 +697,48 @@ export declare class ConversationalSearchServiceClient {
693
697
  * @returns {string} A string representing the conversation.
694
698
  */
695
699
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
700
+ /**
701
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
702
+ *
703
+ * @param {string} project
704
+ * @param {string} location
705
+ * @param {string} collection
706
+ * @param {string} data_store
707
+ * @returns {string} Resource name string.
708
+ */
709
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
710
+ /**
711
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
712
+ *
713
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
714
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
715
+ * @returns {string} A string representing the project.
716
+ */
717
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
718
+ /**
719
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
720
+ *
721
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
722
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
723
+ * @returns {string} A string representing the location.
724
+ */
725
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
726
+ /**
727
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
728
+ *
729
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
730
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
731
+ * @returns {string} A string representing the collection.
732
+ */
733
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
734
+ /**
735
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
736
+ *
737
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
738
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
739
+ * @returns {string} A string representing the data_store.
740
+ */
741
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
696
742
  /**
697
743
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
698
744
  *
@@ -1116,6 +1162,39 @@ export declare class ConversationalSearchServiceClient {
1116
1162
  * @returns {string} A string representing the conversation.
1117
1163
  */
1118
1164
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1165
+ /**
1166
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1167
+ *
1168
+ * @param {string} project
1169
+ * @param {string} location
1170
+ * @param {string} data_store
1171
+ * @returns {string} Resource name string.
1172
+ */
1173
+ projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
1174
+ /**
1175
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1176
+ *
1177
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1178
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1179
+ * @returns {string} A string representing the project.
1180
+ */
1181
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1182
+ /**
1183
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1184
+ *
1185
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1186
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1187
+ * @returns {string} A string representing the location.
1188
+ */
1189
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1190
+ /**
1191
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1192
+ *
1193
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1194
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1195
+ * @returns {string} A string representing the data_store.
1196
+ */
1197
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1119
1198
  /**
1120
1199
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1121
1200
  *
@@ -72,7 +72,7 @@ class ConversationalSearchServiceClient {
72
72
  * ```
73
73
  */
74
74
  constructor(opts, gaxInstance) {
75
- var _a, _b, _c, _d;
75
+ var _a, _b, _c, _d, _e;
76
76
  this._terminated = false;
77
77
  this.descriptors = {
78
78
  page: {},
@@ -88,14 +88,17 @@ class ConversationalSearchServiceClient {
88
88
  (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
89
89
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
90
90
  }
91
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
92
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
93
+ : undefined;
91
94
  this._universeDomain =
92
- (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
95
+ (_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
93
96
  this._servicePath = 'discoveryengine.' + this._universeDomain;
94
97
  const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
95
98
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
96
99
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
97
- const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
98
- const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
100
+ const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
101
+ const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
99
102
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
100
103
  // Request numeric enum values if REST transport is used.
101
104
  opts.numericEnums = true;
@@ -126,7 +129,7 @@ class ConversationalSearchServiceClient {
126
129
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
127
130
  // Determine the client header string.
128
131
  const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
129
- if (typeof process !== 'undefined' && 'versions' in process) {
132
+ if (typeof process === 'object' && 'versions' in process) {
130
133
  clientHeader.push(`gl-node/${process.versions.node}`);
131
134
  }
132
135
  else {
@@ -151,6 +154,7 @@ class ConversationalSearchServiceClient {
151
154
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
152
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
153
156
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
157
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
154
158
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
155
159
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
156
160
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
@@ -160,6 +164,7 @@ class ConversationalSearchServiceClient {
160
164
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
161
165
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
162
166
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
167
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
163
168
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
164
169
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
165
170
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
@@ -235,7 +240,7 @@ class ConversationalSearchServiceClient {
235
240
  * @returns {string} The DNS address for this service.
236
241
  */
237
242
  static get servicePath() {
238
- if (typeof process !== undefined &&
243
+ if (typeof process === 'object' &&
239
244
  typeof process.emitWarning === 'function') {
240
245
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
241
246
  }
@@ -247,7 +252,7 @@ class ConversationalSearchServiceClient {
247
252
  * @returns {string} The DNS address for this service.
248
253
  */
249
254
  static get apiEndpoint() {
250
- if (typeof process !== undefined &&
255
+ if (typeof process === 'object' &&
251
256
  typeof process.emitWarning === 'function') {
252
257
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
253
258
  }
@@ -852,6 +857,63 @@ class ConversationalSearchServiceClient {
852
857
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
853
858
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
854
859
  }
860
+ /**
861
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
862
+ *
863
+ * @param {string} project
864
+ * @param {string} location
865
+ * @param {string} collection
866
+ * @param {string} data_store
867
+ * @returns {string} Resource name string.
868
+ */
869
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
870
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
871
+ project: project,
872
+ location: location,
873
+ collection: collection,
874
+ data_store: dataStore,
875
+ });
876
+ }
877
+ /**
878
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
879
+ *
880
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
881
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
882
+ * @returns {string} A string representing the project.
883
+ */
884
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
885
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
886
+ }
887
+ /**
888
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
889
+ *
890
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
891
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
892
+ * @returns {string} A string representing the location.
893
+ */
894
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
895
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
896
+ }
897
+ /**
898
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
899
+ *
900
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
901
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
902
+ * @returns {string} A string representing the collection.
903
+ */
904
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
905
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
906
+ }
907
+ /**
908
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
909
+ *
910
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
911
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
912
+ * @returns {string} A string representing the data_store.
913
+ */
914
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
915
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
916
+ }
855
917
  /**
856
918
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
857
919
  *
@@ -1425,6 +1487,51 @@ class ConversationalSearchServiceClient {
1425
1487
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1426
1488
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1427
1489
  }
1490
+ /**
1491
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1492
+ *
1493
+ * @param {string} project
1494
+ * @param {string} location
1495
+ * @param {string} data_store
1496
+ * @returns {string} Resource name string.
1497
+ */
1498
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1499
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1500
+ project: project,
1501
+ location: location,
1502
+ data_store: dataStore,
1503
+ });
1504
+ }
1505
+ /**
1506
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1507
+ *
1508
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1509
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1510
+ * @returns {string} A string representing the project.
1511
+ */
1512
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1513
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1514
+ }
1515
+ /**
1516
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1517
+ *
1518
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1519
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1520
+ * @returns {string} A string representing the location.
1521
+ */
1522
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1523
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1524
+ }
1525
+ /**
1526
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1527
+ *
1528
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1529
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1530
+ * @returns {string} A string representing the data_store.
1531
+ */
1532
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1533
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1534
+ }
1428
1535
  /**
1429
1536
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1430
1537
  *