@google-cloud/discoveryengine 1.13.0 → 1.14.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 (92) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +6 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +49 -5
  4. package/build/protos/google/cloud/discoveryengine/v1/control.proto +6 -4
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +9 -9
  6. package/build/protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto +96 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +10 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/document.proto +20 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +2 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +110 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +2 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +13 -7
  13. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +117 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +40 -16
  16. package/build/protos/google/cloud/discoveryengine/v1/search_tuning_service.proto +196 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +4 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +21 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +6 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +48 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +107 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -7
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +21 -1
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
  32. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
  40. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
  42. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  43. package/build/protos/protos.d.ts +7369 -2842
  44. package/build/protos/protos.js +13311 -2062
  45. package/build/protos/protos.json +1096 -45
  46. package/build/src/index.d.ts +4 -1
  47. package/build/src/index.js +4 -1
  48. package/build/src/v1/completion_service_client.d.ts +93 -0
  49. package/build/src/v1/completion_service_client.js +134 -0
  50. package/build/src/v1/control_service_client.d.ts +93 -0
  51. package/build/src/v1/control_service_client.js +128 -0
  52. package/build/src/v1/conversational_search_service_client.d.ts +93 -0
  53. package/build/src/v1/conversational_search_service_client.js +128 -0
  54. package/build/src/v1/data_store_service_client.d.ts +102 -0
  55. package/build/src/v1/data_store_service_client.js +134 -0
  56. package/build/src/v1/document_service_client.d.ts +131 -0
  57. package/build/src/v1/document_service_client.js +156 -0
  58. package/build/src/v1/document_service_client_config.json +5 -0
  59. package/build/src/v1/engine_service_client.d.ts +93 -0
  60. package/build/src/v1/engine_service_client.js +134 -0
  61. package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
  62. package/build/src/v1/grounded_generation_service_client.js +128 -0
  63. package/build/src/v1/index.d.ts +1 -0
  64. package/build/src/v1/index.js +3 -1
  65. package/build/src/v1/project_service_client.d.ts +93 -0
  66. package/build/src/v1/project_service_client.js +134 -0
  67. package/build/src/v1/rank_service_client.d.ts +93 -0
  68. package/build/src/v1/rank_service_client.js +128 -0
  69. package/build/src/v1/recommendation_service_client.d.ts +95 -1
  70. package/build/src/v1/recommendation_service_client.js +128 -0
  71. package/build/src/v1/schema_service_client.d.ts +93 -0
  72. package/build/src/v1/schema_service_client.js +134 -0
  73. package/build/src/v1/search_service_client.d.ts +111 -9
  74. package/build/src/v1/search_service_client.js +140 -6
  75. package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
  76. package/build/src/v1/search_tuning_service_client.js +2589 -0
  77. package/build/src/v1/search_tuning_service_client_config.json +34 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
  79. package/build/src/v1/site_search_engine_service_client.js +134 -0
  80. package/build/src/v1/user_event_service_client.d.ts +168 -0
  81. package/build/src/v1/user_event_service_client.js +176 -0
  82. package/build/src/v1/user_event_service_client_config.json +5 -0
  83. package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
  84. package/build/src/v1alpha/document_service_client.d.ts +29 -0
  85. package/build/src/v1alpha/document_service_client.js +22 -0
  86. package/build/src/v1alpha/document_service_client_config.json +5 -0
  87. package/build/src/v1beta/document_service_client.d.ts +38 -0
  88. package/build/src/v1beta/document_service_client.js +22 -0
  89. package/build/src/v1beta/document_service_client_config.json +5 -0
  90. package/build/src/v1beta/search_service_client.d.ts +36 -9
  91. package/build/src/v1beta/search_service_client.js +24 -6
  92. package/package.json +1 -1
@@ -25,11 +25,13 @@ declare const SchemaServiceClient: typeof v1.SchemaServiceClient;
25
25
  type SchemaServiceClient = v1.SchemaServiceClient;
26
26
  declare const SearchServiceClient: typeof v1.SearchServiceClient;
27
27
  type SearchServiceClient = v1.SearchServiceClient;
