@google-cloud/discoveryengine 1.3.1 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +64 -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/v1alpha/acl_config.proto +49 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  46. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  47. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  48. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  49. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  50. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +45 -1
  51. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +120 -0
  52. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  53. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +10 -1
  54. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  55. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  56. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  57. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  58. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +41 -0
  59. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  60. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +169 -15
  61. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  62. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +265 -0
  63. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +148 -0
  64. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  65. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  66. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  67. package/build/protos/protos.d.ts +48530 -23682
  68. package/build/protos/protos.js +122429 -63306
  69. package/build/protos/protos.json +13438 -7286
  70. package/build/src/index.d.ts +10 -1
  71. package/build/src/index.js +10 -1
  72. package/build/src/v1/completion_service_client.d.ts +489 -7
  73. package/build/src/v1/completion_service_client.js +715 -11
  74. package/build/src/v1/completion_service_client_config.json +10 -0
  75. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  76. package/build/src/v1/conversational_search_service_client.js +466 -9
  77. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  78. package/build/src/v1/data_store_service_client.js +1768 -0
  79. package/build/src/v1/data_store_service_client_config.json +46 -0
  80. package/build/src/v1/document_service_client.d.ts +347 -2
  81. package/build/src/v1/document_service_client.js +506 -9
  82. package/build/src/v1/engine_service_client.d.ts +1211 -0
  83. package/build/src/v1/engine_service_client.js +1731 -0
  84. package/build/src/v1/engine_service_client_config.json +46 -0
  85. package/build/src/v1/index.d.ts +3 -0
  86. package/build/src/v1/index.js +7 -1
  87. package/build/src/v1/schema_service_client.d.ts +272 -2
  88. package/build/src/v1/schema_service_client.js +402 -9
  89. package/build/src/v1/search_service_client.d.ts +515 -11
  90. package/build/src/v1/search_service_client.js +648 -15
  91. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  92. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  93. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  94. package/build/src/v1/user_event_service_client.d.ts +272 -2
  95. package/build/src/v1/user_event_service_client.js +402 -9
  96. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  97. package/build/src/v1alpha/acl_config_service_client.js +1765 -0
  98. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  99. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  100. package/build/src/v1alpha/chunk_service_client.js +1886 -0
  101. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  102. package/build/src/v1alpha/completion_service_client.d.ts +599 -5
  103. package/build/src/v1alpha/completion_service_client.js +868 -12
  104. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  105. package/build/src/v1alpha/conversational_search_service_client.d.ts +244 -3
  106. package/build/src/v1alpha/conversational_search_service_client.js +353 -10
  107. package/build/src/v1alpha/data_store_service_client.d.ts +462 -5
  108. package/build/src/v1alpha/data_store_service_client.js +599 -12
  109. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  110. package/build/src/v1alpha/document_service_client.d.ts +393 -2
  111. package/build/src/v1alpha/document_service_client.js +551 -10
  112. package/build/src/v1alpha/engine_service_client.d.ts +386 -4
  113. package/build/src/v1alpha/engine_service_client.js +551 -10
  114. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
  116. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  117. package/build/src/v1alpha/index.d.ts +4 -0
  118. package/build/src/v1alpha/index.js +10 -2
  119. package/build/src/v1alpha/recommendation_service_client.d.ts +242 -3
  120. package/build/src/v1alpha/recommendation_service_client.js +353 -10
  121. package/build/src/v1alpha/schema_service_client.d.ts +383 -2
  122. package/build/src/v1alpha/schema_service_client.js +551 -10
  123. package/build/src/v1alpha/search_service_client.d.ts +269 -17
  124. package/build/src/v1alpha/search_service_client.js +373 -20
  125. package/build/src/v1alpha/search_tuning_service_client.d.ts +384 -3
  126. package/build/src/v1alpha/search_tuning_service_client.js +551 -10
  127. package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
  128. package/build/src/v1alpha/serving_config_service_client.js +1935 -0
  129. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  130. package/build/src/v1alpha/site_search_engine_service_client.d.ts +383 -2
  131. package/build/src/v1alpha/site_search_engine_service_client.js +551 -10
  132. package/build/src/v1alpha/user_event_service_client.d.ts +383 -2
  133. package/build/src/v1alpha/user_event_service_client.js +551 -10
  134. package/build/src/v1beta/completion_service_client.d.ts +708 -7
  135. package/build/src/v1beta/completion_service_client.js +1015 -11
  136. package/build/src/v1beta/completion_service_client_config.json +10 -0
  137. package/build/src/v1beta/conversational_search_service_client.d.ts +420 -3
  138. package/build/src/v1beta/conversational_search_service_client.js +570 -9
  139. package/build/src/v1beta/data_store_service_client.d.ts +1508 -0
  140. package/build/src/v1beta/data_store_service_client.js +2070 -0
  141. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  142. package/build/src/v1beta/document_service_client.d.ts +566 -2
  143. package/build/src/v1beta/document_service_client.js +810 -11
  144. package/build/src/v1beta/engine_service_client.d.ts +1432 -0
  145. package/build/src/v1beta/engine_service_client.js +2032 -0
  146. package/build/src/v1beta/engine_service_client_config.json +46 -0
  147. package/build/src/v1beta/index.d.ts +5 -0
  148. package/build/src/v1beta/index.js +11 -1
  149. package/build/src/v1beta/recommendation_service_client.d.ts +495 -5
  150. package/build/src/v1beta/recommendation_service_client.js +674 -9
  151. package/build/src/v1beta/schema_service_client.d.ts +491 -2
  152. package/build/src/v1beta/schema_service_client.js +706 -11
  153. package/build/src/v1beta/search_service_client.d.ts +620 -29
  154. package/build/src/v1beta/search_service_client.js +772 -27
  155. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  156. package/build/src/v1beta/search_tuning_service_client.js +1781 -0
  157. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  158. package/build/src/v1beta/serving_config_service_client.d.ts +1217 -0
  159. package/build/src/v1beta/serving_config_service_client.js +1724 -0
  160. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  161. package/build/src/v1beta/site_search_engine_service_client.d.ts +1787 -0
  162. package/build/src/v1beta/site_search_engine_service_client.js +2375 -0
  163. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  164. package/build/src/v1beta/user_event_service_client.d.ts +491 -2
  165. package/build/src/v1beta/user_event_service_client.js +706 -11
  166. package/package.json +3 -3
