@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,1357 @@
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 projectLocationCollectionDataStoreSchema resource name string.
770
+ *
771
+ * @param {string} project
772
+ * @param {string} location
773
+ * @param {string} collection
774
+ * @param {string} data_store
775
+ * @param {string} schema
776
+ * @returns {string} Resource name string.
777
+ */
778
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
779
+ /**
780
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
781
+ *
782
+ * @param {string} projectLocationCollectionDataStoreSchemaName
783
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
784
+ * @returns {string} A string representing the project.
785
+ */
786
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
787
+ /**
788
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
789
+ *
790
+ * @param {string} projectLocationCollectionDataStoreSchemaName
791
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
792
+ * @returns {string} A string representing the location.
793
+ */
794
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
795
+ /**
796
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
797
+ *
798
+ * @param {string} projectLocationCollectionDataStoreSchemaName
799
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
800
+ * @returns {string} A string representing the collection.
801
+ */
802
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
803
+ /**
804
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
805
+ *
806
+ * @param {string} projectLocationCollectionDataStoreSchemaName
807
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
808
+ * @returns {string} A string representing the data_store.
809
+ */
810
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
811
+ /**
812
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
813
+ *
814
+ * @param {string} projectLocationCollectionDataStoreSchemaName
815
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
816
+ * @returns {string} A string representing the schema.
817
+ */
818
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
819
+ /**
820
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
821
+ *
822
+ * @param {string} project
823
+ * @param {string} location
824
+ * @param {string} collection
825
+ * @param {string} data_store
826
+ * @param {string} serving_config
827
+ * @returns {string} Resource name string.
828
+ */
829
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
830
+ /**
831
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
832
+ *
833
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
834
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
835
+ * @returns {string} A string representing the project.
836
+ */
837
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
838
+ /**
839
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
840
+ *
841
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
842
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
843
+ * @returns {string} A string representing the location.
844
+ */
845
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
846
+ /**
847
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
848
+ *
849
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
850
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
851
+ * @returns {string} A string representing the collection.
852
+ */
853
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
854
+ /**
855
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
856
+ *
857
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
858
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
859
+ * @returns {string} A string representing the data_store.
860
+ */
861
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
862
+ /**
863
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
864
+ *
865
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
866
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
867
+ * @returns {string} A string representing the serving_config.
868
+ */
869
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
870
+ /**
871
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
872
+ *
873
+ * @param {string} project
874
+ * @param {string} location
875
+ * @param {string} collection
876
+ * @param {string} data_store
877
+ * @returns {string} Resource name string.
878
+ */
879
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
880
+ /**
881
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
882
+ *
883
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
884
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
885
+ * @returns {string} A string representing the project.
886
+ */
887
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
888
+ /**
889
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
890
+ *
891
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
892
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
893
+ * @returns {string} A string representing the location.
894
+ */
895
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
896
+ /**
897
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
898
+ *
899
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
900
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
901
+ * @returns {string} A string representing the collection.
902
+ */
903
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
904
+ /**
905
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
906
+ *
907
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
908
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
909
+ * @returns {string} A string representing the data_store.
910
+ */
911
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
912
+ /**
913
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
914
+ *
915
+ * @param {string} project
916
+ * @param {string} location
917
+ * @param {string} collection
918
+ * @param {string} data_store
919
+ * @param {string} target_site
920
+ * @returns {string} Resource name string.
921
+ */
922
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
923
+ /**
924
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
925
+ *
926
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
927
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
928
+ * @returns {string} A string representing the project.
929
+ */
930
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
931
+ /**
932
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
933
+ *
934
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
935
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
936
+ * @returns {string} A string representing the location.
937
+ */
938
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
939
+ /**
940
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
941
+ *
942
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
943
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
944
+ * @returns {string} A string representing the collection.
945
+ */
946
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
947
+ /**
948
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
949
+ *
950
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
951
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
952
+ * @returns {string} A string representing the data_store.
953
+ */
954
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
955
+ /**
956
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
957
+ *
958
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
959
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
960
+ * @returns {string} A string representing the target_site.
961
+ */
962
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
963
+ /**
964
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
965
+ *
966
+ * @param {string} project
967
+ * @param {string} location
968
+ * @param {string} collection
969
+ * @param {string} engine
970
+ * @param {string} conversation
971
+ * @returns {string} Resource name string.
972
+ */
973
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
974
+ /**
975
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
976
+ *
977
+ * @param {string} projectLocationCollectionEngineConversationName
978
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
979
+ * @returns {string} A string representing the project.
980
+ */
981
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
982
+ /**
983
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
984
+ *
985
+ * @param {string} projectLocationCollectionEngineConversationName
986
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
987
+ * @returns {string} A string representing the location.
988
+ */
989
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
990
+ /**
991
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
992
+ *
993
+ * @param {string} projectLocationCollectionEngineConversationName
994
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
995
+ * @returns {string} A string representing the collection.
996
+ */
997
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
998
+ /**
999
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1000
+ *
1001
+ * @param {string} projectLocationCollectionEngineConversationName
1002
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1003
+ * @returns {string} A string representing the engine.
1004
+ */
1005
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1006
+ /**
1007
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1008
+ *
1009
+ * @param {string} projectLocationCollectionEngineConversationName
1010
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1011
+ * @returns {string} A string representing the conversation.
1012
+ */
1013
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1014
+ /**
1015
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1016
+ *
1017
+ * @param {string} project
1018
+ * @param {string} location
1019
+ * @param {string} collection
1020
+ * @param {string} engine
1021
+ * @param {string} serving_config
1022
+ * @returns {string} Resource name string.
1023
+ */
1024
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1025
+ /**
1026
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1027
+ *
1028
+ * @param {string} projectLocationCollectionEngineServingConfigName
1029
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1030
+ * @returns {string} A string representing the project.
1031
+ */
1032
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1033
+ /**
1034
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1035
+ *
1036
+ * @param {string} projectLocationCollectionEngineServingConfigName
1037
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1038
+ * @returns {string} A string representing the location.
1039
+ */
1040
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1041
+ /**
1042
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1043
+ *
1044
+ * @param {string} projectLocationCollectionEngineServingConfigName
1045
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1046
+ * @returns {string} A string representing the collection.
1047
+ */
1048
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1049
+ /**
1050
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1051
+ *
1052
+ * @param {string} projectLocationCollectionEngineServingConfigName
1053
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1054
+ * @returns {string} A string representing the engine.
1055
+ */
1056
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1057
+ /**
1058
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1059
+ *
1060
+ * @param {string} projectLocationCollectionEngineServingConfigName
1061
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1062
+ * @returns {string} A string representing the serving_config.
1063
+ */
1064
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1065
+ /**
1066
+ * Return a fully-qualified projectLocationDataStore resource name string.
1067
+ *
1068
+ * @param {string} project
1069
+ * @param {string} location
1070
+ * @param {string} data_store
1071
+ * @returns {string} Resource name string.
1072
+ */
1073
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1074
+ /**
1075
+ * Parse the project from ProjectLocationDataStore resource.
1076
+ *
1077
+ * @param {string} projectLocationDataStoreName
1078
+ * A fully-qualified path representing project_location_data_store resource.
1079
+ * @returns {string} A string representing the project.
1080
+ */
1081
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1082
+ /**
1083
+ * Parse the location from ProjectLocationDataStore resource.
1084
+ *
1085
+ * @param {string} projectLocationDataStoreName
1086
+ * A fully-qualified path representing project_location_data_store resource.
1087
+ * @returns {string} A string representing the location.
1088
+ */
1089
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1090
+ /**
1091
+ * Parse the data_store from ProjectLocationDataStore resource.
1092
+ *
1093
+ * @param {string} projectLocationDataStoreName
1094
+ * A fully-qualified path representing project_location_data_store resource.
1095
+ * @returns {string} A string representing the data_store.
1096
+ */
1097
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1098
+ /**
1099
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1100
+ *
1101
+ * @param {string} project
1102
+ * @param {string} location
1103
+ * @param {string} data_store
1104
+ * @param {string} branch
1105
+ * @param {string} document
1106
+ * @returns {string} Resource name string.
1107
+ */
1108
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
1109
+ /**
1110
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1111
+ *
1112
+ * @param {string} projectLocationDataStoreBranchDocumentName
1113
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1114
+ * @returns {string} A string representing the project.
1115
+ */
1116
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1117
+ /**
1118
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1119
+ *
1120
+ * @param {string} projectLocationDataStoreBranchDocumentName
1121
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1122
+ * @returns {string} A string representing the location.
1123
+ */
1124
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1125
+ /**
1126
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1127
+ *
1128
+ * @param {string} projectLocationDataStoreBranchDocumentName
1129
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1130
+ * @returns {string} A string representing the data_store.
1131
+ */
1132
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1133
+ /**
1134
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1135
+ *
1136
+ * @param {string} projectLocationDataStoreBranchDocumentName
1137
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1138
+ * @returns {string} A string representing the branch.
1139
+ */
1140
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1141
+ /**
1142
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1143
+ *
1144
+ * @param {string} projectLocationDataStoreBranchDocumentName
1145
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1146
+ * @returns {string} A string representing the document.
1147
+ */
1148
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1149
+ /**
1150
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1151
+ *
1152
+ * @param {string} project
1153
+ * @param {string} location
1154
+ * @param {string} data_store
1155
+ * @param {string} conversation
1156
+ * @returns {string} Resource name string.
1157
+ */
1158
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
1159
+ /**
1160
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1161
+ *
1162
+ * @param {string} projectLocationDataStoreConversationName
1163
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1164
+ * @returns {string} A string representing the project.
1165
+ */
1166
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1167
+ /**
1168
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1169
+ *
1170
+ * @param {string} projectLocationDataStoreConversationName
1171
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1172
+ * @returns {string} A string representing the location.
1173
+ */
1174
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1175
+ /**
1176
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1177
+ *
1178
+ * @param {string} projectLocationDataStoreConversationName
1179
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1180
+ * @returns {string} A string representing the data_store.
1181
+ */
1182
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1183
+ /**
1184
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1185
+ *
1186
+ * @param {string} projectLocationDataStoreConversationName
1187
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1188
+ * @returns {string} A string representing the conversation.
1189
+ */
1190
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1191
+ /**
1192
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1193
+ *
1194
+ * @param {string} project
1195
+ * @param {string} location
1196
+ * @param {string} data_store
1197
+ * @param {string} schema
1198
+ * @returns {string} Resource name string.
1199
+ */
1200
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
1201
+ /**
1202
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1203
+ *
1204
+ * @param {string} projectLocationDataStoreSchemaName
1205
+ * A fully-qualified path representing project_location_data_store_schema resource.
1206
+ * @returns {string} A string representing the project.
1207
+ */
1208
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1209
+ /**
1210
+ * Parse the location from ProjectLocationDataStoreSchema resource.
1211
+ *
1212
+ * @param {string} projectLocationDataStoreSchemaName
1213
+ * A fully-qualified path representing project_location_data_store_schema resource.
1214
+ * @returns {string} A string representing the location.
1215
+ */
1216
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1217
+ /**
1218
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
1219
+ *
1220
+ * @param {string} projectLocationDataStoreSchemaName
1221
+ * A fully-qualified path representing project_location_data_store_schema resource.
1222
+ * @returns {string} A string representing the data_store.
1223
+ */
1224
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1225
+ /**
1226
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
1227
+ *
1228
+ * @param {string} projectLocationDataStoreSchemaName
1229
+ * A fully-qualified path representing project_location_data_store_schema resource.
1230
+ * @returns {string} A string representing the schema.
1231
+ */
1232
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1233
+ /**
1234
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1235
+ *
1236
+ * @param {string} project
1237
+ * @param {string} location
1238
+ * @param {string} data_store
1239
+ * @param {string} serving_config
1240
+ * @returns {string} Resource name string.
1241
+ */
1242
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1243
+ /**
1244
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1245
+ *
1246
+ * @param {string} projectLocationDataStoreServingConfigName
1247
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1248
+ * @returns {string} A string representing the project.
1249
+ */
1250
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1251
+ /**
1252
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1253
+ *
1254
+ * @param {string} projectLocationDataStoreServingConfigName
1255
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1256
+ * @returns {string} A string representing the location.
1257
+ */
1258
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1259
+ /**
1260
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1261
+ *
1262
+ * @param {string} projectLocationDataStoreServingConfigName
1263
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1264
+ * @returns {string} A string representing the data_store.
1265
+ */
1266
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1267
+ /**
1268
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1269
+ *
1270
+ * @param {string} projectLocationDataStoreServingConfigName
1271
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1272
+ * @returns {string} A string representing the serving_config.
1273
+ */
1274
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1275
+ /**
1276
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1277
+ *
1278
+ * @param {string} project
1279
+ * @param {string} location
1280
+ * @param {string} data_store
1281
+ * @returns {string} Resource name string.
1282
+ */
1283
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1284
+ /**
1285
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1286
+ *
1287
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1288
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1289
+ * @returns {string} A string representing the project.
1290
+ */
1291
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1292
+ /**
1293
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1294
+ *
1295
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1296
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1297
+ * @returns {string} A string representing the location.
1298
+ */
1299
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1300
+ /**
1301
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1302
+ *
1303
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1304
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1305
+ * @returns {string} A string representing the data_store.
1306
+ */
1307
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1308
+ /**
1309
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1310
+ *
1311
+ * @param {string} project
1312
+ * @param {string} location
1313
+ * @param {string} data_store
1314
+ * @param {string} target_site
1315
+ * @returns {string} Resource name string.
1316
+ */
1317
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1318
+ /**
1319
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1320
+ *
1321
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1322
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1323
+ * @returns {string} A string representing the project.
1324
+ */
1325
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1326
+ /**
1327
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1328
+ *
1329
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1330
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1331
+ * @returns {string} A string representing the location.
1332
+ */
1333
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1334
+ /**
1335
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1336
+ *
1337
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1338
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1339
+ * @returns {string} A string representing the data_store.
1340
+ */
1341
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1342
+ /**
1343
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1344
+ *
1345
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1346
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1347
+ * @returns {string} A string representing the target_site.
1348
+ */
1349
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1350
+ /**
1351
+ * Terminate the gRPC channel and close the client.
1352
+ *
1353
+ * The client will no longer be usable and all future behavior is undefined.
1354
+ * @returns {Promise} A promise that resolves when the client is closed.
1355
+ */
1356
+ close(): Promise<void>;
1357
+ }