@google-cloud/discoveryengine 1.10.0 → 1.12.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 (129) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +33 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
  10. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +14 -0
  11. package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
  12. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
  13. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +31 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +29 -2
  16. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +7 -1
  17. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +23 -0
  18. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +10 -0
  19. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
  21. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
  22. package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
  23. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +191 -0
  24. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +111 -0
  25. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
  26. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
  27. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
  29. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +370 -8
  30. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
  31. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +24 -0
  32. package/build/protos/protos.d.ts +32735 -21073
  33. package/build/protos/protos.js +80768 -53241
  34. package/build/protos/protos.json +5309 -2481
  35. package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
  36. package/build/src/v1alpha/acl_config_service_client.js +157 -0
  37. package/build/src/v1alpha/chunk_service_client.d.ts +108 -0
  38. package/build/src/v1alpha/chunk_service_client.js +157 -0
  39. package/build/src/v1alpha/completion_service_client.d.ts +108 -0
  40. package/build/src/v1alpha/completion_service_client.js +157 -0
  41. package/build/src/v1alpha/control_service_client.d.ts +108 -0
  42. package/build/src/v1alpha/control_service_client.js +157 -0
  43. package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -0
  44. package/build/src/v1alpha/conversational_search_service_client.js +157 -0
  45. package/build/src/v1alpha/data_store_service_client.d.ts +108 -0
  46. package/build/src/v1alpha/data_store_service_client.js +157 -0
  47. package/build/src/v1alpha/document_service_client.d.ts +108 -0
  48. package/build/src/v1alpha/document_service_client.js +157 -0
  49. package/build/src/v1alpha/engine_service_client.d.ts +108 -0
  50. package/build/src/v1alpha/engine_service_client.js +157 -0
  51. package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
  52. package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
  53. package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
  54. package/build/src/v1alpha/evaluation_service_client.js +3288 -0
  55. package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
  56. package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
  57. package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
  58. package/build/src/v1alpha/index.d.ts +3 -0
  59. package/build/src/v1alpha/index.js +7 -1
  60. package/build/src/v1alpha/project_service_client.d.ts +108 -0
  61. package/build/src/v1alpha/project_service_client.js +157 -0
  62. package/build/src/v1alpha/rank_service_client.d.ts +108 -0
  63. package/build/src/v1alpha/rank_service_client.js +157 -0
  64. package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
  65. package/build/src/v1alpha/recommendation_service_client.js +157 -0
  66. package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
  67. package/build/src/v1alpha/sample_query_service_client.js +3186 -0
  68. package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
  69. package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
  70. package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
  71. package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
  72. package/build/src/v1alpha/schema_service_client.d.ts +108 -0
  73. package/build/src/v1alpha/schema_service_client.js +157 -0
  74. package/build/src/v1alpha/search_service_client.d.ts +108 -0
  75. package/build/src/v1alpha/search_service_client.js +157 -0
  76. package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
  77. package/build/src/v1alpha/search_tuning_service_client.js +157 -0
  78. package/build/src/v1alpha/serving_config_service_client.d.ts +108 -0
  79. package/build/src/v1alpha/serving_config_service_client.js +157 -0
  80. package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -0
  81. package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
  82. package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
  83. package/build/src/v1alpha/user_event_service_client.js +157 -0
  84. package/build/src/v1beta/completion_service_client.d.ts +328 -0
  85. package/build/src/v1beta/completion_service_client.js +423 -0
  86. package/build/src/v1beta/completion_service_client_config.json +10 -0
  87. package/build/src/v1beta/control_service_client.d.ts +237 -0
  88. package/build/src/v1beta/control_service_client.js +333 -0
  89. package/build/src/v1beta/conversational_search_service_client.d.ts +255 -0
  90. package/build/src/v1beta/conversational_search_service_client.js +333 -0
  91. package/build/src/v1beta/data_store_service_client.d.ts +246 -0
  92. package/build/src/v1beta/data_store_service_client.js +339 -0
  93. package/build/src/v1beta/document_service_client.d.ts +239 -0
  94. package/build/src/v1beta/document_service_client.js +339 -0
  95. package/build/src/v1beta/engine_service_client.d.ts +237 -0
  96. package/build/src/v1beta/engine_service_client.js +339 -0
  97. package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
  98. package/build/src/v1beta/evaluation_service_client.js +3252 -0
  99. package/build/src/v1beta/evaluation_service_client_config.json +58 -0
  100. package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
  101. package/build/src/v1beta/grounded_generation_service_client.js +333 -0
  102. package/build/src/v1beta/index.d.ts +3 -0
  103. package/build/src/v1beta/index.js +7 -1
  104. package/build/src/v1beta/project_service_client.d.ts +237 -0
  105. package/build/src/v1beta/project_service_client.js +339 -0
  106. package/build/src/v1beta/rank_service_client.d.ts +237 -0
  107. package/build/src/v1beta/rank_service_client.js +333 -0
  108. package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
  109. package/build/src/v1beta/recommendation_service_client.js +333 -0
  110. package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
  111. package/build/src/v1beta/sample_query_service_client.js +3150 -0
  112. package/build/src/v1beta/sample_query_service_client_config.json +68 -0
  113. package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
  114. package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
  115. package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
  116. package/build/src/v1beta/schema_service_client.d.ts +237 -0
  117. package/build/src/v1beta/schema_service_client.js +339 -0
  118. package/build/src/v1beta/search_service_client.d.ts +414 -12
  119. package/build/src/v1beta/search_service_client.js +451 -8
  120. package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
  121. package/build/src/v1beta/search_tuning_service_client.js +339 -0
  122. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  123. package/build/src/v1beta/serving_config_service_client.js +333 -0
  124. package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -0
  125. package/build/src/v1beta/site_search_engine_service_client.js +339 -0
  126. package/build/src/v1beta/user_event_service_client.d.ts +312 -0
  127. package/build/src/v1beta/user_event_service_client.js +381 -0
  128. package/build/src/v1beta/user_event_service_client_config.json +5 -0
  129. package/package.json +1 -1