@@ -0,0 +1,1935 @@
1
+ "use strict";
2
+ // Copyright 2024 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // https://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ //
16
+ // ** This file is automatically generated by gapic-generator-typescript. **
17
+ // ** https://github.com/googleapis/gapic-generator-typescript **
18
+ // ** All changes to this file may be overwritten. **
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.ServingConfigServiceClient = void 0;
21
+ const jsonProtos = require("../../protos/protos.json");
22
+ /**
23
+ * Client JSON configuration object, loaded from
24
+ * `src/v1alpha/serving_config_service_client_config.json`.
25
+ * This file defines retry strategy and timeouts for all API methods in this library.
26
+ */
27
+ const gapicConfig = require("./serving_config_service_client_config.json");
28
+ const version = require('../../../package.json').version;
29
+ /**
30
+ * Service for operations related to {@link protos.|ServingConfig}.
31
+ * @class
32
+ * @memberof v1alpha
33
+ */
34
+ class ServingConfigServiceClient {
35
+ /**
36
+ * Construct an instance of ServingConfigServiceClient.
37
+ *
38
+ * @param {object} [options] - The configuration object.
39
+ * The options accepted by the constructor are described in detail
40
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
41
+ * The common options are:
42
+ * @param {object} [options.credentials] - Credentials object.
43
+ * @param {string} [options.credentials.client_email]
44
+ * @param {string} [options.credentials.private_key]
45
+ * @param {string} [options.email] - Account email address. Required when
46
+ * using a .pem or .p12 keyFilename.
47
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
48
+ * .p12 key downloaded from the Google Developers Console. If you provide
49
+ * a path to a JSON file, the projectId option below is not necessary.
50
+ * NOTE: .pem and .p12 require you to specify options.email as well.
51
+ * @param {number} [options.port] - The port on which to connect to
52
+ * the remote host.
53
+ * @param {string} [options.projectId] - The project ID from the Google
54
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
55
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
56
+ * app is running in an environment which supports
57
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
58
+ * your project ID will be detected automatically.
59
+ * @param {string} [options.apiEndpoint] - The domain name of the
60
+ * API remote host.
61
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
62
+ * Follows the structure of {@link gapicConfig}.
63
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
64
+ * For more information, please check the
65
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
66
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
67
+ * need to avoid loading the default gRPC version and want to use the fallback
68
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
69
+ * ```
70
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
71
+ * const client = new ServingConfigServiceClient({fallback: true}, gax);
72
+ * ```
73
+ */
74
+ constructor(opts, gaxInstance) {
75
+ var _a, _b, _c, _d;
76
+ this._terminated = false;
77
+ this.descriptors = {
78
+ page: {},
79
+ stream: {},
80
+ longrunning: {},
81
+ batching: {},
82
+ };
83
+ // Ensure that options include all the required fields.
84
+ const staticMembers = this.constructor;
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;
94
+ this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
95
+ const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
96
+ const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
97
+ const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
98
+ opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
99
+ // Request numeric enum values if REST transport is used.
100
+ opts.numericEnums = true;
101
+ // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
102
+ if (servicePath !== this._servicePath && !('scopes' in opts)) {
103
+ opts['scopes'] = staticMembers.scopes;
104
+ }
105
+ // Load google-gax module synchronously if needed
106
+ if (!gaxInstance) {
107
+ gaxInstance = require('google-gax');
108
+ }
109
+ // Choose either gRPC or proto-over-HTTP implementation of google-gax.
110
+ this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance;
111
+ // Create a `gaxGrpc` object, with any grpc-specific options sent to the client.
112
+ this._gaxGrpc = new this._gaxModule.GrpcClient(opts);
113
+ // Save options to use in initialize() method.
114
+ this._opts = opts;
115
+ // Save the auth object to the client, for use by other methods.
116
+ this.auth = this._gaxGrpc.auth;
117
+ // Set useJWTAccessWithScope on the auth object.
118
+ this.auth.useJWTAccessWithScope = true;
119
+ // Set defaultServicePath on the auth object.
120
+ this.auth.defaultServicePath = this._servicePath;
121
+ // Set the default scopes in auth client if needed.
122
+ if (servicePath === this._servicePath) {
123
+ this.auth.defaultScopes = staticMembers.scopes;
124
+ }
125
+ this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
126
+ // Determine the client header string.
127
+ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
128
+ if (typeof process !== 'undefined' && 'versions' in process) {
129
+ clientHeader.push(`gl-node/${process.versions.node}`);
130
+ }
131
+ else {
132
+ clientHeader.push(`gl-web/${this._gaxModule.version}`);
133
+ }
134
+ if (!opts.fallback) {
135
+ clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
136
+ }
137
+ else {
138
+ clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
139
+ }
140
+ if (opts.libName && opts.libVersion) {
141
+ clientHeader.push(`${opts.libName}/${opts.libVersion}`);
142
+ }
143
+ // Load the applicable protos.
144
+ this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
145
+ // This API contains "path templates"; forward-slash-separated
146
+ // identifiers to uniquely identify resources within the API.
147
+ // Create useful helper objects for these.
148
+ this.pathTemplates = {
149
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
150
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
151
+ locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
152
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
153
+ projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
154
+ projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
155
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
156
+ projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
157
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
158
+ projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
159
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
160
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
161
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
162
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
163
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
164
+ projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
165
+ projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
166
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
167
+ projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
168
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
169
+ projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
170
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
171
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
172
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
173
+ };
174
+ // Some of the methods on this service return "paged" results,
175
+ // (e.g. 50 results at a time, with tokens to get subsequent
176
+ // pages). Denote the keys used for pagination and results.
177
+ this.descriptors.page = {
178
+ listServingConfigs: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'servingConfigs'),
179
+ };
180
+ // Put together the default options sent with requests.
181
+ this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1alpha.ServingConfigService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
182
+ // Set up a dictionary of "inner API calls"; the core implementation
183
+ // of calling the API is handled in `google-gax`, with this code
184
+ // merely providing the destination and request information.
185
+ this.innerApiCalls = {};
186
+ // Add a warn function to the client constructor so it can be easily tested.
187
+ this.warn = this._gaxModule.warn;
188
+ }
189
+ /**
190
+ * Initialize the client.
191
+ * Performs asynchronous operations (such as authentication) and prepares the client.
192
+ * This function will be called automatically when any class method is called for the
193
+ * first time, but if you need to initialize it before calling an actual method,
194
+ * feel free to call initialize() directly.
195
+ *
196
+ * You can await on this method if you want to make sure the client is initialized.
197
+ *
198
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
199
+ */
200
+ initialize() {
201
+ // If the client stub promise is already initialized, return immediately.
202
+ if (this.servingConfigServiceStub) {
203
+ return this.servingConfigServiceStub;
204
+ }
205
+ // Put together the "service stub" for
206
+ // google.cloud.discoveryengine.v1alpha.ServingConfigService.
207
+ this.servingConfigServiceStub = this._gaxGrpc.createStub(this._opts.fallback
208
+ ? this._protos.lookupService('google.cloud.discoveryengine.v1alpha.ServingConfigService')
209
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
210
+ this._protos.google.cloud.discoveryengine.v1alpha
211
+ .ServingConfigService, this._opts, this._providedCustomServicePath);
212
+ // Iterate over each of the methods that the service provides
213
+ // and create an API call method for each.
214
+ const servingConfigServiceStubMethods = [
215
+ 'updateServingConfig',
216
+ 'getServingConfig',
217
+ 'listServingConfigs',
218
+ ];
219
+ for (const methodName of servingConfigServiceStubMethods) {
220
+ const callPromise = this.servingConfigServiceStub.then(stub => (...args) => {
221
+ if (this._terminated) {
222
+ return Promise.reject('The client has already been closed.');
223
+ }
224
+ const func = stub[methodName];
225
+ return func.apply(stub, args);
226
+ }, (err) => () => {
227
+ throw err;
228
+ });
229
+ const descriptor = this.descriptors.page[methodName] || undefined;
230
+ const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
231
+ this.innerApiCalls[methodName] = apiCall;
232
+ }
233
+ return this.servingConfigServiceStub;
234
+ }
235
+ /**
236
+ * The DNS address for this API service.
237
+ * @deprecated Use the apiEndpoint method of the client instance.
238
+ * @returns {string} The DNS address for this service.
239
+ */
240
+ static get servicePath() {
241
+ if (typeof process !== undefined &&
242
+ typeof process.emitWarning === 'function') {
243
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
244
+ }
245
+ return 'discoveryengine.googleapis.com';
246
+ }
247
+ /**
248
+ * The DNS address for this API service - same as servicePath.
249
+ * @deprecated Use the apiEndpoint method of the client instance.
250
+ * @returns {string} The DNS address for this service.
251
+ */
252
+ static get apiEndpoint() {
253
+ if (typeof process !== undefined &&
254
+ typeof process.emitWarning === 'function') {
255
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
256
+ }
257
+ return 'discoveryengine.googleapis.com';
258
+ }
259
+ /**
260
+ * The DNS address for this API service.
261
+ * @returns {string} The DNS address for this service.
262
+ */
263
+ get apiEndpoint() {
264
+ return this._servicePath;
265
+ }
266
+ get universeDomain() {
267
+ return this._universeDomain;
268
+ }
269
+ /**
270
+ * The port for this API service.
271
+ * @returns {number} The default port for this service.
272
+ */
273
+ static get port() {
274
+ return 443;
275
+ }
276
+ /**
277
+ * The scopes needed to make gRPC calls for every method defined
278
+ * in this service.
279
+ * @returns {string[]} List of default scopes.
280
+ */
281
+ static get scopes() {
282
+ return ['https://www.googleapis.com/auth/cloud-platform'];
283
+ }
284
+ /**
285
+ * Return the project ID used by this class.
286
+ * @returns {Promise} A promise that resolves to string containing the project ID.
287
+ */
288
+ getProjectId(callback) {
289
+ if (callback) {
290
+ this.auth.getProjectId(callback);
291
+ return;
292
+ }
293
+ return this.auth.getProjectId();
294
+ }
295
+ updateServingConfig(request, optionsOrCallback, callback) {
296
+ var _a;
297
+ request = request || {};
298
+ let options;
299
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
300
+ callback = optionsOrCallback;
301
+ options = {};
302
+ }
303
+ else {
304
+ options = optionsOrCallback;
305
+ }
306
+ options = options || {};
307
+ options.otherArgs = options.otherArgs || {};
308
+ options.otherArgs.headers = options.otherArgs.headers || {};
309
+ options.otherArgs.headers['x-goog-request-params'] =
310
+ this._gaxModule.routingHeader.fromParams({
311
+ 'serving_config.name': (_a = request.servingConfig.name) !== null && _a !== void 0 ? _a : '',
312
+ });
313
+ this.initialize();
314
+ return this.innerApiCalls.updateServingConfig(request, options, callback);
315
+ }
316
+ getServingConfig(request, optionsOrCallback, callback) {
317
+ var _a;
318
+ request = request || {};
319
+ let options;
320
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
321
+ callback = optionsOrCallback;
322
+ options = {};
323
+ }
324
+ else {
325
+ options = optionsOrCallback;
326
+ }
327
+ options = options || {};
328
+ options.otherArgs = options.otherArgs || {};
329
+ options.otherArgs.headers = options.otherArgs.headers || {};
330
+ options.otherArgs.headers['x-goog-request-params'] =
331
+ this._gaxModule.routingHeader.fromParams({
332
+ name: (_a = request.name) !== null && _a !== void 0 ? _a : '',
333
+ });
334
+ this.initialize();
335
+ return this.innerApiCalls.getServingConfig(request, options, callback);
336
+ }
337
+ listServingConfigs(request, optionsOrCallback, callback) {
338
+ var _a;
339
+ request = request || {};
340
+ let options;
341
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
342
+ callback = optionsOrCallback;
343
+ options = {};
344
+ }
345
+ else {
346
+ options = optionsOrCallback;
347
+ }
348
+ options = options || {};
349
+ options.otherArgs = options.otherArgs || {};
350
+ options.otherArgs.headers = options.otherArgs.headers || {};
351
+ options.otherArgs.headers['x-goog-request-params'] =
352
+ this._gaxModule.routingHeader.fromParams({
353
+ parent: (_a = request.parent) !== null && _a !== void 0 ? _a : '',
354
+ });
355
+ this.initialize();
356
+ return this.innerApiCalls.listServingConfigs(request, options, callback);
357
+ }
358
+ /**
359
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
360
+ * @param {Object} request
361
+ * The request object that will be sent.
362
+ * @param {string} request.parent
363
+ * Required. Full resource name of the parent resource. Format:
364
+ * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
365
+ * @param {number} [request.pageSize]
366
+ * Optional. Maximum number of results to return. If unspecified, defaults
367
+ * to 100. If a value greater than 100 is provided, at most 100 results are
368
+ * returned.
369
+ * @param {string} [request.pageToken]
370
+ * Optional. A page token, received from a previous `ListServingConfigs` call.
371
+ * Provide this to retrieve the subsequent page.
372
+ * @param {object} [options]
373
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
374
+ * @returns {Stream}
375
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig|ServingConfig} on 'data' event.
376
+ * The client library will perform auto-pagination by default: it will call the API as many
377
+ * times as needed. Note that it can affect your quota.
378
+ * We recommend using `listServingConfigsAsync()`
379
+ * method described below for async iteration which you can stop as needed.
380
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
381
+ * for more details and examples.
382
+ */
383
+ listServingConfigsStream(request, options) {
384
+ var _a;
385
+ request = request || {};
386
+ options = options || {};
387
+ options.otherArgs = options.otherArgs || {};
388
+ options.otherArgs.headers = options.otherArgs.headers || {};
389
+ options.otherArgs.headers['x-goog-request-params'] =
390
+ this._gaxModule.routingHeader.fromParams({
391
+ parent: (_a = request.parent) !== null && _a !== void 0 ? _a : '',
392
+ });
393
+ const defaultCallSettings = this._defaults['listServingConfigs'];
394
+ const callSettings = defaultCallSettings.merge(options);
395
+ this.initialize();
396
+ return this.descriptors.page.listServingConfigs.createStream(this.innerApiCalls.listServingConfigs, request, callSettings);
397
+ }
398
+ /**
399
+ * Equivalent to `listServingConfigs`, but returns an iterable object.
400
+ *
401
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
402
+ * @param {Object} request
403
+ * The request object that will be sent.
404
+ * @param {string} request.parent
405
+ * Required. Full resource name of the parent resource. Format:
406
+ * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
407
+ * @param {number} [request.pageSize]
408
+ * Optional. Maximum number of results to return. If unspecified, defaults
409
+ * to 100. If a value greater than 100 is provided, at most 100 results are
410
+ * returned.
411
+ * @param {string} [request.pageToken]
412
+ * Optional. A page token, received from a previous `ListServingConfigs` call.
413
+ * Provide this to retrieve the subsequent page.
414
+ * @param {object} [options]
415
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
416
+ * @returns {Object}
417
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
418
+ * When you iterate the returned iterable, each element will be an object representing
419
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig|ServingConfig}. The API will be called under the hood as needed, once per the page,
420
+ * so you can stop the iteration when you don't need more results.
421
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
422
+ * for more details and examples.
423
+ * @example <caption>include:samples/generated/v1alpha/serving_config_service.list_serving_configs.js</caption>
424
+ * region_tag:discoveryengine_v1alpha_generated_ServingConfigService_ListServingConfigs_async
425
+ */
426
+ listServingConfigsAsync(request, options) {
427
+ var _a;
428
+ request = request || {};
429
+ options = options || {};
430
+ options.otherArgs = options.otherArgs || {};
431
+ options.otherArgs.headers = options.otherArgs.headers || {};
432
+ options.otherArgs.headers['x-goog-request-params'] =
433
+ this._gaxModule.routingHeader.fromParams({
434
+ parent: (_a = request.parent) !== null && _a !== void 0 ? _a : '',
435
+ });
436
+ const defaultCallSettings = this._defaults['listServingConfigs'];
437
+ const callSettings = defaultCallSettings.merge(options);
438
+ this.initialize();
439
+ return this.descriptors.page.listServingConfigs.asyncIterate(this.innerApiCalls['listServingConfigs'], request, callSettings);
440
+ }
441
+ /**
442
+ * Gets information about a location.
443
+ *
444
+ * @param {Object} request
445
+ * The request object that will be sent.
446
+ * @param {string} request.name
447
+ * Resource name for the location.
448
+ * @param {object} [options]
449
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
450
+ * @returns {Promise} - The promise which resolves to an array.
451
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
452
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
453
+ * for more details and examples.
454
+ * @example
455
+ * ```
456
+ * const [response] = await client.getLocation(request);
457
+ * ```
458
+ */
459
+ getLocation(request, options, callback) {
460
+ return this.locationsClient.getLocation(request, options, callback);
461
+ }
462
+ /**
463
+ * Lists information about the supported locations for this service. Returns an iterable object.
464
+ *
465
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
466
+ * @param {Object} request
467
+ * The request object that will be sent.
468
+ * @param {string} request.name
469
+ * The resource that owns the locations collection, if applicable.
470
+ * @param {string} request.filter
471
+ * The standard list filter.
472
+ * @param {number} request.pageSize
473
+ * The standard list page size.
474
+ * @param {string} request.pageToken
475
+ * The standard list page token.
476
+ * @param {object} [options]
477
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
478
+ * @returns {Object}
479
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
480
+ * When you iterate the returned iterable, each element will be an object representing
481
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
482
+ * so you can stop the iteration when you don't need more results.
483
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
484
+ * for more details and examples.
485
+ * @example
486
+ * ```
487
+ * const iterable = client.listLocationsAsync(request);
488
+ * for await (const response of iterable) {
489
+ * // process response
490
+ * }
491
+ * ```
492
+ */
493
+ listLocationsAsync(request, options) {
494
+ return this.locationsClient.listLocationsAsync(request, options);
495
+ }
496
+ // --------------------
497
+ // -- Path templates --
498
+ // --------------------
499
+ /**
500
+ * Return a fully-qualified aclConfig resource name string.
501
+ *
502
+ * @param {string} project
503
+ * @param {string} location
504
+ * @returns {string} Resource name string.
505
+ */
506
+ aclConfigPath(project, location) {
507
+ return this.pathTemplates.aclConfigPathTemplate.render({
508
+ project: project,
509
+ location: location,
510
+ });
511
+ }
512
+ /**
513
+ * Parse the project from AclConfig resource.
514
+ *
515
+ * @param {string} aclConfigName
516
+ * A fully-qualified path representing AclConfig resource.
517
+ * @returns {string} A string representing the project.
518
+ */
519
+ matchProjectFromAclConfigName(aclConfigName) {
520
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
521
+ .project;
522
+ }
523
+ /**
524
+ * Parse the location from AclConfig resource.
525
+ *
526
+ * @param {string} aclConfigName
527
+ * A fully-qualified path representing AclConfig resource.
528
+ * @returns {string} A string representing the location.
529
+ */
530
+ matchLocationFromAclConfigName(aclConfigName) {
531
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
532
+ .location;
533
+ }
534
+ /**
535
+ * Return a fully-qualified engine resource name string.
536
+ *
537
+ * @param {string} project
538
+ * @param {string} location
539
+ * @param {string} collection
540
+ * @param {string} engine
541
+ * @returns {string} Resource name string.
542
+ */
543
+ enginePath(project, location, collection, engine) {
544
+ return this.pathTemplates.enginePathTemplate.render({
545
+ project: project,
546
+ location: location,
547
+ collection: collection,
548
+ engine: engine,
549
+ });
550
+ }
551
+ /**
552
+ * Parse the project from Engine resource.
553
+ *
554
+ * @param {string} engineName
555
+ * A fully-qualified path representing Engine resource.
556
+ * @returns {string} A string representing the project.
557
+ */
558
+ matchProjectFromEngineName(engineName) {
559
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
560
+ }
561
+ /**
562
+ * Parse the location from Engine resource.
563
+ *
564
+ * @param {string} engineName
565
+ * A fully-qualified path representing Engine resource.
566
+ * @returns {string} A string representing the location.
567
+ */
568
+ matchLocationFromEngineName(engineName) {
569
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
570
+ }
571
+ /**
572
+ * Parse the collection from Engine resource.
573
+ *
574
+ * @param {string} engineName
575
+ * A fully-qualified path representing Engine resource.
576
+ * @returns {string} A string representing the collection.
577
+ */
578
+ matchCollectionFromEngineName(engineName) {
579
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
580
+ }
581
+ /**
582
+ * Parse the engine from Engine resource.
583
+ *
584
+ * @param {string} engineName
585
+ * A fully-qualified path representing Engine resource.
586
+ * @returns {string} A string representing the engine.
587
+ */
588
+ matchEngineFromEngineName(engineName) {
589
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
590
+ }
591
+ /**
592
+ * Return a fully-qualified location resource name string.
593
+ *
594
+ * @param {string} project
595
+ * @param {string} location
596
+ * @returns {string} Resource name string.
597
+ */
598
+ locationPath(project, location) {
599
+ return this.pathTemplates.locationPathTemplate.render({
600
+ project: project,
601
+ location: location,
602
+ });
603
+ }
604
+ /**
605
+ * Parse the project from Location resource.
606
+ *
607
+ * @param {string} locationName
608
+ * A fully-qualified path representing Location resource.
609
+ * @returns {string} A string representing the project.
610
+ */
611
+ matchProjectFromLocationName(locationName) {
612
+ return this.pathTemplates.locationPathTemplate.match(locationName).project;
613
+ }
614
+ /**
615
+ * Parse the location from Location resource.
616
+ *
617
+ * @param {string} locationName
618
+ * A fully-qualified path representing Location resource.
619
+ * @returns {string} A string representing the location.
620
+ */
621
+ matchLocationFromLocationName(locationName) {
622
+ return this.pathTemplates.locationPathTemplate.match(locationName).location;
623
+ }
624
+ /**
625
+ * Return a fully-qualified project resource name string.
626
+ *
627
+ * @param {string} project
628
+ * @returns {string} Resource name string.
629
+ */
630
+ projectPath(project) {
631
+ return this.pathTemplates.projectPathTemplate.render({
632
+ project: project,
633
+ });
634
+ }
635
+ /**
636
+ * Parse the project from Project resource.
637
+ *
638
+ * @param {string} projectName
639
+ * A fully-qualified path representing Project resource.
640
+ * @returns {string} A string representing the project.
641
+ */
642
+ matchProjectFromProjectName(projectName) {
643
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
644
+ }
645
+ /**
646
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
647
+ *
648
+ * @param {string} project
649
+ * @param {string} location
650
+ * @param {string} collection
651
+ * @param {string} data_store
652
+ * @returns {string} Resource name string.
653
+ */
654
+ projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
655
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
656
+ project: project,
657
+ location: location,
658
+ collection: collection,
659
+ data_store: dataStore,
660
+ });
661
+ }
662
+ /**
663
+ * Parse the project from ProjectLocationCollectionDataStore resource.
664
+ *
665
+ * @param {string} projectLocationCollectionDataStoreName
666
+ * A fully-qualified path representing project_location_collection_data_store resource.
667
+ * @returns {string} A string representing the project.
668
+ */
669
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
670
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
671
+ }
672
+ /**
673
+ * Parse the location from ProjectLocationCollectionDataStore resource.
674
+ *
675
+ * @param {string} projectLocationCollectionDataStoreName
676
+ * A fully-qualified path representing project_location_collection_data_store resource.
677
+ * @returns {string} A string representing the location.
678
+ */
679
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
680
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
681
+ }
682
+ /**
683
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
684
+ *
685
+ * @param {string} projectLocationCollectionDataStoreName
686
+ * A fully-qualified path representing project_location_collection_data_store resource.
687
+ * @returns {string} A string representing the collection.
688
+ */
689
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
690
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
691
+ }
692
+ /**
693
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
694
+ *
695
+ * @param {string} projectLocationCollectionDataStoreName
696
+ * A fully-qualified path representing project_location_collection_data_store resource.
697
+ * @returns {string} A string representing the data_store.
698
+ */
699
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
700
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
701
+ }
702
+ /**
703
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
704
+ *
705
+ * @param {string} project
706
+ * @param {string} location
707
+ * @param {string} collection
708
+ * @param {string} data_store
709
+ * @param {string} branch
710
+ * @param {string} document
711
+ * @returns {string} Resource name string.
712
+ */
713
+ projectLocationCollectionDataStoreBranchDocumentPath(project, location, collection, dataStore, branch, document) {
714
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.render({
715
+ project: project,
716
+ location: location,
717
+ collection: collection,
718
+ data_store: dataStore,
719
+ branch: branch,
720
+ document: document,
721
+ });
722
+ }
723
+ /**
724
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
725
+ *
726
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
727
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
728
+ * @returns {string} A string representing the project.
729
+ */
730
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
731
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).project;
732
+ }
733
+ /**
734
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
735
+ *
736
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
737
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
738
+ * @returns {string} A string representing the location.
739
+ */
740
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
741
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).location;
742
+ }
743
+ /**
744
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
745
+ *
746
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
747
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
748
+ * @returns {string} A string representing the collection.
749
+ */
750
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
751
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).collection;
752
+ }
753
+ /**
754
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
755
+ *
756
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
757
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
758
+ * @returns {string} A string representing the data_store.
759
+ */
760
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
761
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).data_store;
762
+ }
763
+ /**
764
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
765
+ *
766
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
767
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
768
+ * @returns {string} A string representing the branch.
769
+ */
770
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
771
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).branch;
772
+ }
773
+ /**
774
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
775
+ *
776
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
777
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
778
+ * @returns {string} A string representing the document.
779
+ */
780
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
781
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
782
+ }
783
+ /**
784
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
785
+ *
786
+ * @param {string} project
787
+ * @param {string} location
788
+ * @param {string} collection
789
+ * @param {string} data_store
790
+ * @param {string} branch
791
+ * @param {string} document
792
+ * @param {string} chunk
793
+ * @returns {string} Resource name string.
794
+ */
795
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
796
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
797
+ project: project,
798
+ location: location,
799
+ collection: collection,
800
+ data_store: dataStore,
801
+ branch: branch,
802
+ document: document,
803
+ chunk: chunk,
804
+ });
805
+ }
806
+ /**
807
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
808
+ *
809
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
810
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
811
+ * @returns {string} A string representing the project.
812
+ */
813
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
814
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
815
+ }
816
+ /**
817
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
818
+ *
819
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
820
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
821
+ * @returns {string} A string representing the location.
822
+ */
823
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
824
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
825
+ }
826
+ /**
827
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
828
+ *
829
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
830
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
831
+ * @returns {string} A string representing the collection.
832
+ */
833
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
834
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
835
+ }
836
+ /**
837
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
838
+ *
839
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
840
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
841
+ * @returns {string} A string representing the data_store.
842
+ */
843
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
844
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
845
+ }
846
+ /**
847
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
848
+ *
849
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
850
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
851
+ * @returns {string} A string representing the branch.
852
+ */
853
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
854
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
855
+ }
856
+ /**
857
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
858
+ *
859
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
860
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
861
+ * @returns {string} A string representing the document.
862
+ */
863
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
864
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
865
+ }
866
+ /**
867
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
868
+ *
869
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
870
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
871
+ * @returns {string} A string representing the chunk.
872
+ */
873
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
874
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
875
+ }
876
+ /**
877
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
878
+ *
879
+ * @param {string} project
880
+ * @param {string} location
881
+ * @param {string} collection
882
+ * @param {string} data_store
883
+ * @param {string} conversation
884
+ * @returns {string} Resource name string.
885
+ */
886
+ projectLocationCollectionDataStoreConversationPath(project, location, collection, dataStore, conversation) {
887
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.render({
888
+ project: project,
889
+ location: location,
890
+ collection: collection,
891
+ data_store: dataStore,
892
+ conversation: conversation,
893
+ });
894
+ }
895
+ /**
896
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
897
+ *
898
+ * @param {string} projectLocationCollectionDataStoreConversationName
899
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
900
+ * @returns {string} A string representing the project.
901
+ */
902
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
903
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).project;
904
+ }
905
+ /**
906
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
907
+ *
908
+ * @param {string} projectLocationCollectionDataStoreConversationName
909
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
910
+ * @returns {string} A string representing the location.
911
+ */
912
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
913
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).location;
914
+ }
915
+ /**
916
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
917
+ *
918
+ * @param {string} projectLocationCollectionDataStoreConversationName
919
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
920
+ * @returns {string} A string representing the collection.
921
+ */
922
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
923
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).collection;
924
+ }
925
+ /**
926
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
927
+ *
928
+ * @param {string} projectLocationCollectionDataStoreConversationName
929
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
930
+ * @returns {string} A string representing the data_store.
931
+ */
932
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
933
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).data_store;
934
+ }
935
+ /**
936
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
937
+ *
938
+ * @param {string} projectLocationCollectionDataStoreConversationName
939
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
940
+ * @returns {string} A string representing the conversation.
941
+ */
942
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
943
+ return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
944
+ }
945
+ /**
946
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
947
+ *
948
+ * @param {string} project
949
+ * @param {string} location
950
+ * @param {string} collection
951
+ * @param {string} data_store
952
+ * @returns {string} Resource name string.
953
+ */
954
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
955
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
956
+ project: project,
957
+ location: location,
958
+ collection: collection,
959
+ data_store: dataStore,
960
+ });
961
+ }
962
+ /**
963
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
964
+ *
965
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
966
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
967
+ * @returns {string} A string representing the project.
968
+ */
969
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
970
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
971
+ }
972
+ /**
973
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
974
+ *
975
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
976
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
977
+ * @returns {string} A string representing the location.
978
+ */
979
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
980
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
981
+ }
982
+ /**
983
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
984
+ *
985
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
986
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
987
+ * @returns {string} A string representing the collection.
988
+ */
989
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
990
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
991
+ }
992
+ /**
993
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
994
+ *
995
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
996
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
997
+ * @returns {string} A string representing the data_store.
998
+ */
999
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1000
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1001
+ }
1002
+ /**
1003
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1004
+ *
1005
+ * @param {string} project
1006
+ * @param {string} location
1007
+ * @param {string} collection
1008
+ * @param {string} data_store
1009
+ * @param {string} schema
1010
+ * @returns {string} Resource name string.
1011
+ */
1012
+ projectLocationCollectionDataStoreSchemaPath(project, location, collection, dataStore, schema) {
1013
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.render({
1014
+ project: project,
1015
+ location: location,
1016
+ collection: collection,
1017
+ data_store: dataStore,
1018
+ schema: schema,
1019
+ });
1020
+ }
1021
+ /**
1022
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
1023
+ *
1024
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1025
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1026
+ * @returns {string} A string representing the project.
1027
+ */
1028
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1029
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).project;
1030
+ }
1031
+ /**
1032
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
1033
+ *
1034
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1035
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1036
+ * @returns {string} A string representing the location.
1037
+ */
1038
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1039
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).location;
1040
+ }
1041
+ /**
1042
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
1043
+ *
1044
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1045
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1046
+ * @returns {string} A string representing the collection.
1047
+ */
1048
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1049
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).collection;
1050
+ }
1051
+ /**
1052
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
1053
+ *
1054
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1055
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1056
+ * @returns {string} A string representing the data_store.
1057
+ */
1058
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1059
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).data_store;
1060
+ }
1061
+ /**
1062
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
1063
+ *
1064
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1065
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1066
+ * @returns {string} A string representing the schema.
1067
+ */
1068
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1069
+ return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1070
+ }
1071
+ /**
1072
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1073
+ *
1074
+ * @param {string} project
1075
+ * @param {string} location
1076
+ * @param {string} collection
1077
+ * @param {string} data_store
1078
+ * @param {string} serving_config
1079
+ * @returns {string} Resource name string.
1080
+ */
1081
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1082
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1083
+ project: project,
1084
+ location: location,
1085
+ collection: collection,
1086
+ data_store: dataStore,
1087
+ serving_config: servingConfig,
1088
+ });
1089
+ }
1090
+ /**
1091
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1092
+ *
1093
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1094
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1095
+ * @returns {string} A string representing the project.
1096
+ */
1097
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1098
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1099
+ }
1100
+ /**
1101
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1102
+ *
1103
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1104
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1105
+ * @returns {string} A string representing the location.
1106
+ */
1107
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1108
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1109
+ }
1110
+ /**
1111
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1112
+ *
1113
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1114
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1115
+ * @returns {string} A string representing the collection.
1116
+ */
1117
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1118
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1119
+ }
1120
+ /**
1121
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1122
+ *
1123
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1124
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1125
+ * @returns {string} A string representing the data_store.
1126
+ */
1127
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1128
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1129
+ }
1130
+ /**
1131
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1132
+ *
1133
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1134
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1135
+ * @returns {string} A string representing the serving_config.
1136
+ */
1137
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1138
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1139
+ }
1140
+ /**
1141
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1142
+ *
1143
+ * @param {string} project
1144
+ * @param {string} location
1145
+ * @param {string} collection
1146
+ * @param {string} data_store
1147
+ * @returns {string} Resource name string.
1148
+ */
1149
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1150
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1151
+ project: project,
1152
+ location: location,
1153
+ collection: collection,
1154
+ data_store: dataStore,
1155
+ });
1156
+ }
1157
+ /**
1158
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1159
+ *
1160
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1161
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1162
+ * @returns {string} A string representing the project.
1163
+ */
1164
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1165
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1166
+ }
1167
+ /**
1168
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1169
+ *
1170
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1171
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1172
+ * @returns {string} A string representing the location.
1173
+ */
1174
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1175
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1176
+ }
1177
+ /**
1178
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1179
+ *
1180
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1181
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1182
+ * @returns {string} A string representing the collection.
1183
+ */
1184
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1185
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1186
+ }
1187
+ /**
1188
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1189
+ *
1190
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1191
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1192
+ * @returns {string} A string representing the data_store.
1193
+ */
1194
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1195
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1196
+ }
1197
+ /**
1198
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1199
+ *
1200
+ * @param {string} project
1201
+ * @param {string} location
1202
+ * @param {string} collection
1203
+ * @param {string} data_store
1204
+ * @param {string} target_site
1205
+ * @returns {string} Resource name string.
1206
+ */
1207
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1208
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1209
+ project: project,
1210
+ location: location,
1211
+ collection: collection,
1212
+ data_store: dataStore,
1213
+ target_site: targetSite,
1214
+ });
1215
+ }
1216
+ /**
1217
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1218
+ *
1219
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1220
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1221
+ * @returns {string} A string representing the project.
1222
+ */
1223
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1224
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1225
+ }
1226
+ /**
1227
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1228
+ *
1229
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1230
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1231
+ * @returns {string} A string representing the location.
1232
+ */
1233
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1234
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1235
+ }
1236
+ /**
1237
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1238
+ *
1239
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1240
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1241
+ * @returns {string} A string representing the collection.
1242
+ */
1243
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1244
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1245
+ }
1246
+ /**
1247
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1248
+ *
1249
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1250
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1251
+ * @returns {string} A string representing the data_store.
1252
+ */
1253
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1254
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1255
+ }
1256
+ /**
1257
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1258
+ *
1259
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1260
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1261
+ * @returns {string} A string representing the target_site.
1262
+ */
1263
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1264
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1265
+ }
1266
+ /**
1267
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1268
+ *
1269
+ * @param {string} project
1270
+ * @param {string} location
1271
+ * @param {string} collection
1272
+ * @param {string} engine
1273
+ * @param {string} conversation
1274
+ * @returns {string} Resource name string.
1275
+ */
1276
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1277
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1278
+ project: project,
1279
+ location: location,
1280
+ collection: collection,
1281
+ engine: engine,
1282
+ conversation: conversation,
1283
+ });
1284
+ }
1285
+ /**
1286
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1287
+ *
1288
+ * @param {string} projectLocationCollectionEngineConversationName
1289
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1290
+ * @returns {string} A string representing the project.
1291
+ */
1292
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1293
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1294
+ }
1295
+ /**
1296
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1297
+ *
1298
+ * @param {string} projectLocationCollectionEngineConversationName
1299
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1300
+ * @returns {string} A string representing the location.
1301
+ */
1302
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1303
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1304
+ }
1305
+ /**
1306
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1307
+ *
1308
+ * @param {string} projectLocationCollectionEngineConversationName
1309
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1310
+ * @returns {string} A string representing the collection.
1311
+ */
1312
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1313
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1314
+ }
1315
+ /**
1316
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1317
+ *
1318
+ * @param {string} projectLocationCollectionEngineConversationName
1319
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1320
+ * @returns {string} A string representing the engine.
1321
+ */
1322
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1323
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1324
+ }
1325
+ /**
1326
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1327
+ *
1328
+ * @param {string} projectLocationCollectionEngineConversationName
1329
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1330
+ * @returns {string} A string representing the conversation.
1331
+ */
1332
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1333
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1334
+ }
1335
+ /**
1336
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1337
+ *
1338
+ * @param {string} project
1339
+ * @param {string} location
1340
+ * @param {string} collection
1341
+ * @param {string} engine
1342
+ * @param {string} serving_config
1343
+ * @returns {string} Resource name string.
1344
+ */
1345
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1346
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1347
+ project: project,
1348
+ location: location,
1349
+ collection: collection,
1350
+ engine: engine,
1351
+ serving_config: servingConfig,
1352
+ });
1353
+ }
1354
+ /**
1355
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1356
+ *
1357
+ * @param {string} projectLocationCollectionEngineServingConfigName
1358
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1359
+ * @returns {string} A string representing the project.
1360
+ */
1361
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1362
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1363
+ }
1364
+ /**
1365
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1366
+ *
1367
+ * @param {string} projectLocationCollectionEngineServingConfigName
1368
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1369
+ * @returns {string} A string representing the location.
1370
+ */
1371
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1372
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1373
+ }
1374
+ /**
1375
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1376
+ *
1377
+ * @param {string} projectLocationCollectionEngineServingConfigName
1378
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1379
+ * @returns {string} A string representing the collection.
1380
+ */
1381
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1382
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1383
+ }
1384
+ /**
1385
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1386
+ *
1387
+ * @param {string} projectLocationCollectionEngineServingConfigName
1388
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1389
+ * @returns {string} A string representing the engine.
1390
+ */
1391
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1392
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1393
+ }
1394
+ /**
1395
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1396
+ *
1397
+ * @param {string} projectLocationCollectionEngineServingConfigName
1398
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1399
+ * @returns {string} A string representing the serving_config.
1400
+ */
1401
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1402
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1403
+ }
1404
+ /**
1405
+ * Return a fully-qualified projectLocationDataStore resource name string.
1406
+ *
1407
+ * @param {string} project
1408
+ * @param {string} location
1409
+ * @param {string} data_store
1410
+ * @returns {string} Resource name string.
1411
+ */
1412
+ projectLocationDataStorePath(project, location, dataStore) {
1413
+ return this.pathTemplates.projectLocationDataStorePathTemplate.render({
1414
+ project: project,
1415
+ location: location,
1416
+ data_store: dataStore,
1417
+ });
1418
+ }
1419
+ /**
1420
+ * Parse the project from ProjectLocationDataStore resource.
1421
+ *
1422
+ * @param {string} projectLocationDataStoreName
1423
+ * A fully-qualified path representing project_location_data_store resource.
1424
+ * @returns {string} A string representing the project.
1425
+ */
1426
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1427
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
1428
+ }
1429
+ /**
1430
+ * Parse the location from ProjectLocationDataStore resource.
1431
+ *
1432
+ * @param {string} projectLocationDataStoreName
1433
+ * A fully-qualified path representing project_location_data_store resource.
1434
+ * @returns {string} A string representing the location.
1435
+ */
1436
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1437
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
1438
+ }
1439
+ /**
1440
+ * Parse the data_store from ProjectLocationDataStore resource.
1441
+ *
1442
+ * @param {string} projectLocationDataStoreName
1443
+ * A fully-qualified path representing project_location_data_store resource.
1444
+ * @returns {string} A string representing the data_store.
1445
+ */
1446
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1447
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
1448
+ }
1449
+ /**
1450
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1451
+ *
1452
+ * @param {string} project
1453
+ * @param {string} location
1454
+ * @param {string} data_store
1455
+ * @param {string} branch
1456
+ * @param {string} document
1457
+ * @returns {string} Resource name string.
1458
+ */
1459
+ projectLocationDataStoreBranchDocumentPath(project, location, dataStore, branch, document) {
1460
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.render({
1461
+ project: project,
1462
+ location: location,
1463
+ data_store: dataStore,
1464
+ branch: branch,
1465
+ document: document,
1466
+ });
1467
+ }
1468
+ /**
1469
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1470
+ *
1471
+ * @param {string} projectLocationDataStoreBranchDocumentName
1472
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1473
+ * @returns {string} A string representing the project.
1474
+ */
1475
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1476
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).project;
1477
+ }
1478
+ /**
1479
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1480
+ *
1481
+ * @param {string} projectLocationDataStoreBranchDocumentName
1482
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1483
+ * @returns {string} A string representing the location.
1484
+ */
1485
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1486
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).location;
1487
+ }
1488
+ /**
1489
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1490
+ *
1491
+ * @param {string} projectLocationDataStoreBranchDocumentName
1492
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1493
+ * @returns {string} A string representing the data_store.
1494
+ */
1495
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1496
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).data_store;
1497
+ }
1498
+ /**
1499
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1500
+ *
1501
+ * @param {string} projectLocationDataStoreBranchDocumentName
1502
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1503
+ * @returns {string} A string representing the branch.
1504
+ */
1505
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1506
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).branch;
1507
+ }
1508
+ /**
1509
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1510
+ *
1511
+ * @param {string} projectLocationDataStoreBranchDocumentName
1512
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1513
+ * @returns {string} A string representing the document.
1514
+ */
1515
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1516
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1517
+ }
1518
+ /**
1519
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1520
+ *
1521
+ * @param {string} project
1522
+ * @param {string} location
1523
+ * @param {string} data_store
1524
+ * @param {string} branch
1525
+ * @param {string} document
1526
+ * @param {string} chunk
1527
+ * @returns {string} Resource name string.
1528
+ */
1529
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1530
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1531
+ project: project,
1532
+ location: location,
1533
+ data_store: dataStore,
1534
+ branch: branch,
1535
+ document: document,
1536
+ chunk: chunk,
1537
+ });
1538
+ }
1539
+ /**
1540
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1541
+ *
1542
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1543
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1544
+ * @returns {string} A string representing the project.
1545
+ */
1546
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1547
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1548
+ }
1549
+ /**
1550
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1551
+ *
1552
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1553
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1554
+ * @returns {string} A string representing the location.
1555
+ */
1556
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1557
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1558
+ }
1559
+ /**
1560
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1561
+ *
1562
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1563
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1564
+ * @returns {string} A string representing the data_store.
1565
+ */
1566
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1567
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1568
+ }
1569
+ /**
1570
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1571
+ *
1572
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1573
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1574
+ * @returns {string} A string representing the branch.
1575
+ */
1576
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1577
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1578
+ }
1579
+ /**
1580
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1581
+ *
1582
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1583
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1584
+ * @returns {string} A string representing the document.
1585
+ */
1586
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1587
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1588
+ }
1589
+ /**
1590
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1591
+ *
1592
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1593
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1594
+ * @returns {string} A string representing the chunk.
1595
+ */
1596
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1597
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1598
+ }
1599
+ /**
1600
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1601
+ *
1602
+ * @param {string} project
1603
+ * @param {string} location
1604
+ * @param {string} data_store
1605
+ * @param {string} conversation
1606
+ * @returns {string} Resource name string.
1607
+ */
1608
+ projectLocationDataStoreConversationPath(project, location, dataStore, conversation) {
1609
+ return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.render({
1610
+ project: project,
1611
+ location: location,
1612
+ data_store: dataStore,
1613
+ conversation: conversation,
1614
+ });
1615
+ }
1616
+ /**
1617
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1618
+ *
1619
+ * @param {string} projectLocationDataStoreConversationName
1620
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1621
+ * @returns {string} A string representing the project.
1622
+ */
1623
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1624
+ return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).project;
1625
+ }
1626
+ /**
1627
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1628
+ *
1629
+ * @param {string} projectLocationDataStoreConversationName
1630
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1631
+ * @returns {string} A string representing the location.
1632
+ */
1633
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1634
+ return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).location;
1635
+ }
1636
+ /**
1637
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1638
+ *
1639
+ * @param {string} projectLocationDataStoreConversationName
1640
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1641
+ * @returns {string} A string representing the data_store.
1642
+ */
1643
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1644
+ return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).data_store;
1645
+ }
1646
+ /**
1647
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1648
+ *
1649
+ * @param {string} projectLocationDataStoreConversationName
1650
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1651
+ * @returns {string} A string representing the conversation.
1652
+ */
1653
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1654
+ return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1655
+ }
1656
+ /**
1657
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1658
+ *
1659
+ * @param {string} project
1660
+ * @param {string} location
1661
+ * @param {string} data_store
1662
+ * @returns {string} Resource name string.
1663
+ */
1664
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1665
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1666
+ project: project,
1667
+ location: location,
1668
+ data_store: dataStore,
1669
+ });
1670
+ }
1671
+ /**
1672
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1673
+ *
1674
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1675
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1676
+ * @returns {string} A string representing the project.
1677
+ */
1678
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1679
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1680
+ }
1681
+ /**
1682
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1683
+ *
1684
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1685
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1686
+ * @returns {string} A string representing the location.
1687
+ */
1688
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1689
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1690
+ }
1691
+ /**
1692
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1693
+ *
1694
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1695
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1696
+ * @returns {string} A string representing the data_store.
1697
+ */
1698
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1699
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1700
+ }
1701
+ /**
1702
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1703
+ *
1704
+ * @param {string} project
1705
+ * @param {string} location
1706
+ * @param {string} data_store
1707
+ * @param {string} schema
1708
+ * @returns {string} Resource name string.
1709
+ */
1710
+ projectLocationDataStoreSchemaPath(project, location, dataStore, schema) {
1711
+ return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.render({
1712
+ project: project,
1713
+ location: location,
1714
+ data_store: dataStore,
1715
+ schema: schema,
1716
+ });
1717
+ }
1718
+ /**
1719
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1720
+ *
1721
+ * @param {string} projectLocationDataStoreSchemaName
1722
+ * A fully-qualified path representing project_location_data_store_schema resource.
1723
+ * @returns {string} A string representing the project.
1724
+ */
1725
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1726
+ return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).project;
1727
+ }
1728
+ /**
1729
+ * Parse the location from ProjectLocationDataStoreSchema resource.
1730
+ *
1731
+ * @param {string} projectLocationDataStoreSchemaName
1732
+ * A fully-qualified path representing project_location_data_store_schema resource.
1733
+ * @returns {string} A string representing the location.
1734
+ */
1735
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1736
+ return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).location;
1737
+ }
1738
+ /**
1739
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
1740
+ *
1741
+ * @param {string} projectLocationDataStoreSchemaName
1742
+ * A fully-qualified path representing project_location_data_store_schema resource.
1743
+ * @returns {string} A string representing the data_store.
1744
+ */
1745
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1746
+ return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).data_store;
1747
+ }
1748
+ /**
1749
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
1750
+ *
1751
+ * @param {string} projectLocationDataStoreSchemaName
1752
+ * A fully-qualified path representing project_location_data_store_schema resource.
1753
+ * @returns {string} A string representing the schema.
1754
+ */
1755
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1756
+ return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1757
+ }
1758
+ /**
1759
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1760
+ *
1761
+ * @param {string} project
1762
+ * @param {string} location
1763
+ * @param {string} data_store
1764
+ * @param {string} serving_config
1765
+ * @returns {string} Resource name string.
1766
+ */
1767
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
1768
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
1769
+ project: project,
1770
+ location: location,
1771
+ data_store: dataStore,
1772
+ serving_config: servingConfig,
1773
+ });
1774
+ }
1775
+ /**
1776
+ * Parse the project 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 project.
1781
+ */
1782
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1783
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
1784
+ }
1785
+ /**
1786
+ * Parse the location 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 location.
1791
+ */
1792
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1793
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
1794
+ }
1795
+ /**
1796
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1797
+ *
1798
+ * @param {string} projectLocationDataStoreServingConfigName
1799
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1800
+ * @returns {string} A string representing the data_store.
1801
+ */
1802
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1803
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
1804
+ }
1805
+ /**
1806
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1807
+ *
1808
+ * @param {string} projectLocationDataStoreServingConfigName
1809
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1810
+ * @returns {string} A string representing the serving_config.
1811
+ */
1812
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1813
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1814
+ }
1815
+ /**
1816
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1817
+ *
1818
+ * @param {string} project
1819
+ * @param {string} location
1820
+ * @param {string} data_store
1821
+ * @returns {string} Resource name string.
1822
+ */
1823
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1824
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1825
+ project: project,
1826
+ location: location,
1827
+ data_store: dataStore,
1828
+ });
1829
+ }
1830
+ /**
1831
+ * Parse the project 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 project.
1836
+ */
1837
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1838
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1839
+ }
1840
+ /**
1841
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1842
+ *
1843
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1844
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1845
+ * @returns {string} A string representing the location.
1846
+ */
1847
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1848
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1849
+ }
1850
+ /**
1851
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1852
+ *
1853
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1854
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1855
+ * @returns {string} A string representing the data_store.
1856
+ */
1857
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1858
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1859
+ }
1860
+ /**
1861
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1862
+ *
1863
+ * @param {string} project
1864
+ * @param {string} location
1865
+ * @param {string} data_store
1866
+ * @param {string} target_site
1867
+ * @returns {string} Resource name string.
1868
+ */
1869
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1870
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1871
+ project: project,
1872
+ location: location,
1873
+ data_store: dataStore,
1874
+ target_site: targetSite,
1875
+ });
1876
+ }
1877
+ /**
1878
+ * Parse the project 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 project.
1883
+ */
1884
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1885
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1886
+ }
1887
+ /**
1888
+ * Parse the location 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 location.
1893
+ */
1894
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1895
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1896
+ }
1897
+ /**
1898
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1899
+ *
1900
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1901
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1902
+ * @returns {string} A string representing the data_store.
1903
+ */
1904
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1905
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1906
+ }
1907
+ /**
1908
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1909
+ *
1910
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1911
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1912
+ * @returns {string} A string representing the target_site.
1913
+ */
1914
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1915
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1916
+ }
1917
+ /**
1918
+ * Terminate the gRPC channel and close the client.
1919
+ *
1920
+ * The client will no longer be usable and all future behavior is undefined.
1921
+ * @returns {Promise} A promise that resolves when the client is closed.
1922
+ */
1923
+ close() {
1924
+ if (this.servingConfigServiceStub && !this._terminated) {
1925
+ return this.servingConfigServiceStub.then(stub => {
1926
+ this._terminated = true;
1927
+ stub.close();
1928
+ this.locationsClient.close();
1929
+ });
1930
+ }
1931
+ return Promise.resolve();
1932
+ }
1933
+ }
1934
+ exports.ServingConfigServiceClient = ServingConfigServiceClient;
1935
+ //# sourceMappingURL=serving_config_service_client.js.map