@google-cloud/discoveryengine 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +63 -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/common.proto +0 -5
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  29. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +40 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  39. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +38 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
  42. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
  43. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  45. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  46. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  47. package/build/protos/protos.d.ts +42822 -21397
  48. package/build/protos/protos.js +110509 -61572
  49. package/build/protos/protos.json +11779 -6752
  50. package/build/src/index.d.ts +10 -1
  51. package/build/src/index.js +11 -2
  52. package/build/src/v1/completion_service_client.d.ts +489 -7
  53. package/build/src/v1/completion_service_client.js +716 -12
  54. package/build/src/v1/completion_service_client_config.json +10 -0
  55. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  56. package/build/src/v1/conversational_search_service_client.js +467 -10
  57. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  58. package/build/src/v1/data_store_service_client.js +1768 -0
  59. package/build/src/v1/data_store_service_client_config.json +46 -0
  60. package/build/src/v1/document_service_client.d.ts +347 -2
  61. package/build/src/v1/document_service_client.js +507 -10
  62. package/build/src/v1/engine_service_client.d.ts +1211 -0
  63. package/build/src/v1/engine_service_client.js +1731 -0
  64. package/build/src/v1/engine_service_client_config.json +46 -0
  65. package/build/src/v1/index.d.ts +3 -0
  66. package/build/src/v1/index.js +8 -2
  67. package/build/src/v1/schema_service_client.d.ts +272 -2
  68. package/build/src/v1/schema_service_client.js +403 -10
  69. package/build/src/v1/search_service_client.d.ts +515 -11
  70. package/build/src/v1/search_service_client.js +649 -16
  71. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  72. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  73. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  74. package/build/src/v1/user_event_service_client.d.ts +272 -2
  75. package/build/src/v1/user_event_service_client.js +403 -10
  76. package/build/src/v1alpha/completion_service_client.d.ts +230 -2
  77. package/build/src/v1alpha/completion_service_client.js +339 -10
  78. package/build/src/v1alpha/conversational_search_service_client.d.ts +247 -2
  79. package/build/src/v1alpha/conversational_search_service_client.js +339 -10
  80. package/build/src/v1alpha/data_store_service_client.d.ts +230 -2
  81. package/build/src/v1alpha/data_store_service_client.js +347 -12
  82. package/build/src/v1alpha/document_service_client.d.ts +230 -2
  83. package/build/src/v1alpha/document_service_client.js +347 -12
  84. package/build/src/v1alpha/engine_service_client.d.ts +231 -3
  85. package/build/src/v1alpha/engine_service_client.js +347 -12
  86. package/build/src/v1alpha/index.d.ts +1 -0
  87. package/build/src/v1alpha/index.js +4 -2
  88. package/build/src/v1alpha/recommendation_service_client.d.ts +230 -2
  89. package/build/src/v1alpha/recommendation_service_client.js +339 -10
  90. package/build/src/v1alpha/schema_service_client.d.ts +230 -2
  91. package/build/src/v1alpha/schema_service_client.js +347 -12
  92. package/build/src/v1alpha/search_service_client.d.ts +269 -2
  93. package/build/src/v1alpha/search_service_client.js +365 -10
  94. package/build/src/v1alpha/search_tuning_service_client.d.ts +977 -0
  95. package/build/src/v1alpha/search_tuning_service_client.js +1479 -0
  96. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  97. package/build/src/v1alpha/site_search_engine_service_client.d.ts +750 -3
  98. package/build/src/v1alpha/site_search_engine_service_client.js +838 -14
  99. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  100. package/build/src/v1alpha/user_event_service_client.d.ts +230 -2
  101. package/build/src/v1alpha/user_event_service_client.js +347 -12
  102. package/build/src/v1beta/completion_service_client.d.ts +633 -7
  103. package/build/src/v1beta/completion_service_client.js +912 -12
  104. package/build/src/v1beta/completion_service_client_config.json +10 -0
  105. package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
  106. package/build/src/v1beta/conversational_search_service_client.js +467 -10
  107. package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
  108. package/build/src/v1beta/data_store_service_client.js +1966 -0
  109. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  110. package/build/src/v1beta/document_service_client.d.ts +491 -2
  111. package/build/src/v1beta/document_service_client.js +707 -12
  112. package/build/src/v1beta/engine_service_client.d.ts +1357 -0
  113. package/build/src/v1beta/engine_service_client.js +1928 -0
  114. package/build/src/v1beta/engine_service_client_config.json +46 -0
  115. package/build/src/v1beta/index.d.ts +4 -0
  116. package/build/src/v1beta/index.js +10 -2
  117. package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
  118. package/build/src/v1beta/recommendation_service_client.js +571 -10
  119. package/build/src/v1beta/schema_service_client.d.ts +416 -2
  120. package/build/src/v1beta/schema_service_client.js +603 -12
  121. package/build/src/v1beta/search_service_client.d.ts +539 -29
  122. package/build/src/v1beta/search_service_client.js +665 -28
  123. package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
  124. package/build/src/v1beta/serving_config_service_client.js +1563 -0
  125. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  126. package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
  127. package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
  128. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  129. package/build/src/v1beta/user_event_service_client.d.ts +416 -2
  130. package/build/src/v1beta/user_event_service_client.js +603 -12
  131. package/package.json +3 -3