28
+ declare const SearchTuningServiceClient: typeof v1.SearchTuningServiceClient;
29
+ type SearchTuningServiceClient = v1.SearchTuningServiceClient;
28
30
  declare const SiteSearchEngineServiceClient: typeof v1.SiteSearchEngineServiceClient;
29
31
  type SiteSearchEngineServiceClient = v1.SiteSearchEngineServiceClient;
30
32
  declare const UserEventServiceClient: typeof v1.UserEventServiceClient;
31
33
  type UserEventServiceClient = v1.UserEventServiceClient;
32
- export { v1, v1alpha, v1beta, CompletionServiceClient, ControlServiceClient, ConversationalSearchServiceClient, DataStoreServiceClient, DocumentServiceClient, EngineServiceClient, GroundedGenerationServiceClient, ProjectServiceClient, RankServiceClient, RecommendationServiceClient, SchemaServiceClient, SearchServiceClient, SiteSearchEngineServiceClient, UserEventServiceClient, };
34
+ export { v1, v1alpha, v1beta, CompletionServiceClient, ControlServiceClient, ConversationalSearchServiceClient, DataStoreServiceClient, DocumentServiceClient, EngineServiceClient, GroundedGenerationServiceClient, ProjectServiceClient, RankServiceClient, RecommendationServiceClient, SchemaServiceClient, SearchServiceClient, SearchTuningServiceClient, SiteSearchEngineServiceClient, UserEventServiceClient, };
33
35
  declare const _default: {
34
36
  v1: typeof v1;
35
37
  v1alpha: typeof v1alpha;
@@ -46,6 +48,7 @@ declare const _default: {
46
48
  RecommendationServiceClient: typeof v1.RecommendationServiceClient;
47
49
  SchemaServiceClient: typeof v1.SchemaServiceClient;
48
50
  SearchServiceClient: typeof v1.SearchServiceClient;
51
+ SearchTuningServiceClient: typeof v1.SearchTuningServiceClient;
49
52
  SiteSearchEngineServiceClient: typeof v1.SiteSearchEngineServiceClient;
50
53
  UserEventServiceClient: typeof v1.UserEventServiceClient;
51
54
  };
@@ -17,7 +17,7 @@
17
17
  // ** https://github.com/googleapis/synthtool **
18
18
  // ** All changes to this file may be overwritten. **
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.protos = exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = exports.v1beta = exports.v1alpha = exports.v1 = void 0;
20
+ exports.protos = exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.RankServiceClient = exports.ProjectServiceClient = exports.GroundedGenerationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.ControlServiceClient = exports.CompletionServiceClient = exports.v1beta = exports.v1alpha = exports.v1 = void 0;
21
21
  const v1 = require("./v1");
22
22
  exports.v1 = v1;
23
23
  const v1alpha = require("./v1alpha");
@@ -48,6 +48,8 @@ const SchemaServiceClient = v1.SchemaServiceClient;
48
48
  exports.SchemaServiceClient = SchemaServiceClient;
49
49
  const SearchServiceClient = v1.SearchServiceClient;
50
50
  exports.SearchServiceClient = SearchServiceClient;
51
+ const SearchTuningServiceClient = v1.SearchTuningServiceClient;
52
+ exports.SearchTuningServiceClient = SearchTuningServiceClient;
51
53
  const SiteSearchEngineServiceClient = v1.SiteSearchEngineServiceClient;
52
54
  exports.SiteSearchEngineServiceClient = SiteSearchEngineServiceClient;
53
55
  const UserEventServiceClient = v1.UserEventServiceClient;
@@ -68,6 +70,7 @@ exports.default = {
68
70
  RecommendationServiceClient,
69
71
  SchemaServiceClient,
70
72
  SearchServiceClient,
73
+ SearchTuningServiceClient,
71
74
  SiteSearchEngineServiceClient,
72
75
  UserEventServiceClient,
73
76
  };
@@ -864,6 +864,57 @@ export declare class CompletionServiceClient {
864
864
  * @returns {string} A string representing the conversation.
865
865
  */
866
866
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
867
+ /**
868
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
869
+ *
870
+ * @param {string} project
871
+ * @param {string} location
872
+ * @param {string} collection
873
+ * @param {string} data_store
874
+ * @param {string} custom_tuning_model
875
+ * @returns {string} Resource name string.
876
+ */
877
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
878
+ /**
879
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
880
+ *
881
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
882
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
883
+ * @returns {string} A string representing the project.
884
+ */
885
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
886
+ /**
887
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
888
+ *
889
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
890
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
891
+ * @returns {string} A string representing the location.
892
+ */
893
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
894
+ /**
895
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
896
+ *
897
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
898
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
899
+ * @returns {string} A string representing the collection.
900
+ */
901
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
902
+ /**
903
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
904
+ *
905
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
906
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
907
+ * @returns {string} A string representing the data_store.
908
+ */
909
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
910
+ /**
911
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
912
+ *
913
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
914
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
915
+ * @returns {string} A string representing the custom_tuning_model.
916
+ */
917
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
867
918
  /**
868
919
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
869
920
  *
@@ -1602,6 +1653,48 @@ export declare class CompletionServiceClient {
1602
1653
  * @returns {string} A string representing the conversation.
1603
1654
  */
1604
1655
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1656
+ /**
1657
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1658
+ *
1659
+ * @param {string} project
1660
+ * @param {string} location
1661
+ * @param {string} data_store
1662
+ * @param {string} custom_tuning_model
1663
+ * @returns {string} Resource name string.
1664
+ */
1665
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1666
+ /**
1667
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1668
+ *
1669
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1670
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1671
+ * @returns {string} A string representing the project.
1672
+ */
1673
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1674
+ /**
1675
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1676
+ *
1677
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1678
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1679
+ * @returns {string} A string representing the location.
1680
+ */
1681
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1682
+ /**
1683
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1684
+ *
1685
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1686
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1687
+ * @returns {string} A string representing the data_store.
1688
+ */
1689
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1690
+ /**
1691
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1692
+ *
1693
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1694
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1695
+ * @returns {string} A string representing the custom_tuning_model.
1696
+ */
1697
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1605
1698
  /**
1606
1699
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1607
1700
  *
@@ -156,6 +156,7 @@ class CompletionServiceClient {
156
156
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
157
157
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
158
158
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
159
160
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
160
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
161
162
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -171,6 +172,7 @@ class CompletionServiceClient {
171
172
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
172
173
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
173
174
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
175
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
174
176
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
175
177
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
176
178
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -244,6 +246,9 @@ class CompletionServiceClient {
244
246
  {
245
247
  get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}',
246
248
  },
249
+ {
250
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*/operations/*}',
251
+ },
247
252
  { get: '/v1/{name=projects/*/locations/*/operations/*}' },
248
253
  { get: '/v1/{name=projects/*/operations/*}' },
249
254
  ],
@@ -284,6 +289,9 @@ class CompletionServiceClient {
284
289
  get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations',
285
290
  },
286
291
  { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations' },
292
+ {
293
+ get: '/v1/{name=projects/*/locations/*/identity_mapping_stores/*}/operations',
294
+ },
287
295
  { get: '/v1/{name=projects/*/locations/*}/operations' },
288
296
  { get: '/v1/{name=projects/*}/operations' },
289
297
  ],
@@ -1230,6 +1238,75 @@ class CompletionServiceClient {
1230
1238
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1231
1239
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1232
1240
  }
1241
+ /**
1242
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1243
+ *
1244
+ * @param {string} project
1245
+ * @param {string} location
1246
+ * @param {string} collection
1247
+ * @param {string} data_store
1248
+ * @param {string} custom_tuning_model
1249
+ * @returns {string} Resource name string.
1250
+ */
1251
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
1252
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
1253
+ project: project,
1254
+ location: location,
1255
+ collection: collection,
1256
+ data_store: dataStore,
1257
+ custom_tuning_model: customTuningModel,
1258
+ });
1259
+ }
1260
+ /**
1261
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1262
+ *
1263
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1264
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1265
+ * @returns {string} A string representing the project.
1266
+ */
1267
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1268
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
1269
+ }
1270
+ /**
1271
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1272
+ *
1273
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1274
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1275
+ * @returns {string} A string representing the location.
1276
+ */
1277
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1278
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
1279
+ }
1280
+ /**
1281
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1282
+ *
1283
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1284
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1285
+ * @returns {string} A string representing the collection.
1286
+ */
1287
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1288
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
1289
+ }
1290
+ /**
1291
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1292
+ *
1293
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1294
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1295
+ * @returns {string} A string representing the data_store.
1296
+ */
1297
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1298
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
1299
+ }
1300
+ /**
1301
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1302
+ *
1303
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1304
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1305
+ * @returns {string} A string representing the custom_tuning_model.
1306
+ */
1307
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1308
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
1309
+ }
1233
1310
  /**
1234
1311
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1235
1312
  *
@@ -2229,6 +2306,63 @@ class CompletionServiceClient {
2229
2306
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
2230
2307
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
2231
2308
  }
2309
+ /**
2310
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2311
+ *
2312
+ * @param {string} project
2313
+ * @param {string} location
2314
+ * @param {string} data_store
2315
+ * @param {string} custom_tuning_model
2316
+ * @returns {string} Resource name string.
2317
+ */
2318
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
2319
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
2320
+ project: project,
2321
+ location: location,
2322
+ data_store: dataStore,
2323
+ custom_tuning_model: customTuningModel,
2324
+ });
2325
+ }
2326
+ /**
2327
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2328
+ *
2329
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2330
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2331
+ * @returns {string} A string representing the project.
2332
+ */
2333
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2334
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
2335
+ }
2336
+ /**
2337
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2338
+ *
2339
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2340
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2341
+ * @returns {string} A string representing the location.
2342
+ */
2343
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2344
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
2345
+ }
2346
+ /**
2347
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2348
+ *
2349
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2350
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2351
+ * @returns {string} A string representing the data_store.
2352
+ */
2353
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2354
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
2355
+ }
2356
+ /**
2357
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2358
+ *
2359
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2360
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2361
+ * @returns {string} A string representing the custom_tuning_model.
2362
+ */
2363
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2364
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
2365
+ }
2232
2366
  /**
2233
2367
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2234
2368
  *
@@ -760,6 +760,57 @@ export declare class ControlServiceClient {
760
760
  * @returns {string} A string representing the conversation.
761
761
  */
