@google-cloud/discoveryengine 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +51 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
  16. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
  19. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  20. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  21. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  22. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +40 -1
  24. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  26. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  27. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  29. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +38 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
  33. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  38. package/build/protos/protos.d.ts +41157 -23655
  39. package/build/protos/protos.js +103188 -62466
  40. package/build/protos/protos.json +10400 -6075
  41. package/build/src/index.d.ts +10 -1
  42. package/build/src/index.js +10 -1
  43. package/build/src/v1/completion_service_client.d.ts +489 -7
  44. package/build/src/v1/completion_service_client.js +715 -11
  45. package/build/src/v1/completion_service_client_config.json +10 -0
  46. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  47. package/build/src/v1/conversational_search_service_client.js +466 -9
  48. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  49. package/build/src/v1/data_store_service_client.js +1768 -0
  50. package/build/src/v1/data_store_service_client_config.json +46 -0
  51. package/build/src/v1/document_service_client.d.ts +347 -2
  52. package/build/src/v1/document_service_client.js +506 -9
  53. package/build/src/v1/engine_service_client.d.ts +1211 -0
  54. package/build/src/v1/engine_service_client.js +1731 -0
  55. package/build/src/v1/engine_service_client_config.json +46 -0
  56. package/build/src/v1/index.d.ts +3 -0
  57. package/build/src/v1/index.js +7 -1
  58. package/build/src/v1/schema_service_client.d.ts +272 -2
  59. package/build/src/v1/schema_service_client.js +402 -9
  60. package/build/src/v1/search_service_client.d.ts +515 -11
  61. package/build/src/v1/search_service_client.js +648 -15
  62. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  63. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  64. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  65. package/build/src/v1/user_event_service_client.d.ts +272 -2
  66. package/build/src/v1/user_event_service_client.js +402 -9
  67. package/build/src/v1alpha/completion_service_client.d.ts +11 -2
  68. package/build/src/v1alpha/completion_service_client.js +37 -10
  69. package/build/src/v1alpha/conversational_search_service_client.d.ts +11 -2
  70. package/build/src/v1alpha/conversational_search_service_client.js +37 -10
  71. package/build/src/v1alpha/data_store_service_client.d.ts +11 -2
  72. package/build/src/v1alpha/data_store_service_client.js +37 -10
  73. package/build/src/v1alpha/document_service_client.d.ts +11 -2
  74. package/build/src/v1alpha/document_service_client.js +37 -10
  75. package/build/src/v1alpha/engine_service_client.d.ts +11 -2
  76. package/build/src/v1alpha/engine_service_client.js +37 -10
  77. package/build/src/v1alpha/index.js +1 -1
  78. package/build/src/v1alpha/recommendation_service_client.d.ts +11 -2
  79. package/build/src/v1alpha/recommendation_service_client.js +37 -10
  80. package/build/src/v1alpha/schema_service_client.d.ts +11 -2
  81. package/build/src/v1alpha/schema_service_client.js +37 -10
  82. package/build/src/v1alpha/search_service_client.d.ts +11 -2
  83. package/build/src/v1alpha/search_service_client.js +37 -10
  84. package/build/src/v1alpha/search_tuning_service_client.d.ts +11 -2
  85. package/build/src/v1alpha/search_tuning_service_client.js +37 -10
  86. package/build/src/v1alpha/site_search_engine_service_client.d.ts +11 -2
  87. package/build/src/v1alpha/site_search_engine_service_client.js +37 -10
  88. package/build/src/v1alpha/user_event_service_client.d.ts +11 -2
  89. package/build/src/v1alpha/user_event_service_client.js +37 -10
  90. package/build/src/v1beta/completion_service_client.d.ts +633 -7
  91. package/build/src/v1beta/completion_service_client.js +911 -11
  92. package/build/src/v1beta/completion_service_client_config.json +10 -0
  93. package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
  94. package/build/src/v1beta/conversational_search_service_client.js +466 -9
  95. package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
  96. package/build/src/v1beta/data_store_service_client.js +1966 -0
  97. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  98. package/build/src/v1beta/document_service_client.d.ts +491 -2
  99. package/build/src/v1beta/document_service_client.js +706 -11
  100. package/build/src/v1beta/engine_service_client.d.ts +1357 -0
  101. package/build/src/v1beta/engine_service_client.js +1928 -0
  102. package/build/src/v1beta/engine_service_client_config.json +46 -0
  103. package/build/src/v1beta/index.d.ts +4 -0
  104. package/build/src/v1beta/index.js +9 -1
  105. package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
  106. package/build/src/v1beta/recommendation_service_client.js +570 -9
  107. package/build/src/v1beta/schema_service_client.d.ts +416 -2
  108. package/build/src/v1beta/schema_service_client.js +602 -11
  109. package/build/src/v1beta/search_service_client.d.ts +539 -29
  110. package/build/src/v1beta/search_service_client.js +664 -27
  111. package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
  112. package/build/src/v1beta/serving_config_service_client.js +1563 -0
  113. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  114. package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
  115. package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
  116. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  117. package/build/src/v1beta/user_event_service_client.d.ts +416 -2
  118. package/build/src/v1beta/user_event_service_client.js +602 -11
  119. package/package.json +2 -2
