@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251109 → 0.1.20251116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +279 -482
  2. package/package.json +1 -1
  3. package/readme.md +0 -10
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: 20251109
12
+ // Revision: 20251116
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,214 +28,6 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
31
- interface ApiservingMediaRequestInfo {
32
- /** The number of current bytes uploaded or downloaded. */
33
- currentBytes?: string;
34
- /** Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications. */
35
- customData?: string;
36
- /** Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information. */
37
- diffObjectVersion?: string;
38
- /** The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929 */
39
- finalStatus?: number;
40
- /** The type of notification received from Scotty. */
41
- notificationType?: string;
42
- /** The physical headers provided by RequestReceivedParameters in Scotty request. type is uploader_service.KeyValuePairs. */
43
- physicalHeaders?: string;
44
- /** The Scotty request ID. */
45
- requestId?: string;
46
- /** The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange() */
47
- requestReceivedParamsServingInfo?: string;
48
- /** The total size of the file. */
49
- totalBytes?: string;
50
- /** Whether the total bytes field contains an estimated data. */
51
- totalBytesIsEstimated?: boolean;
52
- }
53
- interface ApiservingMediaResponseInfo {
54
- /** Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications. */
55
- customData?: string;
56
- /** Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform. */
57
- dataStorageTransform?: string;
58
- /** For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that Scotty should use when writing the resulting blob. This field is optional. It's not required ever, even if `original_object_blob_mint_index` is set. In situations like that, we will use the destination blob's mint for the destination blob and regular blob ACL checks for the original object. Note: This field is only for use by Drive API for diff uploads. */
59
- destinationBlobMintIndex?: number;
60
- /** Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget. */
61
- dynamicDropTarget?: string;
62
- /** Specifies the Scotty dropzone to use for uploads. */
63
- dynamicDropzone?: string;
64
- /** Diff Updates must respond to a START notification with this Media proto to tell Scotty to decode the diff encoded payload and apply the diff against this field. If the request was diff encoded, but this field is not set, Scotty will treat the encoding as identity. This is corresponding to Apiary's DiffUploadResponse.original_object (//depot/google3/gdata/rosy/proto/data.proto?l=413). See go/esf-scotty-diff-upload for more information. */
65
- mediaForDiff?: GdataMedia;
66
- /** For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that Scotty should use when reading the original blob. This field is optional. It's not required ever, even if `destination_blob_mint_index` is set. In situations like that, we will use the destination blob's mint for the destination blob and regular blob ACL checks for the original object. Note: This field is only for use by Drive API for diff uploads. */
67
- originalObjectBlobMintIndex?: number;
68
- /** Request class to use for all Blobstore operations for this request. */
69
- requestClass?: string;
70
- /** Requester ID passed along to be recorded in the Scotty logs */
71
- scottyAgentUserId?: string;
72
- /** Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog */
73
- scottyCustomerLog?: string;
74
- /** Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM. */
75
- trafficClassField?: string;
76
- /** Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header. */
77
- verifyHashFromHeader?: boolean;
78
- }
79
- interface GdataBlobstore2Info {
80
- /** The blob generation id. */
81
- blobGeneration?: string;
82
- /** The blob id, e.g., /blobstore/prod/playground/scotty */
83
- blobId?: string;
84
- /** 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. */
85
- downloadReadHandle?: string;
86
- /** The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call. */
87
- readToken?: string;
88
- /** 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. */
89
- uploadMetadataContainer?: string;
90
- }
91
- interface GdataCompositeMedia {
92
- /** 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. */
93
- blobRef?: string;
94
- /** Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. */
95
- blobstore2Info?: GdataBlobstore2Info;
96
- /** 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. */
97
- cosmoBinaryReference?: string;
98
- /** crc32.c hash for the payload. */
99
- crc32cHash?: number;
100
- /** Media data, set if reference_type is INLINE */
101
- inline?: string;
102
- /** Size of the data, in bytes */
103
- length?: string;
104
- /** MD5 hash for the payload. */
105
- md5Hash?: string;
106
- /** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */
107
- objectId?: GdataObjectId;
108
- /** Path to the data, set if reference_type is PATH */
109
- path?: string;
110
- /** Describes what the field reference contains. */
111
- referenceType?: string;
112
- /** SHA-1 hash for the payload. */
113
- sha1Hash?: string;
114
- }
115
- interface GdataContentTypeInfo {
116
- /** Scotty's best guess of what the content type of the file is. */
117
- bestGuess?: string;
118
- /** The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file. */
119
- fromBytes?: string;
120
- /** The content type of the file derived from the file extension of the original file name used by the client. */
121
- fromFileName?: string;
122
- /** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
123
- fromHeader?: string;
124
- /** 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). */
125
- fromUrlPath?: string;
126
- }
127
- interface GdataDiffChecksumsResponse {
128
- /** 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. */
129
- checksumsLocation?: GdataCompositeMedia;
130
- /** The chunk size of checksums. Must be a multiple of 256KB. */
131
- chunkSizeBytes?: string;
132
- /** If set, calculate the checksums based on the contents and return them to the caller. */
133
- objectLocation?: GdataCompositeMedia;
134
- /** The total size of the server object. */
135
- objectSizeBytes?: string;
136
- /** The object version of the object the checksums are being returned for. */
137
- objectVersion?: string;
138
- }
139
- interface GdataDiffDownloadResponse {
140
- /** The original object location. */
141
- objectLocation?: GdataCompositeMedia;
142
- }
143
- interface GdataDiffUploadRequest {
144
- /** 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. */
145
- checksumsInfo?: GdataCompositeMedia;
146
- /** 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. */
147
- objectInfo?: GdataCompositeMedia;
148
- /** 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. */
149
- objectVersion?: string;
150
- }
151
- interface GdataDiffUploadResponse {
152
- /** 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. */
153
- objectVersion?: string;
154
- /** The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification. */
155
- originalObject?: GdataCompositeMedia;
156
- }
157
- interface GdataDiffVersionResponse {
158
- /** The total size of the server object. */
159
- objectSizeBytes?: string;
160
- /** The version of the object stored at the server. */
161
- objectVersion?: string;
162
- }
163
- interface GdataDownloadParameters {
164
- /** 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. */
165
- allowGzipCompression?: boolean;
166
- /** Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty. */
167
- ignoreRange?: boolean;
168
- }
169
- interface GdataMedia {
170
- /** 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. */
171
- algorithm?: string;
172
- /** Use object_id instead. */
173
- bigstoreObjectRef?: string;
174
- /** 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. */
175
- blobRef?: string;
176
- /** Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. */
177
- blobstore2Info?: GdataBlobstore2Info;
178
- /** 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. */
179
- compositeMedia?: GdataCompositeMedia[];
180
- /** MIME type of the data */
181
- contentType?: string;
182
- /** Extended content type information provided for Scotty uploads. */
183
- contentTypeInfo?: GdataContentTypeInfo;
184
- /** 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. */
185
- cosmoBinaryReference?: string;
186
- /** 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. */
187
- crc32cHash?: number;
188
- /** Set if reference_type is DIFF_CHECKSUMS_RESPONSE. */
189
- diffChecksumsResponse?: GdataDiffChecksumsResponse;
190
- /** Set if reference_type is DIFF_DOWNLOAD_RESPONSE. */
191
- diffDownloadResponse?: GdataDiffDownloadResponse;
192
- /** Set if reference_type is DIFF_UPLOAD_REQUEST. */
193
- diffUploadRequest?: GdataDiffUploadRequest;
194
- /** Set if reference_type is DIFF_UPLOAD_RESPONSE. */
195
- diffUploadResponse?: GdataDiffUploadResponse;
196
- /** Set if reference_type is DIFF_VERSION_RESPONSE. */
197
- diffVersionResponse?: GdataDiffVersionResponse;
198
- /** Parameters for a media download. */
199
- downloadParameters?: GdataDownloadParameters;
200
- /** Original file name */
201
- filename?: string;
202
- /** 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. */
203
- hash?: string;
204
- /** 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. */
205
- hashVerified?: boolean;
206
- /** Media data, set if reference_type is INLINE */
207
- inline?: string;
208
- /** |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. */
209
- isPotentialRetry?: boolean;
210
- /** Size of the data, in bytes */
211
- length?: string;
212
- /** Scotty-provided MD5 hash for an upload. */
213
- md5Hash?: string;
214
- /** Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA. */
215
- mediaId?: string;
216
- /** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */
217
- objectId?: GdataObjectId;
218
- /** Path to the data, set if reference_type is PATH */
219
- path?: string;
220
- /** Describes what the field reference contains. */
221
- referenceType?: string;
222
- /** Scotty-provided SHA1 hash for an upload. */
223
- sha1Hash?: string;
224
- /** Scotty-provided SHA256 hash for an upload. */
225
- sha256Hash?: string;
226
- /** Time at which the media data was last updated, in milliseconds since UNIX epoch */
227
- timestamp?: string;
228
- /** A unique fingerprint/version id for the media data */
229
- token?: string;
230
- }
231
- interface GdataObjectId {
232
- /** The name of the bucket to which this object belongs. */
233
- bucketName?: string;
234
- /** 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 */
235
- generation?: string;
236
- /** The name of the object. */
237
- objectName?: string;
238
- }
239
31
  interface GoogleApiDistribution {
240
32
  /** The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1). */
241
33
  bucketCounts?: string[];
@@ -1186,6 +978,10 @@ declare namespace gapi.client {
1186
978
  interface GoogleCloudDiscoveryengineV1alphaAssistant {
1187
979
  /** Optional. Customer policy for the assistant. */
1188
980
  customerPolicy?: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy;
981
+ /** Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */
982
+ description?: string;
983
+ /** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
984
+ displayName?: string;
1189
985
  /** 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"),..] } */
1190
986
  enabledTools?: {
1191
987
  [P in string]: GoogleCloudDiscoveryengineV1alphaAssistantToolList;
@@ -1258,8 +1054,12 @@ declare namespace gapi.client {
1258
1054
  userPromptTemplate?: string;
1259
1055
  }
1260
1056
  interface GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig {
1057
+ /** Optional. The list of models that are allowed to be used for assistant. */
1058
+ allowedModelIds?: string[];
1261
1059
  /** 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. */
1262
1060
  defaultLanguage?: string;
1061
+ /** Optional. The default model to use for assistant. */
1062
+ defaultModelId?: string;
1263
1063
  /** 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 */
1264
1064
  systemInstruction?: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction;
1265
1065
  }
@@ -1810,26 +1610,6 @@ declare namespace gapi.client {
1810
1610
  /** Start of time range. Range is inclusive. */
1811
1611
  startTime?: string;
1812
1612
  }
1813
- interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats {
1814
- /** A list of metric usages, one for each requested resource type that has data in the requested time range. */
1815
- metricUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage[];
1816
- /** Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
1817
- name?: string;
1818
- }
1819
- interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage {
1820
- /** The date of the usage. */
1821
- date?: GoogleTypeDate;
1822
- /** The usage value on the date. */
1823
- usage?: number;
1824
- }
1825
- interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage {
1826
- /** The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. */
1827
- datedUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage[];
1828
- /** The metric type. */
1829
- metricType?: string;
1830
- /** The list of total usages for this resource type */
1831
- totalUsages?: number[];
1832
- }
1833
1613
  interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
1834
1614
  /** Output only. The time when the connector run ended. */
1835
1615
  endTime?: string;
@@ -3216,6 +2996,12 @@ declare namespace gapi.client {
3216
2996
  /** A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3217
2997
  nextPageToken?: string;
3218
2998
  }
2999
+ interface GoogleCloudDiscoveryengineV1alphaListAssistantsResponse {
3000
+ /** All the customer's Assistants. */
3001
+ assistants?: GoogleCloudDiscoveryengineV1alphaAssistant[];
3002
+ /** 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. */
3003
+ nextPageToken?: string;
3004
+ }
3219
3005
  interface GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse {
3220
3006
  /** All the customer's Authorizations. */
3221
3007
  authorizations?: GoogleCloudDiscoveryengineV1alphaAuthorization[];
@@ -3658,6 +3444,24 @@ declare namespace gapi.client {
3658
3444
  /** Plain text. */
3659
3445
  text?: string;
3660
3446
  }
3447
+ interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse {
3448
+ /** A list of metric usages, one for each requested resource type that has data in the requested time range. */
3449
+ metricUsages?: GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage[];
3450
+ }
3451
+ interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage {
3452
+ /** The date of the usage. */
3453
+ date?: GoogleTypeDate;
3454
+ /** The usage value on the date. */
3455
+ usage?: number;
3456
+ }
3457
+ interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage {
3458
+ /** The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. */
3459
+ datedUsages?: GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage[];
3460
+ /** The metric type. */
3461
+ metricType?: string;
3462
+ /** The total usage for this resource type. This is populated for metrics like TOTAL_STORAGE. */
3463
+ totalUsage?: number;
3464
+ }
3661
3465
  interface GoogleCloudDiscoveryengineV1alphaRankingRecord {
3662
3466
  /** The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown. */
3663
3467
  content?: string;
@@ -3981,6 +3785,8 @@ declare namespace gapi.client {
3981
3785
  canonicalFilter?: string;
3982
3786
  /** A specification for configuring the behavior of content search. */
3983
3787
  contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
3788
+ /** 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. */
3789
+ crowdingSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec[];
3984
3790
  /** Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec. */
3985
3791
  customFineTuningSpec?: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
3986
3792
  /** 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. */
@@ -4005,6 +3811,8 @@ declare namespace gapi.client {
4005
3811
  oneBoxPageSize?: number;
4006
3812
  /** 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. */
4007
3813
  orderBy?: string;
3814
+ /** 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` */
3815
+ pageCategories?: string[];
4008
3816
  /** 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. */
4009
3817
  pageSize?: number;
4010
3818
  /** A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
@@ -4152,6 +3960,14 @@ declare namespace gapi.client {
4152
3960
  /** Optional. Source of image returned in the answer. */
4153
3961
  imageSource?: string;
4154
3962
  }
3963
+ interface GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec {
3964
+ /** The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive. */
3965
+ field?: string;
3966
+ /** 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. */
3967
+ maxCount?: number;
3968
+ /** Mode to use for documents that are crowded away. */
3969
+ mode?: string;
3970
+ }
4155
3971
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
4156
3972
  /** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
4157
3973
  boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
@@ -4745,6 +4561,8 @@ declare namespace gapi.client {
4745
4561
  answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
4746
4562
  /** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
4747
4563
  assistToken?: string;
4564
+ /** The tool names of the tools that were invoked. */
4565
+ invocationTools?: string[];
4748
4566
  /** Session information. Only included in the final StreamAssistResponse of the response stream. */
4749
4567
  sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
4750
4568
  }
@@ -4890,30 +4708,6 @@ declare namespace gapi.client {
4890
4708
  /** Operation last update time. If the operation is done, this is also the finish time. */
4891
4709
  updateTime?: string;
4892
4710
  }
4893
- interface GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest {
4894
- /** Information about the file being uploaded. */
4895
- blob?: GdataMedia;
4896
- /** Media upload request metadata. */
4897
- mediaRequestInfo?: ApiservingMediaRequestInfo;
4898
- }
4899
- interface GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse {
4900
- /** The uploaded AgentFile. */
4901
- agentFile?: GoogleCloudDiscoveryengineV1alphaAgentFile;
4902
- /** Media upload response metadata. */
4903
- mediaResponseInfo?: ApiservingMediaResponseInfo;
4904
- }
4905
- interface GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest {
4906
- /** Information about the file being uploaded. */
4907
- blob?: GdataMedia;
4908
- /** Media upload request metadata. */
4909
- mediaRequestInfo?: ApiservingMediaRequestInfo;
4910
- }
4911
- interface GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse {
4912
- /** The ID of the uploaded file. */
4913
- fileId?: string;
4914
- /** Media upload response metadata. */
4915
- mediaResponseInfo?: ApiservingMediaResponseInfo;
4916
- }
4917
4711
  interface GoogleCloudDiscoveryengineV1alphaUserAnnotations {
4918
4712
  /** Optional. Whether the agent is pinned, pinned agent will be displayed on the top of the agent list. */
4919
4713
  pinned?: boolean;
@@ -5305,6 +5099,10 @@ declare namespace gapi.client {
5305
5099
  interface GoogleCloudDiscoveryengineV1Assistant {
5306
5100
  /** Optional. Customer policy for the assistant. */
5307
5101
  customerPolicy?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy;
5102
+ /** Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */
5103
+ description?: string;
5104
+ /** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
5105
+ displayName?: string;
5308
5106
  /** 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"),..] } */
5309
5107
  enabledTools?: {
5310
5108
  [P in string]: GoogleCloudDiscoveryengineV1AssistantToolList;
@@ -5339,8 +5137,12 @@ declare namespace gapi.client {
5339
5137
  userPromptTemplate?: string;
5340
5138
  }
5341
5139
  interface GoogleCloudDiscoveryengineV1AssistantGenerationConfig {
5140
+ /** Optional. The list of models that are allowed to be used for assistant. */
5141
+ allowedModelIds?: string[];
5342
5142
  /** 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. */
5343
5143
  defaultLanguage?: string;
5144
+ /** Optional. The default model to use for assistant. */
5145
+ defaultModelId?: string;
5344
5146
  /** 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 */
5345
5147
  systemInstruction?: GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction;
5346
5148
  }
@@ -6212,6 +6014,8 @@ declare namespace gapi.client {
6212
6014
  canonicalFilter?: string;
6213
6015
  /** A specification for configuring the behavior of content search. */
6214
6016
  contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
6017
+ /** 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. */
6018
+ crowdingSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec[];
6215
6019
  /** 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. */
6216
6020
  dataStoreSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
6217
6021
  /** Optional. Config for display feature, like match highlighting on search results. */
@@ -6234,6 +6038,8 @@ declare namespace gapi.client {
6234
6038
  oneBoxPageSize?: number;
6235
6039
  /** 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. */
6236
6040
  orderBy?: string;
6041
+ /** 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` */
6042
+ pageCategories?: string[];
6237
6043
  /** 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. */
6238
6044
  pageSize?: number;
6239
6045
  /** A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
@@ -6379,6 +6185,14 @@ declare namespace gapi.client {
6379
6185
  /** Optional. Source of image returned in the answer. */
6380
6186
  imageSource?: string;
6381
6187
  }
6188
+ interface GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec {
6189
+ /** The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive. */
6190
+ field?: string;
6191
+ /** 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. */
6192
+ maxCount?: number;
6193
+ /** Mode to use for documents that are crowded away. */
6194
+ mode?: string;
6195
+ }
6382
6196
  interface GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
6383
6197
  /** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
6384
6198
  boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
@@ -7899,20 +7713,6 @@ declare namespace gapi.client {
7899
7713
  /** Status of the source. */
7900
7714
  status?: string;
7901
7715
  }
7902
- interface GoogleCloudNotebooklmV1alphaUploadSourceFileRequest {
7903
- /** Information about the file being uploaded. */
7904
- blob?: GdataMedia;
7905
- /** Media upload request metadata. */
7906
- mediaRequestInfo?: ApiservingMediaRequestInfo;
7907
- /** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
7908
- sourceId?: string;
7909
- }
7910
- interface GoogleCloudNotebooklmV1alphaUploadSourceFileResponse {
7911
- /** Media upload response metadata. */
7912
- mediaResponseInfo?: ApiservingMediaResponseInfo;
7913
- /** The source id of the uploaded source. */
7914
- sourceId?: GoogleCloudNotebooklmV1alphaSourceId;
7915
- }
7916
7716
  interface GoogleCloudNotebooklmV1alphaUserContent {
7917
7717
  /** Agentspace content uploaded as source. */
7918
7718
  agentspaceContent?: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
@@ -7989,7 +7789,7 @@ declare namespace gapi.client {
7989
7789
  nextPageToken?: string;
7990
7790
  /** A list of operations that matches the specified filter in the request. */
7991
7791
  operations?: GoogleLongrunningOperation[];
7992
- /** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. */
7792
+ /** 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. */
7993
7793
  unreachable?: string[];
7994
7794
  }
7995
7795
  interface GoogleLongrunningOperation {
@@ -8278,97 +8078,6 @@ declare namespace gapi.client {
8278
8078
  interface BillingAccountsResource {
8279
8079
  billingAccountLicenseConfigs: BillingAccountLicenseConfigsResource;
8280
8080
  }
8281
- interface MediaResource {
8282
- /** Downloads a file from the session. */
8283
- download(request?: {
8284
- /** V1 error format. */
8285
- '$.xgafv'?: string;
8286
- /** OAuth access token. */
8287
- access_token?: string;
8288
- /** Data format for response. */
8289
- alt?: string;
8290
- /** JSONP */
8291
- callback?: string;
8292
- /** Selector specifying which fields to include in a partial response. */
8293
- fields?: string;
8294
- /** Required. The ID of the file to be downloaded. */
8295
- fileId?: string;
8296
- /** 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. */
8297
- key?: string;
8298
- /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
8299
- name: string;
8300
- /** OAuth 2.0 token for the current user. */
8301
- oauth_token?: string;
8302
- /** Returns response with indentations and line breaks. */
8303
- prettyPrint?: boolean;
8304
- /** 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. */
8305
- quotaUser?: string;
8306
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8307
- upload_protocol?: string;
8308
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8309
- uploadType?: string;
8310
- /** Optional. The ID of the view to be downloaded. */
8311
- viewId?: string;
8312
- }): Request<GdataMedia>;
8313
- /** Uploads a file for the assistant to use as a source of information within the session. */
8314
- upload(request: {
8315
- /** V1 error format. */
8316
- '$.xgafv'?: string;
8317
- /** OAuth access token. */
8318
- access_token?: string;
8319
- /** Data format for response. */
8320
- alt?: string;
8321
- /** JSONP */
8322
- callback?: string;
8323
- /** Selector specifying which fields to include in a partial response. */
8324
- fields?: string;
8325
- /** 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. */
8326
- key?: string;
8327
- /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
8328
- name: string;
8329
- /** OAuth 2.0 token for the current user. */
8330
- oauth_token?: string;
8331
- /** Returns response with indentations and line breaks. */
8332
- prettyPrint?: boolean;
8333
- /** 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. */
8334
- quotaUser?: string;
8335
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8336
- upload_protocol?: string;
8337
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8338
- uploadType?: string;
8339
- /** Request body */
8340
- resource: GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest;
8341
- }): Request<GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse>;
8342
- upload(
8343
- request: {
8344
- /** V1 error format. */
8345
- '$.xgafv'?: string;
8346
- /** OAuth access token. */
8347
- access_token?: string;
8348
- /** Data format for response. */
8349
- alt?: string;
8350
- /** JSONP */
8351
- callback?: string;
8352
- /** Selector specifying which fields to include in a partial response. */
8353
- fields?: string;
8354
- /** 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. */
8355
- key?: string;
8356
- /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
8357
- name: string;
8358
- /** OAuth 2.0 token for the current user. */
8359
- oauth_token?: string;
8360
- /** Returns response with indentations and line breaks. */
8361
- prettyPrint?: boolean;
8362
- /** 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. */
8363
- quotaUser?: string;
8364
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8365
- upload_protocol?: string;
8366
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8367
- uploadType?: string;
8368
- },
8369
- body: GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest,
8370
- ): Request<GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse>;
8371
- }
8372
8081
  interface AuthorizationsResource {
8373
8082
  /** Creates an Authorization. */
8374
8083
  create(request: {
@@ -8814,7 +8523,7 @@ declare namespace gapi.client {
8814
8523
  prettyPrint?: boolean;
8815
8524
  /** 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. */
8816
8525
  quotaUser?: string;
8817
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
8526
+ /** 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. */
8818
8527
  returnPartialSuccess?: boolean;
8819
8528
  /** Upload protocol for media (e.g. "raw", "multipart"). */
8820
8529
  upload_protocol?: string;
@@ -9535,7 +9244,7 @@ declare namespace gapi.client {
9535
9244
  prettyPrint?: boolean;
9536
9245
  /** 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. */
9537
9246
  quotaUser?: string;
9538
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
9247
+ /** 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. */
9539
9248
  returnPartialSuccess?: boolean;
9540
9249
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9541
9250
  upload_protocol?: string;
@@ -10381,7 +10090,7 @@ declare namespace gapi.client {
10381
10090
  prettyPrint?: boolean;
10382
10091
  /** 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. */
10383
10092
  quotaUser?: string;
10384
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
10093
+ /** 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. */
10385
10094
  returnPartialSuccess?: boolean;
10386
10095
  /** Upload protocol for media (e.g. "raw", "multipart"). */
10387
10096
  upload_protocol?: string;
@@ -10448,7 +10157,7 @@ declare namespace gapi.client {
10448
10157
  prettyPrint?: boolean;
10449
10158
  /** 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. */
10450
10159
  quotaUser?: string;
10451
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
10160
+ /** 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. */
10452
10161
  returnPartialSuccess?: boolean;
10453
10162
  /** Upload protocol for media (e.g. "raw", "multipart"). */
10454
10163
  upload_protocol?: string;
@@ -10512,7 +10221,7 @@ declare namespace gapi.client {
10512
10221
  prettyPrint?: boolean;
10513
10222
  /** 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. */
10514
10223
  quotaUser?: string;
10515
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
10224
+ /** 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. */
10516
10225
  returnPartialSuccess?: boolean;
10517
10226
  /** Upload protocol for media (e.g. "raw", "multipart"). */
10518
10227
  upload_protocol?: string;
@@ -11443,7 +11152,7 @@ declare namespace gapi.client {
11443
11152
  prettyPrint?: boolean;
11444
11153
  /** 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. */
11445
11154
  quotaUser?: string;
11446
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
11155
+ /** 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. */
11447
11156
  returnPartialSuccess?: boolean;
11448
11157
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11449
11158
  upload_protocol?: string;
@@ -11623,7 +11332,7 @@ declare namespace gapi.client {
11623
11332
  prettyPrint?: boolean;
11624
11333
  /** 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. */
11625
11334
  quotaUser?: string;
11626
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
11335
+ /** 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. */
11627
11336
  returnPartialSuccess?: boolean;
11628
11337
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11629
11338
  upload_protocol?: string;
@@ -13245,6 +12954,35 @@ declare namespace gapi.client {
13245
12954
  body: GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest,
13246
12955
  ): Request<GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse>;
13247
12956
  }
12957
+ interface OperationsResource {
12958
+ /** 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. */
12959
+ get(request?: {
12960
+ /** V1 error format. */
12961
+ '$.xgafv'?: string;
12962
+ /** OAuth access token. */
12963
+ access_token?: string;
12964
+ /** Data format for response. */
12965
+ alt?: string;
12966
+ /** JSONP */
12967
+ callback?: string;
12968
+ /** Selector specifying which fields to include in a partial response. */
12969
+ fields?: string;
12970
+ /** 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. */
12971
+ key?: string;
12972
+ /** The name of the operation resource. */
12973
+ name: string;
12974
+ /** OAuth 2.0 token for the current user. */
12975
+ oauth_token?: string;
12976
+ /** Returns response with indentations and line breaks. */
12977
+ prettyPrint?: boolean;
12978
+ /** 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. */
12979
+ quotaUser?: string;
12980
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12981
+ upload_protocol?: string;
12982
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12983
+ uploadType?: string;
12984
+ }): Request<GoogleLongrunningOperation>;
12985
+ }
13248
12986
  interface AgentsResource {
13249
12987
  /** Creates an Agent. */
13250
12988
  create(request: {
@@ -13627,6 +13365,7 @@ declare namespace gapi.client {
13627
13365
  uploadType?: string;
13628
13366
  }): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
13629
13367
  files: FilesResource;
13368
+ operations: OperationsResource;
13630
13369
  }
13631
13370
  interface CannedQueriesResource {
13632
13371
  /** Creates a CannedQuery. */
@@ -13842,6 +13581,95 @@ declare namespace gapi.client {
13842
13581
  ): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
13843
13582
  }
13844
13583
  interface AssistantsResource {
13584
+ /** Creates an Assistant. */
13585
+ create(request: {
13586
+ /** V1 error format. */
13587
+ '$.xgafv'?: string;
13588
+ /** OAuth access token. */
13589
+ access_token?: string;
13590
+ /** Data format for response. */
13591
+ alt?: string;
13592
+ /** 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. */
13593
+ assistantId?: string;
13594
+ /** JSONP */
13595
+ callback?: string;
13596
+ /** Selector specifying which fields to include in a partial response. */
13597
+ fields?: string;
13598
+ /** 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. */
13599
+ key?: string;
13600
+ /** OAuth 2.0 token for the current user. */
13601
+ oauth_token?: string;
13602
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
13603
+ parent: string;
13604
+ /** Returns response with indentations and line breaks. */
13605
+ prettyPrint?: boolean;
13606
+ /** 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. */
13607
+ quotaUser?: string;
13608
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13609
+ upload_protocol?: string;
13610
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13611
+ uploadType?: string;
13612
+ /** Request body */
13613
+ resource: GoogleCloudDiscoveryengineV1alphaAssistant;
13614
+ }): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
13615
+ create(
13616
+ request: {
13617
+ /** V1 error format. */
13618
+ '$.xgafv'?: string;
13619
+ /** OAuth access token. */
13620
+ access_token?: string;
13621
+ /** Data format for response. */
13622
+ alt?: string;
13623
+ /** 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. */
13624
+ assistantId?: string;
13625
+ /** JSONP */
13626
+ callback?: string;
13627
+ /** Selector specifying which fields to include in a partial response. */
13628
+ fields?: string;
13629
+ /** 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. */
13630
+ key?: string;
13631
+ /** OAuth 2.0 token for the current user. */
13632
+ oauth_token?: string;
13633
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
13634
+ parent: string;
13635
+ /** Returns response with indentations and line breaks. */
13636
+ prettyPrint?: boolean;
13637
+ /** 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. */
13638
+ quotaUser?: string;
13639
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13640
+ upload_protocol?: string;
13641
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13642
+ uploadType?: string;
13643
+ },
13644
+ body: GoogleCloudDiscoveryengineV1alphaAssistant,
13645
+ ): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
13646
+ /** Deletes an Assistant. */
13647
+ delete(request?: {
13648
+ /** V1 error format. */
13649
+ '$.xgafv'?: string;
13650
+ /** OAuth access token. */
13651
+ access_token?: string;
13652
+ /** Data format for response. */
13653
+ alt?: string;
13654
+ /** JSONP */
13655
+ callback?: string;
13656
+ /** Selector specifying which fields to include in a partial response. */
13657
+ fields?: string;
13658
+ /** 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. */
13659
+ key?: string;
13660
+ /** 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. */
13661
+ name: string;
13662
+ /** OAuth 2.0 token for the current user. */
13663
+ oauth_token?: string;
13664
+ /** Returns response with indentations and line breaks. */
13665
+ prettyPrint?: boolean;
13666
+ /** 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. */
13667
+ quotaUser?: string;
13668
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13669
+ upload_protocol?: string;
13670
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13671
+ uploadType?: string;
13672
+ }): Request<{}>;
13845
13673
  /** Gets an Assistant. */
13846
13674
  get(request?: {
13847
13675
  /** V1 error format. */
@@ -13869,6 +13697,37 @@ declare namespace gapi.client {
13869
13697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13870
13698
  uploadType?: string;
13871
13699
  }): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
13700
+ /** Lists all Assistants under an Engine. */
13701
+ list(request?: {
13702
+ /** V1 error format. */
13703
+ '$.xgafv'?: string;
13704
+ /** OAuth access token. */
13705
+ access_token?: string;
13706
+ /** Data format for response. */
13707
+ alt?: string;
13708
+ /** JSONP */
13709
+ callback?: string;
13710
+ /** Selector specifying which fields to include in a partial response. */
13711
+ fields?: string;
13712
+ /** 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. */
13713
+ key?: string;
13714
+ /** OAuth 2.0 token for the current user. */
13715
+ oauth_token?: string;
13716
+ /** 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. */
13717
+ pageSize?: number;
13718
+ /** 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. */
13719
+ pageToken?: string;
13720
+ /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
13721
+ parent: string;
13722
+ /** Returns response with indentations and line breaks. */
13723
+ prettyPrint?: boolean;
13724
+ /** 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. */
13725
+ quotaUser?: string;
13726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13727
+ upload_protocol?: string;
13728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13729
+ uploadType?: string;
13730
+ }): Request<GoogleCloudDiscoveryengineV1alphaListAssistantsResponse>;
13872
13731
  /** Lists the data for displaying the Agents under an Assistant which are available to the caller. */
13873
13732
  listAvailableAgentViews(request?: {
13874
13733
  /** V1 error format. */
@@ -14689,7 +14548,7 @@ declare namespace gapi.client {
14689
14548
  prettyPrint?: boolean;
14690
14549
  /** 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. */
14691
14550
  quotaUser?: string;
14692
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
14551
+ /** 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. */
14693
14552
  returnPartialSuccess?: boolean;
14694
14553
  /** Upload protocol for media (e.g. "raw", "multipart"). */
14695
14554
  upload_protocol?: string;
@@ -15964,7 +15823,7 @@ declare namespace gapi.client {
15964
15823
  prettyPrint?: boolean;
15965
15824
  /** 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. */
15966
15825
  quotaUser?: string;
15967
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
15826
+ /** 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. */
15968
15827
  returnPartialSuccess?: boolean;
15969
15828
  /** Upload protocol for media (e.g. "raw", "multipart"). */
15970
15829
  upload_protocol?: string;
@@ -16755,7 +16614,7 @@ declare namespace gapi.client {
16755
16614
  prettyPrint?: boolean;
16756
16615
  /** 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. */
16757
16616
  quotaUser?: string;
16758
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
16617
+ /** 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. */
16759
16618
  returnPartialSuccess?: boolean;
16760
16619
  /** Upload protocol for media (e.g. "raw", "multipart"). */
16761
16620
  upload_protocol?: string;
@@ -17572,7 +17431,7 @@ declare namespace gapi.client {
17572
17431
  prettyPrint?: boolean;
17573
17432
  /** 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. */
17574
17433
  quotaUser?: string;
17575
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
17434
+ /** 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. */
17576
17435
  returnPartialSuccess?: boolean;
17577
17436
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17578
17437
  upload_protocol?: string;
@@ -17639,7 +17498,7 @@ declare namespace gapi.client {
17639
17498
  prettyPrint?: boolean;
17640
17499
  /** 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. */
17641
17500
  quotaUser?: string;
17642
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
17501
+ /** 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. */
17643
17502
  returnPartialSuccess?: boolean;
17644
17503
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17645
17504
  upload_protocol?: string;
@@ -20183,7 +20042,7 @@ declare namespace gapi.client {
20183
20042
  prettyPrint?: boolean;
20184
20043
  /** 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. */
20185
20044
  quotaUser?: string;
20186
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
20045
+ /** 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. */
20187
20046
  returnPartialSuccess?: boolean;
20188
20047
  /** Upload protocol for media (e.g. "raw", "multipart"). */
20189
20048
  upload_protocol?: string;
@@ -20880,68 +20739,6 @@ declare namespace gapi.client {
20880
20739
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20881
20740
  uploadType?: string;
20882
20741
  }): Request<GoogleCloudNotebooklmV1alphaSource>;
20883
- /** Uploads a file for Notebook LM to use. Creates a Source. */
20884
- uploadFile(request: {
20885
- /** V1 error format. */
20886
- '$.xgafv'?: string;
20887
- /** OAuth access token. */
20888
- access_token?: string;
20889
- /** Data format for response. */
20890
- alt?: string;
20891
- /** JSONP */
20892
- callback?: string;
20893
- /** Selector specifying which fields to include in a partial response. */
20894
- fields?: string;
20895
- /** 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. */
20896
- key?: string;
20897
- /** OAuth 2.0 token for the current user. */
20898
- oauth_token?: string;
20899
- /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
20900
- parent: string;
20901
- /** Returns response with indentations and line breaks. */
20902
- prettyPrint?: boolean;
20903
- /** 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. */
20904
- quotaUser?: string;
20905
- /** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
20906
- sourceId: string;
20907
- /** Upload protocol for media (e.g. "raw", "multipart"). */
20908
- upload_protocol?: string;
20909
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20910
- uploadType?: string;
20911
- /** Request body */
20912
- resource: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest;
20913
- }): Request<GoogleCloudNotebooklmV1alphaUploadSourceFileResponse>;
20914
- uploadFile(
20915
- request: {
20916
- /** V1 error format. */
20917
- '$.xgafv'?: string;
20918
- /** OAuth access token. */
20919
- access_token?: string;
20920
- /** Data format for response. */
20921
- alt?: string;
20922
- /** JSONP */
20923
- callback?: string;
20924
- /** Selector specifying which fields to include in a partial response. */
20925
- fields?: string;
20926
- /** 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. */
20927
- key?: string;
20928
- /** OAuth 2.0 token for the current user. */
20929
- oauth_token?: string;
20930
- /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
20931
- parent: string;
20932
- /** Returns response with indentations and line breaks. */
20933
- prettyPrint?: boolean;
20934
- /** 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. */
20935
- quotaUser?: string;
20936
- /** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
20937
- sourceId: string;
20938
- /** Upload protocol for media (e.g. "raw", "multipart"). */
20939
- upload_protocol?: string;
20940
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20941
- uploadType?: string;
20942
- },
20943
- body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest,
20944
- ): Request<GoogleCloudNotebooklmV1alphaUploadSourceFileResponse>;
20945
20742
  }
20946
20743
  interface NotebooksResource {
20947
20744
  /** Batch deletes Notebooks. */
@@ -21235,7 +21032,7 @@ declare namespace gapi.client {
21235
21032
  prettyPrint?: boolean;
21236
21033
  /** 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. */
21237
21034
  quotaUser?: string;
21238
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
21035
+ /** 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. */
21239
21036
  returnPartialSuccess?: boolean;
21240
21037
  /** Upload protocol for media (e.g. "raw", "multipart"). */
21241
21038
  upload_protocol?: string;
@@ -22146,7 +21943,7 @@ declare namespace gapi.client {
22146
21943
  prettyPrint?: boolean;
22147
21944
  /** 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. */
22148
21945
  quotaUser?: string;
22149
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
21946
+ /** 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. */
22150
21947
  returnPartialSuccess?: boolean;
22151
21948
  /** Upload protocol for media (e.g. "raw", "multipart"). */
22152
21949
  upload_protocol?: string;
@@ -22167,12 +21964,12 @@ declare namespace gapi.client {
22167
21964
  callback?: string;
22168
21965
  /** Selector specifying which fields to include in a partial response. */
22169
21966
  fields?: string;
22170
- /** Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. */
22171
- filter?: string;
22172
21967
  /** 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. */
22173
21968
  key?: string;
22174
21969
  /** OAuth 2.0 token for the current user. */
22175
21970
  oauth_token?: string;
21971
+ /** 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. */
21972
+ orderBy?: string;
22176
21973
  /** 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. */
22177
21974
  pageSize?: number;
22178
21975
  /** 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. */
@@ -22543,47 +22340,6 @@ declare namespace gapi.client {
22543
22340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22544
22341
  uploadType?: string;
22545
22342
  }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
22546
- /** Gets configurable pricing usage stats. */
22547
- getConfigurablePricingUsageStats(request?: {
22548
- /** V1 error format. */
22549
- '$.xgafv'?: string;
22550
- /** OAuth access token. */
22551
- access_token?: string;
22552
- /** Data format for response. */
22553
- alt?: string;
22554
- /** JSONP */
22555
- callback?: string;
22556
- /** Selector specifying which fields to include in a partial response. */
22557
- fields?: string;
22558
- /** 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. */
22559
- key?: string;
22560
- /** Optional. The metric types to return usage for. */
22561
- metricTypes?: string | string[];
22562
- /** Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
22563
- name: string;
22564
- /** OAuth 2.0 token for the current user. */
22565
- oauth_token?: string;
22566
- /** Returns response with indentations and line breaks. */
22567
- prettyPrint?: boolean;
22568
- /** 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. */
22569
- quotaUser?: string;
22570
- /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
22571
- 'timeRange.endDate.day'?: number;
22572
- /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
22573
- 'timeRange.endDate.month'?: number;
22574
- /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
22575
- 'timeRange.endDate.year'?: number;
22576
- /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
22577
- 'timeRange.startDate.day'?: number;
22578
- /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
22579
- 'timeRange.startDate.month'?: number;
22580
- /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
22581
- 'timeRange.startDate.year'?: number;
22582
- /** Upload protocol for media (e.g. "raw", "multipart"). */
22583
- upload_protocol?: string;
22584
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22585
- uploadType?: string;
22586
- }): Request<GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats>;
22587
22343
  /** Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. */
22588
22344
  obtainCrawlRate(request: {
22589
22345
  /** V1 error format. */
@@ -22642,6 +22398,49 @@ declare namespace gapi.client {
22642
22398
  },
22643
22399
  body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
22644
22400
  ): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
22401
+ /** Queries configurable pricing usage stats for a project. */
22402
+ queryConfigurablePricingUsageStats(request?: {
22403
+ /** V1 error format. */
22404
+ '$.xgafv'?: string;
22405
+ /** OAuth access token. */
22406
+ access_token?: string;
22407
+ /** Data format for response. */
22408
+ alt?: string;
22409
+ /** JSONP */
22410
+ callback?: string;
22411
+ /** Selector specifying which fields to include in a partial response. */
22412
+ fields?: string;
22413
+ /** 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. */
22414
+ key?: string;
22415
+ /** Required. The location to query usage stats for. */
22416
+ location: string;
22417
+ /** Optional. The metric types to return usage for. */
22418
+ metricTypes?: string | string[];
22419
+ /** OAuth 2.0 token for the current user. */
22420
+ oauth_token?: string;
22421
+ /** Returns response with indentations and line breaks. */
22422
+ prettyPrint?: boolean;
22423
+ /** Required. The project to query usage stats for. Format: projects/{project} */
22424
+ project: string;
22425
+ /** 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. */
22426
+ quotaUser?: string;
22427
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
22428
+ 'timeRange.endDate.day'?: number;
22429
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
22430
+ 'timeRange.endDate.month'?: number;
22431
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
22432
+ 'timeRange.endDate.year'?: number;
22433
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
22434
+ 'timeRange.startDate.day'?: number;
22435
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
22436
+ 'timeRange.startDate.month'?: number;
22437
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
22438
+ 'timeRange.startDate.year'?: number;
22439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22440
+ upload_protocol?: string;
22441
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22442
+ uploadType?: string;
22443
+ }): Request<GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse>;
22645
22444
  /** Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op. */
22646
22445
  removeDedicatedCrawlRate(request: {
22647
22446
  /** V1 error format. */
@@ -23075,7 +22874,7 @@ declare namespace gapi.client {
23075
22874
  prettyPrint?: boolean;
23076
22875
  /** 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. */
23077
22876
  quotaUser?: string;
23078
- /** 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
22877
+ /** 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. */
23079
22878
  returnPartialSuccess?: boolean;
23080
22879
  /** Upload protocol for media (e.g. "raw", "multipart"). */
23081
22880
  upload_protocol?: string;
@@ -23295,8 +23094,6 @@ declare namespace gapi.client {
23295
23094
 
23296
23095
  const billingAccounts: BillingAccountsResource;
23297
23096
 
23298
- const media: MediaResource;
23299
-
23300
23097
  const projects: ProjectsResource;
23301
23098
  }
23302
23099
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.1.20251109",
3
+ "version": "0.1.20251116",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -78,16 +78,6 @@ gapi.auth.authorize(
78
78
  After that you can use Discovery Engine API resources: <!-- TODO: make this work for multiple namespaces -->
79
79
 
80
80
  ```typescript
81
- /*
82
- Downloads a file from the session.
83
- */
84
- await gapi.client.discoveryengine.media.download({name: 'name'});
85
-
86
- /*
87
- Uploads a file for the assistant to use as a source of information within the session.
88
- */
89
- await gapi.client.discoveryengine.media.upload({name: 'name'});
90
-
91
81
  /*
92
82
  Gets a Project. Returns NOT_FOUND when the project is not yet created.
93
83
  */