@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
@@ -72,7 +72,7 @@ class SchemaServiceClient {
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 SchemaServiceClient {
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 SchemaServiceClient {
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 {
@@ -146,18 +149,26 @@ class SchemaServiceClient {
146
149
  // identifiers to uniquely identify resources within the API.
147
150
  // Create useful helper objects for these.
148
151
  this.pathTemplates = {
152
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
149
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
150
154
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
151
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
152
157
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
158
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
153
159
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
154
161
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
155
162
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
156
163
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
164
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
157
165
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
158
166
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
167
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
168
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
169
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
160
170
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
171
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
161
172
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
162
173
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
174
  };
@@ -215,6 +226,9 @@ class SchemaServiceClient {
215
226
  {
216
227
  get: '/v1alpha/{name=projects/*/locations/*/dataStores/*/operations/*}',
217
228
  },
229
+ {
230
+ get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
231
+ },
218
232
  { get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
219
233
  { get: '/v1alpha/{name=projects/*/operations/*}' },
220
234
  ],
@@ -341,7 +355,7 @@ class SchemaServiceClient {
341
355
  * @returns {string} The DNS address for this service.
342
356
  */
343
357
  static get servicePath() {
344
- if (typeof process !== undefined &&
358
+ if (typeof process === 'object' &&
345
359
  typeof process.emitWarning === 'function') {
346
360
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
347
361
  }
@@ -353,7 +367,7 @@ class SchemaServiceClient {
353
367
  * @returns {string} The DNS address for this service.
354
368
  */
355
369
  static get apiEndpoint() {
356
- if (typeof process !== undefined &&
370
+ if (typeof process === 'object' &&
357
371
  typeof process.emitWarning === 'function') {
358
372
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
359
373
  }
@@ -840,6 +854,41 @@ class SchemaServiceClient {
840
854
  // --------------------
841
855
  // -- Path templates --
842
856
  // --------------------
857
+ /**
858
+ * Return a fully-qualified aclConfig resource name string.
859
+ *
860
+ * @param {string} project
861
+ * @param {string} location
862
+ * @returns {string} Resource name string.
863
+ */
864
+ aclConfigPath(project, location) {
865
+ return this.pathTemplates.aclConfigPathTemplate.render({
866
+ project: project,
867
+ location: location,
868
+ });
869
+ }
870
+ /**
871
+ * Parse the project from AclConfig resource.
872
+ *
873
+ * @param {string} aclConfigName
874
+ * A fully-qualified path representing AclConfig resource.
875
+ * @returns {string} A string representing the project.
876
+ */
877
+ matchProjectFromAclConfigName(aclConfigName) {
878
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
879
+ .project;
880
+ }
881
+ /**
882
+ * Parse the location from AclConfig resource.
883
+ *
884
+ * @param {string} aclConfigName
885
+ * A fully-qualified path representing AclConfig resource.
886
+ * @returns {string} A string representing the location.
887
+ */
888
+ matchLocationFromAclConfigName(aclConfigName) {
889
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
890
+ .location;
891
+ }
843
892
  /**
844
893
  * Return a fully-qualified engine resource name string.
845
894
  *
@@ -1035,6 +1084,99 @@ class SchemaServiceClient {
1035
1084
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1036
1085
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1037
1086
  }
1087
+ /**
1088
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1089
+ *
1090
+ * @param {string} project
1091
+ * @param {string} location
1092
+ * @param {string} collection
1093
+ * @param {string} data_store
1094
+ * @param {string} branch
1095
+ * @param {string} document
1096
+ * @param {string} chunk
1097
+ * @returns {string} Resource name string.
1098
+ */
1099
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1100
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1101
+ project: project,
1102
+ location: location,
1103
+ collection: collection,
1104
+ data_store: dataStore,
1105
+ branch: branch,
1106
+ document: document,
1107
+ chunk: chunk,
1108
+ });
1109
+ }
1110
+ /**
1111
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1112
+ *
1113
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1114
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1115
+ * @returns {string} A string representing the project.
1116
+ */
1117
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1118
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1119
+ }
1120
+ /**
1121
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1122
+ *
1123
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1124
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1125
+ * @returns {string} A string representing the location.
1126
+ */
1127
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1128
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1129
+ }
1130
+ /**
1131
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1132
+ *
1133
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1134
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1135
+ * @returns {string} A string representing the collection.
1136
+ */
1137
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1138
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1139
+ }
1140
+ /**
1141
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1142
+ *
1143
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1144
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1145
+ * @returns {string} A string representing the data_store.
1146
+ */
1147
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1148
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1149
+ }
1150
+ /**
1151
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1152
+ *
1153
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1154
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1155
+ * @returns {string} A string representing the branch.
1156
+ */
1157
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1158
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1159
+ }
1160
+ /**
1161
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1162
+ *
1163
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1164
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1165
+ * @returns {string} A string representing the document.
1166
+ */
1167
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1168
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1169
+ }
1170
+ /**
1171
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1172
+ *
1173
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1174
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1175
+ * @returns {string} A string representing the chunk.
1176
+ */
1177
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1178
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1179
+ }
1038
1180
  /**
1039
1181
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1040
1182
  *
@@ -1104,6 +1246,63 @@ class SchemaServiceClient {
1104
1246
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1105
1247
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1106
1248
  }
1249
+ /**
1250
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1251
+ *
1252
+ * @param {string} project
1253
+ * @param {string} location
1254
+ * @param {string} collection
1255
+ * @param {string} data_store
1256
+ * @returns {string} Resource name string.
1257
+ */
1258
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1259
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1260
+ project: project,
1261
+ location: location,
1262
+ collection: collection,
1263
+ data_store: dataStore,
1264
+ });
1265
+ }
1266
+ /**
1267
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1268
+ *
1269
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1270
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1271
+ * @returns {string} A string representing the project.
1272
+ */
1273
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1274
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1275
+ }
1276
+ /**
1277
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1278
+ *
1279
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1280
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1281
+ * @returns {string} A string representing the location.
1282
+ */
1283
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1284
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1285
+ }
1286
+ /**
1287
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1288
+ *
1289
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1290
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1291
+ * @returns {string} A string representing the collection.
1292
+ */
1293
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1294
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1295
+ }
1296
+ /**
1297
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1298
+ *
1299
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1300
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1301
+ * @returns {string} A string representing the data_store.
1302
+ */
1303
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1304
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1305
+ }
1107
1306
  /**
1108
1307
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1109
1308
  *
@@ -1173,6 +1372,75 @@ class SchemaServiceClient {
1173
1372
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1174
1373
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1175
1374
  }
1375
+ /**
1376
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1377
+ *
1378
+ * @param {string} project
1379
+ * @param {string} location
1380
+ * @param {string} collection
1381
+ * @param {string} data_store
1382
+ * @param {string} serving_config
1383
+ * @returns {string} Resource name string.
1384
+ */
1385
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1386
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1387
+ project: project,
1388
+ location: location,
1389
+ collection: collection,
1390
+ data_store: dataStore,
1391
+ serving_config: servingConfig,
1392
+ });
1393
+ }
1394
+ /**
1395
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1396
+ *
1397
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1398
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1399
+ * @returns {string} A string representing the project.
1400
+ */
1401
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1402
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1403
+ }
1404
+ /**
1405
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1406
+ *
1407
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1408
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1409
+ * @returns {string} A string representing the location.
1410
+ */
1411
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1412
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1413
+ }
1414
+ /**
1415
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1416
+ *
1417
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1418
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1419
+ * @returns {string} A string representing the collection.
1420
+ */
1421
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1422
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1423
+ }
1424
+ /**
1425
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1426
+ *
1427
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1428
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1429
+ * @returns {string} A string representing the data_store.
1430
+ */
1431
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1432
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1433
+ }
1434
+ /**
1435
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1436
+ *
1437
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1438
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1439
+ * @returns {string} A string representing the serving_config.
1440
+ */
1441
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1442
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1443
+ }
1176
1444
  /**
1177
1445
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1178
1446
  *
@@ -1368,6 +1636,75 @@ class SchemaServiceClient {
1368
1636
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1369
1637
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1370
1638
  }
1639
+ /**
1640
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1641
+ *
1642
+ * @param {string} project
1643
+ * @param {string} location
1644
+ * @param {string} collection
1645
+ * @param {string} engine
1646
+ * @param {string} serving_config
1647
+ * @returns {string} Resource name string.
1648
+ */
1649
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1650
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1651
+ project: project,
1652
+ location: location,
1653
+ collection: collection,
1654
+ engine: engine,
1655
+ serving_config: servingConfig,
1656
+ });
1657
+ }
1658
+ /**
1659
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1660
+ *
1661
+ * @param {string} projectLocationCollectionEngineServingConfigName
1662
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1663
+ * @returns {string} A string representing the project.
1664
+ */
1665
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1666
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1667
+ }
1668
+ /**
1669
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1670
+ *
1671
+ * @param {string} projectLocationCollectionEngineServingConfigName
1672
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1673
+ * @returns {string} A string representing the location.
1674
+ */
1675
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1676
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1677
+ }
1678
+ /**
1679
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1680
+ *
1681
+ * @param {string} projectLocationCollectionEngineServingConfigName
1682
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1683
+ * @returns {string} A string representing the collection.
1684
+ */
1685
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1686
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1687
+ }
1688
+ /**
1689
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1690
+ *
1691
+ * @param {string} projectLocationCollectionEngineServingConfigName
1692
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1693
+ * @returns {string} A string representing the engine.
1694
+ */
1695
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1696
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1697
+ }
1698
+ /**
1699
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1700
+ *
1701
+ * @param {string} projectLocationCollectionEngineServingConfigName
1702
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1703
+ * @returns {string} A string representing the serving_config.
1704
+ */
1705
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1706
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1707
+ }
1371
1708
  /**
1372
1709
  * Return a fully-qualified projectLocationDataStore resource name string.
1373
1710
  *
@@ -1482,6 +1819,87 @@ class SchemaServiceClient {
1482
1819
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1483
1820
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1484
1821
  }
1822
+ /**
1823
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1824
+ *
1825
+ * @param {string} project
1826
+ * @param {string} location
1827
+ * @param {string} data_store
1828
+ * @param {string} branch
1829
+ * @param {string} document
1830
+ * @param {string} chunk
1831
+ * @returns {string} Resource name string.
1832
+ */
1833
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1834
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1835
+ project: project,
1836
+ location: location,
1837
+ data_store: dataStore,
1838
+ branch: branch,
1839
+ document: document,
1840
+ chunk: chunk,
1841
+ });
1842
+ }
1843
+ /**
1844
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1845
+ *
1846
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1847
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1848
+ * @returns {string} A string representing the project.
1849
+ */
1850
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1851
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1852
+ }
1853
+ /**
1854
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1855
+ *
1856
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1857
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1858
+ * @returns {string} A string representing the location.
1859
+ */
1860
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1861
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1862
+ }
1863
+ /**
1864
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1865
+ *
1866
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1867
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1868
+ * @returns {string} A string representing the data_store.
1869
+ */
1870
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1871
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1872
+ }
1873
+ /**
1874
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1875
+ *
1876
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1877
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1878
+ * @returns {string} A string representing the branch.
1879
+ */
1880
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1881
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1882
+ }
1883
+ /**
1884
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1885
+ *
1886
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1887
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1888
+ * @returns {string} A string representing the document.
1889
+ */
1890
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1891
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1892
+ }
1893
+ /**
1894
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1895
+ *
1896
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1897
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1898
+ * @returns {string} A string representing the chunk.
1899
+ */
1900
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1901
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1902
+ }
1485
1903
  /**
1486
1904
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1487
1905
  *
@@ -1539,6 +1957,51 @@ class SchemaServiceClient {
1539
1957
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1540
1958
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1541
1959
  }
1960
+ /**
1961
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1962
+ *
1963
+ * @param {string} project
1964
+ * @param {string} location
1965
+ * @param {string} data_store
1966
+ * @returns {string} Resource name string.
1967
+ */
1968
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1969
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1970
+ project: project,
1971
+ location: location,
1972
+ data_store: dataStore,
1973
+ });
1974
+ }
1975
+ /**
1976
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1977
+ *
1978
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1979
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1980
+ * @returns {string} A string representing the project.
1981
+ */
1982
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1983
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1984
+ }
1985
+ /**
1986
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1987
+ *
1988
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1989
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1990
+ * @returns {string} A string representing the location.
1991
+ */
1992
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1993
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1994
+ }
1995
+ /**
1996
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1997
+ *
1998
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1999
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2000
+ * @returns {string} A string representing the data_store.
2001
+ */
2002
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2003
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2004
+ }
1542
2005
  /**
1543
2006
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1544
2007
  *
@@ -1596,6 +2059,63 @@ class SchemaServiceClient {
1596
2059
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1597
2060
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1598
2061
  }
2062
+ /**
2063
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2064
+ *
2065
+ * @param {string} project
2066
+ * @param {string} location
2067
+ * @param {string} data_store
2068
+ * @param {string} serving_config
2069
+ * @returns {string} Resource name string.
2070
+ */
2071
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2072
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2073
+ project: project,
2074
+ location: location,
2075
+ data_store: dataStore,
2076
+ serving_config: servingConfig,
2077
+ });
2078
+ }
2079
+ /**
2080
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2081
+ *
2082
+ * @param {string} projectLocationDataStoreServingConfigName
2083
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2084
+ * @returns {string} A string representing the project.
2085
+ */
2086
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2087
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2088
+ }
2089
+ /**
2090
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2091
+ *
2092
+ * @param {string} projectLocationDataStoreServingConfigName
2093
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2094
+ * @returns {string} A string representing the location.
2095
+ */
2096
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2097
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2098
+ }
2099
+ /**
2100
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2101
+ *
2102
+ * @param {string} projectLocationDataStoreServingConfigName
2103
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2104
+ * @returns {string} A string representing the data_store.
2105
+ */
2106
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2107
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2108
+ }
2109
+ /**
2110
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2111
+ *
2112
+ * @param {string} projectLocationDataStoreServingConfigName
2113
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2114
+ * @returns {string} A string representing the serving_config.
2115
+ */
2116
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2117
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2118
+ }
1599
2119
  /**
1600
2120
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1601
2121
  *