@@ -72,7 +72,7 @@ class UserEventServiceClient {
72
72
  * ```
73
73
  */
74
74
  constructor(opts, gaxInstance) {
75
- var _a, _b;
75
+ var _a, _b, _c, _d;
76
76
  this._terminated = false;
77
77
  this.descriptors = {
78
78
  page: {},
@@ -82,16 +82,24 @@ class UserEventServiceClient {
82
82
  };
83
83
  // Ensure that options include all the required fields.
84
84
  const staticMembers = this.constructor;
85
- const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
85
+ if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
86
+ (opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
87
+ (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
88
+ throw new Error('Please set either universe_domain or universeDomain, but not both.');
89
+ }
90
+ 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';
92
+ this._servicePath = 'discoveryengine.' + this._universeDomain;
93
+ const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
86
94
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
87
95
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
88
- const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};
89
- const fallback = (_b = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _b !== void 0 ? _b : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
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');
90
98
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
91
99
  // Request numeric enum values if REST transport is used.
92
100
  opts.numericEnums = true;
93
101
  // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
94
- if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
102
+ if (servicePath !== this._servicePath && !('scopes' in opts)) {
95
103
  opts['scopes'] = staticMembers.scopes;
96
104
  }
97
105
  // Load google-gax module synchronously if needed
@@ -109,9 +117,9 @@ class UserEventServiceClient {
109
117
  // Set useJWTAccessWithScope on the auth object.
110
118
  this.auth.useJWTAccessWithScope = true;
111
119
  // Set defaultServicePath on the auth object.
112
- this.auth.defaultServicePath = staticMembers.servicePath;
120
+ this.auth.defaultServicePath = this._servicePath;
113
121
  // Set the default scopes in auth client if needed.
114
- if (servicePath === staticMembers.servicePath) {
122
+ if (servicePath === this._servicePath) {
115
123
  this.auth.defaultScopes = staticMembers.scopes;
116
124
  }
117
125
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
@@ -138,14 +146,23 @@ class UserEventServiceClient {
138
146
  // identifiers to uniquely identify resources within the API.
139
147
  // Create useful helper objects for these.
140
148
  this.pathTemplates = {
149
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
141
150
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
142
151
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
143
152
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
144
153
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
154
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
155
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
156
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
157
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
158
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
145
159
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
146
160
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
147
161
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
148
162
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
163
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
164
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
165
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
149
166
  };
150
167
  const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
151
168
  // This API contains "long-running operations", which return a
@@ -160,8 +177,11 @@ class UserEventServiceClient {
160
177
  lroOptions.httpRules = [
161
178
  {
162
179
  selector: 'google.longrunning.Operations.GetOperation',
163
- get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
180
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
164
181
  additional_bindings: [
182
+ {
183
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
184
+ },
165
185
  {
166
186
  get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
167
187
  },
@@ -198,8 +218,11 @@ class UserEventServiceClient {
198
218
  },
199
219
  {
200
220
  selector: 'google.longrunning.Operations.ListOperations',
201
- get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
221
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
202
222
  additional_bindings: [
223
+ {
224
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
225
+ },
203
226
  {
204
227
  get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
205
228
  },
@@ -301,19 +324,38 @@ class UserEventServiceClient {
301
324
  }
302
325
  /**
303
326
  * The DNS address for this API service.
327
+ * @deprecated Use the apiEndpoint method of the client instance.
304
328
  * @returns {string} The DNS address for this service.
305
329
  */
306
330
  static get servicePath() {
331
+ if (typeof process !== undefined &&
332
+ typeof process.emitWarning === 'function') {
333
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
334
+ }
307
335
  return 'discoveryengine.googleapis.com';
308
336
  }
309
337
  /**
310
- * The DNS address for this API service - same as servicePath(),
311
- * exists for compatibility reasons.
338
+ * The DNS address for this API service - same as servicePath.
339
+ * @deprecated Use the apiEndpoint method of the client instance.
312
340
  * @returns {string} The DNS address for this service.
313
341
  */
314
342
  static get apiEndpoint() {
343
+ if (typeof process !== undefined &&
344
+ typeof process.emitWarning === 'function') {
345
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
346
+ }
315
347
  return 'discoveryengine.googleapis.com';
316
348
  }
349
+ /**
350
+ * The DNS address for this API service.
351
+ * @returns {string} The DNS address for this service.
352
+ */
353
+ get apiEndpoint() {
354
+ return this._servicePath;
355
+ }
356
+ get universeDomain() {
357
+ return this._universeDomain;
358
+ }
317
359
  /**
318
360
  * The port for this API service.
319
361
  * @returns {number} The default port for this service.
@@ -606,6 +648,63 @@ class UserEventServiceClient {
606
648
  // --------------------
607
649
  // -- Path templates --
608
650
  // --------------------
651
+ /**
652
+ * Return a fully-qualified engine resource name string.
653
+ *
654
+ * @param {string} project
655
+ * @param {string} location
656
+ * @param {string} collection
657
+ * @param {string} engine
658
+ * @returns {string} Resource name string.
659
+ */
660
+ enginePath(project, location, collection, engine) {
661
+ return this.pathTemplates.enginePathTemplate.render({
662
+ project: project,
663
+ location: location,
664
+ collection: collection,
665
+ engine: engine,
666
+ });
667
+ }
668
+ /**
669
+ * Parse the project from Engine resource.
670
+ *
671
+ * @param {string} engineName
672
+ * A fully-qualified path representing Engine resource.
673
+ * @returns {string} A string representing the project.
674
+ */
675
+ matchProjectFromEngineName(engineName) {
676
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
677
+ }
678
+ /**
679
+ * Parse the location from Engine resource.
680
+ *
681
+ * @param {string} engineName
682
+ * A fully-qualified path representing Engine resource.
683
+ * @returns {string} A string representing the location.
684
+ */
685
+ matchLocationFromEngineName(engineName) {
686
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
687
+ }
688
+ /**
689
+ * Parse the collection from Engine resource.
690
+ *
691
+ * @param {string} engineName
692
+ * A fully-qualified path representing Engine resource.
693
+ * @returns {string} A string representing the collection.
694
+ */
695
+ matchCollectionFromEngineName(engineName) {
696
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
697
+ }
698
+ /**
699
+ * Parse the engine from Engine resource.
700
+ *
701
+ * @param {string} engineName
702
+ * A fully-qualified path representing Engine resource.
703
+ * @returns {string} A string representing the engine.
704
+ */
705
+ matchEngineFromEngineName(engineName) {
706
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
707
+ }
609
708
  /**
610
709
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
611
710
  *
@@ -882,6 +981,339 @@ class UserEventServiceClient {
882
981
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
883
982
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
884
983
  }
984
+ /**
985
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
986
+ *
987
+ * @param {string} project
988
+ * @param {string} location
989
+ * @param {string} collection
990
+ * @param {string} data_store
991
+ * @param {string} serving_config
992
+ * @returns {string} Resource name string.
993
+ */
994
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
995
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
996
+ project: project,
997
+ location: location,
998
+ collection: collection,
999
+ data_store: dataStore,
1000
+ serving_config: servingConfig,
1001
+ });
1002
+ }
1003
+ /**
1004
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1005
+ *
1006
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1007
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1008
+ * @returns {string} A string representing the project.
1009
+ */
1010
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1011
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1012
+ }
1013
+ /**
1014
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1015
+ *
1016
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1017
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1018
+ * @returns {string} A string representing the location.
1019
+ */
1020
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1021
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1022
+ }
1023
+ /**
1024
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1025
+ *
1026
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1027
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1028
+ * @returns {string} A string representing the collection.
1029
+ */
1030
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1031
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1032
+ }
1033
+ /**
1034
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1035
+ *
1036
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1037
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1038
+ * @returns {string} A string representing the data_store.
1039
+ */
1040
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1041
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1042
+ }
1043
+ /**
1044
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1045
+ *
1046
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1047
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1048
+ * @returns {string} A string representing the serving_config.
1049
+ */
1050
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1051
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1052
+ }
1053
+ /**
1054
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1055
+ *
1056
+ * @param {string} project
1057
+ * @param {string} location
1058
+ * @param {string} collection
1059
+ * @param {string} data_store
1060
+ * @returns {string} Resource name string.
1061
+ */
1062
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1063
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1064
+ project: project,
1065
+ location: location,
1066
+ collection: collection,
1067
+ data_store: dataStore,
1068
+ });
1069
+ }
1070
+ /**
1071
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1072
+ *
1073
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1074
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1075
+ * @returns {string} A string representing the project.
1076
+ */
1077
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1078
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1079
+ }
1080
+ /**
1081
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1082
+ *
1083
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1084
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1085
+ * @returns {string} A string representing the location.
1086
+ */
1087
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1088
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1089
+ }
1090
+ /**
1091
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1092
+ *
1093
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1094
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1095
+ * @returns {string} A string representing the collection.
1096
+ */
1097
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1098
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1099
+ }
1100
+ /**
1101
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1102
+ *
1103
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1104
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1105
+ * @returns {string} A string representing the data_store.
1106
+ */
1107
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1108
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1109
+ }
1110
+ /**
1111
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1112
+ *
1113
+ * @param {string} project
1114
+ * @param {string} location
1115
+ * @param {string} collection
1116
+ * @param {string} data_store
1117
+ * @param {string} target_site
1118
+ * @returns {string} Resource name string.
1119
+ */
1120
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1121
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1122
+ project: project,
1123
+ location: location,
1124
+ collection: collection,
1125
+ data_store: dataStore,
1126
+ target_site: targetSite,
1127
+ });
1128
+ }
1129
+ /**
1130
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1131
+ *
1132
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1133
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1134
+ * @returns {string} A string representing the project.
1135
+ */
1136
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1137
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1138
+ }
1139
+ /**
1140
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1141
+ *
1142
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1143
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1144
+ * @returns {string} A string representing the location.
1145
+ */
1146
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1147
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1148
+ }
1149
+ /**
1150
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1151
+ *
1152
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1153
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1154
+ * @returns {string} A string representing the collection.
1155
+ */
1156
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1157
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1158
+ }
1159
+ /**
1160
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1161
+ *
1162
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1163
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1164
+ * @returns {string} A string representing the data_store.
1165
+ */
1166
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1167
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1168
+ }
1169
+ /**
1170
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1171
+ *
1172
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1173
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1174
+ * @returns {string} A string representing the target_site.
1175
+ */
1176
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1177
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1178
+ }
1179
+ /**
1180
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1181
+ *
1182
+ * @param {string} project
1183
+ * @param {string} location
1184
+ * @param {string} collection
1185
+ * @param {string} engine
1186
+ * @param {string} conversation
1187
+ * @returns {string} Resource name string.
1188
+ */
1189
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1190
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1191
+ project: project,
1192
+ location: location,
1193
+ collection: collection,
1194
+ engine: engine,
1195
+ conversation: conversation,
1196
+ });
1197
+ }
1198
+ /**
1199
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1200
+ *
1201
+ * @param {string} projectLocationCollectionEngineConversationName
1202
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1203
+ * @returns {string} A string representing the project.
1204
+ */
1205
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1206
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1207
+ }
1208
+ /**
1209
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1210
+ *
1211
+ * @param {string} projectLocationCollectionEngineConversationName
1212
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1213
+ * @returns {string} A string representing the location.
1214
+ */
1215
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1216
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1217
+ }
1218
+ /**
1219
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1220
+ *
1221
+ * @param {string} projectLocationCollectionEngineConversationName
1222
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1223
+ * @returns {string} A string representing the collection.
1224
+ */
1225
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1226
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1227
+ }
1228
+ /**
1229
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1230
+ *
1231
+ * @param {string} projectLocationCollectionEngineConversationName
1232
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1233
+ * @returns {string} A string representing the engine.
1234
+ */
1235
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1236
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1237
+ }
1238
+ /**
1239
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1240
+ *
1241
+ * @param {string} projectLocationCollectionEngineConversationName
1242
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1243
+ * @returns {string} A string representing the conversation.
1244
+ */
1245
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1246
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1247
+ }
1248
+ /**
1249
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1250
+ *
1251
+ * @param {string} project
1252
+ * @param {string} location
1253
+ * @param {string} collection
1254
+ * @param {string} engine
1255
+ * @param {string} serving_config
1256
+ * @returns {string} Resource name string.
1257
+ */
1258
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1259
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1260
+ project: project,
1261
+ location: location,
1262
+ collection: collection,
1263
+ engine: engine,
1264
+ serving_config: servingConfig,
1265
+ });
1266
+ }
1267
+ /**
1268
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1269
+ *
1270
+ * @param {string} projectLocationCollectionEngineServingConfigName
1271
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1272
+ * @returns {string} A string representing the project.
1273
+ */
1274
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1275
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1276
+ }
1277
+ /**
1278
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1279
+ *
1280
+ * @param {string} projectLocationCollectionEngineServingConfigName
1281
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1282
+ * @returns {string} A string representing the location.
1283
+ */
1284
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1285
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1286
+ }
1287
+ /**
1288
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1289
+ *
1290
+ * @param {string} projectLocationCollectionEngineServingConfigName
1291
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1292
+ * @returns {string} A string representing the collection.
1293
+ */
1294
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1295
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1296
+ }
1297
+ /**
1298
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1299
+ *
1300
+ * @param {string} projectLocationCollectionEngineServingConfigName
1301
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1302
+ * @returns {string} A string representing the engine.
1303
+ */
1304
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1305
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1306
+ }
1307
+ /**
1308
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1309
+ *
1310
+ * @param {string} projectLocationCollectionEngineServingConfigName
1311
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1312
+ * @returns {string} A string representing the serving_config.
1313
+ */
1314
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1315
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1316
+ }
885
1317
  /**
886
1318
  * Return a fully-qualified projectLocationDataStore resource name string.
887
1319
  *
@@ -1110,6 +1542,165 @@ class UserEventServiceClient {
1110
1542
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1111
1543
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1112
1544
  }
1545
+ /**
1546
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1547
+ *
1548
+ * @param {string} project
1549
+ * @param {string} location
1550
+ * @param {string} data_store
1551
+ * @param {string} serving_config
1552
+ * @returns {string} Resource name string.
1553
+ */
1554
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
1555
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
1556
+ project: project,
1557
+ location: location,
1558
+ data_store: dataStore,
1559
+ serving_config: servingConfig,
1560
+ });
1561
+ }
1562
+ /**
1563
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1564
+ *
1565
+ * @param {string} projectLocationDataStoreServingConfigName
1566
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1567
+ * @returns {string} A string representing the project.
1568
+ */
1569
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1570
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
1571
+ }
1572
+ /**
1573
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1574
+ *
1575
+ * @param {string} projectLocationDataStoreServingConfigName
1576
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1577
+ * @returns {string} A string representing the location.
1578
+ */
1579
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1580
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
1581
+ }
1582
+ /**
1583
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1584
+ *
1585
+ * @param {string} projectLocationDataStoreServingConfigName
1586
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1587
+ * @returns {string} A string representing the data_store.
1588
+ */
1589
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1590
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
1591
+ }
1592
+ /**
1593
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1594
+ *
1595
+ * @param {string} projectLocationDataStoreServingConfigName
1596
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1597
+ * @returns {string} A string representing the serving_config.
1598
+ */
1599
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1600
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1601
+ }
1602
+ /**
1603
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1604
+ *
1605
+ * @param {string} project
1606
+ * @param {string} location
1607
+ * @param {string} data_store
1608
+ * @returns {string} Resource name string.
1609
+ */
1610
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1611
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1612
+ project: project,
1613
+ location: location,
1614
+ data_store: dataStore,
1615
+ });
1616
+ }
1617
+ /**
1618
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1619
+ *
1620
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1621
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1622
+ * @returns {string} A string representing the project.
1623
+ */
1624
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1625
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1626
+ }
1627
+ /**
1628
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1629
+ *
1630
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1631
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1632
+ * @returns {string} A string representing the location.
1633
+ */
1634
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1635
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1636
+ }
1637
+ /**
1638
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1639
+ *
1640
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1641
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1642
+ * @returns {string} A string representing the data_store.
1643
+ */
1644
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1645
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1646
+ }
1647
+ /**
1648
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1649
+ *
1650
+ * @param {string} project
1651
+ * @param {string} location
1652
+ * @param {string} data_store
1653
+ * @param {string} target_site
1654
+ * @returns {string} Resource name string.
1655
+ */
1656
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1657
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1658
+ project: project,
1659
+ location: location,
1660
+ data_store: dataStore,
1661
+ target_site: targetSite,
1662
+ });
1663
+ }
1664
+ /**
1665
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1666
+ *
1667
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1668
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1669
+ * @returns {string} A string representing the project.
1670
+ */
1671
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1672
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1673
+ }
1674
+ /**
1675
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1676
+ *
1677
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1678
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1679
+ * @returns {string} A string representing the location.
1680
+ */
1681
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1682
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1683
+ }
1684
+ /**
1685
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1686
+ *
1687
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1688
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1689
+ * @returns {string} A string representing the data_store.
1690
+ */
1691
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1692
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1693
+ }
1694
+ /**
1695
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1696
+ *
1697
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1698
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1699
+ * @returns {string} A string representing the target_site.
1700
+ */
1701
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1702
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1703
+ }
1113
1704
  /**
1114
1705
  * Terminate the gRPC channel and close the client.
1115
1706
  *