@@ -0,0 +1,2317 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Service for managing
7
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s,
8
+ * @class
9
+ * @memberof v1alpha
10
+ */
11
+ export declare class SampleQueryServiceClient {
12
+ private _terminated;
13
+ private _opts;
14
+ private _providedCustomServicePath;
15
+ private _gaxModule;
16
+ private _gaxGrpc;
17
+ private _protos;
18
+ private _defaults;
19
+ private _universeDomain;
20
+ private _servicePath;
21
+ auth: gax.GoogleAuth;
22
+ descriptors: Descriptors;
23
+ warn: (code: string, message: string, warnType?: string) => void;
24
+ innerApiCalls: {
25
+ [name: string]: Function;
26
+ };
27
+ locationsClient: LocationsClient;
28
+ pathTemplates: {
29
+ [name: string]: gax.PathTemplate;
30
+ };
31
+ operationsClient: gax.OperationsClient;
32
+ sampleQueryServiceStub?: Promise<{
33
+ [name: string]: Function;
34
+ }>;
35
+ /**
36
+ * Construct an instance of SampleQueryServiceClient.
37
+ *
38
+ * @param {object} [options] - The configuration object.
39
+ * The options accepted by the constructor are described in detail
40
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
41
+ * The common options are:
42
+ * @param {object} [options.credentials] - Credentials object.
43
+ * @param {string} [options.credentials.client_email]
44
+ * @param {string} [options.credentials.private_key]
45
+ * @param {string} [options.email] - Account email address. Required when
46
+ * using a .pem or .p12 keyFilename.
47
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
48
+ * .p12 key downloaded from the Google Developers Console. If you provide
49
+ * a path to a JSON file, the projectId option below is not necessary.
50
+ * NOTE: .pem and .p12 require you to specify options.email as well.
51
+ * @param {number} [options.port] - The port on which to connect to
52
+ * the remote host.
53
+ * @param {string} [options.projectId] - The project ID from the Google
54
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
55
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
56
+ * app is running in an environment which supports
57
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
58
+ * your project ID will be detected automatically.
59
+ * @param {string} [options.apiEndpoint] - The domain name of the
60
+ * API remote host.
61
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
62
+ * Follows the structure of {@link gapicConfig}.
63
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
64
+ * For more information, please check the
65
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
66
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
67
+ * need to avoid loading the default gRPC version and want to use the fallback
68
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
69
+ * ```
70
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
71
+ * const client = new SampleQueryServiceClient({fallback: true}, gax);
72
+ * ```
73
+ */
74
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
75
+ /**
76
+ * Initialize the client.
77
+ * Performs asynchronous operations (such as authentication) and prepares the client.
78
+ * This function will be called automatically when any class method is called for the
79
+ * first time, but if you need to initialize it before calling an actual method,
80
+ * feel free to call initialize() directly.
81
+ *
82
+ * You can await on this method if you want to make sure the client is initialized.
83
+ *
84
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
85
+ */
86
+ initialize(): Promise<{
87
+ [name: string]: Function;
88
+ }>;
89
+ /**
90
+ * The DNS address for this API service.
91
+ * @deprecated Use the apiEndpoint method of the client instance.
92
+ * @returns {string} The DNS address for this service.
93
+ */
94
+ static get servicePath(): string;
95
+ /**
96
+ * The DNS address for this API service - same as servicePath.
97
+ * @deprecated Use the apiEndpoint method of the client instance.
98
+ * @returns {string} The DNS address for this service.
99
+ */
100
+ static get apiEndpoint(): string;
101
+ /**
102
+ * The DNS address for this API service.
103
+ * @returns {string} The DNS address for this service.
104
+ */
105
+ get apiEndpoint(): string;
106
+ get universeDomain(): string;
107
+ /**
108
+ * The port for this API service.
109
+ * @returns {number} The default port for this service.
110
+ */
111
+ static get port(): number;
112
+ /**
113
+ * The scopes needed to make gRPC calls for every method defined
114
+ * in this service.
115
+ * @returns {string[]} List of default scopes.
116
+ */
117
+ static get scopes(): string[];
118
+ getProjectId(): Promise<string>;
119
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
120
+ /**
121
+ * Gets a {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
122
+ *
123
+ * @param {Object} request
124
+ * The request object that will be sent.
125
+ * @param {string} request.name
126
+ * Required. Full resource name of
127
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, such as
128
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`.
129
+ *
130
+ * If the caller does not have permission to access the
131
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, regardless
132
+ * of whether or not it exists, a PERMISSION_DENIED error is returned.
133
+ *
134
+ * If the requested
135
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery} does not
136
+ * 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.v1alpha.SampleQuery|SampleQuery}.
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/v1alpha/sample_query_service.get_sample_query.js</caption>
144
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_GetSampleQuery_async
145
+ */
146
+ getSampleQuery(request?: protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest, options?: CallOptions): Promise<[
147
+ protos.google.cloud.discoveryengine.v1alpha.ISampleQuery,
148
+ (protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest | undefined),
149
+ {} | undefined
150
+ ]>;
151
+ getSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest | null | undefined, {} | null | undefined>): void;
152
+ getSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.IGetSampleQueryRequest | null | undefined, {} | null | undefined>): void;
153
+ /**
154
+ * Creates a {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}
155
+ *
156
+ * @param {Object} request
157
+ * The request object that will be sent.
158
+ * @param {string} request.parent
159
+ * Required. The parent resource name, such as
160
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
161
+ * @param {google.cloud.discoveryengine.v1alpha.SampleQuery} request.sampleQuery
162
+ * Required. The
163
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery} to create.
164
+ * @param {string} request.sampleQueryId
165
+ * Required. The ID to use for the
166
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, which will
167
+ * become the final component of the
168
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery.name|SampleQuery.name}.
169
+ *
170
+ * If the caller does not have permission to create the
171
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, regardless
172
+ * of whether or not it exists, a `PERMISSION_DENIED` error is returned.
173
+ *
174
+ * This field must be unique among all
175
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s with the
176
+ * same
177
+ * {@link protos.google.cloud.discoveryengine.v1alpha.CreateSampleQueryRequest.parent|parent}.
178
+ * Otherwise, an `ALREADY_EXISTS` error is returned.
179
+ *
180
+ * This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
181
+ * standard with a length limit of 63 characters. Otherwise, an
182
+ * `INVALID_ARGUMENT` error is returned.
183
+ * @param {object} [options]
184
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
185
+ * @returns {Promise} - The promise which resolves to an array.
186
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
187
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
188
+ * for more details and examples.
189
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.create_sample_query.js</caption>
190
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_CreateSampleQuery_async
191
+ */
192
+ createSampleQuery(request?: protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest, options?: CallOptions): Promise<[
193
+ protos.google.cloud.discoveryengine.v1alpha.ISampleQuery,
194
+ (protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest | undefined),
195
+ {} | undefined
196
+ ]>;
197
+ createSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest | null | undefined, {} | null | undefined>): void;
198
+ createSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.ICreateSampleQueryRequest | null | undefined, {} | null | undefined>): void;
199
+ /**
200
+ * Updates a {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
201
+ *
202
+ * @param {Object} request
203
+ * The request object that will be sent.
204
+ * @param {google.cloud.discoveryengine.v1alpha.SampleQuery} request.sampleQuery
205
+ * Required. The simple query to update.
206
+ *
207
+ * If the caller does not have permission to update the
208
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, regardless
209
+ * of whether or not it exists, a `PERMISSION_DENIED` error is returned.
210
+ *
211
+ * If the {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery} to
212
+ * update does not exist a `NOT_FOUND` error is returned.
213
+ * @param {google.protobuf.FieldMask} request.updateMask
214
+ * Indicates which fields in the provided imported 'simple query' to update.
215
+ * If not set, will by default update all fields.
216
+ * @param {object} [options]
217
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
218
+ * @returns {Promise} - The promise which resolves to an array.
219
+ * The first element of the array is an object representing {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
220
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
221
+ * for more details and examples.
222
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.update_sample_query.js</caption>
223
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_UpdateSampleQuery_async
224
+ */
225
+ updateSampleQuery(request?: protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest, options?: CallOptions): Promise<[
226
+ protos.google.cloud.discoveryengine.v1alpha.ISampleQuery,
227
+ (protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest | undefined),
228
+ {} | undefined
229
+ ]>;
230
+ updateSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest | null | undefined, {} | null | undefined>): void;
231
+ updateSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery, protos.google.cloud.discoveryengine.v1alpha.IUpdateSampleQueryRequest | null | undefined, {} | null | undefined>): void;
232
+ /**
233
+ * Deletes a {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
234
+ *
235
+ * @param {Object} request
236
+ * The request object that will be sent.
237
+ * @param {string} request.name
238
+ * Required. Full resource name of
239
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, such as
240
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`.
241
+ *
242
+ * If the caller does not have permission to delete the
243
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}, regardless
244
+ * of whether or not it exists, a `PERMISSION_DENIED` error is returned.
245
+ *
246
+ * If the {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery} to
247
+ * delete does not exist, a `NOT_FOUND` error is returned.
248
+ * @param {object} [options]
249
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
250
+ * @returns {Promise} - The promise which resolves to an array.
251
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
252
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
253
+ * for more details and examples.
254
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.delete_sample_query.js</caption>
255
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_DeleteSampleQuery_async
256
+ */
257
+ deleteSampleQuery(request?: protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest, options?: CallOptions): Promise<[
258
+ protos.google.protobuf.IEmpty,
259
+ (protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest | undefined),
260
+ {} | undefined
261
+ ]>;
262
+ deleteSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest | null | undefined, {} | null | undefined>): void;
263
+ deleteSampleQuery(request: protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1alpha.IDeleteSampleQueryRequest | null | undefined, {} | null | undefined>): void;
264
+ /**
265
+ * Bulk import of multiple
266
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s. Sample
267
+ * queries that already exist may be deleted.
268
+ *
269
+ * Note: It is possible for a subset of the
270
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s to be
271
+ * successfully imported.
272
+ *
273
+ * @param {Object} request
274
+ * The request object that will be sent.
275
+ * @param {google.cloud.discoveryengine.v1alpha.ImportSampleQueriesRequest.InlineSource} request.inlineSource
276
+ * The Inline source for sample query entries.
277
+ * @param {google.cloud.discoveryengine.v1alpha.GcsSource} request.gcsSource
278
+ * Cloud Storage location for the input content.
279
+ * @param {google.cloud.discoveryengine.v1alpha.BigQuerySource} request.bigquerySource
280
+ * BigQuery input source.
281
+ * @param {string} request.parent
282
+ * Required. The parent sample query set resource name, such as
283
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
284
+ *
285
+ * If the caller does not have permission to list
286
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s under this
287
+ * sample query set, regardless of whether or not this sample query set
288
+ * exists, a `PERMISSION_DENIED` error is returned.
289
+ * @param {google.cloud.discoveryengine.v1alpha.ImportErrorConfig} request.errorConfig
290
+ * The desired location of errors incurred during the Import.
291
+ * @param {object} [options]
292
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
293
+ * @returns {Promise} - The promise which resolves to an array.
294
+ * The first element of the array is an object representing
295
+ * a long running operation. Its `promise()` method returns a promise
296
+ * you can `await` for.
297
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
298
+ * for more details and examples.
299
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.import_sample_queries.js</caption>
300
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_async
301
+ */
302
+ importSampleQueries(request?: protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesRequest, options?: CallOptions): Promise<[
303
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesMetadata>,
304
+ protos.google.longrunning.IOperation | undefined,
305
+ {} | undefined
306
+ ]>;
307
+ importSampleQueries(request: protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
308
+ importSampleQueries(request: protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSampleQueriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
309
+ /**
310
+ * Check the status of the long running operation returned by `importSampleQueries()`.
311
+ * @param {String} name
312
+ * The operation name that will be passed.
313
+ * @returns {Promise} - The promise which resolves to an object.
314
+ * The decoded operation object has result and metadata field to get information from.
315
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
316
+ * for more details and examples.
317
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.import_sample_queries.js</caption>
318
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_async
319
+ */
320
+ checkImportSampleQueriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.ImportSampleQueriesResponse, protos.google.cloud.discoveryengine.v1alpha.ImportSampleQueriesMetadata>>;
321
+ /**
322
+ * Gets a list of
323
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s.
324
+ *
325
+ * @param {Object} request
326
+ * The request object that will be sent.
327
+ * @param {string} request.parent
328
+ * Required. The parent sample query set resource name, such as
329
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
330
+ *
331
+ * If the caller does not have permission to list
332
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s under this
333
+ * sample query set, regardless of whether or not this sample query set
334
+ * exists, a `PERMISSION_DENIED` error is returned.
335
+ * @param {number} request.pageSize
336
+ * Maximum number of
337
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s to return.
338
+ * If unspecified, defaults to 100. The maximum allowed value is 1000. Values
339
+ * above 1000 will be coerced to 1000.
340
+ *
341
+ * If this field is negative, an `INVALID_ARGUMENT` error is returned.
342
+ * @param {string} request.pageToken
343
+ * A page token
344
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ListSampleQueriesResponse.next_page_token|ListSampleQueriesResponse.next_page_token},
345
+ * received from a previous
346
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
347
+ * call. Provide this to retrieve the subsequent page.
348
+ *
349
+ * When paginating, all other parameters provided to
350
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
351
+ * must match the call that provided the page token. Otherwise, an
352
+ * `INVALID_ARGUMENT` error is returned.
353
+ * @param {object} [options]
354
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
355
+ * @returns {Promise} - The promise which resolves to an array.
356
+ * The first element of the array is Array of {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}.
357
+ * The client library will perform auto-pagination by default: it will call the API as many
358
+ * times as needed and will merge results from all the pages into this array.
359
+ * Note that it can affect your quota.
360
+ * We recommend using `listSampleQueriesAsync()`
361
+ * method described below for async iteration which you can stop as needed.
362
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
363
+ * for more details and examples.
364
+ */
365
+ listSampleQueries(request?: protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, options?: CallOptions): Promise<[
366
+ protos.google.cloud.discoveryengine.v1alpha.ISampleQuery[],
367
+ protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest | null,
368
+ protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesResponse
369
+ ]>;
370
+ listSampleQueries(request: protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.ISampleQuery>): void;
371
+ listSampleQueries(request: protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesResponse | null | undefined, protos.google.cloud.discoveryengine.v1alpha.ISampleQuery>): void;
372
+ /**
373
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
374
+ * @param {Object} request
375
+ * The request object that will be sent.
376
+ * @param {string} request.parent
377
+ * Required. The parent sample query set resource name, such as
378
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
379
+ *
380
+ * If the caller does not have permission to list
381
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s under this
382
+ * sample query set, regardless of whether or not this sample query set
383
+ * exists, a `PERMISSION_DENIED` error is returned.
384
+ * @param {number} request.pageSize
385
+ * Maximum number of
386
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s to return.
387
+ * If unspecified, defaults to 100. The maximum allowed value is 1000. Values
388
+ * above 1000 will be coerced to 1000.
389
+ *
390
+ * If this field is negative, an `INVALID_ARGUMENT` error is returned.
391
+ * @param {string} request.pageToken
392
+ * A page token
393
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ListSampleQueriesResponse.next_page_token|ListSampleQueriesResponse.next_page_token},
394
+ * received from a previous
395
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
396
+ * call. Provide this to retrieve the subsequent page.
397
+ *
398
+ * When paginating, all other parameters provided to
399
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
400
+ * must match the call that provided the page token. Otherwise, an
401
+ * `INVALID_ARGUMENT` error is returned.
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 {Stream}
405
+ * An object stream which emits an object representing {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery} on 'data' event.
406
+ * The client library will perform auto-pagination by default: it will call the API as many
407
+ * times as needed. Note that it can affect your quota.
408
+ * We recommend using `listSampleQueriesAsync()`
409
+ * method described below for async iteration which you can stop as needed.
410
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
411
+ * for more details and examples.
412
+ */
413
+ listSampleQueriesStream(request?: protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, options?: CallOptions): Transform;
414
+ /**
415
+ * Equivalent to `listSampleQueries`, but returns an iterable object.
416
+ *
417
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
418
+ * @param {Object} request
419
+ * The request object that will be sent.
420
+ * @param {string} request.parent
421
+ * Required. The parent sample query set resource name, such as
422
+ * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
423
+ *
424
+ * If the caller does not have permission to list
425
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s under this
426
+ * sample query set, regardless of whether or not this sample query set
427
+ * exists, a `PERMISSION_DENIED` error is returned.
428
+ * @param {number} request.pageSize
429
+ * Maximum number of
430
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}s to return.
431
+ * If unspecified, defaults to 100. The maximum allowed value is 1000. Values
432
+ * above 1000 will be coerced to 1000.
433
+ *
434
+ * If this field is negative, an `INVALID_ARGUMENT` error is returned.
435
+ * @param {string} request.pageToken
436
+ * A page token
437
+ * {@link protos.google.cloud.discoveryengine.v1alpha.ListSampleQueriesResponse.next_page_token|ListSampleQueriesResponse.next_page_token},
438
+ * received from a previous
439
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
440
+ * call. Provide this to retrieve the subsequent page.
441
+ *
442
+ * When paginating, all other parameters provided to
443
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries|SampleQueryService.ListSampleQueries}
444
+ * must match the call that provided the page token. Otherwise, an
445
+ * `INVALID_ARGUMENT` error is returned.
446
+ * @param {object} [options]
447
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
448
+ * @returns {Object}
449
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
450
+ * When you iterate the returned iterable, each element will be an object representing
451
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SampleQuery|SampleQuery}. The API will be called under the hood as needed, once per the page,
452
+ * so you can stop the iteration when you don't need more results.
453
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
454
+ * for more details and examples.
455
+ * @example <caption>include:samples/generated/v1alpha/sample_query_service.list_sample_queries.js</caption>
456
+ * region_tag:discoveryengine_v1alpha_generated_SampleQueryService_ListSampleQueries_async
457
+ */
458
+ listSampleQueriesAsync(request?: protos.google.cloud.discoveryengine.v1alpha.IListSampleQueriesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1alpha.ISampleQuery>;
459
+ /**
460
+ * Gets information about a location.
461
+ *
462
+ * @param {Object} request
463
+ * The request object that will be sent.
464
+ * @param {string} request.name
465
+ * Resource name for the location.
466
+ * @param {object} [options]
467
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
468
+ * @returns {Promise} - The promise which resolves to an array.
469
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
470
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
471
+ * for more details and examples.
472
+ * @example
473
+ * ```
474
+ * const [response] = await client.getLocation(request);
475
+ * ```
476
+ */
477
+ 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>;
478
+ /**
479
+ * Lists information about the supported locations for this service. Returns an iterable object.
480
+ *
481
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
482
+ * @param {Object} request
483
+ * The request object that will be sent.
484
+ * @param {string} request.name
485
+ * The resource that owns the locations collection, if applicable.
486
+ * @param {string} request.filter
487
+ * The standard list filter.
488
+ * @param {number} request.pageSize
489
+ * The standard list page size.
490
+ * @param {string} request.pageToken
491
+ * The standard list page token.
492
+ * @param {object} [options]
493
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
494
+ * @returns {Object}
495
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
496
+ * When you iterate the returned iterable, each element will be an object representing
497
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
498
+ * so you can stop the iteration when you don't need more results.
499
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
500
+ * for more details and examples.
501
+ * @example
502
+ * ```
503
+ * const iterable = client.listLocationsAsync(request);
504
+ * for await (const response of iterable) {
505
+ * // process response
506
+ * }
507
+ * ```
508
+ */
509
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
510
+ /**
511
+ * Gets the latest state of a long-running operation. Clients can use this
512
+ * method to poll the operation result at intervals as recommended by the API
513
+ * service.
514
+ *
515
+ * @param {Object} request - The request object that will be sent.
516
+ * @param {string} request.name - The name of the operation resource.
517
+ * @param {Object=} options
518
+ * Optional parameters. You can override the default settings for this call,
519
+ * e.g, timeout, retries, paginations, etc. See {@link
520
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
521
+ * for the details.
522
+ * @param {function(?Error, ?Object)=} callback
523
+ * The function which will be called with the result of the API call.
524
+ *
525
+ * The second parameter to the callback is an object representing
526
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
527
+ * @return {Promise} - The promise which resolves to an array.
528
+ * The first element of the array is an object representing
529
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
530
+ * The promise has a method named "cancel" which cancels the ongoing API call.
531
+ *
532
+ * @example
533
+ * ```
534
+ * const client = longrunning.operationsClient();
535
+ * const name = '';
536
+ * const [response] = await client.getOperation({name});
537
+ * // doThingsWith(response)
538
+ * ```
539
+ */
540
+ 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]>;
541
+ /**
542
+ * Lists operations that match the specified filter in the request. If the
543
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
544
+ *
545
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
546
+ *
547
+ * @param {Object} request - The request object that will be sent.
548
+ * @param {string} request.name - The name of the operation collection.
549
+ * @param {string} request.filter - The standard list filter.
550
+ * @param {number=} request.pageSize -
551
+ * The maximum number of resources contained in the underlying API
552
+ * response. If page streaming is performed per-resource, this
553
+ * parameter does not affect the return value. If page streaming is
554
+ * performed per-page, this determines the maximum number of
555
+ * resources in a page.
556
+ * @param {Object=} options
557
+ * Optional parameters. You can override the default settings for this call,
558
+ * e.g, timeout, retries, paginations, etc. See {@link
559
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
560
+ * details.
561
+ * @returns {Object}
562
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
563
+ *
564
+ * @example
565
+ * ```
566
+ * const client = longrunning.operationsClient();
567
+ * for await (const response of client.listOperationsAsync(request));
568
+ * // doThingsWith(response)
569
+ * ```
570
+ */
571
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
572
+ /**
573
+ * Starts asynchronous cancellation on a long-running operation. The server
574
+ * makes a best effort to cancel the operation, but success is not
575
+ * guaranteed. If the server doesn't support this method, it returns
576
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
577
+ * {@link Operations.GetOperation} or
578
+ * other methods to check whether the cancellation succeeded or whether the
579
+ * operation completed despite cancellation. On successful cancellation,
580
+ * the operation is not deleted; instead, it becomes an operation with
581
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
582
+ * 1, corresponding to `Code.CANCELLED`.
583
+ *
584
+ * @param {Object} request - The request object that will be sent.
585
+ * @param {string} request.name - The name of the operation resource to be cancelled.
586
+ * @param {Object=} options
587
+ * Optional parameters. You can override the default settings for this call,
588
+ * e.g, timeout, retries, paginations, etc. See {@link
589
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
590
+ * details.
591
+ * @param {function(?Error)=} callback
592
+ * The function which will be called with the result of the API call.
593
+ * @return {Promise} - The promise which resolves when API call finishes.
594
+ * The promise has a method named "cancel" which cancels the ongoing API
595
+ * call.
596
+ *
597
+ * @example
598
+ * ```
599
+ * const client = longrunning.operationsClient();
600
+ * await client.cancelOperation({name: ''});
601
+ * ```
602
+ */
603
+ 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>;
604
+ /**
605
+ * Deletes a long-running operation. This method indicates that the client is
606
+ * no longer interested in the operation result. It does not cancel the
607
+ * operation. If the server doesn't support this method, it returns
608
+ * `google.rpc.Code.UNIMPLEMENTED`.
609
+ *
610
+ * @param {Object} request - The request object that will be sent.
611
+ * @param {string} request.name - The name of the operation resource to be deleted.
612
+ * @param {Object=} options
613
+ * Optional parameters. You can override the default settings for this call,
614
+ * e.g, timeout, retries, paginations, etc. See {@link
615
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
616
+ * for the details.
617
+ * @param {function(?Error)=} callback
618
+ * The function which will be called with the result of the API call.
619
+ * @return {Promise} - The promise which resolves when API call finishes.
620
+ * The promise has a method named "cancel" which cancels the ongoing API
621
+ * call.
622
+ *
623
+ * @example
624
+ * ```
625
+ * const client = longrunning.operationsClient();
626
+ * await client.deleteOperation({name: ''});
627
+ * ```
628
+ */
629
+ 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>;
630
+ /**
631
+ * Return a fully-qualified aclConfig resource name string.
632
+ *
633
+ * @param {string} project
634
+ * @param {string} location
635
+ * @returns {string} Resource name string.
636
+ */
637
+ aclConfigPath(project: string, location: string): string;
638
+ /**
639
+ * Parse the project from AclConfig resource.
640
+ *
641
+ * @param {string} aclConfigName
642
+ * A fully-qualified path representing AclConfig resource.
643
+ * @returns {string} A string representing the project.
644
+ */
645
+ matchProjectFromAclConfigName(aclConfigName: string): string | number;
646
+ /**
647
+ * Parse the location from AclConfig resource.
648
+ *
649
+ * @param {string} aclConfigName
650
+ * A fully-qualified path representing AclConfig resource.
651
+ * @returns {string} A string representing the location.
652
+ */
653
+ matchLocationFromAclConfigName(aclConfigName: string): string | number;
654
+ /**
655
+ * Return a fully-qualified engine resource name string.
656
+ *
657
+ * @param {string} project
658
+ * @param {string} location
659
+ * @param {string} collection
660
+ * @param {string} engine
661
+ * @returns {string} Resource name string.
662
+ */
663
+ enginePath(project: string, location: string, collection: string, engine: string): string;
664
+ /**
665
+ * Parse the project from Engine resource.
666
+ *
667
+ * @param {string} engineName
668
+ * A fully-qualified path representing Engine resource.
669
+ * @returns {string} A string representing the project.
670
+ */
671
+ matchProjectFromEngineName(engineName: string): string | number;
672
+ /**
673
+ * Parse the location from Engine resource.
674
+ *
675
+ * @param {string} engineName
676
+ * A fully-qualified path representing Engine resource.
677
+ * @returns {string} A string representing the location.
678
+ */
679
+ matchLocationFromEngineName(engineName: string): string | number;
680
+ /**
681
+ * Parse the collection from Engine resource.
682
+ *
683
+ * @param {string} engineName
684
+ * A fully-qualified path representing Engine resource.
685
+ * @returns {string} A string representing the collection.
686
+ */
687
+ matchCollectionFromEngineName(engineName: string): string | number;
688
+ /**
689
+ * Parse the engine from Engine resource.
690
+ *
691
+ * @param {string} engineName
692
+ * A fully-qualified path representing Engine resource.
693
+ * @returns {string} A string representing the engine.
694
+ */
695
+ matchEngineFromEngineName(engineName: string): string | number;
696
+ /**
697
+ * Return a fully-qualified evaluation resource name string.
698
+ *
699
+ * @param {string} project
700
+ * @param {string} location
701
+ * @param {string} evaluation
702
+ * @returns {string} Resource name string.
703
+ */
704
+ evaluationPath(project: string, location: string, evaluation: string): string;
705
+ /**
706
+ * Parse the project from Evaluation resource.
707
+ *
708
+ * @param {string} evaluationName
709
+ * A fully-qualified path representing Evaluation resource.
710
+ * @returns {string} A string representing the project.
711
+ */
712
+ matchProjectFromEvaluationName(evaluationName: string): string | number;
713
+ /**
714
+ * Parse the location from Evaluation resource.
715
+ *
716
+ * @param {string} evaluationName
717
+ * A fully-qualified path representing Evaluation resource.
718
+ * @returns {string} A string representing the location.
719
+ */
720
+ matchLocationFromEvaluationName(evaluationName: string): string | number;
721
+ /**
722
+ * Parse the evaluation from Evaluation resource.
723
+ *
724
+ * @param {string} evaluationName
725
+ * A fully-qualified path representing Evaluation resource.
726
+ * @returns {string} A string representing the evaluation.
727
+ */
728
+ matchEvaluationFromEvaluationName(evaluationName: string): string | number;
729
+ /**
730
+ * Return a fully-qualified project resource name string.
731
+ *
732
+ * @param {string} project
733
+ * @returns {string} Resource name string.
734
+ */
735
+ projectPath(project: string): string;
736
+ /**
737
+ * Parse the project from Project resource.
738
+ *
739
+ * @param {string} projectName
740
+ * A fully-qualified path representing Project resource.
741
+ * @returns {string} A string representing the project.
742
+ */
743
+ matchProjectFromProjectName(projectName: string): string | number;
744
+ /**
745
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
746
+ *
747
+ * @param {string} project
748
+ * @param {string} location
749
+ * @param {string} collection
750
+ * @param {string} data_store
751
+ * @returns {string} Resource name string.
752
+ */
753
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
754
+ /**
755
+ * Parse the project from ProjectLocationCollectionDataStore resource.
756
+ *
757
+ * @param {string} projectLocationCollectionDataStoreName
758
+ * A fully-qualified path representing project_location_collection_data_store resource.
759
+ * @returns {string} A string representing the project.
760
+ */
761
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
762
+ /**
763
+ * Parse the location from ProjectLocationCollectionDataStore resource.
764
+ *
765
+ * @param {string} projectLocationCollectionDataStoreName
766
+ * A fully-qualified path representing project_location_collection_data_store resource.
767
+ * @returns {string} A string representing the location.
768
+ */
769
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
770
+ /**
771
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
772
+ *
773
+ * @param {string} projectLocationCollectionDataStoreName
774
+ * A fully-qualified path representing project_location_collection_data_store resource.
775
+ * @returns {string} A string representing the collection.
776
+ */
777
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
778
+ /**
779
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
780
+ *
781
+ * @param {string} projectLocationCollectionDataStoreName
782
+ * A fully-qualified path representing project_location_collection_data_store resource.
783
+ * @returns {string} A string representing the data_store.
784
+ */
785
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
786
+ /**
787
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
788
+ *
789
+ * @param {string} project
790
+ * @param {string} location
791
+ * @param {string} collection
792
+ * @param {string} data_store
793
+ * @param {string} branch
794
+ * @param {string} document
795
+ * @returns {string} Resource name string.
796
+ */
797
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
798
+ /**
799
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
800
+ *
801
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
802
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
803
+ * @returns {string} A string representing the project.
804
+ */
805
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
806
+ /**
807
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
808
+ *
809
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
810
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
811
+ * @returns {string} A string representing the location.
812
+ */
813
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
814
+ /**
815
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
816
+ *
817
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
818
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
819
+ * @returns {string} A string representing the collection.
820
+ */
821
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
822
+ /**
823
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
824
+ *
825
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
826
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
827
+ * @returns {string} A string representing the data_store.
828
+ */
829
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
830
+ /**
831
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
832
+ *
833
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
834
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
835
+ * @returns {string} A string representing the branch.
836
+ */
837
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
838
+ /**
839
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
840
+ *
841
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
842
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
843
+ * @returns {string} A string representing the document.
844
+ */
845
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
846
+ /**
847
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
848
+ *
849
+ * @param {string} project
850
+ * @param {string} location
851
+ * @param {string} collection
852
+ * @param {string} data_store
853
+ * @param {string} branch
854
+ * @param {string} document
855
+ * @param {string} chunk
856
+ * @returns {string} Resource name string.
857
+ */
858
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
859
+ /**
860
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
861
+ *
862
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
863
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
864
+ * @returns {string} A string representing the project.
865
+ */
866
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
867
+ /**
868
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
869
+ *
870
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
871
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
872
+ * @returns {string} A string representing the location.
873
+ */
874
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
875
+ /**
876
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
877
+ *
878
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
879
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
880
+ * @returns {string} A string representing the collection.
881
+ */
882
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
883
+ /**
884
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
885
+ *
886
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
887
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
888
+ * @returns {string} A string representing the data_store.
889
+ */
890
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
891
+ /**
892
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
893
+ *
894
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
895
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
896
+ * @returns {string} A string representing the branch.
897
+ */
898
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
899
+ /**
900
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
901
+ *
902
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
903
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
904
+ * @returns {string} A string representing the document.
905
+ */
906
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
907
+ /**
908
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
909
+ *
910
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
911
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
912
+ * @returns {string} A string representing the chunk.
913
+ */
914
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
915
+ /**
916
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
917
+ *
918
+ * @param {string} project
919
+ * @param {string} location
920
+ * @param {string} collection
921
+ * @param {string} data_store
922
+ * @param {string} control
923
+ * @returns {string} Resource name string.
924
+ */
925
+ projectLocationCollectionDataStoreControlPath(project: string, location: string, collection: string, dataStore: string, control: string): string;
926
+ /**
927
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
928
+ *
929
+ * @param {string} projectLocationCollectionDataStoreControlName
930
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
931
+ * @returns {string} A string representing the project.
932
+ */
933
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
934
+ /**
935
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
936
+ *
937
+ * @param {string} projectLocationCollectionDataStoreControlName
938
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
939
+ * @returns {string} A string representing the location.
940
+ */
941
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
942
+ /**
943
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
944
+ *
945
+ * @param {string} projectLocationCollectionDataStoreControlName
946
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
947
+ * @returns {string} A string representing the collection.
948
+ */
949
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
950
+ /**
951
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
952
+ *
953
+ * @param {string} projectLocationCollectionDataStoreControlName
954
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
955
+ * @returns {string} A string representing the data_store.
956
+ */
957
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
958
+ /**
959
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
960
+ *
961
+ * @param {string} projectLocationCollectionDataStoreControlName
962
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
963
+ * @returns {string} A string representing the control.
964
+ */
965
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
966
+ /**
967
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
968
+ *
969
+ * @param {string} project
970
+ * @param {string} location
971
+ * @param {string} collection
972
+ * @param {string} data_store
973
+ * @param {string} conversation
974
+ * @returns {string} Resource name string.
975
+ */
976
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
977
+ /**
978
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
979
+ *
980
+ * @param {string} projectLocationCollectionDataStoreConversationName
981
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
982
+ * @returns {string} A string representing the project.
983
+ */
984
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
985
+ /**
986
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
987
+ *
988
+ * @param {string} projectLocationCollectionDataStoreConversationName
989
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
990
+ * @returns {string} A string representing the location.
991
+ */
992
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
993
+ /**
994
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
995
+ *
996
+ * @param {string} projectLocationCollectionDataStoreConversationName
997
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
998
+ * @returns {string} A string representing the collection.
999
+ */
1000
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
1001
+ /**
1002
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
1003
+ *
1004
+ * @param {string} projectLocationCollectionDataStoreConversationName
1005
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
1006
+ * @returns {string} A string representing the data_store.
1007
+ */
1008
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
1009
+ /**
1010
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
1011
+ *
1012
+ * @param {string} projectLocationCollectionDataStoreConversationName
1013
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
1014
+ * @returns {string} A string representing the conversation.
1015
+ */
1016
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
1017
+ /**
1018
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1019
+ *
1020
+ * @param {string} project
1021
+ * @param {string} location
1022
+ * @param {string} collection
1023
+ * @param {string} data_store
1024
+ * @param {string} custom_tuning_model
1025
+ * @returns {string} Resource name string.
1026
+ */
1027
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
1028
+ /**
1029
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1030
+ *
1031
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1032
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1033
+ * @returns {string} A string representing the project.
1034
+ */
1035
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1036
+ /**
1037
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1038
+ *
1039
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1040
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1041
+ * @returns {string} A string representing the location.
1042
+ */
1043
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1044
+ /**
1045
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1046
+ *
1047
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1048
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1049
+ * @returns {string} A string representing the collection.
1050
+ */
1051
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1052
+ /**
1053
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1054
+ *
1055
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1056
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1057
+ * @returns {string} A string representing the data_store.
1058
+ */
1059
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1060
+ /**
1061
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1062
+ *
1063
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1064
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1065
+ * @returns {string} A string representing the custom_tuning_model.
1066
+ */
1067
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1068
+ /**
1069
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1070
+ *
1071
+ * @param {string} project
1072
+ * @param {string} location
1073
+ * @param {string} collection
1074
+ * @param {string} data_store
1075
+ * @returns {string} Resource name string.
1076
+ */
1077
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
1078
+ /**
1079
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1080
+ *
1081
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1082
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1083
+ * @returns {string} A string representing the project.
1084
+ */
1085
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
1086
+ /**
1087
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1088
+ *
1089
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1090
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1091
+ * @returns {string} A string representing the location.
1092
+ */
1093
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
1094
+ /**
1095
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1096
+ *
1097
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1098
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1099
+ * @returns {string} A string representing the collection.
1100
+ */
1101
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
1102
+ /**
1103
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1104
+ *
1105
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1106
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1107
+ * @returns {string} A string representing the data_store.
1108
+ */
1109
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
1110
+ /**
1111
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1112
+ *
1113
+ * @param {string} project
1114
+ * @param {string} location
1115
+ * @param {string} collection
1116
+ * @param {string} data_store
1117
+ * @param {string} schema
1118
+ * @returns {string} Resource name string.
1119
+ */
1120
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
1121
+ /**
1122
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
1123
+ *
1124
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1125
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1126
+ * @returns {string} A string representing the project.
1127
+ */
1128
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1129
+ /**
1130
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
1131
+ *
1132
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1133
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1134
+ * @returns {string} A string representing the location.
1135
+ */
1136
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1137
+ /**
1138
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1141
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1142
+ * @returns {string} A string representing the collection.
1143
+ */
1144
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1145
+ /**
1146
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
1147
+ *
1148
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1149
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1150
+ * @returns {string} A string representing the data_store.
1151
+ */
1152
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1153
+ /**
1154
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
1155
+ *
1156
+ * @param {string} projectLocationCollectionDataStoreSchemaName
1157
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
1158
+ * @returns {string} A string representing the schema.
1159
+ */
1160
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
1161
+ /**
1162
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1163
+ *
1164
+ * @param {string} project
1165
+ * @param {string} location
1166
+ * @param {string} collection
1167
+ * @param {string} data_store
1168
+ * @param {string} serving_config
1169
+ * @returns {string} Resource name string.
1170
+ */
1171
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
1172
+ /**
1173
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1174
+ *
1175
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1176
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1177
+ * @returns {string} A string representing the project.
1178
+ */
1179
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1180
+ /**
1181
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1182
+ *
1183
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1184
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1185
+ * @returns {string} A string representing the location.
1186
+ */
1187
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1188
+ /**
1189
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1190
+ *
1191
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1192
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1193
+ * @returns {string} A string representing the collection.
1194
+ */
1195
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1196
+ /**
1197
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1198
+ *
1199
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1200
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1201
+ * @returns {string} A string representing the data_store.
1202
+ */
1203
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1204
+ /**
1205
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1206
+ *
1207
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1208
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1209
+ * @returns {string} A string representing the serving_config.
1210
+ */
1211
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1212
+ /**
1213
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1214
+ *
1215
+ * @param {string} project
1216
+ * @param {string} location
1217
+ * @param {string} collection
1218
+ * @param {string} data_store
1219
+ * @param {string} session
1220
+ * @returns {string} Resource name string.
1221
+ */
1222
+ projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
1223
+ /**
1224
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1225
+ *
1226
+ * @param {string} projectLocationCollectionDataStoreSessionName
1227
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1228
+ * @returns {string} A string representing the project.
1229
+ */
1230
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1231
+ /**
1232
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1233
+ *
1234
+ * @param {string} projectLocationCollectionDataStoreSessionName
1235
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1236
+ * @returns {string} A string representing the location.
1237
+ */
1238
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1239
+ /**
1240
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1241
+ *
1242
+ * @param {string} projectLocationCollectionDataStoreSessionName
1243
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1244
+ * @returns {string} A string representing the collection.
1245
+ */
1246
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1247
+ /**
1248
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1249
+ *
1250
+ * @param {string} projectLocationCollectionDataStoreSessionName
1251
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1252
+ * @returns {string} A string representing the data_store.
1253
+ */
1254
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1255
+ /**
1256
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1257
+ *
1258
+ * @param {string} projectLocationCollectionDataStoreSessionName
1259
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1260
+ * @returns {string} A string representing the session.
1261
+ */
1262
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
1263
+ /**
1264
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1265
+ *
1266
+ * @param {string} project
1267
+ * @param {string} location
1268
+ * @param {string} collection
1269
+ * @param {string} data_store
1270
+ * @param {string} session
1271
+ * @param {string} answer
1272
+ * @returns {string} Resource name string.
1273
+ */
1274
+ projectLocationCollectionDataStoreSessionAnswerPath(project: string, location: string, collection: string, dataStore: string, session: string, answer: string): string;
1275
+ /**
1276
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1277
+ *
1278
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1279
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1280
+ * @returns {string} A string representing the project.
1281
+ */
1282
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1283
+ /**
1284
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1285
+ *
1286
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1287
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1288
+ * @returns {string} A string representing the location.
1289
+ */
1290
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1291
+ /**
1292
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1293
+ *
1294
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1295
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1296
+ * @returns {string} A string representing the collection.
1297
+ */
1298
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1299
+ /**
1300
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1301
+ *
1302
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1303
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1304
+ * @returns {string} A string representing the data_store.
1305
+ */
1306
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1307
+ /**
1308
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1309
+ *
1310
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1311
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1312
+ * @returns {string} A string representing the session.
1313
+ */
1314
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1315
+ /**
1316
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1317
+ *
1318
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1319
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1320
+ * @returns {string} A string representing the answer.
1321
+ */
1322
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
1323
+ /**
1324
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1325
+ *
1326
+ * @param {string} project
1327
+ * @param {string} location
1328
+ * @param {string} collection
1329
+ * @param {string} data_store
1330
+ * @returns {string} Resource name string.
1331
+ */
1332
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
1333
+ /**
1334
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1335
+ *
1336
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1337
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1338
+ * @returns {string} A string representing the project.
1339
+ */
1340
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1341
+ /**
1342
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1343
+ *
1344
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1345
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1346
+ * @returns {string} A string representing the location.
1347
+ */
1348
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1349
+ /**
1350
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1351
+ *
1352
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1353
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1354
+ * @returns {string} A string representing the collection.
1355
+ */
1356
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1357
+ /**
1358
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1359
+ *
1360
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1361
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1362
+ * @returns {string} A string representing the data_store.
1363
+ */
1364
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1365
+ /**
1366
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1367
+ *
1368
+ * @param {string} project
1369
+ * @param {string} location
1370
+ * @param {string} collection
1371
+ * @param {string} data_store
1372
+ * @param {string} target_site
1373
+ * @returns {string} Resource name string.
1374
+ */
1375
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
1376
+ /**
1377
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1378
+ *
1379
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1380
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1381
+ * @returns {string} A string representing the project.
1382
+ */
1383
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1384
+ /**
1385
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1386
+ *
1387
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1388
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1389
+ * @returns {string} A string representing the location.
1390
+ */
1391
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1392
+ /**
1393
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1394
+ *
1395
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1396
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1397
+ * @returns {string} A string representing the collection.
1398
+ */
1399
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1400
+ /**
1401
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1402
+ *
1403
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1404
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1405
+ * @returns {string} A string representing the data_store.
1406
+ */
1407
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1408
+ /**
1409
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1410
+ *
1411
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1412
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1413
+ * @returns {string} A string representing the target_site.
1414
+ */
1415
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1416
+ /**
1417
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1418
+ *
1419
+ * @param {string} project
1420
+ * @param {string} location
1421
+ * @param {string} collection
1422
+ * @param {string} engine
1423
+ * @param {string} control
1424
+ * @returns {string} Resource name string.
1425
+ */
1426
+ projectLocationCollectionEngineControlPath(project: string, location: string, collection: string, engine: string, control: string): string;
1427
+ /**
1428
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1429
+ *
1430
+ * @param {string} projectLocationCollectionEngineControlName
1431
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1432
+ * @returns {string} A string representing the project.
1433
+ */
1434
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1435
+ /**
1436
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1437
+ *
1438
+ * @param {string} projectLocationCollectionEngineControlName
1439
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1440
+ * @returns {string} A string representing the location.
1441
+ */
1442
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1443
+ /**
1444
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1445
+ *
1446
+ * @param {string} projectLocationCollectionEngineControlName
1447
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1448
+ * @returns {string} A string representing the collection.
1449
+ */
1450
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1451
+ /**
1452
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1453
+ *
1454
+ * @param {string} projectLocationCollectionEngineControlName
1455
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1456
+ * @returns {string} A string representing the engine.
1457
+ */
1458
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1459
+ /**
1460
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1461
+ *
1462
+ * @param {string} projectLocationCollectionEngineControlName
1463
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1464
+ * @returns {string} A string representing the control.
1465
+ */
1466
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1467
+ /**
1468
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1469
+ *
1470
+ * @param {string} project
1471
+ * @param {string} location
1472
+ * @param {string} collection
1473
+ * @param {string} engine
1474
+ * @param {string} conversation
1475
+ * @returns {string} Resource name string.
1476
+ */
1477
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
1478
+ /**
1479
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1480
+ *
1481
+ * @param {string} projectLocationCollectionEngineConversationName
1482
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1483
+ * @returns {string} A string representing the project.
1484
+ */
1485
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1486
+ /**
1487
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1488
+ *
1489
+ * @param {string} projectLocationCollectionEngineConversationName
1490
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1491
+ * @returns {string} A string representing the location.
1492
+ */
1493
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1494
+ /**
1495
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1496
+ *
1497
+ * @param {string} projectLocationCollectionEngineConversationName
1498
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1499
+ * @returns {string} A string representing the collection.
1500
+ */
1501
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1502
+ /**
1503
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1504
+ *
1505
+ * @param {string} projectLocationCollectionEngineConversationName
1506
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1507
+ * @returns {string} A string representing the engine.
1508
+ */
1509
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1510
+ /**
1511
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1512
+ *
1513
+ * @param {string} projectLocationCollectionEngineConversationName
1514
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1515
+ * @returns {string} A string representing the conversation.
1516
+ */
1517
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1518
+ /**
1519
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1520
+ *
1521
+ * @param {string} project
1522
+ * @param {string} location
1523
+ * @param {string} collection
1524
+ * @param {string} engine
1525
+ * @param {string} serving_config
1526
+ * @returns {string} Resource name string.
1527
+ */
1528
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1529
+ /**
1530
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionEngineServingConfigName
1533
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1534
+ * @returns {string} A string representing the project.
1535
+ */
1536
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1537
+ /**
1538
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1539
+ *
1540
+ * @param {string} projectLocationCollectionEngineServingConfigName
1541
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1542
+ * @returns {string} A string representing the location.
1543
+ */
1544
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1545
+ /**
1546
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1547
+ *
1548
+ * @param {string} projectLocationCollectionEngineServingConfigName
1549
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1550
+ * @returns {string} A string representing the collection.
1551
+ */
1552
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1553
+ /**
1554
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1555
+ *
1556
+ * @param {string} projectLocationCollectionEngineServingConfigName
1557
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1558
+ * @returns {string} A string representing the engine.
1559
+ */
1560
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1561
+ /**
1562
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1563
+ *
1564
+ * @param {string} projectLocationCollectionEngineServingConfigName
1565
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1566
+ * @returns {string} A string representing the serving_config.
1567
+ */
1568
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1569
+ /**
1570
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1571
+ *
1572
+ * @param {string} project
1573
+ * @param {string} location
1574
+ * @param {string} collection
1575
+ * @param {string} engine
1576
+ * @param {string} session
1577
+ * @returns {string} Resource name string.
1578
+ */
1579
+ projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
1580
+ /**
1581
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1582
+ *
1583
+ * @param {string} projectLocationCollectionEngineSessionName
1584
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1585
+ * @returns {string} A string representing the project.
1586
+ */
1587
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1588
+ /**
1589
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1590
+ *
1591
+ * @param {string} projectLocationCollectionEngineSessionName
1592
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1593
+ * @returns {string} A string representing the location.
1594
+ */
1595
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1596
+ /**
1597
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1598
+ *
1599
+ * @param {string} projectLocationCollectionEngineSessionName
1600
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1601
+ * @returns {string} A string representing the collection.
1602
+ */
1603
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1604
+ /**
1605
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1606
+ *
1607
+ * @param {string} projectLocationCollectionEngineSessionName
1608
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1609
+ * @returns {string} A string representing the engine.
1610
+ */
1611
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1612
+ /**
1613
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1614
+ *
1615
+ * @param {string} projectLocationCollectionEngineSessionName
1616
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1617
+ * @returns {string} A string representing the session.
1618
+ */
1619
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
1620
+ /**
1621
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1622
+ *
1623
+ * @param {string} project
1624
+ * @param {string} location
1625
+ * @param {string} collection
1626
+ * @param {string} engine
1627
+ * @param {string} session
1628
+ * @param {string} answer
1629
+ * @returns {string} Resource name string.
1630
+ */
1631
+ projectLocationCollectionEngineSessionAnswerPath(project: string, location: string, collection: string, engine: string, session: string, answer: string): string;
1632
+ /**
1633
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1634
+ *
1635
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1636
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1637
+ * @returns {string} A string representing the project.
1638
+ */
1639
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1640
+ /**
1641
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1642
+ *
1643
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1644
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1645
+ * @returns {string} A string representing the location.
1646
+ */
1647
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1648
+ /**
1649
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1650
+ *
1651
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1652
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1653
+ * @returns {string} A string representing the collection.
1654
+ */
1655
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1656
+ /**
1657
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1658
+ *
1659
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1660
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1661
+ * @returns {string} A string representing the engine.
1662
+ */
1663
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1664
+ /**
1665
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1666
+ *
1667
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1668
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1669
+ * @returns {string} A string representing the session.
1670
+ */
1671
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1672
+ /**
1673
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1674
+ *
1675
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1676
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1677
+ * @returns {string} A string representing the answer.
1678
+ */
1679
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
1680
+ /**
1681
+ * Return a fully-qualified projectLocationDataStore resource name string.
1682
+ *
1683
+ * @param {string} project
1684
+ * @param {string} location
1685
+ * @param {string} data_store
1686
+ * @returns {string} Resource name string.
1687
+ */
1688
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1689
+ /**
1690
+ * Parse the project from ProjectLocationDataStore resource.
1691
+ *
1692
+ * @param {string} projectLocationDataStoreName
1693
+ * A fully-qualified path representing project_location_data_store resource.
1694
+ * @returns {string} A string representing the project.
1695
+ */
1696
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1697
+ /**
1698
+ * Parse the location from ProjectLocationDataStore resource.
1699
+ *
1700
+ * @param {string} projectLocationDataStoreName
1701
+ * A fully-qualified path representing project_location_data_store resource.
1702
+ * @returns {string} A string representing the location.
1703
+ */
1704
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1705
+ /**
1706
+ * Parse the data_store from ProjectLocationDataStore resource.
1707
+ *
1708
+ * @param {string} projectLocationDataStoreName
1709
+ * A fully-qualified path representing project_location_data_store resource.
1710
+ * @returns {string} A string representing the data_store.
1711
+ */
1712
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1713
+ /**
1714
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
1715
+ *
1716
+ * @param {string} project
1717
+ * @param {string} location
1718
+ * @param {string} data_store
1719
+ * @param {string} branch
1720
+ * @param {string} document
1721
+ * @returns {string} Resource name string.
1722
+ */
1723
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
1724
+ /**
1725
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
1726
+ *
1727
+ * @param {string} projectLocationDataStoreBranchDocumentName
1728
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1729
+ * @returns {string} A string representing the project.
1730
+ */
1731
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1732
+ /**
1733
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
1734
+ *
1735
+ * @param {string} projectLocationDataStoreBranchDocumentName
1736
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1737
+ * @returns {string} A string representing the location.
1738
+ */
1739
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1740
+ /**
1741
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
1742
+ *
1743
+ * @param {string} projectLocationDataStoreBranchDocumentName
1744
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1745
+ * @returns {string} A string representing the data_store.
1746
+ */
1747
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1748
+ /**
1749
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
1750
+ *
1751
+ * @param {string} projectLocationDataStoreBranchDocumentName
1752
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1753
+ * @returns {string} A string representing the branch.
1754
+ */
1755
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1756
+ /**
1757
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
1758
+ *
1759
+ * @param {string} projectLocationDataStoreBranchDocumentName
1760
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
1761
+ * @returns {string} A string representing the document.
1762
+ */
1763
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1764
+ /**
1765
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1766
+ *
1767
+ * @param {string} project
1768
+ * @param {string} location
1769
+ * @param {string} data_store
1770
+ * @param {string} branch
1771
+ * @param {string} document
1772
+ * @param {string} chunk
1773
+ * @returns {string} Resource name string.
1774
+ */
1775
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1776
+ /**
1777
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1778
+ *
1779
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1780
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1781
+ * @returns {string} A string representing the project.
1782
+ */
1783
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1784
+ /**
1785
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1786
+ *
1787
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1788
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1789
+ * @returns {string} A string representing the location.
1790
+ */
1791
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1792
+ /**
1793
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1794
+ *
1795
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1796
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1797
+ * @returns {string} A string representing the data_store.
1798
+ */
1799
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1800
+ /**
1801
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1802
+ *
1803
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1804
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1805
+ * @returns {string} A string representing the branch.
1806
+ */
1807
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1808
+ /**
1809
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1810
+ *
1811
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1812
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1813
+ * @returns {string} A string representing the document.
1814
+ */
1815
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1816
+ /**
1817
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1818
+ *
1819
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1820
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1821
+ * @returns {string} A string representing the chunk.
1822
+ */
1823
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1824
+ /**
1825
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
1826
+ *
1827
+ * @param {string} project
1828
+ * @param {string} location
1829
+ * @param {string} data_store
1830
+ * @param {string} control
1831
+ * @returns {string} Resource name string.
1832
+ */
1833
+ projectLocationDataStoreControlPath(project: string, location: string, dataStore: string, control: string): string;
1834
+ /**
1835
+ * Parse the project from ProjectLocationDataStoreControl resource.
1836
+ *
1837
+ * @param {string} projectLocationDataStoreControlName
1838
+ * A fully-qualified path representing project_location_data_store_control resource.
1839
+ * @returns {string} A string representing the project.
1840
+ */
1841
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1842
+ /**
1843
+ * Parse the location from ProjectLocationDataStoreControl resource.
1844
+ *
1845
+ * @param {string} projectLocationDataStoreControlName
1846
+ * A fully-qualified path representing project_location_data_store_control resource.
1847
+ * @returns {string} A string representing the location.
1848
+ */
1849
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1850
+ /**
1851
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
1852
+ *
1853
+ * @param {string} projectLocationDataStoreControlName
1854
+ * A fully-qualified path representing project_location_data_store_control resource.
1855
+ * @returns {string} A string representing the data_store.
1856
+ */
1857
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1858
+ /**
1859
+ * Parse the control from ProjectLocationDataStoreControl resource.
1860
+ *
1861
+ * @param {string} projectLocationDataStoreControlName
1862
+ * A fully-qualified path representing project_location_data_store_control resource.
1863
+ * @returns {string} A string representing the control.
1864
+ */
1865
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1866
+ /**
1867
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1868
+ *
1869
+ * @param {string} project
1870
+ * @param {string} location
1871
+ * @param {string} data_store
1872
+ * @param {string} conversation
1873
+ * @returns {string} Resource name string.
1874
+ */
1875
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
1876
+ /**
1877
+ * Parse the project from ProjectLocationDataStoreConversation resource.
1878
+ *
1879
+ * @param {string} projectLocationDataStoreConversationName
1880
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1881
+ * @returns {string} A string representing the project.
1882
+ */
1883
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1884
+ /**
1885
+ * Parse the location from ProjectLocationDataStoreConversation resource.
1886
+ *
1887
+ * @param {string} projectLocationDataStoreConversationName
1888
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1889
+ * @returns {string} A string representing the location.
1890
+ */
1891
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1892
+ /**
1893
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
1894
+ *
1895
+ * @param {string} projectLocationDataStoreConversationName
1896
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1897
+ * @returns {string} A string representing the data_store.
1898
+ */
1899
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1900
+ /**
1901
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
1902
+ *
1903
+ * @param {string} projectLocationDataStoreConversationName
1904
+ * A fully-qualified path representing project_location_data_store_conversation resource.
1905
+ * @returns {string} A string representing the conversation.
1906
+ */
1907
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1908
+ /**
1909
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
1910
+ *
1911
+ * @param {string} project
1912
+ * @param {string} location
1913
+ * @param {string} data_store
1914
+ * @param {string} custom_tuning_model
1915
+ * @returns {string} Resource name string.
1916
+ */
1917
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
1918
+ /**
1919
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
1920
+ *
1921
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1922
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1923
+ * @returns {string} A string representing the project.
1924
+ */
1925
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1926
+ /**
1927
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
1928
+ *
1929
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1930
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1931
+ * @returns {string} A string representing the location.
1932
+ */
1933
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1934
+ /**
1935
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
1936
+ *
1937
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1938
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1939
+ * @returns {string} A string representing the data_store.
1940
+ */
1941
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1942
+ /**
1943
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
1944
+ *
1945
+ * @param {string} projectLocationDataStoreCustomTuningModelName
1946
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
1947
+ * @returns {string} A string representing the custom_tuning_model.
1948
+ */
1949
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1950
+ /**
1951
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1952
+ *
1953
+ * @param {string} project
1954
+ * @param {string} location
1955
+ * @param {string} data_store
1956
+ * @returns {string} Resource name string.
1957
+ */
1958
+ projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
1959
+ /**
1960
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1961
+ *
1962
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1963
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1964
+ * @returns {string} A string representing the project.
1965
+ */
1966
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1967
+ /**
1968
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1969
+ *
1970
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1971
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1972
+ * @returns {string} A string representing the location.
1973
+ */
1974
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1975
+ /**
1976
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1977
+ *
1978
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1979
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1980
+ * @returns {string} A string representing the data_store.
1981
+ */
1982
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1983
+ /**
1984
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1985
+ *
1986
+ * @param {string} project
1987
+ * @param {string} location
1988
+ * @param {string} data_store
1989
+ * @param {string} schema
1990
+ * @returns {string} Resource name string.
1991
+ */
1992
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
1993
+ /**
1994
+ * Parse the project from ProjectLocationDataStoreSchema resource.
1995
+ *
1996
+ * @param {string} projectLocationDataStoreSchemaName
1997
+ * A fully-qualified path representing project_location_data_store_schema resource.
1998
+ * @returns {string} A string representing the project.
1999
+ */
2000
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
2001
+ /**
2002
+ * Parse the location from ProjectLocationDataStoreSchema resource.
2003
+ *
2004
+ * @param {string} projectLocationDataStoreSchemaName
2005
+ * A fully-qualified path representing project_location_data_store_schema resource.
2006
+ * @returns {string} A string representing the location.
2007
+ */
2008
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
2009
+ /**
2010
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
2011
+ *
2012
+ * @param {string} projectLocationDataStoreSchemaName
2013
+ * A fully-qualified path representing project_location_data_store_schema resource.
2014
+ * @returns {string} A string representing the data_store.
2015
+ */
2016
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
2017
+ /**
2018
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
2019
+ *
2020
+ * @param {string} projectLocationDataStoreSchemaName
2021
+ * A fully-qualified path representing project_location_data_store_schema resource.
2022
+ * @returns {string} A string representing the schema.
2023
+ */
2024
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
2025
+ /**
2026
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2027
+ *
2028
+ * @param {string} project
2029
+ * @param {string} location
2030
+ * @param {string} data_store
2031
+ * @param {string} serving_config
2032
+ * @returns {string} Resource name string.
2033
+ */
2034
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
2035
+ /**
2036
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2037
+ *
2038
+ * @param {string} projectLocationDataStoreServingConfigName
2039
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2040
+ * @returns {string} A string representing the project.
2041
+ */
2042
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
2043
+ /**
2044
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2045
+ *
2046
+ * @param {string} projectLocationDataStoreServingConfigName
2047
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2048
+ * @returns {string} A string representing the location.
2049
+ */
2050
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
2051
+ /**
2052
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2053
+ *
2054
+ * @param {string} projectLocationDataStoreServingConfigName
2055
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2056
+ * @returns {string} A string representing the data_store.
2057
+ */
2058
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
2059
+ /**
2060
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2061
+ *
2062
+ * @param {string} projectLocationDataStoreServingConfigName
2063
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2064
+ * @returns {string} A string representing the serving_config.
2065
+ */
2066
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
2067
+ /**
2068
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2069
+ *
2070
+ * @param {string} project
2071
+ * @param {string} location
2072
+ * @param {string} data_store
2073
+ * @param {string} session
2074
+ * @returns {string} Resource name string.
2075
+ */
2076
+ projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
2077
+ /**
2078
+ * Parse the project from ProjectLocationDataStoreSession resource.
2079
+ *
2080
+ * @param {string} projectLocationDataStoreSessionName
2081
+ * A fully-qualified path representing project_location_data_store_session resource.
2082
+ * @returns {string} A string representing the project.
2083
+ */
2084
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2085
+ /**
2086
+ * Parse the location from ProjectLocationDataStoreSession resource.
2087
+ *
2088
+ * @param {string} projectLocationDataStoreSessionName
2089
+ * A fully-qualified path representing project_location_data_store_session resource.
2090
+ * @returns {string} A string representing the location.
2091
+ */
2092
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2093
+ /**
2094
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2095
+ *
2096
+ * @param {string} projectLocationDataStoreSessionName
2097
+ * A fully-qualified path representing project_location_data_store_session resource.
2098
+ * @returns {string} A string representing the data_store.
2099
+ */
2100
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2101
+ /**
2102
+ * Parse the session from ProjectLocationDataStoreSession resource.
2103
+ *
2104
+ * @param {string} projectLocationDataStoreSessionName
2105
+ * A fully-qualified path representing project_location_data_store_session resource.
2106
+ * @returns {string} A string representing the session.
2107
+ */
2108
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
2109
+ /**
2110
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2111
+ *
2112
+ * @param {string} project
2113
+ * @param {string} location
2114
+ * @param {string} data_store
2115
+ * @param {string} session
2116
+ * @param {string} answer
2117
+ * @returns {string} Resource name string.
2118
+ */
2119
+ projectLocationDataStoreSessionAnswerPath(project: string, location: string, dataStore: string, session: string, answer: string): string;
2120
+ /**
2121
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2122
+ *
2123
+ * @param {string} projectLocationDataStoreSessionAnswerName
2124
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2125
+ * @returns {string} A string representing the project.
2126
+ */
2127
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2128
+ /**
2129
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2130
+ *
2131
+ * @param {string} projectLocationDataStoreSessionAnswerName
2132
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2133
+ * @returns {string} A string representing the location.
2134
+ */
2135
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2136
+ /**
2137
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2138
+ *
2139
+ * @param {string} projectLocationDataStoreSessionAnswerName
2140
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2141
+ * @returns {string} A string representing the data_store.
2142
+ */
2143
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2144
+ /**
2145
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2146
+ *
2147
+ * @param {string} projectLocationDataStoreSessionAnswerName
2148
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2149
+ * @returns {string} A string representing the session.
2150
+ */
2151
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2152
+ /**
2153
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2154
+ *
2155
+ * @param {string} projectLocationDataStoreSessionAnswerName
2156
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2157
+ * @returns {string} A string representing the answer.
2158
+ */
2159
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
2160
+ /**
2161
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2162
+ *
2163
+ * @param {string} project
2164
+ * @param {string} location
2165
+ * @param {string} data_store
2166
+ * @returns {string} Resource name string.
2167
+ */
2168
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
2169
+ /**
2170
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
2171
+ *
2172
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
2173
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
2174
+ * @returns {string} A string representing the project.
2175
+ */
2176
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
2177
+ /**
2178
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
2179
+ *
2180
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
2181
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
2182
+ * @returns {string} A string representing the location.
2183
+ */
2184
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
2185
+ /**
2186
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
2187
+ *
2188
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
2189
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
2190
+ * @returns {string} A string representing the data_store.
2191
+ */
2192
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
2193
+ /**
2194
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
2195
+ *
2196
+ * @param {string} project
2197
+ * @param {string} location
2198
+ * @param {string} data_store
2199
+ * @param {string} target_site
2200
+ * @returns {string} Resource name string.
2201
+ */
2202
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
2203
+ /**
2204
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
2205
+ *
2206
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
2207
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
2208
+ * @returns {string} A string representing the project.
2209
+ */
2210
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2211
+ /**
2212
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
2213
+ *
2214
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
2215
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
2216
+ * @returns {string} A string representing the location.
2217
+ */
2218
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2219
+ /**
2220
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
2221
+ *
2222
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
2223
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
2224
+ * @returns {string} A string representing the data_store.
2225
+ */
2226
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2227
+ /**
2228
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
2229
+ *
2230
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
2231
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
2232
+ * @returns {string} A string representing the target_site.
2233
+ */
2234
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
2235
+ /**
2236
+ * Return a fully-qualified sampleQuery resource name string.
2237
+ *
2238
+ * @param {string} project
2239
+ * @param {string} location
2240
+ * @param {string} sample_query_set
2241
+ * @param {string} sample_query
2242
+ * @returns {string} Resource name string.
2243
+ */
2244
+ sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
2245
+ /**
2246
+ * Parse the project from SampleQuery resource.
2247
+ *
2248
+ * @param {string} sampleQueryName
2249
+ * A fully-qualified path representing SampleQuery resource.
2250
+ * @returns {string} A string representing the project.
2251
+ */
2252
+ matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
2253
+ /**
2254
+ * Parse the location from SampleQuery resource.
2255
+ *
2256
+ * @param {string} sampleQueryName
2257
+ * A fully-qualified path representing SampleQuery resource.
2258
+ * @returns {string} A string representing the location.
2259
+ */
2260
+ matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
2261
+ /**
2262
+ * Parse the sample_query_set from SampleQuery resource.
2263
+ *
2264
+ * @param {string} sampleQueryName
2265
+ * A fully-qualified path representing SampleQuery resource.
2266
+ * @returns {string} A string representing the sample_query_set.
2267
+ */
2268
+ matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
2269
+ /**
2270
+ * Parse the sample_query from SampleQuery resource.
2271
+ *
2272
+ * @param {string} sampleQueryName
2273
+ * A fully-qualified path representing SampleQuery resource.
2274
+ * @returns {string} A string representing the sample_query.
2275
+ */
2276
+ matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
2277
+ /**
2278
+ * Return a fully-qualified sampleQuerySet resource name string.
2279
+ *
2280
+ * @param {string} project
2281
+ * @param {string} location
2282
+ * @param {string} sample_query_set
2283
+ * @returns {string} Resource name string.
2284
+ */
2285
+ sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
2286
+ /**
2287
+ * Parse the project from SampleQuerySet resource.
2288
+ *
2289
+ * @param {string} sampleQuerySetName
2290
+ * A fully-qualified path representing SampleQuerySet resource.
2291
+ * @returns {string} A string representing the project.
2292
+ */
2293
+ matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2294
+ /**
2295
+ * Parse the location from SampleQuerySet resource.
2296
+ *
2297
+ * @param {string} sampleQuerySetName
2298
+ * A fully-qualified path representing SampleQuerySet resource.
2299
+ * @returns {string} A string representing the location.
2300
+ */
2301
+ matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2302
+ /**
2303
+ * Parse the sample_query_set from SampleQuerySet resource.
2304
+ *
2305
+ * @param {string} sampleQuerySetName
2306
+ * A fully-qualified path representing SampleQuerySet resource.
2307
+ * @returns {string} A string representing the sample_query_set.
2308
+ */
2309
+ matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
2310
+ /**
2311
+ * Terminate the gRPC channel and close the client.
2312
+ *
2313
+ * The client will no longer be usable and all future behavior is undefined.
2314
+ * @returns {Promise} A promise that resolves when the client is closed.
2315
+ */
2316
+ close(): Promise<void>;
2317
+ }