@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,1432 @@
1
+ /// <reference types="node" />
2
+ import type * as gax from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
+ import { Transform } from 'stream';
5
+ import * as protos from '../../protos/protos';
6
+ /**
7
+ * Service for managing {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}
8
+ * configuration.
9
+ * @class
10
+ * @memberof v1beta
11
+ */
12
+ export declare class EngineServiceClient {
13
+ private _terminated;
14
+ private _opts;
15
+ private _providedCustomServicePath;
16
+ private _gaxModule;
17
+ private _gaxGrpc;
18
+ private _protos;
19
+ private _defaults;
20
+ private _universeDomain;
21
+ private _servicePath;
22
+ auth: gax.GoogleAuth;
23
+ descriptors: Descriptors;
24
+ warn: (code: string, message: string, warnType?: string) => void;
25
+ innerApiCalls: {
26
+ [name: string]: Function;
27
+ };
28
+ locationsClient: LocationsClient;
29
+ pathTemplates: {
30
+ [name: string]: gax.PathTemplate;
31
+ };
32
+ operationsClient: gax.OperationsClient;
33
+ engineServiceStub?: Promise<{
34
+ [name: string]: Function;
35
+ }>;
36
+ /**
37
+ * Construct an instance of EngineServiceClient.
38
+ *
39
+ * @param {object} [options] - The configuration object.
40
+ * The options accepted by the constructor are described in detail
41
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
42
+ * The common options are:
43
+ * @param {object} [options.credentials] - Credentials object.
44
+ * @param {string} [options.credentials.client_email]
45
+ * @param {string} [options.credentials.private_key]
46
+ * @param {string} [options.email] - Account email address. Required when
47
+ * using a .pem or .p12 keyFilename.
48
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
49
+ * .p12 key downloaded from the Google Developers Console. If you provide
50
+ * a path to a JSON file, the projectId option below is not necessary.
51
+ * NOTE: .pem and .p12 require you to specify options.email as well.
52
+ * @param {number} [options.port] - The port on which to connect to
53
+ * the remote host.
54
+ * @param {string} [options.projectId] - The project ID from the Google
55
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
56
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
57
+ * app is running in an environment which supports
58
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
59
+ * your project ID will be detected automatically.
60
+ * @param {string} [options.apiEndpoint] - The domain name of the
61
+ * API remote host.
62
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
63
+ * Follows the structure of {@link gapicConfig}.
64
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
65
+ * For more information, please check the
66
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
67
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
68
+ * need to avoid loading the default gRPC version and want to use the fallback
69
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
70
+ * ```
71
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
72
+ * const client = new EngineServiceClient({fallback: true}, gax);
73
+ * ```
74
+ */
75
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
76
+ /**
77
+ * Initialize the client.
78
+ * Performs asynchronous operations (such as authentication) and prepares the client.
79
+ * This function will be called automatically when any class method is called for the
80
+ * first time, but if you need to initialize it before calling an actual method,
81
+ * feel free to call initialize() directly.
82
+ *
83
+ * You can await on this method if you want to make sure the client is initialized.
84
+ *
85
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
86
+ */
87
+ initialize(): Promise<{
88
+ [name: string]: Function;
89
+ }>;
90
+ /**
91
+ * The DNS address for this API service.
92
+ * @deprecated Use the apiEndpoint method of the client instance.
93
+ * @returns {string} The DNS address for this service.
94
+ */
95
+ static get servicePath(): string;
96
+ /**
97
+ * The DNS address for this API service - same as servicePath.
98
+ * @deprecated Use the apiEndpoint method of the client instance.
99
+ * @returns {string} The DNS address for this service.
100
+ */
101
+ static get apiEndpoint(): string;
102
+ /**
103
+ * The DNS address for this API service.
104
+ * @returns {string} The DNS address for this service.
105
+ */
106
+ get apiEndpoint(): string;
107
+ get universeDomain(): string;
108
+ /**
109
+ * The port for this API service.
110
+ * @returns {number} The default port for this service.
111
+ */
112
+ static get port(): number;
113
+ /**
114
+ * The scopes needed to make gRPC calls for every method defined
115
+ * in this service.
116
+ * @returns {string[]} List of default scopes.
117
+ */
118
+ static get scopes(): string[];
119
+ getProjectId(): Promise<string>;
120
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
121
+ /**
122
+ * Updates an {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}
123
+ *
124
+ * @param {Object} request
125
+ * The request object that will be sent.
126
+ * @param {google.cloud.discoveryengine.v1beta.Engine} request.engine
127
+ * Required. The {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} to
128
+ * update.
129
+ *
130
+ * If the caller does not have permission to update the
131
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}, regardless of whether
132
+ * or not it exists, a PERMISSION_DENIED error is returned.
133
+ *
134
+ * If the {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} to update does
135
+ * not exist, a NOT_FOUND error is returned.
136
+ * @param {google.protobuf.FieldMask} request.updateMask
137
+ * Indicates which fields in the provided
138
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} to update.
139
+ *
140
+ * If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
141
+ * is returned.
142
+ * @param {object} [options]
143
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
144
+ * @returns {Promise} - The promise which resolves to an array.
145
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
146
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
147
+ * for more details and examples.
148
+ * @example <caption>include:samples/generated/v1beta/engine_service.update_engine.js</caption>
149
+ * region_tag:discoveryengine_v1beta_generated_EngineService_UpdateEngine_async
150
+ */
151
+ updateEngine(request?: protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest, options?: CallOptions): Promise<[
152
+ protos.google.cloud.discoveryengine.v1beta.IEngine,
153
+ (protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest | undefined),
154
+ {} | undefined
155
+ ]>;
156
+ updateEngine(request: protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest | null | undefined, {} | null | undefined>): void;
157
+ updateEngine(request: protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.IUpdateEngineRequest | null | undefined, {} | null | undefined>): void;
158
+ /**
159
+ * Gets a {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
160
+ *
161
+ * @param {Object} request
162
+ * The request object that will be sent.
163
+ * @param {string} request.name
164
+ * Required. Full resource name of
165
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}, such as
166
+ * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
167
+ * @param {object} [options]
168
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
169
+ * @returns {Promise} - The promise which resolves to an array.
170
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
171
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
172
+ * for more details and examples.
173
+ * @example <caption>include:samples/generated/v1beta/engine_service.get_engine.js</caption>
174
+ * region_tag:discoveryengine_v1beta_generated_EngineService_GetEngine_async
175
+ */
176
+ getEngine(request?: protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest, options?: CallOptions): Promise<[
177
+ protos.google.cloud.discoveryengine.v1beta.IEngine,
178
+ protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest | undefined,
179
+ {} | undefined
180
+ ]>;
181
+ getEngine(request: protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest | null | undefined, {} | null | undefined>): void;
182
+ getEngine(request: protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.IGetEngineRequest | null | undefined, {} | null | undefined>): void;
183
+ /**
184
+ * Creates a {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
185
+ *
186
+ * @param {Object} request
187
+ * The request object that will be sent.
188
+ * @param {string} request.parent
189
+ * Required. The parent resource name, such as
190
+ * `projects/{project}/locations/{location}/collections/{collection}`.
191
+ * @param {google.cloud.discoveryengine.v1beta.Engine} request.engine
192
+ * Required. The {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} to
193
+ * create.
194
+ * @param {string} request.engineId
195
+ * Required. The ID to use for the
196
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}, which will become the
197
+ * final component of the
198
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}'s resource name.
199
+ *
200
+ * This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
201
+ * standard with a length limit of 63 characters. Otherwise, an
202
+ * INVALID_ARGUMENT error is returned.
203
+ * @param {object} [options]
204
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
205
+ * @returns {Promise} - The promise which resolves to an array.
206
+ * The first element of the array is an object representing
207
+ * a long running operation. Its `promise()` method returns a promise
208
+ * you can `await` for.
209
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
210
+ * for more details and examples.
211
+ * @example <caption>include:samples/generated/v1beta/engine_service.create_engine.js</caption>
212
+ * region_tag:discoveryengine_v1beta_generated_EngineService_CreateEngine_async
213
+ */
214
+ createEngine(request?: protos.google.cloud.discoveryengine.v1beta.ICreateEngineRequest, options?: CallOptions): Promise<[
215
+ LROperation<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.ICreateEngineMetadata>,
216
+ protos.google.longrunning.IOperation | undefined,
217
+ {} | undefined
218
+ ]>;
219
+ createEngine(request: protos.google.cloud.discoveryengine.v1beta.ICreateEngineRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.ICreateEngineMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
220
+ createEngine(request: protos.google.cloud.discoveryengine.v1beta.ICreateEngineRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IEngine, protos.google.cloud.discoveryengine.v1beta.ICreateEngineMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
221
+ /**
222
+ * Check the status of the long running operation returned by `createEngine()`.
223
+ * @param {String} name
224
+ * The operation name that will be passed.
225
+ * @returns {Promise} - The promise which resolves to an object.
226
+ * The decoded operation object has result and metadata field to get information from.
227
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
228
+ * for more details and examples.
229
+ * @example <caption>include:samples/generated/v1beta/engine_service.create_engine.js</caption>
230
+ * region_tag:discoveryengine_v1beta_generated_EngineService_CreateEngine_async
231
+ */
232
+ checkCreateEngineProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.Engine, protos.google.cloud.discoveryengine.v1beta.CreateEngineMetadata>>;
233
+ /**
234
+ * Deletes a {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
235
+ *
236
+ * @param {Object} request
237
+ * The request object that will be sent.
238
+ * @param {string} request.name
239
+ * Required. Full resource name of
240
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}, such as
241
+ * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
242
+ *
243
+ * If the caller does not have permission to delete the
244
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}, regardless of whether
245
+ * or not it exists, a PERMISSION_DENIED error is returned.
246
+ *
247
+ * If the {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} to delete does
248
+ * not exist, a NOT_FOUND error is returned.
249
+ * @param {object} [options]
250
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
251
+ * @returns {Promise} - The promise which resolves to an array.
252
+ * The first element of the array is an object representing
253
+ * a long running operation. Its `promise()` method returns a promise
254
+ * you can `await` for.
255
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
256
+ * for more details and examples.
257
+ * @example <caption>include:samples/generated/v1beta/engine_service.delete_engine.js</caption>
258
+ * region_tag:discoveryengine_v1beta_generated_EngineService_DeleteEngine_async
259
+ */
260
+ deleteEngine(request?: protos.google.cloud.discoveryengine.v1beta.IDeleteEngineRequest, options?: CallOptions): Promise<[
261
+ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteEngineMetadata>,
262
+ protos.google.longrunning.IOperation | undefined,
263
+ {} | undefined
264
+ ]>;
265
+ deleteEngine(request: protos.google.cloud.discoveryengine.v1beta.IDeleteEngineRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteEngineMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
266
+ deleteEngine(request: protos.google.cloud.discoveryengine.v1beta.IDeleteEngineRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteEngineMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
267
+ /**
268
+ * Check the status of the long running operation returned by `deleteEngine()`.
269
+ * @param {String} name
270
+ * The operation name that will be passed.
271
+ * @returns {Promise} - The promise which resolves to an object.
272
+ * The decoded operation object has result and metadata field to get information from.
273
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
274
+ * for more details and examples.
275
+ * @example <caption>include:samples/generated/v1beta/engine_service.delete_engine.js</caption>
276
+ * region_tag:discoveryengine_v1beta_generated_EngineService_DeleteEngine_async
277
+ */
278
+ checkDeleteEngineProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.discoveryengine.v1beta.DeleteEngineMetadata>>;
279
+ /**
280
+ * Lists all the {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}s
281
+ * associated with the project.
282
+ *
283
+ * @param {Object} request
284
+ * The request object that will be sent.
285
+ * @param {string} request.parent
286
+ * Required. The parent resource name, such as
287
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
288
+ * @param {number} [request.pageSize]
289
+ * Optional. Not supported.
290
+ * @param {string} [request.pageToken]
291
+ * Optional. Not supported.
292
+ * @param {string} [request.filter]
293
+ * Optional. Filter by solution type. For example:
294
+ * solution_type=SOLUTION_TYPE_SEARCH
295
+ * @param {object} [options]
296
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
297
+ * @returns {Promise} - The promise which resolves to an array.
298
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}.
299
+ * The client library will perform auto-pagination by default: it will call the API as many
300
+ * times as needed and will merge results from all the pages into this array.
301
+ * Note that it can affect your quota.
302
+ * We recommend using `listEnginesAsync()`
303
+ * method described below for async iteration which you can stop as needed.
304
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
305
+ * for more details and examples.
306
+ */
307
+ listEngines(request?: protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, options?: CallOptions): Promise<[
308
+ protos.google.cloud.discoveryengine.v1beta.IEngine[],
309
+ protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest | null,
310
+ protos.google.cloud.discoveryengine.v1beta.IListEnginesResponse
311
+ ]>;
312
+ listEngines(request: protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, protos.google.cloud.discoveryengine.v1beta.IListEnginesResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.IEngine>): void;
313
+ listEngines(request: protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, protos.google.cloud.discoveryengine.v1beta.IListEnginesResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.IEngine>): void;
314
+ /**
315
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
316
+ * @param {Object} request
317
+ * The request object that will be sent.
318
+ * @param {string} request.parent
319
+ * Required. The parent resource name, such as
320
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
321
+ * @param {number} [request.pageSize]
322
+ * Optional. Not supported.
323
+ * @param {string} [request.pageToken]
324
+ * Optional. Not supported.
325
+ * @param {string} [request.filter]
326
+ * Optional. Filter by solution type. For example:
327
+ * solution_type=SOLUTION_TYPE_SEARCH
328
+ * @param {object} [options]
329
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
330
+ * @returns {Stream}
331
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine} on 'data' event.
332
+ * The client library will perform auto-pagination by default: it will call the API as many
333
+ * times as needed. Note that it can affect your quota.
334
+ * We recommend using `listEnginesAsync()`
335
+ * method described below for async iteration which you can stop as needed.
336
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
337
+ * for more details and examples.
338
+ */
339
+ listEnginesStream(request?: protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, options?: CallOptions): Transform;
340
+ /**
341
+ * Equivalent to `listEngines`, but returns an iterable object.
342
+ *
343
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
344
+ * @param {Object} request
345
+ * The request object that will be sent.
346
+ * @param {string} request.parent
347
+ * Required. The parent resource name, such as
348
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
349
+ * @param {number} [request.pageSize]
350
+ * Optional. Not supported.
351
+ * @param {string} [request.pageToken]
352
+ * Optional. Not supported.
353
+ * @param {string} [request.filter]
354
+ * Optional. Filter by solution type. For example:
355
+ * solution_type=SOLUTION_TYPE_SEARCH
356
+ * @param {object} [options]
357
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
358
+ * @returns {Object}
359
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
360
+ * When you iterate the returned iterable, each element will be an object representing
361
+ * {@link protos.google.cloud.discoveryengine.v1beta.Engine|Engine}. The API will be called under the hood as needed, once per the page,
362
+ * so you can stop the iteration when you don't need more results.
363
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
364
+ * for more details and examples.
365
+ * @example <caption>include:samples/generated/v1beta/engine_service.list_engines.js</caption>
366
+ * region_tag:discoveryengine_v1beta_generated_EngineService_ListEngines_async
367
+ */
368
+ listEnginesAsync(request?: protos.google.cloud.discoveryengine.v1beta.IListEnginesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1beta.IEngine>;
369
+ /**
370
+ * Gets information about a location.
371
+ *
372
+ * @param {Object} request
373
+ * The request object that will be sent.
374
+ * @param {string} request.name
375
+ * Resource name for the location.
376
+ * @param {object} [options]
377
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
378
+ * @returns {Promise} - The promise which resolves to an array.
379
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
380
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
381
+ * for more details and examples.
382
+ * @example
383
+ * ```
384
+ * const [response] = await client.getLocation(request);
385
+ * ```
386
+ */
387
+ getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
388
+ /**
389
+ * Lists information about the supported locations for this service. Returns an iterable object.
390
+ *
391
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
392
+ * @param {Object} request
393
+ * The request object that will be sent.
394
+ * @param {string} request.name
395
+ * The resource that owns the locations collection, if applicable.
396
+ * @param {string} request.filter
397
+ * The standard list filter.
398
+ * @param {number} request.pageSize
399
+ * The standard list page size.
400
+ * @param {string} request.pageToken
401
+ * The standard list page token.
402
+ * @param {object} [options]
403
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
404
+ * @returns {Object}
405
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
406
+ * When you iterate the returned iterable, each element will be an object representing
407
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
408
+ * so you can stop the iteration when you don't need more results.
409
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
410
+ * for more details and examples.
411
+ * @example
412
+ * ```
413
+ * const iterable = client.listLocationsAsync(request);
414
+ * for await (const response of iterable) {
415
+ * // process response
416
+ * }
417
+ * ```
418
+ */
419
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
420
+ /**
421
+ * Gets the latest state of a long-running operation. Clients can use this
422
+ * method to poll the operation result at intervals as recommended by the API
423
+ * service.
424
+ *
425
+ * @param {Object} request - The request object that will be sent.
426
+ * @param {string} request.name - The name of the operation resource.
427
+ * @param {Object=} options
428
+ * Optional parameters. You can override the default settings for this call,
429
+ * e.g, timeout, retries, paginations, etc. See {@link
430
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
431
+ * for the details.
432
+ * @param {function(?Error, ?Object)=} callback
433
+ * The function which will be called with the result of the API call.
434
+ *
435
+ * The second parameter to the callback is an object representing
436
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
437
+ * @return {Promise} - The promise which resolves to an array.
438
+ * The first element of the array is an object representing
439
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
440
+ * The promise has a method named "cancel" which cancels the ongoing API call.
441
+ *
442
+ * @example
443
+ * ```
444
+ * const client = longrunning.operationsClient();
445
+ * const name = '';
446
+ * const [response] = await client.getOperation({name});
447
+ * // doThingsWith(response)
448
+ * ```
449
+ */
450
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
451
+ /**
452
+ * Lists operations that match the specified filter in the request. If the
453
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
454
+ *
455
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
456
+ *
457
+ * @param {Object} request - The request object that will be sent.
458
+ * @param {string} request.name - The name of the operation collection.
459
+ * @param {string} request.filter - The standard list filter.
460
+ * @param {number=} request.pageSize -
461
+ * The maximum number of resources contained in the underlying API
462
+ * response. If page streaming is performed per-resource, this
463
+ * parameter does not affect the return value. If page streaming is
464
+ * performed per-page, this determines the maximum number of
465
+ * resources in a page.
466
+ * @param {Object=} options
467
+ * Optional parameters. You can override the default settings for this call,
468
+ * e.g, timeout, retries, paginations, etc. See {@link
469
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
470
+ * details.
471
+ * @returns {Object}
472
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
473
+ *
474
+ * @example
475
+ * ```
476
+ * const client = longrunning.operationsClient();
477
+ * for await (const response of client.listOperationsAsync(request));
478
+ * // doThingsWith(response)
479
+ * ```
480
+ */
481
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
482
+ /**
483
+ * Starts asynchronous cancellation on a long-running operation. The server
484
+ * makes a best effort to cancel the operation, but success is not
485
+ * guaranteed. If the server doesn't support this method, it returns
486
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
487
+ * {@link Operations.GetOperation} or
488
+ * other methods to check whether the cancellation succeeded or whether the
489
+ * operation completed despite cancellation. On successful cancellation,
490
+ * the operation is not deleted; instead, it becomes an operation with
491
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
492
+ * 1, corresponding to `Code.CANCELLED`.
493
+ *
494
+ * @param {Object} request - The request object that will be sent.
495
+ * @param {string} request.name - The name of the operation resource to be cancelled.
496
+ * @param {Object=} options
497
+ * Optional parameters. You can override the default settings for this call,
498
+ * e.g, timeout, retries, paginations, etc. See {@link
499
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
500
+ * details.
501
+ * @param {function(?Error)=} callback
502
+ * The function which will be called with the result of the API call.
503
+ * @return {Promise} - The promise which resolves when API call finishes.
504
+ * The promise has a method named "cancel" which cancels the ongoing API
505
+ * call.
506
+ *
507
+ * @example
508
+ * ```
509
+ * const client = longrunning.operationsClient();
510
+ * await client.cancelOperation({name: ''});
511
+ * ```
512
+ */
513
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
514
+ /**
515
+ * Deletes a long-running operation. This method indicates that the client is
516
+ * no longer interested in the operation result. It does not cancel the
517
+ * operation. If the server doesn't support this method, it returns
518
+ * `google.rpc.Code.UNIMPLEMENTED`.
519
+ *
520
+ * @param {Object} request - The request object that will be sent.
521
+ * @param {string} request.name - The name of the operation resource to be deleted.
522
+ * @param {Object=} options
523
+ * Optional parameters. You can override the default settings for this call,
524
+ * e.g, timeout, retries, paginations, etc. See {@link
525
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
526
+ * for the details.
527
+ * @param {function(?Error)=} callback
528
+ * The function which will be called with the result of the API call.
529
+ * @return {Promise} - The promise which resolves when API call finishes.
530
+ * The promise has a method named "cancel" which cancels the ongoing API
531
+ * call.
532
+ *
533
+ * @example
534
+ * ```
535
+ * const client = longrunning.operationsClient();
536
+ * await client.deleteOperation({name: ''});
537
+ * ```
538
+ */
539
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
540
+ /**
541
+ * Return a fully-qualified collection resource name string.
542
+ *
543
+ * @param {string} project
544
+ * @param {string} location
545
+ * @param {string} collection
546
+ * @returns {string} Resource name string.
547
+ */
548
+ collectionPath(project: string, location: string, collection: string): string;
549
+ /**
550
+ * Parse the project from Collection resource.
551
+ *
552
+ * @param {string} collectionName
553
+ * A fully-qualified path representing Collection resource.
554
+ * @returns {string} A string representing the project.
555
+ */
556
+ matchProjectFromCollectionName(collectionName: string): string | number;
557
+ /**
558
+ * Parse the location from Collection resource.
559
+ *
560
+ * @param {string} collectionName
561
+ * A fully-qualified path representing Collection resource.
562
+ * @returns {string} A string representing the location.
563
+ */
564
+ matchLocationFromCollectionName(collectionName: string): string | number;
565
+ /**
566
+ * Parse the collection from Collection resource.
567
+ *
568
+ * @param {string} collectionName
569
+ * A fully-qualified path representing Collection resource.
570
+ * @returns {string} A string representing the collection.
571
+ */
572
+ matchCollectionFromCollectionName(collectionName: string): string | number;
573
+ /**
574
+ * Return a fully-qualified engine resource name string.
575
+ *
576
+ * @param {string} project
577
+ * @param {string} location
578
+ * @param {string} collection
579
+ * @param {string} engine
580
+ * @returns {string} Resource name string.
581
+ */
582
+ enginePath(project: string, location: string, collection: string, engine: string): string;
583
+ /**
584
+ * Parse the project from Engine resource.
585
+ *
586
+ * @param {string} engineName
587
+ * A fully-qualified path representing Engine resource.
588
+ * @returns {string} A string representing the project.
589
+ */
590
+ matchProjectFromEngineName(engineName: string): string | number;
591
+ /**
592
+ * Parse the location from Engine resource.
593
+ *
594
+ * @param {string} engineName
595
+ * A fully-qualified path representing Engine resource.
596
+ * @returns {string} A string representing the location.
597
+ */
598
+ matchLocationFromEngineName(engineName: string): string | number;
599
+ /**
600
+ * Parse the collection from Engine resource.
601
+ *
602
+ * @param {string} engineName
603
+ * A fully-qualified path representing Engine resource.
604
+ * @returns {string} A string representing the collection.
605
+ */
606
+ matchCollectionFromEngineName(engineName: string): string | number;
607
+ /**
608
+ * Parse the engine from Engine resource.
609
+ *
610
+ * @param {string} engineName
611
+ * A fully-qualified path representing Engine resource.
612
+ * @returns {string} A string representing the engine.
613
+ */
614
+ matchEngineFromEngineName(engineName: string): string | number;
615
+ /**
616
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
617
+ *
618
+ * @param {string} project
619
+ * @param {string} location
620
+ * @param {string} collection
621
+ * @param {string} data_store
622
+ * @returns {string} Resource name string.
623
+ */
624
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
625
+ /**
626
+ * Parse the project from ProjectLocationCollectionDataStore resource.
627
+ *
628
+ * @param {string} projectLocationCollectionDataStoreName
629
+ * A fully-qualified path representing project_location_collection_data_store resource.
630
+ * @returns {string} A string representing the project.
631
+ */
632
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
633
+ /**
634
+ * Parse the location from ProjectLocationCollectionDataStore resource.
635
+ *
636
+ * @param {string} projectLocationCollectionDataStoreName
637
+ * A fully-qualified path representing project_location_collection_data_store resource.
638
+ * @returns {string} A string representing the location.
639
+ */
640
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
641
+ /**
642
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
643
+ *
644
+ * @param {string} projectLocationCollectionDataStoreName
645
+ * A fully-qualified path representing project_location_collection_data_store resource.
646
+ * @returns {string} A string representing the collection.
647
+ */
648
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
649
+ /**
650
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
651
+ *
652
+ * @param {string} projectLocationCollectionDataStoreName
653
+ * A fully-qualified path representing project_location_collection_data_store resource.
654
+ * @returns {string} A string representing the data_store.
655
+ */
656
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
657
+ /**
658
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
659
+ *
660
+ * @param {string} project
661
+ * @param {string} location
662
+ * @param {string} collection
663
+ * @param {string} data_store
664
+ * @param {string} branch
665
+ * @param {string} document
666
+ * @returns {string} Resource name string.
667
+ */
668
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
669
+ /**
670
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
671
+ *
672
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
673
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
674
+ * @returns {string} A string representing the project.
675
+ */
676
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
677
+ /**
678
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
679
+ *
680
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
681
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
682
+ * @returns {string} A string representing the location.
683
+ */
684
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
685
+ /**
686
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
687
+ *
688
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
689
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
690
+ * @returns {string} A string representing the collection.
691
+ */
692
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
693
+ /**
694
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
695
+ *
696
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
697
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
698
+ * @returns {string} A string representing the data_store.
699
+ */
700
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
701
+ /**
702
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
703
+ *
704
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
705
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
706
+ * @returns {string} A string representing the branch.
707
+ */
708
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
709
+ /**
710
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
711
+ *
712
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
713
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
714
+ * @returns {string} A string representing the document.
715
+ */
716
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
717
+ /**
718
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
719
+ *
720
+ * @param {string} project
721
+ * @param {string} location
722
+ * @param {string} collection
723
+ * @param {string} data_store
724
+ * @param {string} conversation
725
+ * @returns {string} Resource name string.
726
+ */
727
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
728
+ /**
729
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
730
+ *
731
+ * @param {string} projectLocationCollectionDataStoreConversationName
732
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
733
+ * @returns {string} A string representing the project.
734
+ */
735
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
736
+ /**
737
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
738
+ *
739
+ * @param {string} projectLocationCollectionDataStoreConversationName
740
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
741
+ * @returns {string} A string representing the location.
742
+ */
743
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
744
+ /**
745
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
746
+ *
747
+ * @param {string} projectLocationCollectionDataStoreConversationName
748
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
749
+ * @returns {string} A string representing the collection.
750
+ */
751
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
752
+ /**
753
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
754
+ *
755
+ * @param {string} projectLocationCollectionDataStoreConversationName
756
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
757
+ * @returns {string} A string representing the data_store.
758
+ */
759
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
760
+ /**
761
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
762
+ *
763
+ * @param {string} projectLocationCollectionDataStoreConversationName
764
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
765
+ * @returns {string} A string representing the conversation.
766
+ */
767
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
768
+ /**
769
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
770
+ *
771
+ * @param {string} project
772
+ * @param {string} location
773
+ * @param {string} collection
774
+ * @param {string} data_store
775
+ * @returns {string} Resource name string.
776
+ */
777
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
778
+ /**
779
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
780
+ *
781
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
782
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
783
+ * @returns {string} A string representing the project.
784
+ */
785
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
786
+ /**
787
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
788
+ *
789
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
790
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
791
+ * @returns {string} A string representing the location.
792
+ */
793
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
794
+ /**
795
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
796
+ *
797
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
798
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
799
+ * @returns {string} A string representing the collection.
800
+ */
801
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
802
+ /**
803
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
804
+ *
805
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
806
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
807
+ * @returns {string} A string representing the data_store.
808
+ */
809
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
810
+ /**
811
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
812
+ *
813
+ * @param {string} project
814
+ * @param {string} location
815
+ * @param {string} collection
816
+ * @param {string} data_store
817
+ * @param {string} schema
818
+ * @returns {string} Resource name string.
819
+ */
820
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
821
+ /**
822
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
823
+ *
824
+ * @param {string} projectLocationCollectionDataStoreSchemaName
825
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
826
+ * @returns {string} A string representing the project.
827
+ */
828
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
829
+ /**
830
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
831
+ *
832
+ * @param {string} projectLocationCollectionDataStoreSchemaName
833
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
834
+ * @returns {string} A string representing the location.
835
+ */
836
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
837
+ /**
838
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
839
+ *
840
+ * @param {string} projectLocationCollectionDataStoreSchemaName
841
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
842
+ * @returns {string} A string representing the collection.
843
+ */
844
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
845
+ /**
846
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
847
+ *
848
+ * @param {string} projectLocationCollectionDataStoreSchemaName
849
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
850
+ * @returns {string} A string representing the data_store.
851
+ */
852
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
853
+ /**
854
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
855
+ *
856
+ * @param {string} projectLocationCollectionDataStoreSchemaName
857
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
858
+ * @returns {string} A string representing the schema.
859
+ */
860
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
861
+ /**
862
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
863
+ *
864
+ * @param {string} project
865
+ * @param {string} location
866
+ * @param {string} collection
867
+ * @param {string} data_store
868
+ * @param {string} serving_config
869
+ * @returns {string} Resource name string.
870
+ */
871
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
872
+ /**
873
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
874
+ *
875
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
876
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
877
+ * @returns {string} A string representing the project.
878
+ */
879
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
880
+ /**
881
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
882
+ *
883
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
884
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
885
+ * @returns {string} A string representing the location.
886
+ */
887
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
888
+ /**
889
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
890
+ *
891
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
892
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
893
+ * @returns {string} A string representing the collection.
894
+ */
895
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
896
+ /**
897
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
898
+ *
899
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
900
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
901
+ * @returns {string} A string representing the data_store.
902
+ */
903
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
904
+ /**
905
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
906
+ *
907
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
908
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
909
+ * @returns {string} A string representing the serving_config.
910
+ */
911
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
912
+ /**
913
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
914
+ *
915
+ * @param {string} project
916
+ * @param {string} location
917
+ * @param {string} collection
918
+ * @param {string} data_store
919
+ * @returns {string} Resource name string.
920
+ */
921
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
922
+ /**
923
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
924
+ *
925
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
926
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
927
+ * @returns {string} A string representing the project.
928
+ */
929
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
930
+ /**
931
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
932
+ *
933
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
934
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
935
+ * @returns {string} A string representing the location.
936
+ */
937
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
938
+ /**
939
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
940
+ *
941
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
942
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
943
+ * @returns {string} A string representing the collection.
944
+ */
945
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
946
+ /**
947
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
948
+ *
949
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
950
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
951
+ * @returns {string} A string representing the data_store.
952
+ */
953
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
954
+ /**
955
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
956
+ *
957
+ * @param {string} project
958
+ * @param {string} location
959
+ * @param {string} collection
960
+ * @param {string} data_store
961
+ * @param {string} target_site
962
+ * @returns {string} Resource name string.
963
+ */
964
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
965
+ /**
966
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
967
+ *
968
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
969
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
970
+ * @returns {string} A string representing the project.
971
+ */
972
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
973
+ /**
974
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
975
+ *
976
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
977
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
978
+ * @returns {string} A string representing the location.
979
+ */
980
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
981
+ /**
982
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
983
+ *
984
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
985
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
986
+ * @returns {string} A string representing the collection.
987
+ */
988
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
989
+ /**
990
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
991
+ *
992
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
993
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
994
+ * @returns {string} A string representing the data_store.
995
+ */
996
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
997
+ /**
998
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
999
+ *
1000
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1001
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1002
+ * @returns {string} A string representing the target_site.
1003
+ */
1004
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1005
+ /**
1006
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1007
+ *
1008
+ * @param {string} project
1009
+ * @param {string} location
1010
+ * @param {string} collection
1011
+ * @param {string} engine
1012
+ * @param {string} conversation
1013
+ * @returns {string} Resource name string.
1014
+ */
1015
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
1016
+ /**
1017
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1018
+ *
1019
+ * @param {string} projectLocationCollectionEngineConversationName
1020
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1021
+ * @returns {string} A string representing the project.
1022
+ */
1023
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1024
+ /**
1025
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1026
+ *
1027
+ * @param {string} projectLocationCollectionEngineConversationName
1028
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1029
+ * @returns {string} A string representing the location.
1030
+ */
1031
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1032
+ /**
1033
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1034
+ *
1035
+ * @param {string} projectLocationCollectionEngineConversationName
1036
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1037
+ * @returns {string} A string representing the collection.
1038
+ */
1039
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1040
+ /**
1041
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1042
+ *
1043
+ * @param {string} projectLocationCollectionEngineConversationName
1044
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1045
+ * @returns {string} A string representing the engine.
1046
+ */
1047
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1048
+ /**
1049
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1050
+ *
1051
+ * @param {string} projectLocationCollectionEngineConversationName
1052
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1053
+ * @returns {string} A string representing the conversation.
1054
+ */
1055
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1056
+ /**
1057
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1058
+ *
1059
+ * @param {string} project
1060
+ * @param {string} location
1061
+ * @param {string} collection
1062
+ * @param {string} engine
1063
+ * @param {string} serving_config
1064
+ * @returns {string} Resource name string.
1065
+ */
1066
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1067
+ /**
1068
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1069
+ *
1070
+ * @param {string} projectLocationCollectionEngineServingConfigName
1071
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1072
+ * @returns {string} A string representing the project.
1073
+ */
1074
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1075
+ /**
1076
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1077
+ *
1078
+ * @param {string} projectLocationCollectionEngineServingConfigName
1079
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1080
+ * @returns {string} A string representing the location.
1081
+ */
1082
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1083
+ /**
1084
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1085
+ *
1086
+ * @param {string} projectLocationCollectionEngineServingConfigName
1087
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1088
+ * @returns {string} A string representing the collection.
1089
+ */
1090
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1091
+ /**
1092
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1093
+ *
1094
+ * @param {string} projectLocationCollectionEngineServingConfigName
1095
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1096
+ * @returns {string} A string representing the engine.
1097
+ */
1098
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1099
+ /**
1100
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1101
+ *
1102
+ * @param {string} projectLocationCollectionEngineServingConfigName
1103
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1104
+ * @returns {string} A string representing the serving_config.
1105
+ */
1106
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1107
+ /**
1108
+ * Return a fully-qualified projectLocationDataStore resource name string.
1109
+ *
1110
+ * @param {string} project
1111
+ * @param {string} location
1112
+ * @param {string} data_store
1113
+ * @returns {string} Resource name string.
1114
+ */
1115
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1116
+ /**
1117
+ * Parse the project from ProjectLocationDataStore resource.
1118
+ *
1119
+ * @param {string} projectLocationDataStoreName
1120
+ * A fully-qualified path representing project_location_data_store resource.
1121
+ * @returns {string} A string representing the project.
1122
+ */
1123
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1124
+ /**
1125
+ * Parse the location from ProjectLocationDataStore resource.
1126
+ *
1127
+ * @param {string} projectLocationDataStoreName
1128
+ * A fully-qualified path representing project_location_data_store resource.
1129
+ * @returns {string} A string representing the location.
1130
+ */
1131
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1132
+ /**
1133
+ * Parse the data_store from ProjectLocationDataStore resource.
1134
+ *
1135
+ * @param {string} projectLocationDataStoreName
1136
+ * A fully-qualified path representing project_location_data_store resource.
1137
+ * @returns {string} A string representing the data_store.
1138
+ */
1139
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1140
+ /**
1141
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1142
+ *
1143
+ * @param {string} project
1144
+ * @param {string} location
1145
+ * @param {string} data_store
1146
+ * @param {string} branch
1147
+ * @param {string} document
1148
+ * @returns {string} Resource name string.
1149
+ */
1150
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
1151
+ /**
1152
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1153
+ *
1154
+ * @param {string} projectLocationDataStoreBranchDocumentName
1155
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1156
+ * @returns {string} A string representing the project.
1157
+ */
1158
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1159
+ /**
1160
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1161
+ *
1162
+ * @param {string} projectLocationDataStoreBranchDocumentName
1163
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1164
+ * @returns {string} A string representing the location.
1165
+ */
1166
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1167
+ /**
1168
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1169
+ *
1170
+ * @param {string} projectLocationDataStoreBranchDocumentName
1171
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1172
+ * @returns {string} A string representing the data_store.
1173
+ */
1174
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1175
+ /**
1176
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1177
+ *
1178
+ * @param {string} projectLocationDataStoreBranchDocumentName
1179
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1180
+ * @returns {string} A string representing the branch.
1181
+ */
1182
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1183
+ /**
1184
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1185
+ *
1186
+ * @param {string} projectLocationDataStoreBranchDocumentName
1187
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1188
+ * @returns {string} A string representing the document.
1189
+ */
1190
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1191
+ /**
1192
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1193
+ *
1194
+ * @param {string} project
1195
+ * @param {string} location
1196
+ * @param {string} data_store
1197
+ * @param {string} conversation
1198
+ * @returns {string} Resource name string.
1199
+ */
1200
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
1201
+ /**
1202
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1203
+ *
1204
+ * @param {string} projectLocationDataStoreConversationName
1205
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1206
+ * @returns {string} A string representing the project.
1207
+ */
1208
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1209
+ /**
1210
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1211
+ *
1212
+ * @param {string} projectLocationDataStoreConversationName
1213
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1214
+ * @returns {string} A string representing the location.
1215
+ */
1216
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1217
+ /**
1218
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1219
+ *
1220
+ * @param {string} projectLocationDataStoreConversationName
1221
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1222
+ * @returns {string} A string representing the data_store.
1223
+ */
1224
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1225
+ /**
1226
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1227
+ *
1228
+ * @param {string} projectLocationDataStoreConversationName
1229
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1230
+ * @returns {string} A string representing the conversation.
1231
+ */
1232
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1233
+ /**
1234
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1235
+ *
1236
+ * @param {string} project
1237
+ * @param {string} location
1238
+ * @param {string} data_store
1239
+ * @returns {string} Resource name string.
1240
+ */
1241
+ projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
1242
+ /**
1243
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1244
+ *
1245
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1246
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1247
+ * @returns {string} A string representing the project.
1248
+ */
1249
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1250
+ /**
1251
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1252
+ *
1253
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1254
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1255
+ * @returns {string} A string representing the location.
1256
+ */
1257
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1258
+ /**
1259
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1260
+ *
1261
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1262
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1263
+ * @returns {string} A string representing the data_store.
1264
+ */
1265
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1266
+ /**
1267
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1268
+ *
1269
+ * @param {string} project
1270
+ * @param {string} location
1271
+ * @param {string} data_store
1272
+ * @param {string} schema
1273
+ * @returns {string} Resource name string.
1274
+ */
1275
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
1276
+ /**
1277
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1278
+ *
1279
+ * @param {string} projectLocationDataStoreSchemaName
1280
+ * A fully-qualified path representing project_location_data_store_schema resource.
1281
+ * @returns {string} A string representing the project.
1282
+ */
1283
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1284
+ /**
1285
+ * Parse the location from ProjectLocationDataStoreSchema resource.
1286
+ *
1287
+ * @param {string} projectLocationDataStoreSchemaName
1288
+ * A fully-qualified path representing project_location_data_store_schema resource.
1289
+ * @returns {string} A string representing the location.
1290
+ */
1291
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1292
+ /**
1293
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
1294
+ *
1295
+ * @param {string} projectLocationDataStoreSchemaName
1296
+ * A fully-qualified path representing project_location_data_store_schema resource.
1297
+ * @returns {string} A string representing the data_store.
1298
+ */
1299
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1300
+ /**
1301
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
1302
+ *
1303
+ * @param {string} projectLocationDataStoreSchemaName
1304
+ * A fully-qualified path representing project_location_data_store_schema resource.
1305
+ * @returns {string} A string representing the schema.
1306
+ */
1307
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1308
+ /**
1309
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1310
+ *
1311
+ * @param {string} project
1312
+ * @param {string} location
1313
+ * @param {string} data_store
1314
+ * @param {string} serving_config
1315
+ * @returns {string} Resource name string.
1316
+ */
1317
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1318
+ /**
1319
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1320
+ *
1321
+ * @param {string} projectLocationDataStoreServingConfigName
1322
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1323
+ * @returns {string} A string representing the project.
1324
+ */
1325
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1326
+ /**
1327
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1328
+ *
1329
+ * @param {string} projectLocationDataStoreServingConfigName
1330
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1331
+ * @returns {string} A string representing the location.
1332
+ */
1333
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1334
+ /**
1335
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1336
+ *
1337
+ * @param {string} projectLocationDataStoreServingConfigName
1338
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1339
+ * @returns {string} A string representing the data_store.
1340
+ */
1341
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1342
+ /**
1343
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1344
+ *
1345
+ * @param {string} projectLocationDataStoreServingConfigName
1346
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1347
+ * @returns {string} A string representing the serving_config.
1348
+ */
1349
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1350
+ /**
1351
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1352
+ *
1353
+ * @param {string} project
1354
+ * @param {string} location
1355
+ * @param {string} data_store
1356
+ * @returns {string} Resource name string.
1357
+ */
1358
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1359
+ /**
1360
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1361
+ *
1362
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1363
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1364
+ * @returns {string} A string representing the project.
1365
+ */
1366
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1367
+ /**
1368
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1369
+ *
1370
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1371
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1372
+ * @returns {string} A string representing the location.
1373
+ */
1374
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1375
+ /**
1376
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1377
+ *
1378
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1379
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1380
+ * @returns {string} A string representing the data_store.
1381
+ */
1382
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1383
+ /**
1384
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1385
+ *
1386
+ * @param {string} project
1387
+ * @param {string} location
1388
+ * @param {string} data_store
1389
+ * @param {string} target_site
1390
+ * @returns {string} Resource name string.
1391
+ */
1392
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1393
+ /**
1394
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1395
+ *
1396
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1397
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1398
+ * @returns {string} A string representing the project.
1399
+ */
1400
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1401
+ /**
1402
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1403
+ *
1404
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1405
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1406
+ * @returns {string} A string representing the location.
1407
+ */
1408
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1409
+ /**
1410
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1411
+ *
1412
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1413
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1414
+ * @returns {string} A string representing the data_store.
1415
+ */
1416
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1417
+ /**
1418
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1419
+ *
1420
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1421
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1422
+ * @returns {string} A string representing the target_site.
1423
+ */
1424
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1425
+ /**
1426
+ * Terminate the gRPC channel and close the client.
1427
+ *
1428
+ * The client will no longer be usable and all future behavior is undefined.
1429
+ * @returns {Promise} A promise that resolves when the client is closed.
1430
+ */
1431
+ close(): Promise<void>;
1432
+ }