762
762
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
763
+ /**
764
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
765
+ *
766
+ * @param {string} project
767
+ * @param {string} location
768
+ * @param {string} collection
769
+ * @param {string} data_store
770
+ * @param {string} custom_tuning_model
771
+ * @returns {string} Resource name string.
772
+ */
773
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
774
+ /**
775
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
776
+ *
777
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
778
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
779
+ * @returns {string} A string representing the project.
780
+ */
781
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
782
+ /**
783
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
784
+ *
785
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
786
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
787
+ * @returns {string} A string representing the location.
788
+ */
789
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
790
+ /**
791
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
792
+ *
793
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
794
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
795
+ * @returns {string} A string representing the collection.
796
+ */
797
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
798
+ /**
799
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
800
+ *
801
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
802
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
803
+ * @returns {string} A string representing the data_store.
804
+ */
805
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
806
+ /**
807
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
808
+ *
809
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
810
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
811
+ * @returns {string} A string representing the custom_tuning_model.
812
+ */
813
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
763
814
  /**
764
815
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
765
816
  *
@@ -1498,6 +1549,48 @@ export declare class ControlServiceClient {
1498
1549
  * @returns {string} A string representing the conversation.
1499
1550
  */
1500
1551
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1552
+ /**
1553
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1554
+ *
1555
+ * @param {string} project
1556
+ * @param {string} location
1557
+ * @param {string} data_store
1558
+ * @param {string} custom_tuning_model
1559
+ * @returns {string} Resource name string.
1560
+ */
1561
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1562
+ /**
1563
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1564
+ *
1565
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1566
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1567
+ * @returns {string} A string representing the project.
1568
+ */
1569
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1570
+ /**
1571
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1572
+ *
1573
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1574
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1575
+ * @returns {string} A string representing the location.
1576
+ */
1577
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1578
+ /**
1579
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1580
+ *
1581
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1582
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1583
+ * @returns {string} A string representing the data_store.
1584
+ */
1585
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1586
+ /**
1587
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1588
+ *
1589
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1590
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1591
+ * @returns {string} A string representing the custom_tuning_model.
1592
+ */
1593
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1501
1594
  /**
1502
1595
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1503
1596
  *
@@ -160,6 +160,7 @@ class ControlServiceClient {
160
160
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
161
161
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
162
162
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
163
+ projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
163
164
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
164
165
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
165
166
  projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
@@ -175,6 +176,7 @@ class ControlServiceClient {
175
176
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
176
177
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
177
178
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
179
+ projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
178
180
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
179
181
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
180
182
  projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
@@ -1044,6 +1046,75 @@ class ControlServiceClient {
1044
1046
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1045
1047
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1046
1048
  }
1049
+ /**
1050
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1051
+ *
1052
+ * @param {string} project
1053
+ * @param {string} location
1054
+ * @param {string} collection
1055
+ * @param {string} data_store
1056
+ * @param {string} custom_tuning_model
1057
+ * @returns {string} Resource name string.
1058
+ */
1059
+ projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
1060
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
1061
+ project: project,
1062
+ location: location,
1063
+ collection: collection,
1064
+ data_store: dataStore,
1065
+ custom_tuning_model: customTuningModel,
1066
+ });
1067
+ }
1068
+ /**
1069
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1070
+ *
1071
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1072
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1073
+ * @returns {string} A string representing the project.
1074
+ */
1075
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1076
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
1077
+ }
1078
+ /**
1079
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1080
+ *
1081
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1082
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1083
+ * @returns {string} A string representing the location.
1084
+ */
1085
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1086
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
1087
+ }
1088
+ /**
1089
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1090
+ *
1091
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1092
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1093
+ * @returns {string} A string representing the collection.
1094
+ */
1095
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1096
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
1097
+ }
1098
+ /**
1099
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1100
+ *
1101
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1102
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1103
+ * @returns {string} A string representing the data_store.
1104
+ */
1105
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1106
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
1107
+ }
1108
+ /**
1109
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1110
+ *
1111
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1112
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1113
+ * @returns {string} A string representing the custom_tuning_model.
1114
+ */
1115
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
1116
+ return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
1117
+ }
1047
1118
  /**
1048
1119
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1049
1120
  *
@@ -2043,6 +2114,63 @@ class ControlServiceClient {
2043
2114
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
2044
2115
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
2045
2116
  }
2117
+ /**
2118
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2119
+ *
2120
+ * @param {string} project
2121
+ * @param {string} location
2122
+ * @param {string} data_store
2123
+ * @param {string} custom_tuning_model
2124
+ * @returns {string} Resource name string.
2125
+ */
2126
+ projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
2127
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
2128
+ project: project,
2129
+ location: location,
2130
+ data_store: dataStore,
2131
+ custom_tuning_model: customTuningModel,
2132
+ });
2133
+ }
2134
+ /**
2135
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2136
+ *
2137
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2138
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2139
+ * @returns {string} A string representing the project.
2140
+ */
2141
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2142
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
2143
+ }
2144
+ /**
2145
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2146
+ *
2147
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2148
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2149
+ * @returns {string} A string representing the location.
2150
+ */
2151
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2152
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
2153
+ }
2154
+ /**
2155
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2156
+ *
2157
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2158
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2159
+ * @returns {string} A string representing the data_store.
2160
+ */
2161
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2162
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
2163
+ }
2164
+ /**
2165
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2166
+ *
2167
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2168
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2169
+ * @returns {string} A string representing the custom_tuning_model.
2170
+ */
2171
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
2172
+ return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
2173
+ }
2046
2174
  /**
2047
2175
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2048
2176
  *