@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250716 → 0.0.20250722
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/index.d.ts +144 -21
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250722
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -968,6 +968,8 @@ declare namespace gapi.client {
|
|
|
968
968
|
interface GoogleCloudDiscoveryengineV1alphaAssistAnswer {
|
|
969
969
|
/** Reasons for not answering the assist call. */
|
|
970
970
|
assistSkippedReasons?: string[];
|
|
971
|
+
/** Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
972
|
+
name?: string;
|
|
971
973
|
/** Replies of the assistant. */
|
|
972
974
|
replies?: GoogleCloudDiscoveryengineV1alphaAssistAnswerReply[];
|
|
973
975
|
/** State of the answer generation. */
|
|
@@ -1329,9 +1331,9 @@ declare namespace gapi.client {
|
|
|
1329
1331
|
interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
|
|
1330
1332
|
/** Output only. The default CmekConfig for the Customer. */
|
|
1331
1333
|
isDefault?: boolean;
|
|
1332
|
-
/** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
1334
|
+
/** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
1333
1335
|
kmsKey?: string;
|
|
1334
|
-
/** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
1336
|
+
/** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
1335
1337
|
kmsKeyVersion?: string;
|
|
1336
1338
|
/** Output only. The timestamp of the last key rotation. */
|
|
1337
1339
|
lastRotationTimestampMicros?: string;
|
|
@@ -2293,6 +2295,54 @@ declare namespace gapi.client {
|
|
|
2293
2295
|
/** If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error. */
|
|
2294
2296
|
searchableOption?: string;
|
|
2295
2297
|
}
|
|
2298
|
+
interface GoogleCloudDiscoveryengineV1alphaFileCharacteristics {
|
|
2299
|
+
/** Output only. Generic map of characteristics. */
|
|
2300
|
+
characteristics?: {[P in string]: string};
|
|
2301
|
+
}
|
|
2302
|
+
interface GoogleCloudDiscoveryengineV1alphaFileMetadata {
|
|
2303
|
+
/** Output only. The size of the context file in bytes. */
|
|
2304
|
+
byteSize?: string;
|
|
2305
|
+
/** Output only. The AssistantService.DownloadSessionFile URL to download the file. This URL will need the same credentials as AssistantService.ListSessionFileMetadata method and will provide the resource. */
|
|
2306
|
+
downloadUri?: string;
|
|
2307
|
+
/** Output only. The ID of the file. */
|
|
2308
|
+
fileId?: string;
|
|
2309
|
+
/** Optional. The origin of the file. */
|
|
2310
|
+
fileOriginType?: string;
|
|
2311
|
+
/** Output only. The time the file was added to the session. Note that if a file was added, then modified externally, then added again, the add time will be updated. */
|
|
2312
|
+
lastAddTime?: string;
|
|
2313
|
+
/** Optional. Represents metadata related to the file that can suit particular use cases. The prefix "google." is reserved for the key for use by Google, but other prefixes can be freely used. */
|
|
2314
|
+
metadata?: {[P in string]: string};
|
|
2315
|
+
/** The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml. */
|
|
2316
|
+
mimeType?: string;
|
|
2317
|
+
/** Output only. The name of the file uploaded. */
|
|
2318
|
+
name?: string;
|
|
2319
|
+
/** Optional. The type of the original source of the file. */
|
|
2320
|
+
originalSourceType?: string;
|
|
2321
|
+
/** Optional. The original location of the file. It may be a local file path, or any other URI that allows accessing the file in an external system. There are two scenarios in which this url may be empty: 1. If the file was sent as inline data (e.g. pasted from the clipboard). 2. If the original location is not available. Note that there's no guarantee that the URI will be pointing to a valid or actually existing file. For example, a file might have been uploaded to the session, and then deleted from the original source. */
|
|
2322
|
+
originalUri?: string;
|
|
2323
|
+
/** Output only. The time the file was uploaded (If this is a file generated by an internal process and then made available to the session, this indicates the moment it happened). */
|
|
2324
|
+
uploadTime?: string;
|
|
2325
|
+
/** Output only. Alternate views of this file object. Each file view is attached to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" - "clip" - "summary" - "translation" */
|
|
2326
|
+
views?: {[P in string]: GoogleCloudDiscoveryengineV1alphaFileView};
|
|
2327
|
+
}
|
|
2328
|
+
interface GoogleCloudDiscoveryengineV1alphaFileView {
|
|
2329
|
+
/** Output only. The size of the view in bytes. */
|
|
2330
|
+
byteSize?: string;
|
|
2331
|
+
/** Output only. The time the view was created. */
|
|
2332
|
+
createTime?: string;
|
|
2333
|
+
/** Output only. Characteristics of other file types. */
|
|
2334
|
+
fileCharacteristics?: GoogleCloudDiscoveryengineV1alphaFileCharacteristics;
|
|
2335
|
+
/** Output only. Characteristics of an image media view. */
|
|
2336
|
+
imageCharacteristics?: GoogleCloudDiscoveryengineV1alphaImageCharacteristics;
|
|
2337
|
+
/** Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain", "video/mp4") */
|
|
2338
|
+
mimeType?: string;
|
|
2339
|
+
/** Output only. The URI to access this media view. */
|
|
2340
|
+
uri?: string;
|
|
2341
|
+
/** Output only. Characteristics of a video media view. */
|
|
2342
|
+
videoCharacteristics?: GoogleCloudDiscoveryengineV1alphaVideoCharacteristics;
|
|
2343
|
+
/** Output only. Globally Unique id for this specific view. */
|
|
2344
|
+
viewId?: string;
|
|
2345
|
+
}
|
|
2296
2346
|
interface GoogleCloudDiscoveryengineV1alphaFirestoreSource {
|
|
2297
2347
|
/** Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters. */
|
|
2298
2348
|
collectionId?: string;
|
|
@@ -2395,6 +2445,16 @@ declare namespace gapi.client {
|
|
|
2395
2445
|
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
2396
2446
|
workforcePoolName?: string;
|
|
2397
2447
|
}
|
|
2448
|
+
interface GoogleCloudDiscoveryengineV1alphaImageCharacteristics {
|
|
2449
|
+
/** Output only. Bit depth of the image (e.g., 8-bit, 16-bit). */
|
|
2450
|
+
bitDepth?: number;
|
|
2451
|
+
/** Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale"). */
|
|
2452
|
+
colorSpace?: string;
|
|
2453
|
+
/** Output only. Image height in pixels. */
|
|
2454
|
+
height?: number;
|
|
2455
|
+
/** Output only. Image width in pixels. */
|
|
2456
|
+
width?: number;
|
|
2457
|
+
}
|
|
2398
2458
|
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
|
|
2399
2459
|
/** Operation create time. */
|
|
2400
2460
|
createTime?: string;
|
|
@@ -2679,6 +2739,12 @@ declare namespace gapi.client {
|
|
|
2679
2739
|
/** A token that can be sent as ListEvaluationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2680
2740
|
nextPageToken?: string;
|
|
2681
2741
|
}
|
|
2742
|
+
interface GoogleCloudDiscoveryengineV1alphaListFilesResponse {
|
|
2743
|
+
/** The FileMetadatas. */
|
|
2744
|
+
files?: GoogleCloudDiscoveryengineV1alphaFileMetadata[];
|
|
2745
|
+
/** A token to retrieve next page of results. Pass this value in the ListFilesRequest.page_token field in the subsequent call to `ListFiles` method to retrieve the next page of results. */
|
|
2746
|
+
nextPageToken?: string;
|
|
2747
|
+
}
|
|
2682
2748
|
interface GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse {
|
|
2683
2749
|
/** The Identity Mapping Entries. */
|
|
2684
2750
|
identityMappingEntries?: GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry[];
|
|
@@ -2716,7 +2782,7 @@ declare namespace gapi.client {
|
|
|
2716
2782
|
servingConfigs?: GoogleCloudDiscoveryengineV1alphaServingConfig[];
|
|
2717
2783
|
}
|
|
2718
2784
|
interface GoogleCloudDiscoveryengineV1alphaListSessionsRequest {
|
|
2719
|
-
/** A
|
|
2785
|
+
/** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
|
|
2720
2786
|
filter?: string;
|
|
2721
2787
|
/** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time. */
|
|
2722
2788
|
orderBy?: string;
|
|
@@ -2844,6 +2910,12 @@ declare namespace gapi.client {
|
|
|
2844
2910
|
acceptDataUseTerms?: boolean;
|
|
2845
2911
|
/** Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time. */
|
|
2846
2912
|
dataUseTermsVersion?: string;
|
|
2913
|
+
/** Optional. Parameters for Agentspace. */
|
|
2914
|
+
saasParams?: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams;
|
|
2915
|
+
}
|
|
2916
|
+
interface GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams {
|
|
2917
|
+
/** Optional. Set to `true` to specify that caller has read and would like to give consent to the [Terms for Agent Space quality of service]. */
|
|
2918
|
+
acceptBizQos?: boolean;
|
|
2847
2919
|
}
|
|
2848
2920
|
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata {
|
|
2849
2921
|
/** Operation create time. */
|
|
@@ -2986,7 +3058,7 @@ declare namespace gapi.client {
|
|
|
2986
3058
|
model?: string;
|
|
2987
3059
|
/** The query to use. */
|
|
2988
3060
|
query?: string;
|
|
2989
|
-
/** Required. A list of records to rank.
|
|
3061
|
+
/** Required. A list of records to rank. */
|
|
2990
3062
|
records?: GoogleCloudDiscoveryengineV1alphaRankingRecord[];
|
|
2991
3063
|
/** The number of results to return. If this is unset or no bigger than zero, returns all results. */
|
|
2992
3064
|
topN?: number;
|
|
@@ -3977,29 +4049,22 @@ declare namespace gapi.client {
|
|
|
3977
4049
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec {
|
|
3978
4050
|
/** Optional. Specification of the image generation tool. */
|
|
3979
4051
|
imageGenerationSpec?: any;
|
|
3980
|
-
/** Optional. The name of the tool registry to use. Format: `projects/{project}/locations/{location}/toolRegistries/{tool_registry}` */
|
|
3981
|
-
toolRegistry?: string;
|
|
3982
4052
|
/** Optional. Specification of the Vertex AI Search tool. */
|
|
3983
4053
|
vertexAiSearchSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec;
|
|
3984
4054
|
/** Optional. Specification of the video generation tool. */
|
|
3985
4055
|
videoGenerationSpec?: any;
|
|
3986
4056
|
/** Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if Assistant.web_grounding_type is WEB_GROUNDING_TYPE_GOOGLE_SEARCH or WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH. */
|
|
3987
|
-
webGroundingSpec?:
|
|
4057
|
+
webGroundingSpec?: any;
|
|
3988
4058
|
}
|
|
3989
4059
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec {}
|
|
3990
4060
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec {
|
|
3991
4061
|
/** Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores. */
|
|
3992
4062
|
dataStoreSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec[];
|
|
3993
|
-
/** Optional. Deprecated. Please refrain from using this field. Whether the Vertex AI Search tool is disabled. Default value is false, the tool is enabled by default. */
|
|
3994
|
-
disabled?: boolean;
|
|
3995
4063
|
/** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
3996
4064
|
filter?: string;
|
|
3997
4065
|
}
|
|
3998
4066
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec {}
|
|
3999
|
-
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec {
|
|
4000
|
-
/** Optional. Deprecated. Please refrain from using this field. Whether the web grounding tool is enabled. */
|
|
4001
|
-
enabled?: boolean;
|
|
4002
|
-
}
|
|
4067
|
+
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec {}
|
|
4003
4068
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponse {
|
|
4004
4069
|
/** Assist answer resource object containing parts of the assistant's final answer for the user's query. Not present if the current response doesn't add anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state to see if more parts are to be expected. While the state is `IN_PROGRESS`, the AssistAnswer.replies field in each response will contain replies (reply fragments) to be appended to the ones received in previous responses. AssistAnswer.name won't be filled. If the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response is the last response and AssistAnswer.name will have a value. */
|
|
4005
4070
|
answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
|
|
@@ -4222,6 +4287,24 @@ declare namespace gapi.client {
|
|
|
4222
4287
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
4223
4288
|
userProfile?: string;
|
|
4224
4289
|
}
|
|
4290
|
+
interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
|
|
4291
|
+
/** Output only. Bitrate of the audio in kbps. */
|
|
4292
|
+
audioBitrateKbps?: number;
|
|
4293
|
+
/** Output only. Audio codecs used in the video. */
|
|
4294
|
+
audioCodecs?: string[];
|
|
4295
|
+
/** Output only. Video duration. */
|
|
4296
|
+
duration?: string;
|
|
4297
|
+
/** Output only. Frame rate (frames per second). */
|
|
4298
|
+
frameRate?: number;
|
|
4299
|
+
/** Output only. Video height in pixels. */
|
|
4300
|
+
height?: number;
|
|
4301
|
+
/** Output only. Bitrate of the video in kbps. */
|
|
4302
|
+
videoBitrateKbps?: number;
|
|
4303
|
+
/** Output only. Video codecs used in the video. */
|
|
4304
|
+
videoCodecs?: string[];
|
|
4305
|
+
/** Output only. Video width in pixels. */
|
|
4306
|
+
width?: number;
|
|
4307
|
+
}
|
|
4225
4308
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfig {
|
|
4226
4309
|
/** Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties. */
|
|
4227
4310
|
accessSettings?: GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings;
|
|
@@ -4478,6 +4561,10 @@ declare namespace gapi.client {
|
|
|
4478
4561
|
/** Optional. The top-p value to be used for the user defined classifier. */
|
|
4479
4562
|
topP?: number;
|
|
4480
4563
|
}
|
|
4564
|
+
interface GoogleCloudDiscoveryengineV1Assistant {
|
|
4565
|
+
/** 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. */
|
|
4566
|
+
name?: string;
|
|
4567
|
+
}
|
|
4481
4568
|
interface GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata {
|
|
4482
4569
|
/** Operation create time. */
|
|
4483
4570
|
createTime?: string;
|
|
@@ -4539,9 +4626,9 @@ declare namespace gapi.client {
|
|
|
4539
4626
|
interface GoogleCloudDiscoveryengineV1betaCmekConfig {
|
|
4540
4627
|
/** Output only. The default CmekConfig for the Customer. */
|
|
4541
4628
|
isDefault?: boolean;
|
|
4542
|
-
/** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
4629
|
+
/** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
4543
4630
|
kmsKey?: string;
|
|
4544
|
-
/** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
4631
|
+
/** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
4545
4632
|
kmsKeyVersion?: string;
|
|
4546
4633
|
/** Output only. The timestamp of the last key rotation. */
|
|
4547
4634
|
lastRotationTimestampMicros?: string;
|
|
@@ -5631,9 +5718,9 @@ declare namespace gapi.client {
|
|
|
5631
5718
|
interface GoogleCloudDiscoveryengineV1CmekConfig {
|
|
5632
5719
|
/** Output only. The default CmekConfig for the Customer. */
|
|
5633
5720
|
isDefault?: boolean;
|
|
5634
|
-
/** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
5721
|
+
/** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
5635
5722
|
kmsKey?: string;
|
|
5636
|
-
/** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
5723
|
+
/** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
5637
5724
|
kmsKeyVersion?: string;
|
|
5638
5725
|
/** Output only. The timestamp of the last key rotation. */
|
|
5639
5726
|
lastRotationTimestampMicros?: string;
|
|
@@ -9261,7 +9348,7 @@ declare namespace gapi.client {
|
|
|
9261
9348
|
callback?: string;
|
|
9262
9349
|
/** Selector specifying which fields to include in a partial response. */
|
|
9263
9350
|
fields?: string;
|
|
9264
|
-
/** A
|
|
9351
|
+
/** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
|
|
9265
9352
|
filter?: string;
|
|
9266
9353
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9267
9354
|
key?: string;
|
|
@@ -12183,6 +12270,41 @@ declare namespace gapi.client {
|
|
|
12183
12270
|
uploadType?: string;
|
|
12184
12271
|
}): Request<GoogleCloudDiscoveryengineV1alphaAnswer>;
|
|
12185
12272
|
}
|
|
12273
|
+
interface FilesResource {
|
|
12274
|
+
/** Lists metadata for all files in the current session. */
|
|
12275
|
+
list(request?: {
|
|
12276
|
+
/** V1 error format. */
|
|
12277
|
+
'$.xgafv'?: string;
|
|
12278
|
+
/** OAuth access token. */
|
|
12279
|
+
access_token?: string;
|
|
12280
|
+
/** Data format for response. */
|
|
12281
|
+
alt?: string;
|
|
12282
|
+
/** JSONP */
|
|
12283
|
+
callback?: string;
|
|
12284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12285
|
+
fields?: string;
|
|
12286
|
+
/** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Currently supported field names are: * upload_time * last_add_time * last_use_time * file_name * mime_type Some examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1' AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a full description of the filter format, please see https://google.aip.dev/160. */
|
|
12287
|
+
filter?: string;
|
|
12288
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
12289
|
+
key?: string;
|
|
12290
|
+
/** OAuth 2.0 token for the current user. */
|
|
12291
|
+
oauth_token?: string;
|
|
12292
|
+
/** Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error. */
|
|
12293
|
+
pageSize?: number;
|
|
12294
|
+
/** Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ). */
|
|
12295
|
+
pageToken?: string;
|
|
12296
|
+
/** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` Name of the session resource to which the file belong. */
|
|
12297
|
+
parent: string;
|
|
12298
|
+
/** Returns response with indentations and line breaks. */
|
|
12299
|
+
prettyPrint?: boolean;
|
|
12300
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
12301
|
+
quotaUser?: string;
|
|
12302
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12303
|
+
upload_protocol?: string;
|
|
12304
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12305
|
+
uploadType?: string;
|
|
12306
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
|
|
12307
|
+
}
|
|
12186
12308
|
interface SessionsResource {
|
|
12187
12309
|
/** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
|
|
12188
12310
|
create(request: {
|
|
@@ -12310,7 +12432,7 @@ declare namespace gapi.client {
|
|
|
12310
12432
|
callback?: string;
|
|
12311
12433
|
/** Selector specifying which fields to include in a partial response. */
|
|
12312
12434
|
fields?: string;
|
|
12313
|
-
/** A
|
|
12435
|
+
/** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
|
|
12314
12436
|
filter?: string;
|
|
12315
12437
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
12316
12438
|
key?: string;
|
|
@@ -12396,6 +12518,7 @@ declare namespace gapi.client {
|
|
|
12396
12518
|
body: GoogleCloudDiscoveryengineV1alphaSession,
|
|
12397
12519
|
): Request<GoogleCloudDiscoveryengineV1alphaSession>;
|
|
12398
12520
|
answers: AnswersResource;
|
|
12521
|
+
files: FilesResource;
|
|
12399
12522
|
}
|
|
12400
12523
|
interface WidgetConfigsResource {
|
|
12401
12524
|
/** Gets a WidgetConfig. */
|
|
@@ -15277,7 +15400,7 @@ declare namespace gapi.client {
|
|
|
15277
15400
|
callback?: string;
|
|
15278
15401
|
/** Selector specifying which fields to include in a partial response. */
|
|
15279
15402
|
fields?: string;
|
|
15280
|
-
/** A
|
|
15403
|
+
/** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
|
|
15281
15404
|
filter?: string;
|
|
15282
15405
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15283
15406
|
key?: string;
|