@googleapis/discoveryengine 27.1.0 → 28.0.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.
- package/CHANGELOG.md +11 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +734 -680
- package/build/v1.js +152 -40
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +1138 -1265
- package/build/v1alpha.js +252 -118
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +703 -657
- package/build/v1beta.js +152 -40
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1360 -1285
- package/v1alpha.ts +2559 -2762
- package/v1beta.ts +1371 -1315
package/build/v1beta.d.ts
CHANGED
|
@@ -67,341 +67,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
67
67
|
*/
|
|
68
68
|
export class Discoveryengine {
|
|
69
69
|
context: APIRequestContext;
|
|
70
|
-
media: Resource$Media;
|
|
71
70
|
projects: Resource$Projects;
|
|
72
71
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
73
72
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Information to read/write to blobstore2.
|
|
76
|
-
*/
|
|
77
|
-
export interface Schema$GdataBlobstore2Info {
|
|
78
|
-
/**
|
|
79
|
-
* The blob generation id.
|
|
80
|
-
*/
|
|
81
|
-
blobGeneration?: string | null;
|
|
82
|
-
/**
|
|
83
|
-
* The blob id, e.g., /blobstore/prod/playground/scotty
|
|
84
|
-
*/
|
|
85
|
-
blobId?: string | null;
|
|
86
|
-
/**
|
|
87
|
-
* Read handle passed from Bigstore -\> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.
|
|
88
|
-
*/
|
|
89
|
-
downloadReadHandle?: string | null;
|
|
90
|
-
/**
|
|
91
|
-
* The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.
|
|
92
|
-
*/
|
|
93
|
-
readToken?: string | null;
|
|
94
|
-
/**
|
|
95
|
-
* Metadata passed from Blobstore -\> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.
|
|
96
|
-
*/
|
|
97
|
-
uploadMetadataContainer?: string | null;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.
|
|
101
|
-
*/
|
|
102
|
-
export interface Schema$GdataCompositeMedia {
|
|
103
|
-
/**
|
|
104
|
-
* Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.
|
|
105
|
-
*/
|
|
106
|
-
blobRef?: string | null;
|
|
107
|
-
/**
|
|
108
|
-
* Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob.
|
|
109
|
-
*/
|
|
110
|
-
blobstore2Info?: Schema$GdataBlobstore2Info;
|
|
111
|
-
/**
|
|
112
|
-
* A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.
|
|
113
|
-
*/
|
|
114
|
-
cosmoBinaryReference?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* crc32.c hash for the payload.
|
|
117
|
-
*/
|
|
118
|
-
crc32cHash?: number | null;
|
|
119
|
-
/**
|
|
120
|
-
* Media data, set if reference_type is INLINE
|
|
121
|
-
*/
|
|
122
|
-
inline?: string | null;
|
|
123
|
-
/**
|
|
124
|
-
* Size of the data, in bytes
|
|
125
|
-
*/
|
|
126
|
-
length?: string | null;
|
|
127
|
-
/**
|
|
128
|
-
* MD5 hash for the payload.
|
|
129
|
-
*/
|
|
130
|
-
md5Hash?: string | null;
|
|
131
|
-
/**
|
|
132
|
-
* Reference to a TI Blob, set if reference_type is BIGSTORE_REF.
|
|
133
|
-
*/
|
|
134
|
-
objectId?: Schema$GdataObjectId;
|
|
135
|
-
/**
|
|
136
|
-
* Path to the data, set if reference_type is PATH
|
|
137
|
-
*/
|
|
138
|
-
path?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Describes what the field reference contains.
|
|
141
|
-
*/
|
|
142
|
-
referenceType?: string | null;
|
|
143
|
-
/**
|
|
144
|
-
* SHA-1 hash for the payload.
|
|
145
|
-
*/
|
|
146
|
-
sha1Hash?: string | null;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.
|
|
150
|
-
*/
|
|
151
|
-
export interface Schema$GdataContentTypeInfo {
|
|
152
|
-
/**
|
|
153
|
-
* Scotty's best guess of what the content type of the file is.
|
|
154
|
-
*/
|
|
155
|
-
bestGuess?: string | null;
|
|
156
|
-
/**
|
|
157
|
-
* The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file.
|
|
158
|
-
*/
|
|
159
|
-
fromBytes?: string | null;
|
|
160
|
-
/**
|
|
161
|
-
* The content type of the file derived from the file extension of the original file name used by the client.
|
|
162
|
-
*/
|
|
163
|
-
fromFileName?: string | null;
|
|
164
|
-
/**
|
|
165
|
-
* The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.
|
|
166
|
-
*/
|
|
167
|
-
fromHeader?: string | null;
|
|
168
|
-
/**
|
|
169
|
-
* The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).
|
|
170
|
-
*/
|
|
171
|
-
fromUrlPath?: string | null;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
|
|
175
|
-
*/
|
|
176
|
-
export interface Schema$GdataDiffChecksumsResponse {
|
|
177
|
-
/**
|
|
178
|
-
* Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol.
|
|
179
|
-
*/
|
|
180
|
-
checksumsLocation?: Schema$GdataCompositeMedia;
|
|
181
|
-
/**
|
|
182
|
-
* The chunk size of checksums. Must be a multiple of 256KB.
|
|
183
|
-
*/
|
|
184
|
-
chunkSizeBytes?: string | null;
|
|
185
|
-
/**
|
|
186
|
-
* If set, calculate the checksums based on the contents and return them to the caller.
|
|
187
|
-
*/
|
|
188
|
-
objectLocation?: Schema$GdataCompositeMedia;
|
|
189
|
-
/**
|
|
190
|
-
* The total size of the server object.
|
|
191
|
-
*/
|
|
192
|
-
objectSizeBytes?: string | null;
|
|
193
|
-
/**
|
|
194
|
-
* The object version of the object the checksums are being returned for.
|
|
195
|
-
*/
|
|
196
|
-
objectVersion?: string | null;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
|
|
200
|
-
*/
|
|
201
|
-
export interface Schema$GdataDiffDownloadResponse {
|
|
202
|
-
/**
|
|
203
|
-
* The original object location.
|
|
204
|
-
*/
|
|
205
|
-
objectLocation?: Schema$GdataCompositeMedia;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
|
|
209
|
-
*/
|
|
210
|
-
export interface Schema$GdataDiffUploadRequest {
|
|
211
|
-
/**
|
|
212
|
-
* The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol.
|
|
213
|
-
*/
|
|
214
|
-
checksumsInfo?: Schema$GdataCompositeMedia;
|
|
215
|
-
/**
|
|
216
|
-
* The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received.
|
|
217
|
-
*/
|
|
218
|
-
objectInfo?: Schema$GdataCompositeMedia;
|
|
219
|
-
/**
|
|
220
|
-
* The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.
|
|
221
|
-
*/
|
|
222
|
-
objectVersion?: string | null;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
|
|
226
|
-
*/
|
|
227
|
-
export interface Schema$GdataDiffUploadResponse {
|
|
228
|
-
/**
|
|
229
|
-
* The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.
|
|
230
|
-
*/
|
|
231
|
-
objectVersion?: string | null;
|
|
232
|
-
/**
|
|
233
|
-
* The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification.
|
|
234
|
-
*/
|
|
235
|
-
originalObject?: Schema$GdataCompositeMedia;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
|
|
239
|
-
*/
|
|
240
|
-
export interface Schema$GdataDiffVersionResponse {
|
|
241
|
-
/**
|
|
242
|
-
* The total size of the server object.
|
|
243
|
-
*/
|
|
244
|
-
objectSizeBytes?: string | null;
|
|
245
|
-
/**
|
|
246
|
-
* The version of the object stored at the server.
|
|
247
|
-
*/
|
|
248
|
-
objectVersion?: string | null;
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Parameters specific to media downloads.
|
|
252
|
-
*/
|
|
253
|
-
export interface Schema$GdataDownloadParameters {
|
|
254
|
-
/**
|
|
255
|
-
* A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.
|
|
256
|
-
*/
|
|
257
|
-
allowGzipCompression?: boolean | null;
|
|
258
|
-
/**
|
|
259
|
-
* Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.
|
|
260
|
-
*/
|
|
261
|
-
ignoreRange?: boolean | null;
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* A reference to data stored on the filesystem, on GFS or in blobstore.
|
|
265
|
-
*/
|
|
266
|
-
export interface Schema$GdataMedia {
|
|
267
|
-
/**
|
|
268
|
-
* Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, "MD5" is the only possible value for this field. New values may be added at any time.
|
|
269
|
-
*/
|
|
270
|
-
algorithm?: string | null;
|
|
271
|
-
/**
|
|
272
|
-
* Use object_id instead.
|
|
273
|
-
*/
|
|
274
|
-
bigstoreObjectRef?: string | null;
|
|
275
|
-
/**
|
|
276
|
-
* Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.
|
|
277
|
-
*/
|
|
278
|
-
blobRef?: string | null;
|
|
279
|
-
/**
|
|
280
|
-
* Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob.
|
|
281
|
-
*/
|
|
282
|
-
blobstore2Info?: Schema$GdataBlobstore2Info;
|
|
283
|
-
/**
|
|
284
|
-
* A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.
|
|
285
|
-
*/
|
|
286
|
-
compositeMedia?: Schema$GdataCompositeMedia[];
|
|
287
|
-
/**
|
|
288
|
-
* MIME type of the data
|
|
289
|
-
*/
|
|
290
|
-
contentType?: string | null;
|
|
291
|
-
/**
|
|
292
|
-
* Extended content type information provided for Scotty uploads.
|
|
293
|
-
*/
|
|
294
|
-
contentTypeInfo?: Schema$GdataContentTypeInfo;
|
|
295
|
-
/**
|
|
296
|
-
* A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.
|
|
297
|
-
*/
|
|
298
|
-
cosmoBinaryReference?: string | null;
|
|
299
|
-
/**
|
|
300
|
-
* For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.
|
|
301
|
-
*/
|
|
302
|
-
crc32cHash?: number | null;
|
|
303
|
-
/**
|
|
304
|
-
* Set if reference_type is DIFF_CHECKSUMS_RESPONSE.
|
|
305
|
-
*/
|
|
306
|
-
diffChecksumsResponse?: Schema$GdataDiffChecksumsResponse;
|
|
307
|
-
/**
|
|
308
|
-
* Set if reference_type is DIFF_DOWNLOAD_RESPONSE.
|
|
309
|
-
*/
|
|
310
|
-
diffDownloadResponse?: Schema$GdataDiffDownloadResponse;
|
|
311
|
-
/**
|
|
312
|
-
* Set if reference_type is DIFF_UPLOAD_REQUEST.
|
|
313
|
-
*/
|
|
314
|
-
diffUploadRequest?: Schema$GdataDiffUploadRequest;
|
|
315
|
-
/**
|
|
316
|
-
* Set if reference_type is DIFF_UPLOAD_RESPONSE.
|
|
317
|
-
*/
|
|
318
|
-
diffUploadResponse?: Schema$GdataDiffUploadResponse;
|
|
319
|
-
/**
|
|
320
|
-
* Set if reference_type is DIFF_VERSION_RESPONSE.
|
|
321
|
-
*/
|
|
322
|
-
diffVersionResponse?: Schema$GdataDiffVersionResponse;
|
|
323
|
-
/**
|
|
324
|
-
* Parameters for a media download.
|
|
325
|
-
*/
|
|
326
|
-
downloadParameters?: Schema$GdataDownloadParameters;
|
|
327
|
-
/**
|
|
328
|
-
* Original file name
|
|
329
|
-
*/
|
|
330
|
-
filename?: string | null;
|
|
331
|
-
/**
|
|
332
|
-
* Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.
|
|
333
|
-
*/
|
|
334
|
-
hash?: string | null;
|
|
335
|
-
/**
|
|
336
|
-
* For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.
|
|
337
|
-
*/
|
|
338
|
-
hashVerified?: boolean | null;
|
|
339
|
-
/**
|
|
340
|
-
* Media data, set if reference_type is INLINE
|
|
341
|
-
*/
|
|
342
|
-
inline?: string | null;
|
|
343
|
-
/**
|
|
344
|
-
* |is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.
|
|
345
|
-
*/
|
|
346
|
-
isPotentialRetry?: boolean | null;
|
|
347
|
-
/**
|
|
348
|
-
* Size of the data, in bytes
|
|
349
|
-
*/
|
|
350
|
-
length?: string | null;
|
|
351
|
-
/**
|
|
352
|
-
* Scotty-provided MD5 hash for an upload.
|
|
353
|
-
*/
|
|
354
|
-
md5Hash?: string | null;
|
|
355
|
-
/**
|
|
356
|
-
* Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.
|
|
357
|
-
*/
|
|
358
|
-
mediaId?: string | null;
|
|
359
|
-
/**
|
|
360
|
-
* Reference to a TI Blob, set if reference_type is BIGSTORE_REF.
|
|
361
|
-
*/
|
|
362
|
-
objectId?: Schema$GdataObjectId;
|
|
363
|
-
/**
|
|
364
|
-
* Path to the data, set if reference_type is PATH
|
|
365
|
-
*/
|
|
366
|
-
path?: string | null;
|
|
367
|
-
/**
|
|
368
|
-
* Describes what the field reference contains.
|
|
369
|
-
*/
|
|
370
|
-
referenceType?: string | null;
|
|
371
|
-
/**
|
|
372
|
-
* Scotty-provided SHA1 hash for an upload.
|
|
373
|
-
*/
|
|
374
|
-
sha1Hash?: string | null;
|
|
375
|
-
/**
|
|
376
|
-
* Scotty-provided SHA256 hash for an upload.
|
|
377
|
-
*/
|
|
378
|
-
sha256Hash?: string | null;
|
|
379
|
-
/**
|
|
380
|
-
* Time at which the media data was last updated, in milliseconds since UNIX epoch
|
|
381
|
-
*/
|
|
382
|
-
timestamp?: string | null;
|
|
383
|
-
/**
|
|
384
|
-
* A unique fingerprint/version id for the media data
|
|
385
|
-
*/
|
|
386
|
-
token?: string | null;
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.
|
|
390
|
-
*/
|
|
391
|
-
export interface Schema$GdataObjectId {
|
|
392
|
-
/**
|
|
393
|
-
* The name of the bucket to which this object belongs.
|
|
394
|
-
*/
|
|
395
|
-
bucketName?: string | null;
|
|
396
|
-
/**
|
|
397
|
-
* Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions
|
|
398
|
-
*/
|
|
399
|
-
generation?: string | null;
|
|
400
|
-
/**
|
|
401
|
-
* The name of the object.
|
|
402
|
-
*/
|
|
403
|
-
objectName?: string | null;
|
|
404
|
-
}
|
|
405
73
|
/**
|
|
406
74
|
* `Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
|
407
75
|
*/
|
|
@@ -3187,6 +2855,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
3187
2855
|
* Configurations for a Search Engine.
|
|
3188
2856
|
*/
|
|
3189
2857
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
|
|
2858
|
+
/**
|
|
2859
|
+
* Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.
|
|
2860
|
+
*/
|
|
2861
|
+
requiredSubscriptionTier?: string | null;
|
|
3190
2862
|
/**
|
|
3191
2863
|
* The add-on that this search engine enables.
|
|
3192
2864
|
*/
|
|
@@ -4327,6 +3999,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
4327
3999
|
* A specification for configuring the behavior of content search.
|
|
4328
4000
|
*/
|
|
4329
4001
|
contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
|
|
4002
|
+
/**
|
|
4003
|
+
* Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.
|
|
4004
|
+
*/
|
|
4005
|
+
crowdingSpecs?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec[];
|
|
4330
4006
|
/**
|
|
4331
4007
|
* Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec.
|
|
4332
4008
|
*/
|
|
@@ -4375,6 +4051,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
4375
4051
|
* The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
4376
4052
|
*/
|
|
4377
4053
|
orderBy?: string | null;
|
|
4054
|
+
/**
|
|
4055
|
+
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
4056
|
+
*/
|
|
4057
|
+
pageCategories?: string[] | null;
|
|
4378
4058
|
/**
|
|
4379
4059
|
* Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.
|
|
4380
4060
|
*/
|
|
@@ -4684,6 +4364,23 @@ export declare namespace discoveryengine_v1beta {
|
|
|
4684
4364
|
*/
|
|
4685
4365
|
imageSource?: string | null;
|
|
4686
4366
|
}
|
|
4367
|
+
/**
|
|
4368
|
+
* Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.
|
|
4369
|
+
*/
|
|
4370
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec {
|
|
4371
|
+
/**
|
|
4372
|
+
* The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.
|
|
4373
|
+
*/
|
|
4374
|
+
field?: string | null;
|
|
4375
|
+
/**
|
|
4376
|
+
* The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are "crowded away". If not specified, the default value is 1.
|
|
4377
|
+
*/
|
|
4378
|
+
maxCount?: number | null;
|
|
4379
|
+
/**
|
|
4380
|
+
* Mode to use for documents that are crowded away.
|
|
4381
|
+
*/
|
|
4382
|
+
mode?: string | null;
|
|
4383
|
+
}
|
|
4687
4384
|
/**
|
|
4688
4385
|
* A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
4689
4386
|
*/
|
|
@@ -5379,6 +5076,14 @@ export declare namespace discoveryengine_v1beta {
|
|
|
5379
5076
|
* Optional. Customer policy for the assistant.
|
|
5380
5077
|
*/
|
|
5381
5078
|
customerPolicy?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicy;
|
|
5079
|
+
/**
|
|
5080
|
+
* Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.
|
|
5081
|
+
*/
|
|
5082
|
+
description?: string | null;
|
|
5083
|
+
/**
|
|
5084
|
+
* Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.
|
|
5085
|
+
*/
|
|
5086
|
+
displayName?: string | null;
|
|
5382
5087
|
/**
|
|
5383
5088
|
* Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example "projects/{projectId\}/locations/{locationId\}/collections/{collectionId\}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] \}
|
|
5384
5089
|
*/
|
|
@@ -5449,10 +5154,18 @@ export declare namespace discoveryengine_v1beta {
|
|
|
5449
5154
|
* Configuration for the generation of the assistant response.
|
|
5450
5155
|
*/
|
|
5451
5156
|
export interface Schema$GoogleCloudDiscoveryengineV1AssistantGenerationConfig {
|
|
5157
|
+
/**
|
|
5158
|
+
* Optional. The list of models that are allowed to be used for assistant.
|
|
5159
|
+
*/
|
|
5160
|
+
allowedModelIds?: string[] | null;
|
|
5452
5161
|
/**
|
|
5453
5162
|
* The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.
|
|
5454
5163
|
*/
|
|
5455
5164
|
defaultLanguage?: string | null;
|
|
5165
|
+
/**
|
|
5166
|
+
* Optional. The default model to use for assistant.
|
|
5167
|
+
*/
|
|
5168
|
+
defaultModelId?: string | null;
|
|
5456
5169
|
/**
|
|
5457
5170
|
* System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions
|
|
5458
5171
|
*/
|
|
@@ -6814,6 +6527,14 @@ export declare namespace discoveryengine_v1beta {
|
|
|
6814
6527
|
* Optional. Customer policy for the assistant.
|
|
6815
6528
|
*/
|
|
6816
6529
|
customerPolicy?: Schema$GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy;
|
|
6530
|
+
/**
|
|
6531
|
+
* Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.
|
|
6532
|
+
*/
|
|
6533
|
+
description?: string | null;
|
|
6534
|
+
/**
|
|
6535
|
+
* Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.
|
|
6536
|
+
*/
|
|
6537
|
+
displayName?: string | null;
|
|
6817
6538
|
/**
|
|
6818
6539
|
* Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example "projects/{projectId\}/locations/{locationId\}/collections/{collectionId\}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] \}
|
|
6819
6540
|
*/
|
|
@@ -6965,10 +6686,18 @@ export declare namespace discoveryengine_v1beta {
|
|
|
6965
6686
|
* Configuration for the generation of the assistant response.
|
|
6966
6687
|
*/
|
|
6967
6688
|
export interface Schema$GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig {
|
|
6689
|
+
/**
|
|
6690
|
+
* Optional. The list of models that are allowed to be used for assistant.
|
|
6691
|
+
*/
|
|
6692
|
+
allowedModelIds?: string[] | null;
|
|
6968
6693
|
/**
|
|
6969
6694
|
* The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.
|
|
6970
6695
|
*/
|
|
6971
6696
|
defaultLanguage?: string | null;
|
|
6697
|
+
/**
|
|
6698
|
+
* Optional. The default model to use for assistant.
|
|
6699
|
+
*/
|
|
6700
|
+
defaultModelId?: string | null;
|
|
6972
6701
|
/**
|
|
6973
6702
|
* System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions
|
|
6974
6703
|
*/
|
|
@@ -8983,6 +8712,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
8983
8712
|
* Configurations for a Search Engine.
|
|
8984
8713
|
*/
|
|
8985
8714
|
export interface Schema$GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
|
|
8715
|
+
/**
|
|
8716
|
+
* Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.
|
|
8717
|
+
*/
|
|
8718
|
+
requiredSubscriptionTier?: string | null;
|
|
8986
8719
|
/**
|
|
8987
8720
|
* The add-on that this search engine enables.
|
|
8988
8721
|
*/
|
|
@@ -9212,6 +8945,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
9212
8945
|
* Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
|
|
9213
8946
|
*/
|
|
9214
8947
|
externalIdentity?: string | null;
|
|
8948
|
+
/**
|
|
8949
|
+
* Optional. The name of the external identity.
|
|
8950
|
+
*/
|
|
8951
|
+
externalIdentityName?: string | null;
|
|
9215
8952
|
/**
|
|
9216
8953
|
* Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
|
|
9217
8954
|
*/
|
|
@@ -9781,6 +9518,19 @@ export declare namespace discoveryengine_v1beta {
|
|
|
9781
9518
|
*/
|
|
9782
9519
|
usedLicenseCount?: string | null;
|
|
9783
9520
|
}
|
|
9521
|
+
/**
|
|
9522
|
+
* Response message for the AssistantService.ListAssistants method.
|
|
9523
|
+
*/
|
|
9524
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse {
|
|
9525
|
+
/**
|
|
9526
|
+
* All the customer's Assistants.
|
|
9527
|
+
*/
|
|
9528
|
+
assistants?: Schema$GoogleCloudDiscoveryengineV1betaAssistant[];
|
|
9529
|
+
/**
|
|
9530
|
+
* A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
9531
|
+
*/
|
|
9532
|
+
nextPageToken?: string | null;
|
|
9533
|
+
}
|
|
9784
9534
|
/**
|
|
9785
9535
|
* Response message for CmekConfigService.ListCmekConfigs method.
|
|
9786
9536
|
*/
|
|
@@ -10961,6 +10711,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
10961
10711
|
* A specification for configuring the behavior of content search.
|
|
10962
10712
|
*/
|
|
10963
10713
|
contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
|
|
10714
|
+
/**
|
|
10715
|
+
* Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.
|
|
10716
|
+
*/
|
|
10717
|
+
crowdingSpecs?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec[];
|
|
10964
10718
|
/**
|
|
10965
10719
|
* Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.
|
|
10966
10720
|
*/
|
|
@@ -11005,6 +10759,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
11005
10759
|
* The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
|
11006
10760
|
*/
|
|
11007
10761
|
orderBy?: string | null;
|
|
10762
|
+
/**
|
|
10763
|
+
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
10764
|
+
*/
|
|
10765
|
+
pageCategories?: string[] | null;
|
|
11008
10766
|
/**
|
|
11009
10767
|
* Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.
|
|
11010
10768
|
*/
|
|
@@ -11310,6 +11068,23 @@ export declare namespace discoveryengine_v1beta {
|
|
|
11310
11068
|
*/
|
|
11311
11069
|
imageSource?: string | null;
|
|
11312
11070
|
}
|
|
11071
|
+
/**
|
|
11072
|
+
* Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.
|
|
11073
|
+
*/
|
|
11074
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec {
|
|
11075
|
+
/**
|
|
11076
|
+
* The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.
|
|
11077
|
+
*/
|
|
11078
|
+
field?: string | null;
|
|
11079
|
+
/**
|
|
11080
|
+
* The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are "crowded away". If not specified, the default value is 1.
|
|
11081
|
+
*/
|
|
11082
|
+
maxCount?: number | null;
|
|
11083
|
+
/**
|
|
11084
|
+
* Mode to use for documents that are crowded away.
|
|
11085
|
+
*/
|
|
11086
|
+
mode?: string | null;
|
|
11087
|
+
}
|
|
11313
11088
|
/**
|
|
11314
11089
|
* A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
11315
11090
|
*/
|
|
@@ -11578,6 +11353,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
11578
11353
|
* Promotions for site search.
|
|
11579
11354
|
*/
|
|
11580
11355
|
searchLinkPromotions?: Schema$GoogleCloudDiscoveryengineV1betaSearchLinkPromotion[];
|
|
11356
|
+
/**
|
|
11357
|
+
* Output only. Indicates the semantic state of the search response.
|
|
11358
|
+
*/
|
|
11359
|
+
semanticState?: string | null;
|
|
11581
11360
|
/**
|
|
11582
11361
|
* Session information. Only set if SearchRequest.session is provided. See its description for more details.
|
|
11583
11362
|
*/
|
|
@@ -12488,6 +12267,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
12488
12267
|
* A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
|
|
12489
12268
|
*/
|
|
12490
12269
|
assistToken?: string | null;
|
|
12270
|
+
/**
|
|
12271
|
+
* The tool names of the tools that were invoked.
|
|
12272
|
+
*/
|
|
12273
|
+
invocationTools?: string[] | null;
|
|
12491
12274
|
/**
|
|
12492
12275
|
* Session information. Only included in the final StreamAssistResponse of the response stream.
|
|
12493
12276
|
*/
|
|
@@ -14158,6 +13941,10 @@ export declare namespace discoveryengine_v1beta {
|
|
|
14158
13941
|
* Configurations for a Search Engine.
|
|
14159
13942
|
*/
|
|
14160
13943
|
export interface Schema$GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
|
|
13944
|
+
/**
|
|
13945
|
+
* Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.
|
|
13946
|
+
*/
|
|
13947
|
+
requiredSubscriptionTier?: string | null;
|
|
14161
13948
|
/**
|
|
14162
13949
|
* The add-on that this search engine enables.
|
|
14163
13950
|
*/
|
|
@@ -15252,7 +15039,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
15252
15039
|
*/
|
|
15253
15040
|
operations?: Schema$GoogleLongrunningOperation[];
|
|
15254
15041
|
/**
|
|
15255
|
-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
15042
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
|
|
15256
15043
|
*/
|
|
15257
15044
|
unreachable?: string[] | null;
|
|
15258
15045
|
}
|
|
@@ -15468,11 +15255,13 @@ export declare namespace discoveryengine_v1beta {
|
|
|
15468
15255
|
*/
|
|
15469
15256
|
version?: string | null;
|
|
15470
15257
|
}
|
|
15471
|
-
export class Resource$
|
|
15258
|
+
export class Resource$Projects {
|
|
15472
15259
|
context: APIRequestContext;
|
|
15260
|
+
locations: Resource$Projects$Locations;
|
|
15261
|
+
operations: Resource$Projects$Operations;
|
|
15473
15262
|
constructor(context: APIRequestContext);
|
|
15474
15263
|
/**
|
|
15475
|
-
*
|
|
15264
|
+
* Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
|
|
15476
15265
|
* @example
|
|
15477
15266
|
* ```js
|
|
15478
15267
|
* // Before running the sample:
|
|
@@ -15495,7 +15284,6 @@ export declare namespace discoveryengine_v1beta {
|
|
|
15495
15284
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
15496
15285
|
* scopes: [
|
|
15497
15286
|
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
15498
|
-
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
15499
15287
|
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
15500
15288
|
* ],
|
|
15501
15289
|
* });
|
|
@@ -15505,48 +15293,29 @@ export declare namespace discoveryengine_v1beta {
|
|
|
15505
15293
|
* google.options({auth: authClient});
|
|
15506
15294
|
*
|
|
15507
15295
|
* // Do the magic
|
|
15508
|
-
* const res = await discoveryengine.
|
|
15509
|
-
* // Required.
|
|
15510
|
-
*
|
|
15511
|
-
*
|
|
15512
|
-
*
|
|
15513
|
-
*
|
|
15514
|
-
*
|
|
15296
|
+
* const res = await discoveryengine.projects.provision({
|
|
15297
|
+
* // Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
|
|
15298
|
+
* name: 'projects/my-project',
|
|
15299
|
+
*
|
|
15300
|
+
* // Request body metadata
|
|
15301
|
+
* requestBody: {
|
|
15302
|
+
* // request body parameters
|
|
15303
|
+
* // {
|
|
15304
|
+
* // "acceptDataUseTerms": false,
|
|
15305
|
+
* // "dataUseTermsVersion": "my_dataUseTermsVersion",
|
|
15306
|
+
* // "saasParams": {}
|
|
15307
|
+
* // }
|
|
15308
|
+
* },
|
|
15515
15309
|
* });
|
|
15516
15310
|
* console.log(res.data);
|
|
15517
15311
|
*
|
|
15518
15312
|
* // Example response
|
|
15519
15313
|
* // {
|
|
15520
|
-
* // "
|
|
15521
|
-
* // "
|
|
15522
|
-
* // "
|
|
15523
|
-
* // "
|
|
15524
|
-
* // "
|
|
15525
|
-
* // "contentType": "my_contentType",
|
|
15526
|
-
* // "contentTypeInfo": {},
|
|
15527
|
-
* // "cosmoBinaryReference": "my_cosmoBinaryReference",
|
|
15528
|
-
* // "crc32cHash": 0,
|
|
15529
|
-
* // "diffChecksumsResponse": {},
|
|
15530
|
-
* // "diffDownloadResponse": {},
|
|
15531
|
-
* // "diffUploadRequest": {},
|
|
15532
|
-
* // "diffUploadResponse": {},
|
|
15533
|
-
* // "diffVersionResponse": {},
|
|
15534
|
-
* // "downloadParameters": {},
|
|
15535
|
-
* // "filename": "my_filename",
|
|
15536
|
-
* // "hash": "my_hash",
|
|
15537
|
-
* // "hashVerified": false,
|
|
15538
|
-
* // "inline": "my_inline",
|
|
15539
|
-
* // "isPotentialRetry": false,
|
|
15540
|
-
* // "length": "my_length",
|
|
15541
|
-
* // "md5Hash": "my_md5Hash",
|
|
15542
|
-
* // "mediaId": "my_mediaId",
|
|
15543
|
-
* // "objectId": {},
|
|
15544
|
-
* // "path": "my_path",
|
|
15545
|
-
* // "referenceType": "my_referenceType",
|
|
15546
|
-
* // "sha1Hash": "my_sha1Hash",
|
|
15547
|
-
* // "sha256Hash": "my_sha256Hash",
|
|
15548
|
-
* // "timestamp": "my_timestamp",
|
|
15549
|
-
* // "token": "my_token"
|
|
15314
|
+
* // "done": false,
|
|
15315
|
+
* // "error": {},
|
|
15316
|
+
* // "metadata": {},
|
|
15317
|
+
* // "name": "my_name",
|
|
15318
|
+
* // "response": {}
|
|
15550
15319
|
* // }
|
|
15551
15320
|
* }
|
|
15552
15321
|
*
|
|
@@ -15562,138 +15331,41 @@ export declare namespace discoveryengine_v1beta {
|
|
|
15562
15331
|
* @param callback - Optional callback that handles the response.
|
|
15563
15332
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
15564
15333
|
*/
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15334
|
+
provision(params: Params$Resource$Projects$Provision, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
15335
|
+
provision(params?: Params$Resource$Projects$Provision, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
15336
|
+
provision(params: Params$Resource$Projects$Provision, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
15337
|
+
provision(params: Params$Resource$Projects$Provision, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15338
|
+
provision(params: Params$Resource$Projects$Provision, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15339
|
+
provision(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15571
15340
|
}
|
|
15572
|
-
export interface Params$Resource$
|
|
15573
|
-
/**
|
|
15574
|
-
* Required. The ID of the file to be downloaded.
|
|
15575
|
-
*/
|
|
15576
|
-
fileId?: string;
|
|
15341
|
+
export interface Params$Resource$Projects$Provision extends StandardParameters {
|
|
15577
15342
|
/**
|
|
15578
|
-
* Required.
|
|
15343
|
+
* Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
|
|
15579
15344
|
*/
|
|
15580
15345
|
name?: string;
|
|
15581
15346
|
/**
|
|
15582
|
-
*
|
|
15347
|
+
* Request body metadata
|
|
15583
15348
|
*/
|
|
15584
|
-
|
|
15349
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaProvisionProjectRequest;
|
|
15585
15350
|
}
|
|
15586
|
-
export class Resource$Projects {
|
|
15351
|
+
export class Resource$Projects$Locations {
|
|
15587
15352
|
context: APIRequestContext;
|
|
15588
|
-
|
|
15589
|
-
|
|
15353
|
+
cmekConfigs: Resource$Projects$Locations$Cmekconfigs;
|
|
15354
|
+
collections: Resource$Projects$Locations$Collections;
|
|
15355
|
+
dataStores: Resource$Projects$Locations$Datastores;
|
|
15356
|
+
evaluations: Resource$Projects$Locations$Evaluations;
|
|
15357
|
+
groundingConfigs: Resource$Projects$Locations$Groundingconfigs;
|
|
15358
|
+
identityMappingStores: Resource$Projects$Locations$Identitymappingstores;
|
|
15359
|
+
licenseConfigs: Resource$Projects$Locations$Licenseconfigs;
|
|
15360
|
+
operations: Resource$Projects$Locations$Operations;
|
|
15361
|
+
podcasts: Resource$Projects$Locations$Podcasts;
|
|
15362
|
+
rankingConfigs: Resource$Projects$Locations$Rankingconfigs;
|
|
15363
|
+
sampleQuerySets: Resource$Projects$Locations$Samplequerysets;
|
|
15364
|
+
userEvents: Resource$Projects$Locations$Userevents;
|
|
15365
|
+
userStores: Resource$Projects$Locations$Userstores;
|
|
15590
15366
|
constructor(context: APIRequestContext);
|
|
15591
15367
|
/**
|
|
15592
|
-
*
|
|
15593
|
-
* @example
|
|
15594
|
-
* ```js
|
|
15595
|
-
* // Before running the sample:
|
|
15596
|
-
* // - Enable the API at:
|
|
15597
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
15598
|
-
* // - Login into gcloud by running:
|
|
15599
|
-
* // ```sh
|
|
15600
|
-
* // $ gcloud auth application-default login
|
|
15601
|
-
* // ```
|
|
15602
|
-
* // - Install the npm module by running:
|
|
15603
|
-
* // ```sh
|
|
15604
|
-
* // $ npm install googleapis
|
|
15605
|
-
* // ```
|
|
15606
|
-
*
|
|
15607
|
-
* const {google} = require('googleapis');
|
|
15608
|
-
* const discoveryengine = google.discoveryengine('v1beta');
|
|
15609
|
-
*
|
|
15610
|
-
* async function main() {
|
|
15611
|
-
* const auth = new google.auth.GoogleAuth({
|
|
15612
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
15613
|
-
* scopes: [
|
|
15614
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
15615
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
15616
|
-
* ],
|
|
15617
|
-
* });
|
|
15618
|
-
*
|
|
15619
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
15620
|
-
* const authClient = await auth.getClient();
|
|
15621
|
-
* google.options({auth: authClient});
|
|
15622
|
-
*
|
|
15623
|
-
* // Do the magic
|
|
15624
|
-
* const res = await discoveryengine.projects.provision({
|
|
15625
|
-
* // Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
|
|
15626
|
-
* name: 'projects/my-project',
|
|
15627
|
-
*
|
|
15628
|
-
* // Request body metadata
|
|
15629
|
-
* requestBody: {
|
|
15630
|
-
* // request body parameters
|
|
15631
|
-
* // {
|
|
15632
|
-
* // "acceptDataUseTerms": false,
|
|
15633
|
-
* // "dataUseTermsVersion": "my_dataUseTermsVersion",
|
|
15634
|
-
* // "saasParams": {}
|
|
15635
|
-
* // }
|
|
15636
|
-
* },
|
|
15637
|
-
* });
|
|
15638
|
-
* console.log(res.data);
|
|
15639
|
-
*
|
|
15640
|
-
* // Example response
|
|
15641
|
-
* // {
|
|
15642
|
-
* // "done": false,
|
|
15643
|
-
* // "error": {},
|
|
15644
|
-
* // "metadata": {},
|
|
15645
|
-
* // "name": "my_name",
|
|
15646
|
-
* // "response": {}
|
|
15647
|
-
* // }
|
|
15648
|
-
* }
|
|
15649
|
-
*
|
|
15650
|
-
* main().catch(e => {
|
|
15651
|
-
* console.error(e);
|
|
15652
|
-
* throw e;
|
|
15653
|
-
* });
|
|
15654
|
-
*
|
|
15655
|
-
* ```
|
|
15656
|
-
*
|
|
15657
|
-
* @param params - Parameters for request
|
|
15658
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
15659
|
-
* @param callback - Optional callback that handles the response.
|
|
15660
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
15661
|
-
*/
|
|
15662
|
-
provision(params: Params$Resource$Projects$Provision, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
15663
|
-
provision(params?: Params$Resource$Projects$Provision, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
15664
|
-
provision(params: Params$Resource$Projects$Provision, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
15665
|
-
provision(params: Params$Resource$Projects$Provision, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15666
|
-
provision(params: Params$Resource$Projects$Provision, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15667
|
-
provision(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
15668
|
-
}
|
|
15669
|
-
export interface Params$Resource$Projects$Provision extends StandardParameters {
|
|
15670
|
-
/**
|
|
15671
|
-
* Required. Full resource name of a Project, such as `projects/{project_id_or_number\}`.
|
|
15672
|
-
*/
|
|
15673
|
-
name?: string;
|
|
15674
|
-
/**
|
|
15675
|
-
* Request body metadata
|
|
15676
|
-
*/
|
|
15677
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaProvisionProjectRequest;
|
|
15678
|
-
}
|
|
15679
|
-
export class Resource$Projects$Locations {
|
|
15680
|
-
context: APIRequestContext;
|
|
15681
|
-
cmekConfigs: Resource$Projects$Locations$Cmekconfigs;
|
|
15682
|
-
collections: Resource$Projects$Locations$Collections;
|
|
15683
|
-
dataStores: Resource$Projects$Locations$Datastores;
|
|
15684
|
-
evaluations: Resource$Projects$Locations$Evaluations;
|
|
15685
|
-
groundingConfigs: Resource$Projects$Locations$Groundingconfigs;
|
|
15686
|
-
identityMappingStores: Resource$Projects$Locations$Identitymappingstores;
|
|
15687
|
-
licenseConfigs: Resource$Projects$Locations$Licenseconfigs;
|
|
15688
|
-
operations: Resource$Projects$Locations$Operations;
|
|
15689
|
-
podcasts: Resource$Projects$Locations$Podcasts;
|
|
15690
|
-
rankingConfigs: Resource$Projects$Locations$Rankingconfigs;
|
|
15691
|
-
sampleQuerySets: Resource$Projects$Locations$Samplequerysets;
|
|
15692
|
-
userEvents: Resource$Projects$Locations$Userevents;
|
|
15693
|
-
userStores: Resource$Projects$Locations$Userstores;
|
|
15694
|
-
constructor(context: APIRequestContext);
|
|
15695
|
-
/**
|
|
15696
|
-
* Gets the AclConfig.
|
|
15368
|
+
* Gets the AclConfig.
|
|
15697
15369
|
* @example
|
|
15698
15370
|
* ```js
|
|
15699
15371
|
* // Before running the sample:
|
|
@@ -16729,7 +16401,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
16729
16401
|
* pageSize: 'placeholder-value',
|
|
16730
16402
|
* // The standard list page token.
|
|
16731
16403
|
* pageToken: 'placeholder-value',
|
|
16732
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
16404
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
16733
16405
|
* returnPartialSuccess: 'placeholder-value',
|
|
16734
16406
|
* },
|
|
16735
16407
|
* );
|
|
@@ -16786,7 +16458,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
16786
16458
|
*/
|
|
16787
16459
|
pageToken?: string;
|
|
16788
16460
|
/**
|
|
16789
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
16461
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
16790
16462
|
*/
|
|
16791
16463
|
returnPartialSuccess?: boolean;
|
|
16792
16464
|
}
|
|
@@ -18541,7 +18213,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
18541
18213
|
* pageSize: 'placeholder-value',
|
|
18542
18214
|
* // The standard list page token.
|
|
18543
18215
|
* pageToken: 'placeholder-value',
|
|
18544
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
18216
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
18545
18217
|
* returnPartialSuccess: 'placeholder-value',
|
|
18546
18218
|
* },
|
|
18547
18219
|
* );
|
|
@@ -18608,7 +18280,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
18608
18280
|
*/
|
|
18609
18281
|
pageToken?: string;
|
|
18610
18282
|
/**
|
|
18611
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
18283
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
18612
18284
|
*/
|
|
18613
18285
|
returnPartialSuccess?: boolean;
|
|
18614
18286
|
}
|
|
@@ -20106,7 +19778,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20106
19778
|
* pageSize: 'placeholder-value',
|
|
20107
19779
|
* // The standard list page token.
|
|
20108
19780
|
* pageToken: 'placeholder-value',
|
|
20109
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
19781
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20110
19782
|
* returnPartialSuccess: 'placeholder-value',
|
|
20111
19783
|
* },
|
|
20112
19784
|
* );
|
|
@@ -20163,7 +19835,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20163
19835
|
*/
|
|
20164
19836
|
pageToken?: string;
|
|
20165
19837
|
/**
|
|
20166
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
19838
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20167
19839
|
*/
|
|
20168
19840
|
returnPartialSuccess?: boolean;
|
|
20169
19841
|
}
|
|
@@ -20284,7 +19956,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20284
19956
|
* pageSize: 'placeholder-value',
|
|
20285
19957
|
* // The standard list page token.
|
|
20286
19958
|
* pageToken: 'placeholder-value',
|
|
20287
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
19959
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20288
19960
|
* returnPartialSuccess: 'placeholder-value',
|
|
20289
19961
|
* },
|
|
20290
19962
|
* );
|
|
@@ -20341,7 +20013,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20341
20013
|
*/
|
|
20342
20014
|
pageToken?: string;
|
|
20343
20015
|
/**
|
|
20344
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
20016
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20345
20017
|
*/
|
|
20346
20018
|
returnPartialSuccess?: boolean;
|
|
20347
20019
|
}
|
|
@@ -20896,7 +20568,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20896
20568
|
* pageSize: 'placeholder-value',
|
|
20897
20569
|
* // The standard list page token.
|
|
20898
20570
|
* pageToken: 'placeholder-value',
|
|
20899
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
20571
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20900
20572
|
* returnPartialSuccess: 'placeholder-value',
|
|
20901
20573
|
* },
|
|
20902
20574
|
* );
|
|
@@ -20953,7 +20625,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
20953
20625
|
*/
|
|
20954
20626
|
pageToken?: string;
|
|
20955
20627
|
/**
|
|
20956
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
20628
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
20957
20629
|
*/
|
|
20958
20630
|
returnPartialSuccess?: boolean;
|
|
20959
20631
|
}
|
|
@@ -21457,6 +21129,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21457
21129
|
* // "branch": "my_branch",
|
|
21458
21130
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
21459
21131
|
* // "contentSearchSpec": {},
|
|
21132
|
+
* // "crowdingSpecs": [],
|
|
21460
21133
|
* // "dataStoreSpecs": [],
|
|
21461
21134
|
* // "displaySpec": {},
|
|
21462
21135
|
* // "embeddingSpec": {},
|
|
@@ -21468,6 +21141,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21468
21141
|
* // "offset": 0,
|
|
21469
21142
|
* // "oneBoxPageSize": 0,
|
|
21470
21143
|
* // "orderBy": "my_orderBy",
|
|
21144
|
+
* // "pageCategories": [],
|
|
21471
21145
|
* // "pageSize": 0,
|
|
21472
21146
|
* // "pageToken": "my_pageToken",
|
|
21473
21147
|
* // "params": {},
|
|
@@ -21510,6 +21184,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21510
21184
|
* // "redirectUri": "my_redirectUri",
|
|
21511
21185
|
* // "results": [],
|
|
21512
21186
|
* // "searchLinkPromotions": [],
|
|
21187
|
+
* // "semanticState": "my_semanticState",
|
|
21513
21188
|
* // "sessionInfo": {},
|
|
21514
21189
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
21515
21190
|
* // "summary": {},
|
|
@@ -21584,6 +21259,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21584
21259
|
* // "branch": "my_branch",
|
|
21585
21260
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
21586
21261
|
* // "contentSearchSpec": {},
|
|
21262
|
+
* // "crowdingSpecs": [],
|
|
21587
21263
|
* // "dataStoreSpecs": [],
|
|
21588
21264
|
* // "displaySpec": {},
|
|
21589
21265
|
* // "embeddingSpec": {},
|
|
@@ -21595,6 +21271,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21595
21271
|
* // "offset": 0,
|
|
21596
21272
|
* // "oneBoxPageSize": 0,
|
|
21597
21273
|
* // "orderBy": "my_orderBy",
|
|
21274
|
+
* // "pageCategories": [],
|
|
21598
21275
|
* // "pageSize": 0,
|
|
21599
21276
|
* // "pageToken": "my_pageToken",
|
|
21600
21277
|
* // "params": {},
|
|
@@ -21637,6 +21314,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
21637
21314
|
* // "redirectUri": "my_redirectUri",
|
|
21638
21315
|
* // "results": [],
|
|
21639
21316
|
* // "searchLinkPromotions": [],
|
|
21317
|
+
* // "semanticState": "my_semanticState",
|
|
21640
21318
|
* // "sessionInfo": {},
|
|
21641
21319
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
21642
21320
|
* // "summary": {},
|
|
@@ -22958,7 +22636,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
22958
22636
|
* pageSize: 'placeholder-value',
|
|
22959
22637
|
* // The standard list page token.
|
|
22960
22638
|
* pageToken: 'placeholder-value',
|
|
22961
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
22639
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
22962
22640
|
* returnPartialSuccess: 'placeholder-value',
|
|
22963
22641
|
* },
|
|
22964
22642
|
* );
|
|
@@ -23015,7 +22693,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
23015
22693
|
*/
|
|
23016
22694
|
pageToken?: string;
|
|
23017
22695
|
/**
|
|
23018
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
22696
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
23019
22697
|
*/
|
|
23020
22698
|
returnPartialSuccess?: boolean;
|
|
23021
22699
|
}
|
|
@@ -23919,7 +23597,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
23919
23597
|
* pageSize: 'placeholder-value',
|
|
23920
23598
|
* // The standard list page token.
|
|
23921
23599
|
* pageToken: 'placeholder-value',
|
|
23922
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
23600
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
23923
23601
|
* returnPartialSuccess: 'placeholder-value',
|
|
23924
23602
|
* },
|
|
23925
23603
|
* );
|
|
@@ -23976,7 +23654,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
23976
23654
|
*/
|
|
23977
23655
|
pageToken?: string;
|
|
23978
23656
|
/**
|
|
23979
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
23657
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
23980
23658
|
*/
|
|
23981
23659
|
returnPartialSuccess?: boolean;
|
|
23982
23660
|
}
|
|
@@ -25221,27 +24899,348 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25221
24899
|
* google.options({auth: authClient});
|
|
25222
24900
|
*
|
|
25223
24901
|
* // Do the magic
|
|
25224
|
-
* const res = await discoveryengine.projects.locations.collections.engines.tune(
|
|
25225
|
-
* {
|
|
25226
|
-
* // Required. The resource name of the engine to tune. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25227
|
-
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
|
|
25228
|
-
*
|
|
25229
|
-
* // Request body metadata
|
|
25230
|
-
* requestBody: {
|
|
25231
|
-
* // request body parameters
|
|
25232
|
-
* // {}
|
|
24902
|
+
* const res = await discoveryengine.projects.locations.collections.engines.tune(
|
|
24903
|
+
* {
|
|
24904
|
+
* // Required. The resource name of the engine to tune. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
24905
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
|
|
24906
|
+
*
|
|
24907
|
+
* // Request body metadata
|
|
24908
|
+
* requestBody: {
|
|
24909
|
+
* // request body parameters
|
|
24910
|
+
* // {}
|
|
24911
|
+
* },
|
|
24912
|
+
* },
|
|
24913
|
+
* );
|
|
24914
|
+
* console.log(res.data);
|
|
24915
|
+
*
|
|
24916
|
+
* // Example response
|
|
24917
|
+
* // {
|
|
24918
|
+
* // "done": false,
|
|
24919
|
+
* // "error": {},
|
|
24920
|
+
* // "metadata": {},
|
|
24921
|
+
* // "name": "my_name",
|
|
24922
|
+
* // "response": {}
|
|
24923
|
+
* // }
|
|
24924
|
+
* }
|
|
24925
|
+
*
|
|
24926
|
+
* main().catch(e => {
|
|
24927
|
+
* console.error(e);
|
|
24928
|
+
* throw e;
|
|
24929
|
+
* });
|
|
24930
|
+
*
|
|
24931
|
+
* ```
|
|
24932
|
+
*
|
|
24933
|
+
* @param params - Parameters for request
|
|
24934
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
24935
|
+
* @param callback - Optional callback that handles the response.
|
|
24936
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
24937
|
+
*/
|
|
24938
|
+
tune(params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
24939
|
+
tune(params?: Params$Resource$Projects$Locations$Collections$Engines$Tune, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
24940
|
+
tune(params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
24941
|
+
tune(params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
24942
|
+
tune(params: Params$Resource$Projects$Locations$Collections$Engines$Tune, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
24943
|
+
tune(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
24944
|
+
}
|
|
24945
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Create extends StandardParameters {
|
|
24946
|
+
/**
|
|
24947
|
+
* Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
24948
|
+
*/
|
|
24949
|
+
engineId?: string;
|
|
24950
|
+
/**
|
|
24951
|
+
* Required. The parent resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}`.
|
|
24952
|
+
*/
|
|
24953
|
+
parent?: string;
|
|
24954
|
+
/**
|
|
24955
|
+
* Request body metadata
|
|
24956
|
+
*/
|
|
24957
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaEngine;
|
|
24958
|
+
}
|
|
24959
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Delete extends StandardParameters {
|
|
24960
|
+
/**
|
|
24961
|
+
* Required. Full resource name of Engine, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned.
|
|
24962
|
+
*/
|
|
24963
|
+
name?: string;
|
|
24964
|
+
}
|
|
24965
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Get extends StandardParameters {
|
|
24966
|
+
/**
|
|
24967
|
+
* Required. Full resource name of Engine, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`.
|
|
24968
|
+
*/
|
|
24969
|
+
name?: string;
|
|
24970
|
+
}
|
|
24971
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$List extends StandardParameters {
|
|
24972
|
+
/**
|
|
24973
|
+
* Optional. Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH
|
|
24974
|
+
*/
|
|
24975
|
+
filter?: string;
|
|
24976
|
+
/**
|
|
24977
|
+
* Optional. Not supported.
|
|
24978
|
+
*/
|
|
24979
|
+
pageSize?: number;
|
|
24980
|
+
/**
|
|
24981
|
+
* Optional. Not supported.
|
|
24982
|
+
*/
|
|
24983
|
+
pageToken?: string;
|
|
24984
|
+
/**
|
|
24985
|
+
* Required. The parent resource name, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}`.
|
|
24986
|
+
*/
|
|
24987
|
+
parent?: string;
|
|
24988
|
+
}
|
|
24989
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Patch extends StandardParameters {
|
|
24990
|
+
/**
|
|
24991
|
+
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
24992
|
+
*/
|
|
24993
|
+
name?: string;
|
|
24994
|
+
/**
|
|
24995
|
+
* Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
|
|
24996
|
+
*/
|
|
24997
|
+
updateMask?: string;
|
|
24998
|
+
/**
|
|
24999
|
+
* Request body metadata
|
|
25000
|
+
*/
|
|
25001
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaEngine;
|
|
25002
|
+
}
|
|
25003
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Pause extends StandardParameters {
|
|
25004
|
+
/**
|
|
25005
|
+
* Required. The name of the engine to pause. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25006
|
+
*/
|
|
25007
|
+
name?: string;
|
|
25008
|
+
/**
|
|
25009
|
+
* Request body metadata
|
|
25010
|
+
*/
|
|
25011
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaPauseEngineRequest;
|
|
25012
|
+
}
|
|
25013
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Resume extends StandardParameters {
|
|
25014
|
+
/**
|
|
25015
|
+
* Required. The name of the engine to resume. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25016
|
+
*/
|
|
25017
|
+
name?: string;
|
|
25018
|
+
/**
|
|
25019
|
+
* Request body metadata
|
|
25020
|
+
*/
|
|
25021
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaResumeEngineRequest;
|
|
25022
|
+
}
|
|
25023
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Tune extends StandardParameters {
|
|
25024
|
+
/**
|
|
25025
|
+
* Required. The resource name of the engine to tune. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25026
|
+
*/
|
|
25027
|
+
name?: string;
|
|
25028
|
+
/**
|
|
25029
|
+
* Request body metadata
|
|
25030
|
+
*/
|
|
25031
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaTuneEngineRequest;
|
|
25032
|
+
}
|
|
25033
|
+
export class Resource$Projects$Locations$Collections$Engines$Assistants {
|
|
25034
|
+
context: APIRequestContext;
|
|
25035
|
+
agents: Resource$Projects$Locations$Collections$Engines$Assistants$Agents;
|
|
25036
|
+
constructor(context: APIRequestContext);
|
|
25037
|
+
/**
|
|
25038
|
+
* Creates an Assistant.
|
|
25039
|
+
* @example
|
|
25040
|
+
* ```js
|
|
25041
|
+
* // Before running the sample:
|
|
25042
|
+
* // - Enable the API at:
|
|
25043
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
25044
|
+
* // - Login into gcloud by running:
|
|
25045
|
+
* // ```sh
|
|
25046
|
+
* // $ gcloud auth application-default login
|
|
25047
|
+
* // ```
|
|
25048
|
+
* // - Install the npm module by running:
|
|
25049
|
+
* // ```sh
|
|
25050
|
+
* // $ npm install googleapis
|
|
25051
|
+
* // ```
|
|
25052
|
+
*
|
|
25053
|
+
* const {google} = require('googleapis');
|
|
25054
|
+
* const discoveryengine = google.discoveryengine('v1beta');
|
|
25055
|
+
*
|
|
25056
|
+
* async function main() {
|
|
25057
|
+
* const auth = new google.auth.GoogleAuth({
|
|
25058
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
25059
|
+
* scopes: [
|
|
25060
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
25061
|
+
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
25062
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
25063
|
+
* ],
|
|
25064
|
+
* });
|
|
25065
|
+
*
|
|
25066
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
25067
|
+
* const authClient = await auth.getClient();
|
|
25068
|
+
* google.options({auth: authClient});
|
|
25069
|
+
*
|
|
25070
|
+
* // Do the magic
|
|
25071
|
+
* const res =
|
|
25072
|
+
* await discoveryengine.projects.locations.collections.engines.assistants.create(
|
|
25073
|
+
* {
|
|
25074
|
+
* // Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.
|
|
25075
|
+
* assistantId: 'placeholder-value',
|
|
25076
|
+
* // Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
25077
|
+
* parent:
|
|
25078
|
+
* 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
|
|
25079
|
+
*
|
|
25080
|
+
* // Request body metadata
|
|
25081
|
+
* requestBody: {
|
|
25082
|
+
* // request body parameters
|
|
25083
|
+
* // {
|
|
25084
|
+
* // "customerPolicy": {},
|
|
25085
|
+
* // "description": "my_description",
|
|
25086
|
+
* // "displayName": "my_displayName",
|
|
25087
|
+
* // "enabledTools": {},
|
|
25088
|
+
* // "generationConfig": {},
|
|
25089
|
+
* // "name": "my_name",
|
|
25090
|
+
* // "webGroundingType": "my_webGroundingType"
|
|
25091
|
+
* // }
|
|
25092
|
+
* },
|
|
25093
|
+
* },
|
|
25094
|
+
* );
|
|
25095
|
+
* console.log(res.data);
|
|
25096
|
+
*
|
|
25097
|
+
* // Example response
|
|
25098
|
+
* // {
|
|
25099
|
+
* // "customerPolicy": {},
|
|
25100
|
+
* // "description": "my_description",
|
|
25101
|
+
* // "displayName": "my_displayName",
|
|
25102
|
+
* // "enabledTools": {},
|
|
25103
|
+
* // "generationConfig": {},
|
|
25104
|
+
* // "name": "my_name",
|
|
25105
|
+
* // "webGroundingType": "my_webGroundingType"
|
|
25106
|
+
* // }
|
|
25107
|
+
* }
|
|
25108
|
+
*
|
|
25109
|
+
* main().catch(e => {
|
|
25110
|
+
* console.error(e);
|
|
25111
|
+
* throw e;
|
|
25112
|
+
* });
|
|
25113
|
+
*
|
|
25114
|
+
* ```
|
|
25115
|
+
*
|
|
25116
|
+
* @param params - Parameters for request
|
|
25117
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
25118
|
+
* @param callback - Optional callback that handles the response.
|
|
25119
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
25120
|
+
*/
|
|
25121
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
25122
|
+
create(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAssistant>>;
|
|
25123
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
25124
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25125
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25126
|
+
create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25127
|
+
/**
|
|
25128
|
+
* Deletes an Assistant.
|
|
25129
|
+
* @example
|
|
25130
|
+
* ```js
|
|
25131
|
+
* // Before running the sample:
|
|
25132
|
+
* // - Enable the API at:
|
|
25133
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
25134
|
+
* // - Login into gcloud by running:
|
|
25135
|
+
* // ```sh
|
|
25136
|
+
* // $ gcloud auth application-default login
|
|
25137
|
+
* // ```
|
|
25138
|
+
* // - Install the npm module by running:
|
|
25139
|
+
* // ```sh
|
|
25140
|
+
* // $ npm install googleapis
|
|
25141
|
+
* // ```
|
|
25142
|
+
*
|
|
25143
|
+
* const {google} = require('googleapis');
|
|
25144
|
+
* const discoveryengine = google.discoveryengine('v1beta');
|
|
25145
|
+
*
|
|
25146
|
+
* async function main() {
|
|
25147
|
+
* const auth = new google.auth.GoogleAuth({
|
|
25148
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
25149
|
+
* scopes: [
|
|
25150
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
25151
|
+
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
25152
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
25153
|
+
* ],
|
|
25154
|
+
* });
|
|
25155
|
+
*
|
|
25156
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
25157
|
+
* const authClient = await auth.getClient();
|
|
25158
|
+
* google.options({auth: authClient});
|
|
25159
|
+
*
|
|
25160
|
+
* // Do the magic
|
|
25161
|
+
* const res =
|
|
25162
|
+
* await discoveryengine.projects.locations.collections.engines.assistants.delete(
|
|
25163
|
+
* {
|
|
25164
|
+
* // Required. Resource name of Assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.
|
|
25165
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant',
|
|
25166
|
+
* },
|
|
25167
|
+
* );
|
|
25168
|
+
* console.log(res.data);
|
|
25169
|
+
*
|
|
25170
|
+
* // Example response
|
|
25171
|
+
* // {}
|
|
25172
|
+
* }
|
|
25173
|
+
*
|
|
25174
|
+
* main().catch(e => {
|
|
25175
|
+
* console.error(e);
|
|
25176
|
+
* throw e;
|
|
25177
|
+
* });
|
|
25178
|
+
*
|
|
25179
|
+
* ```
|
|
25180
|
+
*
|
|
25181
|
+
* @param params - Parameters for request
|
|
25182
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
25183
|
+
* @param callback - Optional callback that handles the response.
|
|
25184
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
25185
|
+
*/
|
|
25186
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
25187
|
+
delete(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
25188
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
25189
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
25190
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
25191
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
25192
|
+
/**
|
|
25193
|
+
* Gets an Assistant.
|
|
25194
|
+
* @example
|
|
25195
|
+
* ```js
|
|
25196
|
+
* // Before running the sample:
|
|
25197
|
+
* // - Enable the API at:
|
|
25198
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
25199
|
+
* // - Login into gcloud by running:
|
|
25200
|
+
* // ```sh
|
|
25201
|
+
* // $ gcloud auth application-default login
|
|
25202
|
+
* // ```
|
|
25203
|
+
* // - Install the npm module by running:
|
|
25204
|
+
* // ```sh
|
|
25205
|
+
* // $ npm install googleapis
|
|
25206
|
+
* // ```
|
|
25207
|
+
*
|
|
25208
|
+
* const {google} = require('googleapis');
|
|
25209
|
+
* const discoveryengine = google.discoveryengine('v1beta');
|
|
25210
|
+
*
|
|
25211
|
+
* async function main() {
|
|
25212
|
+
* const auth = new google.auth.GoogleAuth({
|
|
25213
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
25214
|
+
* scopes: [
|
|
25215
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
25216
|
+
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
25217
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
25218
|
+
* ],
|
|
25219
|
+
* });
|
|
25220
|
+
*
|
|
25221
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
25222
|
+
* const authClient = await auth.getClient();
|
|
25223
|
+
* google.options({auth: authClient});
|
|
25224
|
+
*
|
|
25225
|
+
* // Do the magic
|
|
25226
|
+
* const res =
|
|
25227
|
+
* await discoveryengine.projects.locations.collections.engines.assistants.get(
|
|
25228
|
+
* {
|
|
25229
|
+
* // Required. Resource name of Assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}`
|
|
25230
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant',
|
|
25233
25231
|
* },
|
|
25234
|
-
*
|
|
25235
|
-
* );
|
|
25232
|
+
* );
|
|
25236
25233
|
* console.log(res.data);
|
|
25237
25234
|
*
|
|
25238
25235
|
* // Example response
|
|
25239
25236
|
* // {
|
|
25240
|
-
* // "
|
|
25241
|
-
* // "
|
|
25242
|
-
* // "
|
|
25237
|
+
* // "customerPolicy": {},
|
|
25238
|
+
* // "description": "my_description",
|
|
25239
|
+
* // "displayName": "my_displayName",
|
|
25240
|
+
* // "enabledTools": {},
|
|
25241
|
+
* // "generationConfig": {},
|
|
25243
25242
|
* // "name": "my_name",
|
|
25244
|
-
* // "
|
|
25243
|
+
* // "webGroundingType": "my_webGroundingType"
|
|
25245
25244
|
* // }
|
|
25246
25245
|
* }
|
|
25247
25246
|
*
|
|
@@ -25257,106 +25256,14 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25257
25256
|
* @param callback - Optional callback that handles the response.
|
|
25258
25257
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
25259
25258
|
*/
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
}
|
|
25267
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Create extends StandardParameters {
|
|
25268
|
-
/**
|
|
25269
|
-
* Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
25270
|
-
*/
|
|
25271
|
-
engineId?: string;
|
|
25272
|
-
/**
|
|
25273
|
-
* Required. The parent resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}`.
|
|
25274
|
-
*/
|
|
25275
|
-
parent?: string;
|
|
25276
|
-
/**
|
|
25277
|
-
* Request body metadata
|
|
25278
|
-
*/
|
|
25279
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaEngine;
|
|
25280
|
-
}
|
|
25281
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Delete extends StandardParameters {
|
|
25282
|
-
/**
|
|
25283
|
-
* Required. Full resource name of Engine, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned.
|
|
25284
|
-
*/
|
|
25285
|
-
name?: string;
|
|
25286
|
-
}
|
|
25287
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Get extends StandardParameters {
|
|
25288
|
-
/**
|
|
25289
|
-
* Required. Full resource name of Engine, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`.
|
|
25290
|
-
*/
|
|
25291
|
-
name?: string;
|
|
25292
|
-
}
|
|
25293
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$List extends StandardParameters {
|
|
25294
|
-
/**
|
|
25295
|
-
* Optional. Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH
|
|
25296
|
-
*/
|
|
25297
|
-
filter?: string;
|
|
25298
|
-
/**
|
|
25299
|
-
* Optional. Not supported.
|
|
25300
|
-
*/
|
|
25301
|
-
pageSize?: number;
|
|
25302
|
-
/**
|
|
25303
|
-
* Optional. Not supported.
|
|
25304
|
-
*/
|
|
25305
|
-
pageToken?: string;
|
|
25306
|
-
/**
|
|
25307
|
-
* Required. The parent resource name, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}`.
|
|
25308
|
-
*/
|
|
25309
|
-
parent?: string;
|
|
25310
|
-
}
|
|
25311
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Patch extends StandardParameters {
|
|
25312
|
-
/**
|
|
25313
|
-
* Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` engine should be 1-63 characters, and valid characters are /a-z0-9x/. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
25314
|
-
*/
|
|
25315
|
-
name?: string;
|
|
25316
|
-
/**
|
|
25317
|
-
* Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
|
|
25318
|
-
*/
|
|
25319
|
-
updateMask?: string;
|
|
25320
|
-
/**
|
|
25321
|
-
* Request body metadata
|
|
25322
|
-
*/
|
|
25323
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaEngine;
|
|
25324
|
-
}
|
|
25325
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Pause extends StandardParameters {
|
|
25326
|
-
/**
|
|
25327
|
-
* Required. The name of the engine to pause. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25328
|
-
*/
|
|
25329
|
-
name?: string;
|
|
25330
|
-
/**
|
|
25331
|
-
* Request body metadata
|
|
25332
|
-
*/
|
|
25333
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaPauseEngineRequest;
|
|
25334
|
-
}
|
|
25335
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Resume extends StandardParameters {
|
|
25336
|
-
/**
|
|
25337
|
-
* Required. The name of the engine to resume. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25338
|
-
*/
|
|
25339
|
-
name?: string;
|
|
25340
|
-
/**
|
|
25341
|
-
* Request body metadata
|
|
25342
|
-
*/
|
|
25343
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaResumeEngineRequest;
|
|
25344
|
-
}
|
|
25345
|
-
export interface Params$Resource$Projects$Locations$Collections$Engines$Tune extends StandardParameters {
|
|
25346
|
-
/**
|
|
25347
|
-
* Required. The resource name of the engine to tune. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}`
|
|
25348
|
-
*/
|
|
25349
|
-
name?: string;
|
|
25350
|
-
/**
|
|
25351
|
-
* Request body metadata
|
|
25352
|
-
*/
|
|
25353
|
-
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaTuneEngineRequest;
|
|
25354
|
-
}
|
|
25355
|
-
export class Resource$Projects$Locations$Collections$Engines$Assistants {
|
|
25356
|
-
context: APIRequestContext;
|
|
25357
|
-
constructor(context: APIRequestContext);
|
|
25259
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
25260
|
+
get(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAssistant>>;
|
|
25261
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
25262
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25263
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25264
|
+
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAssistant>): void;
|
|
25358
25265
|
/**
|
|
25359
|
-
*
|
|
25266
|
+
* Lists all Assistants under an Engine.
|
|
25360
25267
|
* @example
|
|
25361
25268
|
* ```js
|
|
25362
25269
|
* // Before running the sample:
|
|
@@ -25390,21 +25297,23 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25390
25297
|
*
|
|
25391
25298
|
* // Do the magic
|
|
25392
25299
|
* const res =
|
|
25393
|
-
* await discoveryengine.projects.locations.collections.engines.assistants.
|
|
25300
|
+
* await discoveryengine.projects.locations.collections.engines.assistants.list(
|
|
25394
25301
|
* {
|
|
25395
|
-
* //
|
|
25396
|
-
*
|
|
25302
|
+
* // Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
|
|
25303
|
+
* pageSize: 'placeholder-value',
|
|
25304
|
+
* // A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
|
|
25305
|
+
* pageToken: 'placeholder-value',
|
|
25306
|
+
* // Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
25307
|
+
* parent:
|
|
25308
|
+
* 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
|
|
25397
25309
|
* },
|
|
25398
25310
|
* );
|
|
25399
25311
|
* console.log(res.data);
|
|
25400
25312
|
*
|
|
25401
25313
|
* // Example response
|
|
25402
25314
|
* // {
|
|
25403
|
-
* // "
|
|
25404
|
-
* // "
|
|
25405
|
-
* // "generationConfig": {},
|
|
25406
|
-
* // "name": "my_name",
|
|
25407
|
-
* // "webGroundingType": "my_webGroundingType"
|
|
25315
|
+
* // "assistants": [],
|
|
25316
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
25408
25317
|
* // }
|
|
25409
25318
|
* }
|
|
25410
25319
|
*
|
|
@@ -25420,12 +25329,12 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25420
25329
|
* @param callback - Optional callback that handles the response.
|
|
25421
25330
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
25422
25331
|
*/
|
|
25423
|
-
|
|
25424
|
-
|
|
25425
|
-
|
|
25426
|
-
|
|
25427
|
-
|
|
25428
|
-
|
|
25332
|
+
list(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
25333
|
+
list(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse>>;
|
|
25334
|
+
list(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
25335
|
+
list(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse>): void;
|
|
25336
|
+
list(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse>): void;
|
|
25337
|
+
list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListAssistantsResponse>): void;
|
|
25429
25338
|
/**
|
|
25430
25339
|
* Updates an Assistant
|
|
25431
25340
|
* @example
|
|
@@ -25473,6 +25382,8 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25473
25382
|
* // request body parameters
|
|
25474
25383
|
* // {
|
|
25475
25384
|
* // "customerPolicy": {},
|
|
25385
|
+
* // "description": "my_description",
|
|
25386
|
+
* // "displayName": "my_displayName",
|
|
25476
25387
|
* // "enabledTools": {},
|
|
25477
25388
|
* // "generationConfig": {},
|
|
25478
25389
|
* // "name": "my_name",
|
|
@@ -25486,6 +25397,8 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25486
25397
|
* // Example response
|
|
25487
25398
|
* // {
|
|
25488
25399
|
* // "customerPolicy": {},
|
|
25400
|
+
* // "description": "my_description",
|
|
25401
|
+
* // "displayName": "my_displayName",
|
|
25489
25402
|
* // "enabledTools": {},
|
|
25490
25403
|
* // "generationConfig": {},
|
|
25491
25404
|
* // "name": "my_name",
|
|
@@ -25570,6 +25483,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25570
25483
|
* // {
|
|
25571
25484
|
* // "answer": {},
|
|
25572
25485
|
* // "assistToken": "my_assistToken",
|
|
25486
|
+
* // "invocationTools": [],
|
|
25573
25487
|
* // "sessionInfo": {}
|
|
25574
25488
|
* // }
|
|
25575
25489
|
* }
|
|
@@ -25593,12 +25507,46 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25593
25507
|
streamAssist(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Streamassist, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponse>): void;
|
|
25594
25508
|
streamAssist(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponse>): void;
|
|
25595
25509
|
}
|
|
25510
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Create extends StandardParameters {
|
|
25511
|
+
/**
|
|
25512
|
+
* Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.
|
|
25513
|
+
*/
|
|
25514
|
+
assistantId?: string;
|
|
25515
|
+
/**
|
|
25516
|
+
* Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
25517
|
+
*/
|
|
25518
|
+
parent?: string;
|
|
25519
|
+
/**
|
|
25520
|
+
* Request body metadata
|
|
25521
|
+
*/
|
|
25522
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaAssistant;
|
|
25523
|
+
}
|
|
25524
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Delete extends StandardParameters {
|
|
25525
|
+
/**
|
|
25526
|
+
* Required. Resource name of Assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.
|
|
25527
|
+
*/
|
|
25528
|
+
name?: string;
|
|
25529
|
+
}
|
|
25596
25530
|
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Get extends StandardParameters {
|
|
25597
25531
|
/**
|
|
25598
25532
|
* Required. Resource name of Assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}`
|
|
25599
25533
|
*/
|
|
25600
25534
|
name?: string;
|
|
25601
25535
|
}
|
|
25536
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$List extends StandardParameters {
|
|
25537
|
+
/**
|
|
25538
|
+
* Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
|
|
25539
|
+
*/
|
|
25540
|
+
pageSize?: number;
|
|
25541
|
+
/**
|
|
25542
|
+
* A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
|
|
25543
|
+
*/
|
|
25544
|
+
pageToken?: string;
|
|
25545
|
+
/**
|
|
25546
|
+
* Required. The parent resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
25547
|
+
*/
|
|
25548
|
+
parent?: string;
|
|
25549
|
+
}
|
|
25602
25550
|
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Patch extends StandardParameters {
|
|
25603
25551
|
/**
|
|
25604
25552
|
* Immutable. Resource name of the assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}` It must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
@@ -25623,6 +25571,91 @@ export declare namespace discoveryengine_v1beta {
|
|
|
25623
25571
|
*/
|
|
25624
25572
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistRequest;
|
|
25625
25573
|
}
|
|
25574
|
+
export class Resource$Projects$Locations$Collections$Engines$Assistants$Agents {
|
|
25575
|
+
context: APIRequestContext;
|
|
25576
|
+
operations: Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations;
|
|
25577
|
+
constructor(context: APIRequestContext);
|
|
25578
|
+
}
|
|
25579
|
+
export class Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations {
|
|
25580
|
+
context: APIRequestContext;
|
|
25581
|
+
constructor(context: APIRequestContext);
|
|
25582
|
+
/**
|
|
25583
|
+
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
25584
|
+
* @example
|
|
25585
|
+
* ```js
|
|
25586
|
+
* // Before running the sample:
|
|
25587
|
+
* // - Enable the API at:
|
|
25588
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
25589
|
+
* // - Login into gcloud by running:
|
|
25590
|
+
* // ```sh
|
|
25591
|
+
* // $ gcloud auth application-default login
|
|
25592
|
+
* // ```
|
|
25593
|
+
* // - Install the npm module by running:
|
|
25594
|
+
* // ```sh
|
|
25595
|
+
* // $ npm install googleapis
|
|
25596
|
+
* // ```
|
|
25597
|
+
*
|
|
25598
|
+
* const {google} = require('googleapis');
|
|
25599
|
+
* const discoveryengine = google.discoveryengine('v1beta');
|
|
25600
|
+
*
|
|
25601
|
+
* async function main() {
|
|
25602
|
+
* const auth = new google.auth.GoogleAuth({
|
|
25603
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
25604
|
+
* scopes: [
|
|
25605
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
25606
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
25607
|
+
* ],
|
|
25608
|
+
* });
|
|
25609
|
+
*
|
|
25610
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
25611
|
+
* const authClient = await auth.getClient();
|
|
25612
|
+
* google.options({auth: authClient});
|
|
25613
|
+
*
|
|
25614
|
+
* // Do the magic
|
|
25615
|
+
* const res =
|
|
25616
|
+
* await discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get(
|
|
25617
|
+
* {
|
|
25618
|
+
* // The name of the operation resource.
|
|
25619
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/assistants/my-assistant/agents/my-agent/operations/my-operation',
|
|
25620
|
+
* },
|
|
25621
|
+
* );
|
|
25622
|
+
* console.log(res.data);
|
|
25623
|
+
*
|
|
25624
|
+
* // Example response
|
|
25625
|
+
* // {
|
|
25626
|
+
* // "done": false,
|
|
25627
|
+
* // "error": {},
|
|
25628
|
+
* // "metadata": {},
|
|
25629
|
+
* // "name": "my_name",
|
|
25630
|
+
* // "response": {}
|
|
25631
|
+
* // }
|
|
25632
|
+
* }
|
|
25633
|
+
*
|
|
25634
|
+
* main().catch(e => {
|
|
25635
|
+
* console.error(e);
|
|
25636
|
+
* throw e;
|
|
25637
|
+
* });
|
|
25638
|
+
*
|
|
25639
|
+
* ```
|
|
25640
|
+
*
|
|
25641
|
+
* @param params - Parameters for request
|
|
25642
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
25643
|
+
* @param callback - Optional callback that handles the response.
|
|
25644
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
25645
|
+
*/
|
|
25646
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
25647
|
+
get(params?: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
25648
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
25649
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
25650
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
25651
|
+
get(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
25652
|
+
}
|
|
25653
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Assistants$Agents$Operations$Get extends StandardParameters {
|
|
25654
|
+
/**
|
|
25655
|
+
* The name of the operation resource.
|
|
25656
|
+
*/
|
|
25657
|
+
name?: string;
|
|
25658
|
+
}
|
|
25626
25659
|
export class Resource$Projects$Locations$Collections$Engines$Completionconfig {
|
|
25627
25660
|
context: APIRequestContext;
|
|
25628
25661
|
constructor(context: APIRequestContext);
|
|
@@ -26934,7 +26967,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
26934
26967
|
* pageSize: 'placeholder-value',
|
|
26935
26968
|
* // The standard list page token.
|
|
26936
26969
|
* pageToken: 'placeholder-value',
|
|
26937
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
26970
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
26938
26971
|
* returnPartialSuccess: 'placeholder-value',
|
|
26939
26972
|
* },
|
|
26940
26973
|
* );
|
|
@@ -26991,7 +27024,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
26991
27024
|
*/
|
|
26992
27025
|
pageToken?: string;
|
|
26993
27026
|
/**
|
|
26994
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
27027
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
26995
27028
|
*/
|
|
26996
27029
|
returnPartialSuccess?: boolean;
|
|
26997
27030
|
}
|
|
@@ -27495,6 +27528,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27495
27528
|
* // "branch": "my_branch",
|
|
27496
27529
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
27497
27530
|
* // "contentSearchSpec": {},
|
|
27531
|
+
* // "crowdingSpecs": [],
|
|
27498
27532
|
* // "dataStoreSpecs": [],
|
|
27499
27533
|
* // "displaySpec": {},
|
|
27500
27534
|
* // "embeddingSpec": {},
|
|
@@ -27506,6 +27540,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27506
27540
|
* // "offset": 0,
|
|
27507
27541
|
* // "oneBoxPageSize": 0,
|
|
27508
27542
|
* // "orderBy": "my_orderBy",
|
|
27543
|
+
* // "pageCategories": [],
|
|
27509
27544
|
* // "pageSize": 0,
|
|
27510
27545
|
* // "pageToken": "my_pageToken",
|
|
27511
27546
|
* // "params": {},
|
|
@@ -27548,6 +27583,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27548
27583
|
* // "redirectUri": "my_redirectUri",
|
|
27549
27584
|
* // "results": [],
|
|
27550
27585
|
* // "searchLinkPromotions": [],
|
|
27586
|
+
* // "semanticState": "my_semanticState",
|
|
27551
27587
|
* // "sessionInfo": {},
|
|
27552
27588
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
27553
27589
|
* // "summary": {},
|
|
@@ -27622,6 +27658,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27622
27658
|
* // "branch": "my_branch",
|
|
27623
27659
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
27624
27660
|
* // "contentSearchSpec": {},
|
|
27661
|
+
* // "crowdingSpecs": [],
|
|
27625
27662
|
* // "dataStoreSpecs": [],
|
|
27626
27663
|
* // "displaySpec": {},
|
|
27627
27664
|
* // "embeddingSpec": {},
|
|
@@ -27633,6 +27670,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27633
27670
|
* // "offset": 0,
|
|
27634
27671
|
* // "oneBoxPageSize": 0,
|
|
27635
27672
|
* // "orderBy": "my_orderBy",
|
|
27673
|
+
* // "pageCategories": [],
|
|
27636
27674
|
* // "pageSize": 0,
|
|
27637
27675
|
* // "pageToken": "my_pageToken",
|
|
27638
27676
|
* // "params": {},
|
|
@@ -27675,6 +27713,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
27675
27713
|
* // "redirectUri": "my_redirectUri",
|
|
27676
27714
|
* // "results": [],
|
|
27677
27715
|
* // "searchLinkPromotions": [],
|
|
27716
|
+
* // "semanticState": "my_semanticState",
|
|
27678
27717
|
* // "sessionInfo": {},
|
|
27679
27718
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
27680
27719
|
* // "summary": {},
|
|
@@ -28544,7 +28583,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
28544
28583
|
* pageSize: 'placeholder-value',
|
|
28545
28584
|
* // The standard list page token.
|
|
28546
28585
|
* pageToken: 'placeholder-value',
|
|
28547
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
28586
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
28548
28587
|
* returnPartialSuccess: 'placeholder-value',
|
|
28549
28588
|
* });
|
|
28550
28589
|
* console.log(res.data);
|
|
@@ -28600,7 +28639,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
28600
28639
|
*/
|
|
28601
28640
|
pageToken?: string;
|
|
28602
28641
|
/**
|
|
28603
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
28642
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
28604
28643
|
*/
|
|
28605
28644
|
returnPartialSuccess?: boolean;
|
|
28606
28645
|
}
|
|
@@ -30250,7 +30289,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
30250
30289
|
* pageSize: 'placeholder-value',
|
|
30251
30290
|
* // The standard list page token.
|
|
30252
30291
|
* pageToken: 'placeholder-value',
|
|
30253
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
30292
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
30254
30293
|
* returnPartialSuccess: 'placeholder-value',
|
|
30255
30294
|
* },
|
|
30256
30295
|
* );
|
|
@@ -30317,7 +30356,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
30317
30356
|
*/
|
|
30318
30357
|
pageToken?: string;
|
|
30319
30358
|
/**
|
|
30320
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
30359
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
30321
30360
|
*/
|
|
30322
30361
|
returnPartialSuccess?: boolean;
|
|
30323
30362
|
}
|
|
@@ -31713,7 +31752,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
31713
31752
|
* pageSize: 'placeholder-value',
|
|
31714
31753
|
* // The standard list page token.
|
|
31715
31754
|
* pageToken: 'placeholder-value',
|
|
31716
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
31755
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
31717
31756
|
* returnPartialSuccess: 'placeholder-value',
|
|
31718
31757
|
* });
|
|
31719
31758
|
* console.log(res.data);
|
|
@@ -31769,7 +31808,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
31769
31808
|
*/
|
|
31770
31809
|
pageToken?: string;
|
|
31771
31810
|
/**
|
|
31772
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
31811
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
31773
31812
|
*/
|
|
31774
31813
|
returnPartialSuccess?: boolean;
|
|
31775
31814
|
}
|
|
@@ -31887,7 +31926,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
31887
31926
|
* pageSize: 'placeholder-value',
|
|
31888
31927
|
* // The standard list page token.
|
|
31889
31928
|
* pageToken: 'placeholder-value',
|
|
31890
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
31929
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
31891
31930
|
* returnPartialSuccess: 'placeholder-value',
|
|
31892
31931
|
* });
|
|
31893
31932
|
* console.log(res.data);
|
|
@@ -31943,7 +31982,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
31943
31982
|
*/
|
|
31944
31983
|
pageToken?: string;
|
|
31945
31984
|
/**
|
|
31946
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
31985
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
31947
31986
|
*/
|
|
31948
31987
|
returnPartialSuccess?: boolean;
|
|
31949
31988
|
}
|
|
@@ -32859,6 +32898,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
32859
32898
|
* // "branch": "my_branch",
|
|
32860
32899
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
32861
32900
|
* // "contentSearchSpec": {},
|
|
32901
|
+
* // "crowdingSpecs": [],
|
|
32862
32902
|
* // "dataStoreSpecs": [],
|
|
32863
32903
|
* // "displaySpec": {},
|
|
32864
32904
|
* // "embeddingSpec": {},
|
|
@@ -32870,6 +32910,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
32870
32910
|
* // "offset": 0,
|
|
32871
32911
|
* // "oneBoxPageSize": 0,
|
|
32872
32912
|
* // "orderBy": "my_orderBy",
|
|
32913
|
+
* // "pageCategories": [],
|
|
32873
32914
|
* // "pageSize": 0,
|
|
32874
32915
|
* // "pageToken": "my_pageToken",
|
|
32875
32916
|
* // "params": {},
|
|
@@ -32911,6 +32952,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
32911
32952
|
* // "redirectUri": "my_redirectUri",
|
|
32912
32953
|
* // "results": [],
|
|
32913
32954
|
* // "searchLinkPromotions": [],
|
|
32955
|
+
* // "semanticState": "my_semanticState",
|
|
32914
32956
|
* // "sessionInfo": {},
|
|
32915
32957
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
32916
32958
|
* // "summary": {},
|
|
@@ -32985,6 +33027,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
32985
33027
|
* // "branch": "my_branch",
|
|
32986
33028
|
* // "canonicalFilter": "my_canonicalFilter",
|
|
32987
33029
|
* // "contentSearchSpec": {},
|
|
33030
|
+
* // "crowdingSpecs": [],
|
|
32988
33031
|
* // "dataStoreSpecs": [],
|
|
32989
33032
|
* // "displaySpec": {},
|
|
32990
33033
|
* // "embeddingSpec": {},
|
|
@@ -32996,6 +33039,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
32996
33039
|
* // "offset": 0,
|
|
32997
33040
|
* // "oneBoxPageSize": 0,
|
|
32998
33041
|
* // "orderBy": "my_orderBy",
|
|
33042
|
+
* // "pageCategories": [],
|
|
32999
33043
|
* // "pageSize": 0,
|
|
33000
33044
|
* // "pageToken": "my_pageToken",
|
|
33001
33045
|
* // "params": {},
|
|
@@ -33038,6 +33082,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
33038
33082
|
* // "redirectUri": "my_redirectUri",
|
|
33039
33083
|
* // "results": [],
|
|
33040
33084
|
* // "searchLinkPromotions": [],
|
|
33085
|
+
* // "semanticState": "my_semanticState",
|
|
33041
33086
|
* // "sessionInfo": {},
|
|
33042
33087
|
* // "suggestedQuery": "my_suggestedQuery",
|
|
33043
33088
|
* // "summary": {},
|
|
@@ -35455,6 +35500,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
35455
35500
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
35456
35501
|
* scopes: [
|
|
35457
35502
|
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
35503
|
+
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
35458
35504
|
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
35459
35505
|
* ],
|
|
35460
35506
|
* });
|
|
@@ -36656,7 +36702,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
36656
36702
|
* pageSize: 'placeholder-value',
|
|
36657
36703
|
* // The standard list page token.
|
|
36658
36704
|
* pageToken: 'placeholder-value',
|
|
36659
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
36705
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
36660
36706
|
* returnPartialSuccess: 'placeholder-value',
|
|
36661
36707
|
* },
|
|
36662
36708
|
* );
|
|
@@ -36713,7 +36759,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
36713
36759
|
*/
|
|
36714
36760
|
pageToken?: string;
|
|
36715
36761
|
/**
|
|
36716
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
36762
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
36717
36763
|
*/
|
|
36718
36764
|
returnPartialSuccess?: boolean;
|
|
36719
36765
|
}
|
|
@@ -37121,7 +37167,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
37121
37167
|
* pageSize: 'placeholder-value',
|
|
37122
37168
|
* // The standard list page token.
|
|
37123
37169
|
* pageToken: 'placeholder-value',
|
|
37124
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
37170
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
37125
37171
|
* returnPartialSuccess: 'placeholder-value',
|
|
37126
37172
|
* });
|
|
37127
37173
|
* console.log(res.data);
|
|
@@ -37177,7 +37223,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
37177
37223
|
*/
|
|
37178
37224
|
pageToken?: string;
|
|
37179
37225
|
/**
|
|
37180
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
37226
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
37181
37227
|
*/
|
|
37182
37228
|
returnPartialSuccess?: boolean;
|
|
37183
37229
|
}
|
|
@@ -39218,8 +39264,8 @@ export declare namespace discoveryengine_v1beta {
|
|
|
39218
39264
|
* // Do the magic
|
|
39219
39265
|
* const res =
|
|
39220
39266
|
* await discoveryengine.projects.locations.userStores.userLicenses.list({
|
|
39221
|
-
* // Optional.
|
|
39222
|
-
*
|
|
39267
|
+
* // Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.
|
|
39268
|
+
* orderBy: 'placeholder-value',
|
|
39223
39269
|
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.
|
|
39224
39270
|
* pageSize: 'placeholder-value',
|
|
39225
39271
|
* // Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.
|
|
@@ -39258,9 +39304,9 @@ export declare namespace discoveryengine_v1beta {
|
|
|
39258
39304
|
}
|
|
39259
39305
|
export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List extends StandardParameters {
|
|
39260
39306
|
/**
|
|
39261
|
-
* Optional.
|
|
39307
|
+
* Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.
|
|
39262
39308
|
*/
|
|
39263
|
-
|
|
39309
|
+
orderBy?: string;
|
|
39264
39310
|
/**
|
|
39265
39311
|
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.
|
|
39266
39312
|
*/
|
|
@@ -39386,7 +39432,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
39386
39432
|
* pageSize: 'placeholder-value',
|
|
39387
39433
|
* // The standard list page token.
|
|
39388
39434
|
* pageToken: 'placeholder-value',
|
|
39389
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
39435
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
39390
39436
|
* returnPartialSuccess: 'placeholder-value',
|
|
39391
39437
|
* });
|
|
39392
39438
|
* console.log(res.data);
|
|
@@ -39442,7 +39488,7 @@ export declare namespace discoveryengine_v1beta {
|
|
|
39442
39488
|
*/
|
|
39443
39489
|
pageToken?: string;
|
|
39444
39490
|
/**
|
|
39445
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
39491
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
39446
39492
|
*/
|
|
39447
39493
|
returnPartialSuccess?: boolean;
|
|
39448
39494
|
}
|