@@ -0,0 +1,1286 @@
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.v1.DataStore|DataStore}
8
+ * configuration.
9
+ * @class
10
+ * @memberof v1
11
+ */
12
+ export declare class DataStoreServiceClient {
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
+ dataStoreServiceStub?: Promise<{
34
+ [name: string]: Function;
35
+ }>;
36
+ /**
37
+ * Construct an instance of DataStoreServiceClient.
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 DataStoreServiceClient({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
+ * Gets a {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
123
+ *
124
+ * @param {Object} request
125
+ * The request object that will be sent.
126
+ * @param {string} request.name
127
+ * Required. Full resource name of
128
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, such as
129
+ * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
130
+ *
131
+ * If the caller does not have permission to access the
132
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, regardless of
133
+ * whether or not it exists, a PERMISSION_DENIED error is returned.
134
+ *
135
+ * If the requested {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}
136
+ * does not exist, a NOT_FOUND error is returned.
137
+ * @param {object} [options]
138
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
139
+ * @returns {Promise} - The promise which resolves to an array.
140
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
141
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
142
+ * for more details and examples.
143
+ * @example <caption>include:samples/generated/v1/data_store_service.get_data_store.js</caption>
144
+ * region_tag:discoveryengine_v1_generated_DataStoreService_GetDataStore_async
145
+ */
146
+ getDataStore(request?: protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest, options?: CallOptions): Promise<[
147
+ protos.google.cloud.discoveryengine.v1.IDataStore,
148
+ protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest | undefined,
149
+ {} | undefined
150
+ ]>;
151
+ getDataStore(request: protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest | null | undefined, {} | null | undefined>): void;
152
+ getDataStore(request: protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.IGetDataStoreRequest | null | undefined, {} | null | undefined>): void;
153
+ /**
154
+ * Updates a {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}
155
+ *
156
+ * @param {Object} request
157
+ * The request object that will be sent.
158
+ * @param {google.cloud.discoveryengine.v1.DataStore} request.dataStore
159
+ * Required. The {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} to
160
+ * update.
161
+ *
162
+ * If the caller does not have permission to update the
163
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, regardless of
164
+ * whether or not it exists, a PERMISSION_DENIED error is returned.
165
+ *
166
+ * If the {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} to update
167
+ * does not exist, a NOT_FOUND error is returned.
168
+ * @param {google.protobuf.FieldMask} request.updateMask
169
+ * Indicates which fields in the provided
170
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} to update.
171
+ *
172
+ * If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
173
+ * is returned.
174
+ * @param {object} [options]
175
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
176
+ * @returns {Promise} - The promise which resolves to an array.
177
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
178
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
179
+ * for more details and examples.
180
+ * @example <caption>include:samples/generated/v1/data_store_service.update_data_store.js</caption>
181
+ * region_tag:discoveryengine_v1_generated_DataStoreService_UpdateDataStore_async
182
+ */
183
+ updateDataStore(request?: protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest, options?: CallOptions): Promise<[
184
+ protos.google.cloud.discoveryengine.v1.IDataStore,
185
+ (protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest | undefined),
186
+ {} | undefined
187
+ ]>;
188
+ updateDataStore(request: protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest | null | undefined, {} | null | undefined>): void;
189
+ updateDataStore(request: protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.IUpdateDataStoreRequest | null | undefined, {} | null | undefined>): void;
190
+ /**
191
+ * Creates a {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
192
+ *
193
+ * DataStore is for storing
194
+ * {@link protos.google.cloud.discoveryengine.v1.Document|Documents}. To serve these
195
+ * documents for Search, or Recommendation use case, an
196
+ * {@link protos.google.cloud.discoveryengine.v1.Engine|Engine} needs to be created
197
+ * separately.
198
+ *
199
+ * @param {Object} request
200
+ * The request object that will be sent.
201
+ * @param {string} request.parent
202
+ * Required. The parent resource name, such as
203
+ * `projects/{project}/locations/{location}/collections/{collection}`.
204
+ * @param {google.cloud.discoveryengine.v1.DataStore} request.dataStore
205
+ * Required. The {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} to
206
+ * create.
207
+ * @param {string} request.dataStoreId
208
+ * Required. The ID to use for the
209
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, which will become
210
+ * the final component of the
211
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}'s resource name.
212
+ *
213
+ * This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
214
+ * standard with a length limit of 63 characters. Otherwise, an
215
+ * INVALID_ARGUMENT error is returned.
216
+ * @param {boolean} request.createAdvancedSiteSearch
217
+ * A boolean flag indicating whether user want to directly create an advanced
218
+ * data store for site search.
219
+ * If the data store is not configured as site
220
+ * search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will
221
+ * be ignored.
222
+ * @param {object} [options]
223
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
224
+ * @returns {Promise} - The promise which resolves to an array.
225
+ * The first element of the array is an object representing
226
+ * a long running operation. Its `promise()` method returns a promise
227
+ * you can `await` for.
228
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
229
+ * for more details and examples.
230
+ * @example <caption>include:samples/generated/v1/data_store_service.create_data_store.js</caption>
231
+ * region_tag:discoveryengine_v1_generated_DataStoreService_CreateDataStore_async
232
+ */
233
+ createDataStore(request?: protos.google.cloud.discoveryengine.v1.ICreateDataStoreRequest, options?: CallOptions): Promise<[
234
+ LROperation<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.ICreateDataStoreMetadata>,
235
+ protos.google.longrunning.IOperation | undefined,
236
+ {} | undefined
237
+ ]>;
238
+ createDataStore(request: protos.google.cloud.discoveryengine.v1.ICreateDataStoreRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.ICreateDataStoreMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
239
+ createDataStore(request: protos.google.cloud.discoveryengine.v1.ICreateDataStoreRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IDataStore, protos.google.cloud.discoveryengine.v1.ICreateDataStoreMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
240
+ /**
241
+ * Check the status of the long running operation returned by `createDataStore()`.
242
+ * @param {String} name
243
+ * The operation name that will be passed.
244
+ * @returns {Promise} - The promise which resolves to an object.
245
+ * The decoded operation object has result and metadata field to get information from.
246
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
247
+ * for more details and examples.
248
+ * @example <caption>include:samples/generated/v1/data_store_service.create_data_store.js</caption>
249
+ * region_tag:discoveryengine_v1_generated_DataStoreService_CreateDataStore_async
250
+ */
251
+ checkCreateDataStoreProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.DataStore, protos.google.cloud.discoveryengine.v1.CreateDataStoreMetadata>>;
252
+ /**
253
+ * Deletes a {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
254
+ *
255
+ * @param {Object} request
256
+ * The request object that will be sent.
257
+ * @param {string} request.name
258
+ * Required. Full resource name of
259
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, such as
260
+ * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
261
+ *
262
+ * If the caller does not have permission to delete the
263
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}, regardless of
264
+ * whether or not it exists, a PERMISSION_DENIED error is returned.
265
+ *
266
+ * If the {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} to delete
267
+ * does not exist, a NOT_FOUND error is returned.
268
+ * @param {object} [options]
269
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
270
+ * @returns {Promise} - The promise which resolves to an array.
271
+ * The first element of the array is an object representing
272
+ * a long running operation. Its `promise()` method returns a promise
273
+ * you can `await` for.
274
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
275
+ * for more details and examples.
276
+ * @example <caption>include:samples/generated/v1/data_store_service.delete_data_store.js</caption>
277
+ * region_tag:discoveryengine_v1_generated_DataStoreService_DeleteDataStore_async
278
+ */
279
+ deleteDataStore(request?: protos.google.cloud.discoveryengine.v1.IDeleteDataStoreRequest, options?: CallOptions): Promise<[
280
+ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteDataStoreMetadata>,
281
+ protos.google.longrunning.IOperation | undefined,
282
+ {} | undefined
283
+ ]>;
284
+ deleteDataStore(request: protos.google.cloud.discoveryengine.v1.IDeleteDataStoreRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteDataStoreMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
285
+ deleteDataStore(request: protos.google.cloud.discoveryengine.v1.IDeleteDataStoreRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1.IDeleteDataStoreMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
286
+ /**
287
+ * Check the status of the long running operation returned by `deleteDataStore()`.
288
+ * @param {String} name
289
+ * The operation name that will be passed.
290
+ * @returns {Promise} - The promise which resolves to an object.
291
+ * The decoded operation object has result and metadata field to get information from.
292
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
293
+ * for more details and examples.
294
+ * @example <caption>include:samples/generated/v1/data_store_service.delete_data_store.js</caption>
295
+ * region_tag:discoveryengine_v1_generated_DataStoreService_DeleteDataStore_async
296
+ */
297
+ checkDeleteDataStoreProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.discoveryengine.v1.DeleteDataStoreMetadata>>;
298
+ /**
299
+ * Lists all the {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
300
+ * associated with the project.
301
+ *
302
+ * @param {Object} request
303
+ * The request object that will be sent.
304
+ * @param {string} request.parent
305
+ * Required. The parent branch resource name, such as
306
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
307
+ *
308
+ * If the caller does not have permission to list
309
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s under this
310
+ * location, regardless of whether or not this data store exists, a
311
+ * PERMISSION_DENIED error is returned.
312
+ * @param {number} request.pageSize
313
+ * Maximum number of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
314
+ * to return. If unspecified, defaults to 10. The maximum allowed value is 50.
315
+ * Values above 50 will be coerced to 50.
316
+ *
317
+ * If this field is negative, an INVALID_ARGUMENT is returned.
318
+ * @param {string} request.pageToken
319
+ * A page token
320
+ * {@link protos.google.cloud.discoveryengine.v1.ListDataStoresResponse.next_page_token|ListDataStoresResponse.next_page_token},
321
+ * received from a previous
322
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
323
+ * call. Provide this to retrieve the subsequent page.
324
+ *
325
+ * When paginating, all other parameters provided to
326
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
327
+ * must match the call that provided the page token. Otherwise, an
328
+ * INVALID_ARGUMENT error is returned.
329
+ * @param {string} request.filter
330
+ * Filter by solution type. For example: filter =
331
+ * 'solution_type:SOLUTION_TYPE_SEARCH'
332
+ * @param {object} [options]
333
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
334
+ * @returns {Promise} - The promise which resolves to an array.
335
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}.
336
+ * The client library will perform auto-pagination by default: it will call the API as many
337
+ * times as needed and will merge results from all the pages into this array.
338
+ * Note that it can affect your quota.
339
+ * We recommend using `listDataStoresAsync()`
340
+ * method described below for async iteration which you can stop as needed.
341
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
342
+ * for more details and examples.
343
+ */
344
+ listDataStores(request?: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options?: CallOptions): Promise<[
345
+ protos.google.cloud.discoveryengine.v1.IDataStore[],
346
+ protos.google.cloud.discoveryengine.v1.IListDataStoresRequest | null,
347
+ protos.google.cloud.discoveryengine.v1.IListDataStoresResponse
348
+ ]>;
349
+ listDataStores(request: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, protos.google.cloud.discoveryengine.v1.IListDataStoresResponse | null | undefined, protos.google.cloud.discoveryengine.v1.IDataStore>): void;
350
+ listDataStores(request: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, protos.google.cloud.discoveryengine.v1.IListDataStoresResponse | null | undefined, protos.google.cloud.discoveryengine.v1.IDataStore>): void;
351
+ /**
352
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
353
+ * @param {Object} request
354
+ * The request object that will be sent.
355
+ * @param {string} request.parent
356
+ * Required. The parent branch resource name, such as
357
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
358
+ *
359
+ * If the caller does not have permission to list
360
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s under this
361
+ * location, regardless of whether or not this data store exists, a
362
+ * PERMISSION_DENIED error is returned.
363
+ * @param {number} request.pageSize
364
+ * Maximum number of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
365
+ * to return. If unspecified, defaults to 10. The maximum allowed value is 50.
366
+ * Values above 50 will be coerced to 50.
367
+ *
368
+ * If this field is negative, an INVALID_ARGUMENT is returned.
369
+ * @param {string} request.pageToken
370
+ * A page token
371
+ * {@link protos.google.cloud.discoveryengine.v1.ListDataStoresResponse.next_page_token|ListDataStoresResponse.next_page_token},
372
+ * received from a previous
373
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
374
+ * call. Provide this to retrieve the subsequent page.
375
+ *
376
+ * When paginating, all other parameters provided to
377
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
378
+ * must match the call that provided the page token. Otherwise, an
379
+ * INVALID_ARGUMENT error is returned.
380
+ * @param {string} request.filter
381
+ * Filter by solution type. For example: filter =
382
+ * 'solution_type:SOLUTION_TYPE_SEARCH'
383
+ * @param {object} [options]
384
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
385
+ * @returns {Stream}
386
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore} on 'data' event.
387
+ * The client library will perform auto-pagination by default: it will call the API as many
388
+ * times as needed. Note that it can affect your quota.
389
+ * We recommend using `listDataStoresAsync()`
390
+ * method described below for async iteration which you can stop as needed.
391
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
392
+ * for more details and examples.
393
+ */
394
+ listDataStoresStream(request?: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options?: CallOptions): Transform;
395
+ /**
396
+ * Equivalent to `listDataStores`, but returns an iterable object.
397
+ *
398
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
399
+ * @param {Object} request
400
+ * The request object that will be sent.
401
+ * @param {string} request.parent
402
+ * Required. The parent branch resource name, such as
403
+ * `projects/{project}/locations/{location}/collections/{collection_id}`.
404
+ *
405
+ * If the caller does not have permission to list
406
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s under this
407
+ * location, regardless of whether or not this data store exists, a
408
+ * PERMISSION_DENIED error is returned.
409
+ * @param {number} request.pageSize
410
+ * Maximum number of {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}s
411
+ * to return. If unspecified, defaults to 10. The maximum allowed value is 50.
412
+ * Values above 50 will be coerced to 50.
413
+ *
414
+ * If this field is negative, an INVALID_ARGUMENT is returned.
415
+ * @param {string} request.pageToken
416
+ * A page token
417
+ * {@link protos.google.cloud.discoveryengine.v1.ListDataStoresResponse.next_page_token|ListDataStoresResponse.next_page_token},
418
+ * received from a previous
419
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
420
+ * call. Provide this to retrieve the subsequent page.
421
+ *
422
+ * When paginating, all other parameters provided to
423
+ * {@link protos.google.cloud.discoveryengine.v1.DataStoreService.ListDataStores|DataStoreService.ListDataStores}
424
+ * must match the call that provided the page token. Otherwise, an
425
+ * INVALID_ARGUMENT error is returned.
426
+ * @param {string} request.filter
427
+ * Filter by solution type. For example: filter =
428
+ * 'solution_type:SOLUTION_TYPE_SEARCH'
429
+ * @param {object} [options]
430
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
431
+ * @returns {Object}
432
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
433
+ * When you iterate the returned iterable, each element will be an object representing
434
+ * {@link protos.google.cloud.discoveryengine.v1.DataStore|DataStore}. The API will be called under the hood as needed, once per the page,
435
+ * so you can stop the iteration when you don't need more results.
436
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
437
+ * for more details and examples.
438
+ * @example <caption>include:samples/generated/v1/data_store_service.list_data_stores.js</caption>
439
+ * region_tag:discoveryengine_v1_generated_DataStoreService_ListDataStores_async
440
+ */
441
+ listDataStoresAsync(request?: protos.google.cloud.discoveryengine.v1.IListDataStoresRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.IDataStore>;
442
+ /**
443
+ * Gets information about a location.
444
+ *
445
+ * @param {Object} request
446
+ * The request object that will be sent.
447
+ * @param {string} request.name
448
+ * Resource name for the location.
449
+ * @param {object} [options]
450
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
451
+ * @returns {Promise} - The promise which resolves to an array.
452
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
453
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
454
+ * for more details and examples.
455
+ * @example
456
+ * ```
457
+ * const [response] = await client.getLocation(request);
458
+ * ```
459
+ */
460
+ 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>;
461
+ /**
462
+ * Lists information about the supported locations for this service. Returns an iterable object.
463
+ *
464
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
465
+ * @param {Object} request
466
+ * The request object that will be sent.
467
+ * @param {string} request.name
468
+ * The resource that owns the locations collection, if applicable.
469
+ * @param {string} request.filter
470
+ * The standard list filter.
471
+ * @param {number} request.pageSize
472
+ * The standard list page size.
473
+ * @param {string} request.pageToken
474
+ * The standard list page token.
475
+ * @param {object} [options]
476
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
477
+ * @returns {Object}
478
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
479
+ * When you iterate the returned iterable, each element will be an object representing
480
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
481
+ * so you can stop the iteration when you don't need more results.
482
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
483
+ * for more details and examples.
484
+ * @example
485
+ * ```
486
+ * const iterable = client.listLocationsAsync(request);
487
+ * for await (const response of iterable) {
488
+ * // process response
489
+ * }
490
+ * ```
491
+ */
492
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
493
+ /**
494
+ * Gets the latest state of a long-running operation. Clients can use this
495
+ * method to poll the operation result at intervals as recommended by the API
496
+ * service.
497
+ *
498
+ * @param {Object} request - The request object that will be sent.
499
+ * @param {string} request.name - The name of the operation resource.
500
+ * @param {Object=} options
501
+ * Optional parameters. You can override the default settings for this call,
502
+ * e.g, timeout, retries, paginations, etc. See {@link
503
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
504
+ * for the details.
505
+ * @param {function(?Error, ?Object)=} callback
506
+ * The function which will be called with the result of the API call.
507
+ *
508
+ * The second parameter to the callback is an object representing
509
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
510
+ * @return {Promise} - The promise which resolves to an array.
511
+ * The first element of the array is an object representing
512
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
513
+ * The promise has a method named "cancel" which cancels the ongoing API call.
514
+ *
515
+ * @example
516
+ * ```
517
+ * const client = longrunning.operationsClient();
518
+ * const name = '';
519
+ * const [response] = await client.getOperation({name});
520
+ * // doThingsWith(response)
521
+ * ```
522
+ */
523
+ 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]>;
524
+ /**
525
+ * Lists operations that match the specified filter in the request. If the
526
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
527
+ *
528
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
529
+ *
530
+ * @param {Object} request - The request object that will be sent.
531
+ * @param {string} request.name - The name of the operation collection.
532
+ * @param {string} request.filter - The standard list filter.
533
+ * @param {number=} request.pageSize -
534
+ * The maximum number of resources contained in the underlying API
535
+ * response. If page streaming is performed per-resource, this
536
+ * parameter does not affect the return value. If page streaming is
537
+ * performed per-page, this determines the maximum number of
538
+ * resources in a page.
539
+ * @param {Object=} options
540
+ * Optional parameters. You can override the default settings for this call,
541
+ * e.g, timeout, retries, paginations, etc. See {@link
542
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
543
+ * details.
544
+ * @returns {Object}
545
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
546
+ *
547
+ * @example
548
+ * ```
549
+ * const client = longrunning.operationsClient();
550
+ * for await (const response of client.listOperationsAsync(request));
551
+ * // doThingsWith(response)
552
+ * ```
553
+ */
554
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
555
+ /**
556
+ * Starts asynchronous cancellation on a long-running operation. The server
557
+ * makes a best effort to cancel the operation, but success is not
558
+ * guaranteed. If the server doesn't support this method, it returns
559
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
560
+ * {@link Operations.GetOperation} or
561
+ * other methods to check whether the cancellation succeeded or whether the
562
+ * operation completed despite cancellation. On successful cancellation,
563
+ * the operation is not deleted; instead, it becomes an operation with
564
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
565
+ * 1, corresponding to `Code.CANCELLED`.
566
+ *
567
+ * @param {Object} request - The request object that will be sent.
568
+ * @param {string} request.name - The name of the operation resource to be cancelled.
569
+ * @param {Object=} options
570
+ * Optional parameters. You can override the default settings for this call,
571
+ * e.g, timeout, retries, paginations, etc. See {@link
572
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
573
+ * details.
574
+ * @param {function(?Error)=} callback
575
+ * The function which will be called with the result of the API call.
576
+ * @return {Promise} - The promise which resolves when API call finishes.
577
+ * The promise has a method named "cancel" which cancels the ongoing API
578
+ * call.
579
+ *
580
+ * @example
581
+ * ```
582
+ * const client = longrunning.operationsClient();
583
+ * await client.cancelOperation({name: ''});
584
+ * ```
585
+ */
586
+ 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>;
587
+ /**
588
+ * Deletes a long-running operation. This method indicates that the client is
589
+ * no longer interested in the operation result. It does not cancel the
590
+ * operation. If the server doesn't support this method, it returns
591
+ * `google.rpc.Code.UNIMPLEMENTED`.
592
+ *
593
+ * @param {Object} request - The request object that will be sent.
594
+ * @param {string} request.name - The name of the operation resource to be deleted.
595
+ * @param {Object=} options
596
+ * Optional parameters. You can override the default settings for this call,
597
+ * e.g, timeout, retries, paginations, etc. See {@link
598
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
599
+ * for the details.
600
+ * @param {function(?Error)=} callback
601
+ * The function which will be called with the result of the API call.
602
+ * @return {Promise} - The promise which resolves when API call finishes.
603
+ * The promise has a method named "cancel" which cancels the ongoing API
604
+ * call.
605
+ *
606
+ * @example
607
+ * ```
608
+ * const client = longrunning.operationsClient();
609
+ * await client.deleteOperation({name: ''});
610
+ * ```
611
+ */
612
+ 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>;
613
+ /**
614
+ * Return a fully-qualified collection resource name string.
615
+ *
616
+ * @param {string} project
617
+ * @param {string} location
618
+ * @param {string} collection
619
+ * @returns {string} Resource name string.
620
+ */
621
+ collectionPath(project: string, location: string, collection: string): string;
622
+ /**
623
+ * Parse the project from Collection resource.
624
+ *
625
+ * @param {string} collectionName
626
+ * A fully-qualified path representing Collection resource.
627
+ * @returns {string} A string representing the project.
628
+ */
629
+ matchProjectFromCollectionName(collectionName: string): string | number;
630
+ /**
631
+ * Parse the location from Collection resource.
632
+ *
633
+ * @param {string} collectionName
634
+ * A fully-qualified path representing Collection resource.
635
+ * @returns {string} A string representing the location.
636
+ */
637
+ matchLocationFromCollectionName(collectionName: string): string | number;
638
+ /**
639
+ * Parse the collection from Collection resource.
640
+ *
641
+ * @param {string} collectionName
642
+ * A fully-qualified path representing Collection resource.
643
+ * @returns {string} A string representing the collection.
644
+ */
645
+ matchCollectionFromCollectionName(collectionName: string): string | number;
646
+ /**
647
+ * Return a fully-qualified engine resource name string.
648
+ *
649
+ * @param {string} project
650
+ * @param {string} location
651
+ * @param {string} collection
652
+ * @param {string} engine
653
+ * @returns {string} Resource name string.
654
+ */
655
+ enginePath(project: string, location: string, collection: string, engine: string): string;
656
+ /**
657
+ * Parse the project from Engine resource.
658
+ *
659
+ * @param {string} engineName
660
+ * A fully-qualified path representing Engine resource.
661
+ * @returns {string} A string representing the project.
662
+ */
663
+ matchProjectFromEngineName(engineName: string): string | number;
664
+ /**
665
+ * Parse the location from Engine resource.
666
+ *
667
+ * @param {string} engineName
668
+ * A fully-qualified path representing Engine resource.
669
+ * @returns {string} A string representing the location.
670
+ */
671
+ matchLocationFromEngineName(engineName: string): string | number;
672
+ /**
673
+ * Parse the collection from Engine resource.
674
+ *
675
+ * @param {string} engineName
676
+ * A fully-qualified path representing Engine resource.
677
+ * @returns {string} A string representing the collection.
678
+ */
679
+ matchCollectionFromEngineName(engineName: string): string | number;
680
+ /**
681
+ * Parse the engine from Engine resource.
682
+ *
683
+ * @param {string} engineName
684
+ * A fully-qualified path representing Engine resource.
685
+ * @returns {string} A string representing the engine.
686
+ */
687
+ matchEngineFromEngineName(engineName: string): string | number;
688
+ /**
689
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
690
+ *
691
+ * @param {string} project
692
+ * @param {string} location
693
+ * @param {string} collection
694
+ * @param {string} data_store
695
+ * @returns {string} Resource name string.
696
+ */
697
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
698
+ /**
699
+ * Parse the project from ProjectLocationCollectionDataStore resource.
700
+ *
701
+ * @param {string} projectLocationCollectionDataStoreName
702
+ * A fully-qualified path representing project_location_collection_data_store resource.
703
+ * @returns {string} A string representing the project.
704
+ */
705
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
706
+ /**
707
+ * Parse the location from ProjectLocationCollectionDataStore resource.
708
+ *
709
+ * @param {string} projectLocationCollectionDataStoreName
710
+ * A fully-qualified path representing project_location_collection_data_store resource.
711
+ * @returns {string} A string representing the location.
712
+ */
713
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
714
+ /**
715
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
716
+ *
717
+ * @param {string} projectLocationCollectionDataStoreName
718
+ * A fully-qualified path representing project_location_collection_data_store resource.
719
+ * @returns {string} A string representing the collection.
720
+ */
721
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
722
+ /**
723
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
724
+ *
725
+ * @param {string} projectLocationCollectionDataStoreName
726
+ * A fully-qualified path representing project_location_collection_data_store resource.
727
+ * @returns {string} A string representing the data_store.
728
+ */
729
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
730
+ /**
731
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
732
+ *
733
+ * @param {string} project
734
+ * @param {string} location
735
+ * @param {string} collection
736
+ * @param {string} data_store
737
+ * @param {string} branch
738
+ * @param {string} document
739
+ * @returns {string} Resource name string.
740
+ */
741
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
742
+ /**
743
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
744
+ *
745
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
746
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
747
+ * @returns {string} A string representing the project.
748
+ */
749
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
750
+ /**
751
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
752
+ *
753
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
754
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
755
+ * @returns {string} A string representing the location.
756
+ */
757
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
758
+ /**
759
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
760
+ *
761
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
762
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
763
+ * @returns {string} A string representing the collection.
764
+ */
765
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
766
+ /**
767
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
768
+ *
769
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
770
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
771
+ * @returns {string} A string representing the data_store.
772
+ */
773
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
774
+ /**
775
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
776
+ *
777
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
778
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
779
+ * @returns {string} A string representing the branch.
780
+ */
781
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
782
+ /**
783
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
784
+ *
785
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
786
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
787
+ * @returns {string} A string representing the document.
788
+ */
789
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
790
+ /**
791
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
792
+ *
793
+ * @param {string} project
794
+ * @param {string} location
795
+ * @param {string} collection
796
+ * @param {string} data_store
797
+ * @param {string} conversation
798
+ * @returns {string} Resource name string.
799
+ */
800
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
801
+ /**
802
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
803
+ *
804
+ * @param {string} projectLocationCollectionDataStoreConversationName
805
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
806
+ * @returns {string} A string representing the project.
807
+ */
808
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
809
+ /**
810
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
811
+ *
812
+ * @param {string} projectLocationCollectionDataStoreConversationName
813
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
814
+ * @returns {string} A string representing the location.
815
+ */
816
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
817
+ /**
818
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
819
+ *
820
+ * @param {string} projectLocationCollectionDataStoreConversationName
821
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
822
+ * @returns {string} A string representing the collection.
823
+ */
824
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
825
+ /**
826
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
827
+ *
828
+ * @param {string} projectLocationCollectionDataStoreConversationName
829
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
830
+ * @returns {string} A string representing the data_store.
831
+ */
832
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
833
+ /**
834
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
835
+ *
836
+ * @param {string} projectLocationCollectionDataStoreConversationName
837
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
838
+ * @returns {string} A string representing the conversation.
839
+ */
840
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
841
+ /**
842
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
843
+ *
844
+ * @param {string} project
845
+ * @param {string} location
846
+ * @param {string} collection
847
+ * @param {string} data_store
848
+ * @param {string} schema
849
+ * @returns {string} Resource name string.
850
+ */
851
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
852
+ /**
853
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
854
+ *
855
+ * @param {string} projectLocationCollectionDataStoreSchemaName
856
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
857
+ * @returns {string} A string representing the project.
858
+ */
859
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
860
+ /**
861
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
862
+ *
863
+ * @param {string} projectLocationCollectionDataStoreSchemaName
864
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
865
+ * @returns {string} A string representing the location.
866
+ */
867
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
868
+ /**
869
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
870
+ *
871
+ * @param {string} projectLocationCollectionDataStoreSchemaName
872
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
873
+ * @returns {string} A string representing the collection.
874
+ */
875
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
876
+ /**
877
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
878
+ *
879
+ * @param {string} projectLocationCollectionDataStoreSchemaName
880
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
881
+ * @returns {string} A string representing the data_store.
882
+ */
883
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
884
+ /**
885
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
886
+ *
887
+ * @param {string} projectLocationCollectionDataStoreSchemaName
888
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
889
+ * @returns {string} A string representing the schema.
890
+ */
891
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
892
+ /**
893
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
894
+ *
895
+ * @param {string} project
896
+ * @param {string} location
897
+ * @param {string} collection
898
+ * @param {string} data_store
899
+ * @returns {string} Resource name string.
900
+ */
901
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
902
+ /**
903
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
904
+ *
905
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
906
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
907
+ * @returns {string} A string representing the project.
908
+ */
909
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
910
+ /**
911
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
912
+ *
913
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
914
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
915
+ * @returns {string} A string representing the location.
916
+ */
917
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
918
+ /**
919
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
920
+ *
921
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
922
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
923
+ * @returns {string} A string representing the collection.
924
+ */
925
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
926
+ /**
927
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
928
+ *
929
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
930
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
931
+ * @returns {string} A string representing the data_store.
932
+ */
933
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
934
+ /**
935
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
936
+ *
937
+ * @param {string} project
938
+ * @param {string} location
939
+ * @param {string} collection
940
+ * @param {string} data_store
941
+ * @param {string} target_site
942
+ * @returns {string} Resource name string.
943
+ */
944
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
945
+ /**
946
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
947
+ *
948
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
949
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
950
+ * @returns {string} A string representing the project.
951
+ */
952
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
953
+ /**
954
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
955
+ *
956
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
957
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
958
+ * @returns {string} A string representing the location.
959
+ */
960
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
961
+ /**
962
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
963
+ *
964
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
965
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
966
+ * @returns {string} A string representing the collection.
967
+ */
968
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
969
+ /**
970
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
971
+ *
972
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
973
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
974
+ * @returns {string} A string representing the data_store.
975
+ */
976
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
977
+ /**
978
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
979
+ *
980
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
981
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
982
+ * @returns {string} A string representing the target_site.
983
+ */
984
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
985
+ /**
986
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
987
+ *
988
+ * @param {string} project
989
+ * @param {string} location
990
+ * @param {string} collection
991
+ * @param {string} engine
992
+ * @param {string} conversation
993
+ * @returns {string} Resource name string.
994
+ */
995
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
996
+ /**
997
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
998
+ *
999
+ * @param {string} projectLocationCollectionEngineConversationName
1000
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1001
+ * @returns {string} A string representing the project.
1002
+ */
1003
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1004
+ /**
1005
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1006
+ *
1007
+ * @param {string} projectLocationCollectionEngineConversationName
1008
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1009
+ * @returns {string} A string representing the location.
1010
+ */
1011
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1012
+ /**
1013
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1014
+ *
1015
+ * @param {string} projectLocationCollectionEngineConversationName
1016
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1017
+ * @returns {string} A string representing the collection.
1018
+ */
1019
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1020
+ /**
1021
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1022
+ *
1023
+ * @param {string} projectLocationCollectionEngineConversationName
1024
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1025
+ * @returns {string} A string representing the engine.
1026
+ */
1027
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1028
+ /**
1029
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1030
+ *
1031
+ * @param {string} projectLocationCollectionEngineConversationName
1032
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1033
+ * @returns {string} A string representing the conversation.
1034
+ */
1035
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1036
+ /**
1037
+ * Return a fully-qualified projectLocationDataStore resource name string.
1038
+ *
1039
+ * @param {string} project
1040
+ * @param {string} location
1041
+ * @param {string} data_store
1042
+ * @returns {string} Resource name string.
1043
+ */
1044
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1045
+ /**
1046
+ * Parse the project from ProjectLocationDataStore resource.
1047
+ *
1048
+ * @param {string} projectLocationDataStoreName
1049
+ * A fully-qualified path representing project_location_data_store resource.
1050
+ * @returns {string} A string representing the project.
1051
+ */
1052
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1053
+ /**
1054
+ * Parse the location from ProjectLocationDataStore resource.
1055
+ *
1056
+ * @param {string} projectLocationDataStoreName
1057
+ * A fully-qualified path representing project_location_data_store resource.
1058
+ * @returns {string} A string representing the location.
1059
+ */
1060
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1061
+ /**
1062
+ * Parse the data_store from ProjectLocationDataStore resource.
1063
+ *
1064
+ * @param {string} projectLocationDataStoreName
1065
+ * A fully-qualified path representing project_location_data_store resource.
1066
+ * @returns {string} A string representing the data_store.
1067
+ */
1068
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1069
+ /**
1070
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1071
+ *
1072
+ * @param {string} project
1073
+ * @param {string} location
1074
+ * @param {string} data_store
1075
+ * @param {string} branch
1076
+ * @param {string} document
1077
+ * @returns {string} Resource name string.
1078
+ */
1079
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
1080
+ /**
1081
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1082
+ *
1083
+ * @param {string} projectLocationDataStoreBranchDocumentName
1084
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1085
+ * @returns {string} A string representing the project.
1086
+ */
1087
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1088
+ /**
1089
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1090
+ *
1091
+ * @param {string} projectLocationDataStoreBranchDocumentName
1092
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1093
+ * @returns {string} A string representing the location.
1094
+ */
1095
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1096
+ /**
1097
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1098
+ *
1099
+ * @param {string} projectLocationDataStoreBranchDocumentName
1100
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1101
+ * @returns {string} A string representing the data_store.
1102
+ */
1103
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1104
+ /**
1105
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1106
+ *
1107
+ * @param {string} projectLocationDataStoreBranchDocumentName
1108
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1109
+ * @returns {string} A string representing the branch.
1110
+ */
1111
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1112
+ /**
1113
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1114
+ *
1115
+ * @param {string} projectLocationDataStoreBranchDocumentName
1116
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1117
+ * @returns {string} A string representing the document.
1118
+ */
1119
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1120
+ /**
1121
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1122
+ *
1123
+ * @param {string} project
1124
+ * @param {string} location
1125
+ * @param {string} data_store
1126
+ * @param {string} conversation
1127
+ * @returns {string} Resource name string.
1128
+ */
1129
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
1130
+ /**
1131
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1132
+ *
1133
+ * @param {string} projectLocationDataStoreConversationName
1134
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1135
+ * @returns {string} A string representing the project.
1136
+ */
1137
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1138
+ /**
1139
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1140
+ *
1141
+ * @param {string} projectLocationDataStoreConversationName
1142
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1143
+ * @returns {string} A string representing the location.
1144
+ */
1145
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1146
+ /**
1147
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1148
+ *
1149
+ * @param {string} projectLocationDataStoreConversationName
1150
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1151
+ * @returns {string} A string representing the data_store.
1152
+ */
1153
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1154
+ /**
1155
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1156
+ *
1157
+ * @param {string} projectLocationDataStoreConversationName
1158
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1159
+ * @returns {string} A string representing the conversation.
1160
+ */
1161
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1162
+ /**
1163
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1164
+ *
1165
+ * @param {string} project
1166
+ * @param {string} location
1167
+ * @param {string} data_store
1168
+ * @param {string} schema
1169
+ * @returns {string} Resource name string.
1170
+ */
1171
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
1172
+ /**
1173
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1174
+ *
1175
+ * @param {string} projectLocationDataStoreSchemaName
1176
+ * A fully-qualified path representing project_location_data_store_schema resource.
1177
+ * @returns {string} A string representing the project.
1178
+ */
1179
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1180
+ /**
1181
+ * Parse the location from ProjectLocationDataStoreSchema resource.
1182
+ *
1183
+ * @param {string} projectLocationDataStoreSchemaName
1184
+ * A fully-qualified path representing project_location_data_store_schema resource.
1185
+ * @returns {string} A string representing the location.
1186
+ */
1187
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1188
+ /**
1189
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
1190
+ *
1191
+ * @param {string} projectLocationDataStoreSchemaName
1192
+ * A fully-qualified path representing project_location_data_store_schema resource.
1193
+ * @returns {string} A string representing the data_store.
1194
+ */
1195
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1196
+ /**
1197
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
1198
+ *
1199
+ * @param {string} projectLocationDataStoreSchemaName
1200
+ * A fully-qualified path representing project_location_data_store_schema resource.
1201
+ * @returns {string} A string representing the schema.
1202
+ */
1203
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1204
+ /**
1205
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1206
+ *
1207
+ * @param {string} project
1208
+ * @param {string} location
1209
+ * @param {string} data_store
1210
+ * @returns {string} Resource name string.
1211
+ */
1212
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1213
+ /**
1214
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1215
+ *
1216
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1217
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1218
+ * @returns {string} A string representing the project.
1219
+ */
1220
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1221
+ /**
1222
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1223
+ *
1224
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1225
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1226
+ * @returns {string} A string representing the location.
1227
+ */
1228
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1229
+ /**
1230
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1231
+ *
1232
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1233
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1234
+ * @returns {string} A string representing the data_store.
1235
+ */
1236
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1237
+ /**
1238
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1239
+ *
1240
+ * @param {string} project
1241
+ * @param {string} location
1242
+ * @param {string} data_store
1243
+ * @param {string} target_site
1244
+ * @returns {string} Resource name string.
1245
+ */
1246
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1247
+ /**
1248
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1249
+ *
1250
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1251
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1252
+ * @returns {string} A string representing the project.
1253
+ */
1254
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1255
+ /**
1256
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1257
+ *
1258
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1259
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1260
+ * @returns {string} A string representing the location.
1261
+ */
1262
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1263
+ /**
1264
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1265
+ *
1266
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1267
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1268
+ * @returns {string} A string representing the data_store.
1269
+ */
1270
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1271
+ /**
1272
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1273
+ *
1274
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1275
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1276
+ * @returns {string} A string representing the target_site.
1277
+ */
1278
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1279
+ /**
1280
+ * Terminate the gRPC channel and close the client.
1281
+ *
1282
+ * The client will no longer be usable and all future behavior is undefined.
1283
+ * @returns {Promise} A promise that resolves when the client is closed.
1284
+ */
1285
+ close(): Promise<void>;
1286
+ }