@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 SchemaServiceClient {
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 SchemaServiceClient {
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 SchemaServiceClient {
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 SchemaServiceClient {
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
  // Some of the methods on this service return "paged" results,
151
168
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -166,8 +183,11 @@ class SchemaServiceClient {
166
183
  lroOptions.httpRules = [
167
184
  {
168
185
  selector: 'google.longrunning.Operations.GetOperation',
169
- get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
186
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
170
187
  additional_bindings: [
188
+ {
189
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
190
+ },
171
191
  {
172
192
  get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
173
193
  },
@@ -204,8 +224,11 @@ class SchemaServiceClient {
204
224
  },
205
225
  {
206
226
  selector: 'google.longrunning.Operations.ListOperations',
207
- get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
227
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
208
228
  additional_bindings: [
229
+ {
230
+ get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
231
+ },
209
232
  {
210
233
  get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
211
234
  },
@@ -317,19 +340,38 @@ class SchemaServiceClient {
317
340
  }
318
341
  /**
319
342
  * The DNS address for this API service.
343
+ * @deprecated Use the apiEndpoint method of the client instance.
320
344
  * @returns {string} The DNS address for this service.
321
345
  */
322
346
  static get servicePath() {
347
+ if (typeof process !== undefined &&
348
+ typeof process.emitWarning === 'function') {
349
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
350
+ }
323
351
  return 'discoveryengine.googleapis.com';
324
352
  }
325
353
  /**
326
- * The DNS address for this API service - same as servicePath(),
327
- * exists for compatibility reasons.
354
+ * The DNS address for this API service - same as servicePath.
355
+ * @deprecated Use the apiEndpoint method of the client instance.
328
356
  * @returns {string} The DNS address for this service.
329
357
  */
330
358
  static get apiEndpoint() {
359
+ if (typeof process !== undefined &&
360
+ typeof process.emitWarning === 'function') {
361
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
362
+ }
331
363
  return 'discoveryengine.googleapis.com';
332
364
  }
365
+ /**
366
+ * The DNS address for this API service.
367
+ * @returns {string} The DNS address for this service.
368
+ */
369
+ get apiEndpoint() {
370
+ return this._servicePath;
371
+ }
372
+ get universeDomain() {
373
+ return this._universeDomain;
374
+ }
333
375
  /**
334
376
  * The port for this API service.
335
377
  * @returns {number} The default port for this service.
@@ -799,6 +841,63 @@ class SchemaServiceClient {
799
841
  // --------------------
800
842
  // -- Path templates --
801
843
  // --------------------
844
+ /**
845
+ * Return a fully-qualified engine resource name string.
846
+ *
847
+ * @param {string} project
848
+ * @param {string} location
849
+ * @param {string} collection
850
+ * @param {string} engine
851
+ * @returns {string} Resource name string.
852
+ */
853
+ enginePath(project, location, collection, engine) {
854
+ return this.pathTemplates.enginePathTemplate.render({
855
+ project: project,
856
+ location: location,
857
+ collection: collection,
858
+ engine: engine,
859
+ });
860
+ }
861
+ /**
862
+ * Parse the project from Engine resource.
863
+ *
864
+ * @param {string} engineName
865
+ * A fully-qualified path representing Engine resource.
866
+ * @returns {string} A string representing the project.
867
+ */
868
+ matchProjectFromEngineName(engineName) {
869
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
870
+ }
871
+ /**
872
+ * Parse the location from Engine resource.
873
+ *
874
+ * @param {string} engineName
875
+ * A fully-qualified path representing Engine resource.
876
+ * @returns {string} A string representing the location.
877
+ */
878
+ matchLocationFromEngineName(engineName) {
879
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
880
+ }
881
+ /**
882
+ * Parse the collection from Engine resource.
883
+ *
884
+ * @param {string} engineName
885
+ * A fully-qualified path representing Engine resource.
886
+ * @returns {string} A string representing the collection.
887
+ */
888
+ matchCollectionFromEngineName(engineName) {
889
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
890
+ }
891
+ /**
892
+ * Parse the engine from Engine resource.
893
+ *
894
+ * @param {string} engineName
895
+ * A fully-qualified path representing Engine resource.
896
+ * @returns {string} A string representing the engine.
897
+ */
898
+ matchEngineFromEngineName(engineName) {
899
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
900
+ }
802
901
  /**
803
902
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
804
903
  *
@@ -1075,6 +1174,339 @@ class SchemaServiceClient {
1075
1174
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1076
1175
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1077
1176
  }
1177
+ /**
1178
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1179
+ *
1180
+ * @param {string} project
1181
+ * @param {string} location
1182
+ * @param {string} collection
1183
+ * @param {string} data_store
1184
+ * @param {string} serving_config
1185
+ * @returns {string} Resource name string.
1186
+ */
1187
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1188
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1189
+ project: project,
1190
+ location: location,
1191
+ collection: collection,
1192
+ data_store: dataStore,
1193
+ serving_config: servingConfig,
1194
+ });
1195
+ }
1196
+ /**
1197
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1198
+ *
1199
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1200
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1201
+ * @returns {string} A string representing the project.
1202
+ */
1203
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1204
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1205
+ }
1206
+ /**
1207
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1208
+ *
1209
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1210
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1211
+ * @returns {string} A string representing the location.
1212
+ */
1213
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1214
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1215
+ }
1216
+ /**
1217
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1218
+ *
1219
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1220
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1221
+ * @returns {string} A string representing the collection.
1222
+ */
1223
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1224
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1225
+ }
1226
+ /**
1227
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1228
+ *
1229
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1230
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1231
+ * @returns {string} A string representing the data_store.
1232
+ */
1233
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1234
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1235
+ }
1236
+ /**
1237
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1238
+ *
1239
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1240
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1241
+ * @returns {string} A string representing the serving_config.
1242
+ */
1243
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1244
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1245
+ }
1246
+ /**
1247
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1248
+ *
1249
+ * @param {string} project
1250
+ * @param {string} location
1251
+ * @param {string} collection
1252
+ * @param {string} data_store
1253
+ * @returns {string} Resource name string.
1254
+ */
1255
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1256
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1257
+ project: project,
1258
+ location: location,
1259
+ collection: collection,
1260
+ data_store: dataStore,
1261
+ });
1262
+ }
1263
+ /**
1264
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1265
+ *
1266
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1267
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1268
+ * @returns {string} A string representing the project.
1269
+ */
1270
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1271
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1272
+ }
1273
+ /**
1274
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1275
+ *
1276
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1277
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1278
+ * @returns {string} A string representing the location.
1279
+ */
1280
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1281
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1282
+ }
1283
+ /**
1284
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1285
+ *
1286
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1287
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1288
+ * @returns {string} A string representing the collection.
1289
+ */
1290
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1291
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1292
+ }
1293
+ /**
1294
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1295
+ *
1296
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1297
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1298
+ * @returns {string} A string representing the data_store.
1299
+ */
1300
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1301
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1302
+ }
1303
+ /**
1304
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1305
+ *
1306
+ * @param {string} project
1307
+ * @param {string} location
1308
+ * @param {string} collection
1309
+ * @param {string} data_store
1310
+ * @param {string} target_site
1311
+ * @returns {string} Resource name string.
1312
+ */
1313
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1314
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1315
+ project: project,
1316
+ location: location,
1317
+ collection: collection,
1318
+ data_store: dataStore,
1319
+ target_site: targetSite,
1320
+ });
1321
+ }
1322
+ /**
1323
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1324
+ *
1325
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1326
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1327
+ * @returns {string} A string representing the project.
1328
+ */
1329
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1330
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1331
+ }
1332
+ /**
1333
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1334
+ *
1335
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1336
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1337
+ * @returns {string} A string representing the location.
1338
+ */
1339
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1340
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1341
+ }
1342
+ /**
1343
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1344
+ *
1345
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1346
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1347
+ * @returns {string} A string representing the collection.
1348
+ */
1349
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1350
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1351
+ }
1352
+ /**
1353
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1354
+ *
1355
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1356
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1357
+ * @returns {string} A string representing the data_store.
1358
+ */
1359
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1360
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1361
+ }
1362
+ /**
1363
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1364
+ *
1365
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1366
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1367
+ * @returns {string} A string representing the target_site.
1368
+ */
1369
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1370
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1371
+ }
1372
+ /**
1373
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1374
+ *
1375
+ * @param {string} project
1376
+ * @param {string} location
1377
+ * @param {string} collection
1378
+ * @param {string} engine
1379
+ * @param {string} conversation
1380
+ * @returns {string} Resource name string.
1381
+ */
1382
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1383
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1384
+ project: project,
1385
+ location: location,
1386
+ collection: collection,
1387
+ engine: engine,
1388
+ conversation: conversation,
1389
+ });
1390
+ }
1391
+ /**
1392
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1393
+ *
1394
+ * @param {string} projectLocationCollectionEngineConversationName
1395
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1396
+ * @returns {string} A string representing the project.
1397
+ */
1398
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1399
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1400
+ }
1401
+ /**
1402
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1403
+ *
1404
+ * @param {string} projectLocationCollectionEngineConversationName
1405
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1406
+ * @returns {string} A string representing the location.
1407
+ */
1408
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1409
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1410
+ }
1411
+ /**
1412
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1413
+ *
1414
+ * @param {string} projectLocationCollectionEngineConversationName
1415
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1416
+ * @returns {string} A string representing the collection.
1417
+ */
1418
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1419
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1420
+ }
1421
+ /**
1422
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1423
+ *
1424
+ * @param {string} projectLocationCollectionEngineConversationName
1425
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1426
+ * @returns {string} A string representing the engine.
1427
+ */
1428
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1429
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1430
+ }
1431
+ /**
1432
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1433
+ *
1434
+ * @param {string} projectLocationCollectionEngineConversationName
1435
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1436
+ * @returns {string} A string representing the conversation.
1437
+ */
1438
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1439
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1440
+ }
1441
+ /**
1442
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1443
+ *
1444
+ * @param {string} project
1445
+ * @param {string} location
1446
+ * @param {string} collection
1447
+ * @param {string} engine
1448
+ * @param {string} serving_config
1449
+ * @returns {string} Resource name string.
1450
+ */
1451
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1452
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1453
+ project: project,
1454
+ location: location,
1455
+ collection: collection,
1456
+ engine: engine,
1457
+ serving_config: servingConfig,
1458
+ });
1459
+ }
1460
+ /**
1461
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1462
+ *
1463
+ * @param {string} projectLocationCollectionEngineServingConfigName
1464
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1465
+ * @returns {string} A string representing the project.
1466
+ */
1467
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1468
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1469
+ }
1470
+ /**
1471
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1472
+ *
1473
+ * @param {string} projectLocationCollectionEngineServingConfigName
1474
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1475
+ * @returns {string} A string representing the location.
1476
+ */
1477
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1478
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1479
+ }
1480
+ /**
1481
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1482
+ *
1483
+ * @param {string} projectLocationCollectionEngineServingConfigName
1484
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1485
+ * @returns {string} A string representing the collection.
1486
+ */
1487
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1488
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1489
+ }
1490
+ /**
1491
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1492
+ *
1493
+ * @param {string} projectLocationCollectionEngineServingConfigName
1494
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1495
+ * @returns {string} A string representing the engine.
1496
+ */
1497
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1498
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1499
+ }
1500
+ /**
1501
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1502
+ *
1503
+ * @param {string} projectLocationCollectionEngineServingConfigName
1504
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1505
+ * @returns {string} A string representing the serving_config.
1506
+ */
1507
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1508
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1509
+ }
1078
1510
  /**
1079
1511
  * Return a fully-qualified projectLocationDataStore resource name string.
1080
1512
  *
@@ -1303,6 +1735,165 @@ class SchemaServiceClient {
1303
1735
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1304
1736
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1305
1737
  }
1738
+ /**
1739
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1740
+ *
1741
+ * @param {string} project
1742
+ * @param {string} location
1743
+ * @param {string} data_store
1744
+ * @param {string} serving_config
1745
+ * @returns {string} Resource name string.
1746
+ */
1747
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
1748
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
1749
+ project: project,
1750
+ location: location,
1751
+ data_store: dataStore,
1752
+ serving_config: servingConfig,
1753
+ });
1754
+ }
1755
+ /**
1756
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1757
+ *
1758
+ * @param {string} projectLocationDataStoreServingConfigName
1759
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1760
+ * @returns {string} A string representing the project.
1761
+ */
1762
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1763
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
1764
+ }
1765
+ /**
1766
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1767
+ *
1768
+ * @param {string} projectLocationDataStoreServingConfigName
1769
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1770
+ * @returns {string} A string representing the location.
1771
+ */
1772
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1773
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
1774
+ }
1775
+ /**
1776
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1777
+ *
1778
+ * @param {string} projectLocationDataStoreServingConfigName
1779
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1780
+ * @returns {string} A string representing the data_store.
1781
+ */
1782
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1783
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
1784
+ }
1785
+ /**
1786
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1787
+ *
1788
+ * @param {string} projectLocationDataStoreServingConfigName
1789
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1790
+ * @returns {string} A string representing the serving_config.
1791
+ */
1792
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1793
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1794
+ }
1795
+ /**
1796
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1797
+ *
1798
+ * @param {string} project
1799
+ * @param {string} location
1800
+ * @param {string} data_store
1801
+ * @returns {string} Resource name string.
1802
+ */
1803
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1804
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1805
+ project: project,
1806
+ location: location,
1807
+ data_store: dataStore,
1808
+ });
1809
+ }
1810
+ /**
1811
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1812
+ *
1813
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1814
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1815
+ * @returns {string} A string representing the project.
1816
+ */
1817
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1818
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1819
+ }
1820
+ /**
1821
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1822
+ *
1823
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1824
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1825
+ * @returns {string} A string representing the location.
1826
+ */
1827
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1828
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1829
+ }
1830
+ /**
1831
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1832
+ *
1833
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1834
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1835
+ * @returns {string} A string representing the data_store.
1836
+ */
1837
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1838
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1839
+ }
1840
+ /**
1841
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1842
+ *
1843
+ * @param {string} project
1844
+ * @param {string} location
1845
+ * @param {string} data_store
1846
+ * @param {string} target_site
1847
+ * @returns {string} Resource name string.
1848
+ */
1849
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1850
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1851
+ project: project,
1852
+ location: location,
1853
+ data_store: dataStore,
1854
+ target_site: targetSite,
1855
+ });
1856
+ }
1857
+ /**
1858
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1859
+ *
1860
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1861
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1862
+ * @returns {string} A string representing the project.
1863
+ */
1864
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1865
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1866
+ }
1867
+ /**
1868
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1869
+ *
1870
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1871
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1872
+ * @returns {string} A string representing the location.
1873
+ */
1874
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1875
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1876
+ }
1877
+ /**
1878
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1879
+ *
1880
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1881
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1882
+ * @returns {string} A string representing the data_store.
1883
+ */
1884
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1885
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1886
+ }
1887
+ /**
1888
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1889
+ *
1890
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1891
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1892
+ * @returns {string} A string representing the target_site.
1893
+ */
1894
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1895
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1896
+ }
1306
1897
  /**
1307
1898
  * Terminate the gRPC channel and close the client.
1308
1899
  *