@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251109 → 0.1.20251203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +358 -482
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20251203
|
|
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,12 @@ 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
|
+
/** Optional. Indicates whether to disable user location context. By default, user location context is enabled. */
|
|
984
|
+
disableLocationContext?: boolean;
|
|
985
|
+
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
986
|
+
displayName?: string;
|
|
1189
987
|
/** 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
988
|
enabledTools?: {
|
|
1191
989
|
[P in string]: GoogleCloudDiscoveryengineV1alphaAssistantToolList;
|
|
@@ -1258,8 +1056,12 @@ declare namespace gapi.client {
|
|
|
1258
1056
|
userPromptTemplate?: string;
|
|
1259
1057
|
}
|
|
1260
1058
|
interface GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig {
|
|
1059
|
+
/** Optional. The list of models that are allowed to be used for assistant. */
|
|
1060
|
+
allowedModelIds?: string[];
|
|
1261
1061
|
/** 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
1062
|
defaultLanguage?: string;
|
|
1063
|
+
/** Optional. The default model to use for assistant. */
|
|
1064
|
+
defaultModelId?: string;
|
|
1263
1065
|
/** 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
1066
|
systemInstruction?: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction;
|
|
1265
1067
|
}
|
|
@@ -1810,26 +1612,6 @@ declare namespace gapi.client {
|
|
|
1810
1612
|
/** Start of time range. Range is inclusive. */
|
|
1811
1613
|
startTime?: string;
|
|
1812
1614
|
}
|
|
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
1615
|
interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
|
|
1834
1616
|
/** Output only. The time when the connector run ended. */
|
|
1835
1617
|
endTime?: string;
|
|
@@ -2649,6 +2431,8 @@ declare namespace gapi.client {
|
|
|
2649
2431
|
tuningOperation?: string;
|
|
2650
2432
|
}
|
|
2651
2433
|
interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
|
|
2434
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
2435
|
+
requiredSubscriptionTier?: string;
|
|
2652
2436
|
/** The add-on that this search engine enables. */
|
|
2653
2437
|
searchAddOns?: string[];
|
|
2654
2438
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -2911,6 +2695,8 @@ declare namespace gapi.client {
|
|
|
2911
2695
|
interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry {
|
|
2912
2696
|
/** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
|
|
2913
2697
|
externalIdentity?: string;
|
|
2698
|
+
/** Optional. The name of the external identity. */
|
|
2699
|
+
externalIdentityName?: string;
|
|
2914
2700
|
/** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config. */
|
|
2915
2701
|
groupId?: string;
|
|
2916
2702
|
/** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config. */
|
|
@@ -3216,6 +3002,12 @@ declare namespace gapi.client {
|
|
|
3216
3002
|
/** 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
3003
|
nextPageToken?: string;
|
|
3218
3004
|
}
|
|
3005
|
+
interface GoogleCloudDiscoveryengineV1alphaListAssistantsResponse {
|
|
3006
|
+
/** All the customer's Assistants. */
|
|
3007
|
+
assistants?: GoogleCloudDiscoveryengineV1alphaAssistant[];
|
|
3008
|
+
/** 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. */
|
|
3009
|
+
nextPageToken?: string;
|
|
3010
|
+
}
|
|
3219
3011
|
interface GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse {
|
|
3220
3012
|
/** All the customer's Authorizations. */
|
|
3221
3013
|
authorizations?: GoogleCloudDiscoveryengineV1alphaAuthorization[];
|
|
@@ -3658,6 +3450,24 @@ declare namespace gapi.client {
|
|
|
3658
3450
|
/** Plain text. */
|
|
3659
3451
|
text?: string;
|
|
3660
3452
|
}
|
|
3453
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse {
|
|
3454
|
+
/** A list of metric usages, one for each requested resource type that has data in the requested time range. */
|
|
3455
|
+
metricUsages?: GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage[];
|
|
3456
|
+
}
|
|
3457
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage {
|
|
3458
|
+
/** The date of the usage. */
|
|
3459
|
+
date?: GoogleTypeDate;
|
|
3460
|
+
/** The usage value on the date. */
|
|
3461
|
+
usage?: number;
|
|
3462
|
+
}
|
|
3463
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage {
|
|
3464
|
+
/** The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. */
|
|
3465
|
+
datedUsages?: GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage[];
|
|
3466
|
+
/** The metric type. */
|
|
3467
|
+
metricType?: string;
|
|
3468
|
+
/** The total usage for this resource type. This is populated for metrics like TOTAL_STORAGE. */
|
|
3469
|
+
totalUsage?: number;
|
|
3470
|
+
}
|
|
3661
3471
|
interface GoogleCloudDiscoveryengineV1alphaRankingRecord {
|
|
3662
3472
|
/** 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
3473
|
content?: string;
|
|
@@ -3981,6 +3791,8 @@ declare namespace gapi.client {
|
|
|
3981
3791
|
canonicalFilter?: string;
|
|
3982
3792
|
/** A specification for configuring the behavior of content search. */
|
|
3983
3793
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
|
|
3794
|
+
/** 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. */
|
|
3795
|
+
crowdingSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec[];
|
|
3984
3796
|
/** Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec. */
|
|
3985
3797
|
customFineTuningSpec?: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
|
|
3986
3798
|
/** 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 +3817,8 @@ declare namespace gapi.client {
|
|
|
4005
3817
|
oneBoxPageSize?: number;
|
|
4006
3818
|
/** 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
3819
|
orderBy?: string;
|
|
3820
|
+
/** 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` */
|
|
3821
|
+
pageCategories?: string[];
|
|
4008
3822
|
/** 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
3823
|
pageSize?: number;
|
|
4010
3824
|
/** 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 +3966,14 @@ declare namespace gapi.client {
|
|
|
4152
3966
|
/** Optional. Source of image returned in the answer. */
|
|
4153
3967
|
imageSource?: string;
|
|
4154
3968
|
}
|
|
3969
|
+
interface GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec {
|
|
3970
|
+
/** The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive. */
|
|
3971
|
+
field?: string;
|
|
3972
|
+
/** 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. */
|
|
3973
|
+
maxCount?: number;
|
|
3974
|
+
/** Mode to use for documents that are crowded away. */
|
|
3975
|
+
mode?: string;
|
|
3976
|
+
}
|
|
4155
3977
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
|
|
4156
3978
|
/** 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
3979
|
boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
@@ -4278,6 +4100,8 @@ declare namespace gapi.client {
|
|
|
4278
4100
|
results?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[];
|
|
4279
4101
|
/** Promotions for site search. */
|
|
4280
4102
|
searchLinkPromotions?: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion[];
|
|
4103
|
+
/** Output only. Indicates the semantic state of the search response. */
|
|
4104
|
+
semanticState?: string;
|
|
4281
4105
|
/** Session information. Only set if SearchRequest.session is provided. See its description for more details. */
|
|
4282
4106
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo;
|
|
4283
4107
|
/** Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus). */
|
|
@@ -4745,6 +4569,8 @@ declare namespace gapi.client {
|
|
|
4745
4569
|
answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
|
|
4746
4570
|
/** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
|
|
4747
4571
|
assistToken?: string;
|
|
4572
|
+
/** The tool names of the tools that were invoked. */
|
|
4573
|
+
invocationTools?: string[];
|
|
4748
4574
|
/** Session information. Only included in the final StreamAssistResponse of the response stream. */
|
|
4749
4575
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
|
|
4750
4576
|
}
|
|
@@ -4890,30 +4716,6 @@ declare namespace gapi.client {
|
|
|
4890
4716
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
4891
4717
|
updateTime?: string;
|
|
4892
4718
|
}
|
|
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
4719
|
interface GoogleCloudDiscoveryengineV1alphaUserAnnotations {
|
|
4918
4720
|
/** Optional. Whether the agent is pinned, pinned agent will be displayed on the top of the agent list. */
|
|
4919
4721
|
pinned?: boolean;
|
|
@@ -5305,6 +5107,10 @@ declare namespace gapi.client {
|
|
|
5305
5107
|
interface GoogleCloudDiscoveryengineV1Assistant {
|
|
5306
5108
|
/** Optional. Customer policy for the assistant. */
|
|
5307
5109
|
customerPolicy?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy;
|
|
5110
|
+
/** Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */
|
|
5111
|
+
description?: string;
|
|
5112
|
+
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
5113
|
+
displayName?: string;
|
|
5308
5114
|
/** 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
5115
|
enabledTools?: {
|
|
5310
5116
|
[P in string]: GoogleCloudDiscoveryengineV1AssistantToolList;
|
|
@@ -5339,8 +5145,12 @@ declare namespace gapi.client {
|
|
|
5339
5145
|
userPromptTemplate?: string;
|
|
5340
5146
|
}
|
|
5341
5147
|
interface GoogleCloudDiscoveryengineV1AssistantGenerationConfig {
|
|
5148
|
+
/** Optional. The list of models that are allowed to be used for assistant. */
|
|
5149
|
+
allowedModelIds?: string[];
|
|
5342
5150
|
/** 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
5151
|
defaultLanguage?: string;
|
|
5152
|
+
/** Optional. The default model to use for assistant. */
|
|
5153
|
+
defaultModelId?: string;
|
|
5344
5154
|
/** 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
5155
|
systemInstruction?: GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction;
|
|
5346
5156
|
}
|
|
@@ -5851,6 +5661,8 @@ declare namespace gapi.client {
|
|
|
5851
5661
|
contextEventType?: string;
|
|
5852
5662
|
}
|
|
5853
5663
|
interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
|
|
5664
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
5665
|
+
requiredSubscriptionTier?: string;
|
|
5854
5666
|
/** The add-on that this search engine enables. */
|
|
5855
5667
|
searchAddOns?: string[];
|
|
5856
5668
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -6212,6 +6024,8 @@ declare namespace gapi.client {
|
|
|
6212
6024
|
canonicalFilter?: string;
|
|
6213
6025
|
/** A specification for configuring the behavior of content search. */
|
|
6214
6026
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
|
|
6027
|
+
/** 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. */
|
|
6028
|
+
crowdingSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec[];
|
|
6215
6029
|
/** 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
6030
|
dataStoreSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
|
|
6217
6031
|
/** Optional. Config for display feature, like match highlighting on search results. */
|
|
@@ -6234,6 +6048,8 @@ declare namespace gapi.client {
|
|
|
6234
6048
|
oneBoxPageSize?: number;
|
|
6235
6049
|
/** 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
6050
|
orderBy?: string;
|
|
6051
|
+
/** 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` */
|
|
6052
|
+
pageCategories?: string[];
|
|
6237
6053
|
/** 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
6054
|
pageSize?: number;
|
|
6239
6055
|
/** 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 +6195,14 @@ declare namespace gapi.client {
|
|
|
6379
6195
|
/** Optional. Source of image returned in the answer. */
|
|
6380
6196
|
imageSource?: string;
|
|
6381
6197
|
}
|
|
6198
|
+
interface GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec {
|
|
6199
|
+
/** The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive. */
|
|
6200
|
+
field?: string;
|
|
6201
|
+
/** 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. */
|
|
6202
|
+
maxCount?: number;
|
|
6203
|
+
/** Mode to use for documents that are crowded away. */
|
|
6204
|
+
mode?: string;
|
|
6205
|
+
}
|
|
6382
6206
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
|
|
6383
6207
|
/** 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
6208
|
boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
@@ -7188,6 +7012,8 @@ declare namespace gapi.client {
|
|
|
7188
7012
|
contextEventType?: string;
|
|
7189
7013
|
}
|
|
7190
7014
|
interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
|
|
7015
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
7016
|
+
requiredSubscriptionTier?: string;
|
|
7191
7017
|
/** The add-on that this search engine enables. */
|
|
7192
7018
|
searchAddOns?: string[];
|
|
7193
7019
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -7899,20 +7725,6 @@ declare namespace gapi.client {
|
|
|
7899
7725
|
/** Status of the source. */
|
|
7900
7726
|
status?: string;
|
|
7901
7727
|
}
|
|
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
7728
|
interface GoogleCloudNotebooklmV1alphaUserContent {
|
|
7917
7729
|
/** Agentspace content uploaded as source. */
|
|
7918
7730
|
agentspaceContent?: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
|
|
@@ -7989,7 +7801,7 @@ declare namespace gapi.client {
|
|
|
7989
7801
|
nextPageToken?: string;
|
|
7990
7802
|
/** A list of operations that matches the specified filter in the request. */
|
|
7991
7803
|
operations?: GoogleLongrunningOperation[];
|
|
7992
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
7804
|
+
/** 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
7805
|
unreachable?: string[];
|
|
7994
7806
|
}
|
|
7995
7807
|
interface GoogleLongrunningOperation {
|
|
@@ -8278,97 +8090,6 @@ declare namespace gapi.client {
|
|
|
8278
8090
|
interface BillingAccountsResource {
|
|
8279
8091
|
billingAccountLicenseConfigs: BillingAccountLicenseConfigsResource;
|
|
8280
8092
|
}
|
|
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
8093
|
interface AuthorizationsResource {
|
|
8373
8094
|
/** Creates an Authorization. */
|
|
8374
8095
|
create(request: {
|
|
@@ -8814,7 +8535,7 @@ declare namespace gapi.client {
|
|
|
8814
8535
|
prettyPrint?: boolean;
|
|
8815
8536
|
/** 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
8537
|
quotaUser?: string;
|
|
8817
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
8538
|
+
/** 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
8539
|
returnPartialSuccess?: boolean;
|
|
8819
8540
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8820
8541
|
upload_protocol?: string;
|
|
@@ -9535,7 +9256,7 @@ declare namespace gapi.client {
|
|
|
9535
9256
|
prettyPrint?: boolean;
|
|
9536
9257
|
/** 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
9258
|
quotaUser?: string;
|
|
9538
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
9259
|
+
/** 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
9260
|
returnPartialSuccess?: boolean;
|
|
9540
9261
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9541
9262
|
upload_protocol?: string;
|
|
@@ -10381,7 +10102,7 @@ declare namespace gapi.client {
|
|
|
10381
10102
|
prettyPrint?: boolean;
|
|
10382
10103
|
/** 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
10104
|
quotaUser?: string;
|
|
10384
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
10105
|
+
/** 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
10106
|
returnPartialSuccess?: boolean;
|
|
10386
10107
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10387
10108
|
upload_protocol?: string;
|
|
@@ -10448,7 +10169,7 @@ declare namespace gapi.client {
|
|
|
10448
10169
|
prettyPrint?: boolean;
|
|
10449
10170
|
/** 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
10171
|
quotaUser?: string;
|
|
10451
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
10172
|
+
/** 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
10173
|
returnPartialSuccess?: boolean;
|
|
10453
10174
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10454
10175
|
upload_protocol?: string;
|
|
@@ -10512,7 +10233,7 @@ declare namespace gapi.client {
|
|
|
10512
10233
|
prettyPrint?: boolean;
|
|
10513
10234
|
/** 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
10235
|
quotaUser?: string;
|
|
10515
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
10236
|
+
/** 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
10237
|
returnPartialSuccess?: boolean;
|
|
10517
10238
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10518
10239
|
upload_protocol?: string;
|
|
@@ -11443,7 +11164,7 @@ declare namespace gapi.client {
|
|
|
11443
11164
|
prettyPrint?: boolean;
|
|
11444
11165
|
/** 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
11166
|
quotaUser?: string;
|
|
11446
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
11167
|
+
/** 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
11168
|
returnPartialSuccess?: boolean;
|
|
11448
11169
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11449
11170
|
upload_protocol?: string;
|
|
@@ -11623,7 +11344,7 @@ declare namespace gapi.client {
|
|
|
11623
11344
|
prettyPrint?: boolean;
|
|
11624
11345
|
/** 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
11346
|
quotaUser?: string;
|
|
11626
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
11347
|
+
/** 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
11348
|
returnPartialSuccess?: boolean;
|
|
11628
11349
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11629
11350
|
upload_protocol?: string;
|
|
@@ -13245,6 +12966,35 @@ declare namespace gapi.client {
|
|
|
13245
12966
|
body: GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest,
|
|
13246
12967
|
): Request<GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse>;
|
|
13247
12968
|
}
|
|
12969
|
+
interface OperationsResource {
|
|
12970
|
+
/** 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. */
|
|
12971
|
+
get(request?: {
|
|
12972
|
+
/** V1 error format. */
|
|
12973
|
+
'$.xgafv'?: string;
|
|
12974
|
+
/** OAuth access token. */
|
|
12975
|
+
access_token?: string;
|
|
12976
|
+
/** Data format for response. */
|
|
12977
|
+
alt?: string;
|
|
12978
|
+
/** JSONP */
|
|
12979
|
+
callback?: string;
|
|
12980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12981
|
+
fields?: string;
|
|
12982
|
+
/** 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. */
|
|
12983
|
+
key?: string;
|
|
12984
|
+
/** The name of the operation resource. */
|
|
12985
|
+
name: string;
|
|
12986
|
+
/** OAuth 2.0 token for the current user. */
|
|
12987
|
+
oauth_token?: string;
|
|
12988
|
+
/** Returns response with indentations and line breaks. */
|
|
12989
|
+
prettyPrint?: boolean;
|
|
12990
|
+
/** 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. */
|
|
12991
|
+
quotaUser?: string;
|
|
12992
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12993
|
+
upload_protocol?: string;
|
|
12994
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12995
|
+
uploadType?: string;
|
|
12996
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12997
|
+
}
|
|
13248
12998
|
interface AgentsResource {
|
|
13249
12999
|
/** Creates an Agent. */
|
|
13250
13000
|
create(request: {
|
|
@@ -13418,6 +13168,8 @@ declare namespace gapi.client {
|
|
|
13418
13168
|
'$.xgafv'?: string;
|
|
13419
13169
|
/** OAuth access token. */
|
|
13420
13170
|
access_token?: string;
|
|
13171
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13172
|
+
adminView?: boolean;
|
|
13421
13173
|
/** Data format for response. */
|
|
13422
13174
|
alt?: string;
|
|
13423
13175
|
/** JSONP */
|
|
@@ -13627,6 +13379,7 @@ declare namespace gapi.client {
|
|
|
13627
13379
|
uploadType?: string;
|
|
13628
13380
|
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13629
13381
|
files: FilesResource;
|
|
13382
|
+
operations: OperationsResource;
|
|
13630
13383
|
}
|
|
13631
13384
|
interface CannedQueriesResource {
|
|
13632
13385
|
/** Creates a CannedQuery. */
|
|
@@ -13842,6 +13595,95 @@ declare namespace gapi.client {
|
|
|
13842
13595
|
): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
13843
13596
|
}
|
|
13844
13597
|
interface AssistantsResource {
|
|
13598
|
+
/** Creates an Assistant. */
|
|
13599
|
+
create(request: {
|
|
13600
|
+
/** V1 error format. */
|
|
13601
|
+
'$.xgafv'?: string;
|
|
13602
|
+
/** OAuth access token. */
|
|
13603
|
+
access_token?: string;
|
|
13604
|
+
/** Data format for response. */
|
|
13605
|
+
alt?: string;
|
|
13606
|
+
/** 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. */
|
|
13607
|
+
assistantId?: string;
|
|
13608
|
+
/** JSONP */
|
|
13609
|
+
callback?: string;
|
|
13610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13611
|
+
fields?: string;
|
|
13612
|
+
/** 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. */
|
|
13613
|
+
key?: string;
|
|
13614
|
+
/** OAuth 2.0 token for the current user. */
|
|
13615
|
+
oauth_token?: string;
|
|
13616
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
|
|
13617
|
+
parent: string;
|
|
13618
|
+
/** Returns response with indentations and line breaks. */
|
|
13619
|
+
prettyPrint?: boolean;
|
|
13620
|
+
/** 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. */
|
|
13621
|
+
quotaUser?: string;
|
|
13622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13623
|
+
upload_protocol?: string;
|
|
13624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13625
|
+
uploadType?: string;
|
|
13626
|
+
/** Request body */
|
|
13627
|
+
resource: GoogleCloudDiscoveryengineV1alphaAssistant;
|
|
13628
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
13629
|
+
create(
|
|
13630
|
+
request: {
|
|
13631
|
+
/** V1 error format. */
|
|
13632
|
+
'$.xgafv'?: string;
|
|
13633
|
+
/** OAuth access token. */
|
|
13634
|
+
access_token?: string;
|
|
13635
|
+
/** Data format for response. */
|
|
13636
|
+
alt?: string;
|
|
13637
|
+
/** 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. */
|
|
13638
|
+
assistantId?: string;
|
|
13639
|
+
/** JSONP */
|
|
13640
|
+
callback?: string;
|
|
13641
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13642
|
+
fields?: string;
|
|
13643
|
+
/** 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. */
|
|
13644
|
+
key?: string;
|
|
13645
|
+
/** OAuth 2.0 token for the current user. */
|
|
13646
|
+
oauth_token?: string;
|
|
13647
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
|
|
13648
|
+
parent: string;
|
|
13649
|
+
/** Returns response with indentations and line breaks. */
|
|
13650
|
+
prettyPrint?: boolean;
|
|
13651
|
+
/** 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. */
|
|
13652
|
+
quotaUser?: string;
|
|
13653
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13654
|
+
upload_protocol?: string;
|
|
13655
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13656
|
+
uploadType?: string;
|
|
13657
|
+
},
|
|
13658
|
+
body: GoogleCloudDiscoveryengineV1alphaAssistant,
|
|
13659
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
13660
|
+
/** Deletes an Assistant. */
|
|
13661
|
+
delete(request?: {
|
|
13662
|
+
/** V1 error format. */
|
|
13663
|
+
'$.xgafv'?: string;
|
|
13664
|
+
/** OAuth access token. */
|
|
13665
|
+
access_token?: string;
|
|
13666
|
+
/** Data format for response. */
|
|
13667
|
+
alt?: string;
|
|
13668
|
+
/** JSONP */
|
|
13669
|
+
callback?: string;
|
|
13670
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13671
|
+
fields?: string;
|
|
13672
|
+
/** 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. */
|
|
13673
|
+
key?: string;
|
|
13674
|
+
/** 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. */
|
|
13675
|
+
name: string;
|
|
13676
|
+
/** OAuth 2.0 token for the current user. */
|
|
13677
|
+
oauth_token?: string;
|
|
13678
|
+
/** Returns response with indentations and line breaks. */
|
|
13679
|
+
prettyPrint?: boolean;
|
|
13680
|
+
/** 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. */
|
|
13681
|
+
quotaUser?: string;
|
|
13682
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13683
|
+
upload_protocol?: string;
|
|
13684
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13685
|
+
uploadType?: string;
|
|
13686
|
+
}): Request<{}>;
|
|
13845
13687
|
/** Gets an Assistant. */
|
|
13846
13688
|
get(request?: {
|
|
13847
13689
|
/** V1 error format. */
|
|
@@ -13869,12 +13711,45 @@ declare namespace gapi.client {
|
|
|
13869
13711
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13870
13712
|
uploadType?: string;
|
|
13871
13713
|
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
13714
|
+
/** Lists all Assistants under an Engine. */
|
|
13715
|
+
list(request?: {
|
|
13716
|
+
/** V1 error format. */
|
|
13717
|
+
'$.xgafv'?: string;
|
|
13718
|
+
/** OAuth access token. */
|
|
13719
|
+
access_token?: string;
|
|
13720
|
+
/** Data format for response. */
|
|
13721
|
+
alt?: string;
|
|
13722
|
+
/** JSONP */
|
|
13723
|
+
callback?: string;
|
|
13724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13725
|
+
fields?: string;
|
|
13726
|
+
/** 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. */
|
|
13727
|
+
key?: string;
|
|
13728
|
+
/** OAuth 2.0 token for the current user. */
|
|
13729
|
+
oauth_token?: string;
|
|
13730
|
+
/** 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. */
|
|
13731
|
+
pageSize?: number;
|
|
13732
|
+
/** 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. */
|
|
13733
|
+
pageToken?: string;
|
|
13734
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
|
|
13735
|
+
parent: string;
|
|
13736
|
+
/** Returns response with indentations and line breaks. */
|
|
13737
|
+
prettyPrint?: boolean;
|
|
13738
|
+
/** 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. */
|
|
13739
|
+
quotaUser?: string;
|
|
13740
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13741
|
+
upload_protocol?: string;
|
|
13742
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13743
|
+
uploadType?: string;
|
|
13744
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListAssistantsResponse>;
|
|
13872
13745
|
/** Lists the data for displaying the Agents under an Assistant which are available to the caller. */
|
|
13873
13746
|
listAvailableAgentViews(request?: {
|
|
13874
13747
|
/** V1 error format. */
|
|
13875
13748
|
'$.xgafv'?: string;
|
|
13876
13749
|
/** OAuth access token. */
|
|
13877
13750
|
access_token?: string;
|
|
13751
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13752
|
+
adminView?: boolean;
|
|
13878
13753
|
/** Optional. The origin of the Agent. */
|
|
13879
13754
|
agentOrigin?: string;
|
|
13880
13755
|
/** Data format for response. */
|
|
@@ -14689,7 +14564,7 @@ declare namespace gapi.client {
|
|
|
14689
14564
|
prettyPrint?: boolean;
|
|
14690
14565
|
/** 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
14566
|
quotaUser?: string;
|
|
14692
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
14567
|
+
/** 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
14568
|
returnPartialSuccess?: boolean;
|
|
14694
14569
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14695
14570
|
upload_protocol?: string;
|
|
@@ -15109,6 +14984,38 @@ declare namespace gapi.client {
|
|
|
15109
14984
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
15110
14985
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
15111
14986
|
}
|
|
14987
|
+
interface OperationsResource {
|
|
14988
|
+
/** 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. */
|
|
14989
|
+
get(request?: {
|
|
14990
|
+
/** V1 error format. */
|
|
14991
|
+
'$.xgafv'?: string;
|
|
14992
|
+
/** OAuth access token. */
|
|
14993
|
+
access_token?: string;
|
|
14994
|
+
/** Data format for response. */
|
|
14995
|
+
alt?: string;
|
|
14996
|
+
/** JSONP */
|
|
14997
|
+
callback?: string;
|
|
14998
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14999
|
+
fields?: string;
|
|
15000
|
+
/** 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. */
|
|
15001
|
+
key?: string;
|
|
15002
|
+
/** The name of the operation resource. */
|
|
15003
|
+
name: string;
|
|
15004
|
+
/** OAuth 2.0 token for the current user. */
|
|
15005
|
+
oauth_token?: string;
|
|
15006
|
+
/** Returns response with indentations and line breaks. */
|
|
15007
|
+
prettyPrint?: boolean;
|
|
15008
|
+
/** 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. */
|
|
15009
|
+
quotaUser?: string;
|
|
15010
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15011
|
+
upload_protocol?: string;
|
|
15012
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15013
|
+
uploadType?: string;
|
|
15014
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15015
|
+
}
|
|
15016
|
+
interface AlphaEvolveExperimentsResource {
|
|
15017
|
+
operations: OperationsResource;
|
|
15018
|
+
}
|
|
15112
15019
|
interface AnswersResource {
|
|
15113
15020
|
/** Gets a Answer. */
|
|
15114
15021
|
get(request?: {
|
|
@@ -15175,6 +15082,35 @@ declare namespace gapi.client {
|
|
|
15175
15082
|
uploadType?: string;
|
|
15176
15083
|
}): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
|
|
15177
15084
|
}
|
|
15085
|
+
interface OperationsResource {
|
|
15086
|
+
/** 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. */
|
|
15087
|
+
get(request?: {
|
|
15088
|
+
/** V1 error format. */
|
|
15089
|
+
'$.xgafv'?: string;
|
|
15090
|
+
/** OAuth access token. */
|
|
15091
|
+
access_token?: string;
|
|
15092
|
+
/** Data format for response. */
|
|
15093
|
+
alt?: string;
|
|
15094
|
+
/** JSONP */
|
|
15095
|
+
callback?: string;
|
|
15096
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15097
|
+
fields?: string;
|
|
15098
|
+
/** 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. */
|
|
15099
|
+
key?: string;
|
|
15100
|
+
/** The name of the operation resource. */
|
|
15101
|
+
name: string;
|
|
15102
|
+
/** OAuth 2.0 token for the current user. */
|
|
15103
|
+
oauth_token?: string;
|
|
15104
|
+
/** Returns response with indentations and line breaks. */
|
|
15105
|
+
prettyPrint?: boolean;
|
|
15106
|
+
/** 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. */
|
|
15107
|
+
quotaUser?: string;
|
|
15108
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15109
|
+
upload_protocol?: string;
|
|
15110
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15111
|
+
uploadType?: string;
|
|
15112
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15113
|
+
}
|
|
15178
15114
|
interface SessionsResource {
|
|
15179
15115
|
/** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
|
|
15180
15116
|
create(request: {
|
|
@@ -15387,8 +15323,10 @@ declare namespace gapi.client {
|
|
|
15387
15323
|
},
|
|
15388
15324
|
body: GoogleCloudDiscoveryengineV1alphaSession,
|
|
15389
15325
|
): Request<GoogleCloudDiscoveryengineV1alphaSession>;
|
|
15326
|
+
alphaEvolveExperiments: AlphaEvolveExperimentsResource;
|
|
15390
15327
|
answers: AnswersResource;
|
|
15391
15328
|
files: FilesResource;
|
|
15329
|
+
operations: OperationsResource;
|
|
15392
15330
|
}
|
|
15393
15331
|
interface WidgetConfigsResource {
|
|
15394
15332
|
/** Gets a WidgetConfig. */
|
|
@@ -15964,7 +15902,7 @@ declare namespace gapi.client {
|
|
|
15964
15902
|
prettyPrint?: boolean;
|
|
15965
15903
|
/** 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
15904
|
quotaUser?: string;
|
|
15967
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
15905
|
+
/** 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
15906
|
returnPartialSuccess?: boolean;
|
|
15969
15907
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15970
15908
|
upload_protocol?: string;
|
|
@@ -16755,7 +16693,7 @@ declare namespace gapi.client {
|
|
|
16755
16693
|
prettyPrint?: boolean;
|
|
16756
16694
|
/** 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
16695
|
quotaUser?: string;
|
|
16758
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
16696
|
+
/** 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
16697
|
returnPartialSuccess?: boolean;
|
|
16760
16698
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16761
16699
|
upload_protocol?: string;
|
|
@@ -17572,7 +17510,7 @@ declare namespace gapi.client {
|
|
|
17572
17510
|
prettyPrint?: boolean;
|
|
17573
17511
|
/** 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
17512
|
quotaUser?: string;
|
|
17575
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
17513
|
+
/** 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
17514
|
returnPartialSuccess?: boolean;
|
|
17577
17515
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17578
17516
|
upload_protocol?: string;
|
|
@@ -17639,7 +17577,7 @@ declare namespace gapi.client {
|
|
|
17639
17577
|
prettyPrint?: boolean;
|
|
17640
17578
|
/** 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
17579
|
quotaUser?: string;
|
|
17642
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
17580
|
+
/** 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
17581
|
returnPartialSuccess?: boolean;
|
|
17644
17582
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17645
17583
|
upload_protocol?: string;
|
|
@@ -20183,7 +20121,7 @@ declare namespace gapi.client {
|
|
|
20183
20121
|
prettyPrint?: boolean;
|
|
20184
20122
|
/** 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
20123
|
quotaUser?: string;
|
|
20186
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
20124
|
+
/** 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
20125
|
returnPartialSuccess?: boolean;
|
|
20188
20126
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20189
20127
|
upload_protocol?: string;
|
|
@@ -20880,68 +20818,6 @@ declare namespace gapi.client {
|
|
|
20880
20818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20881
20819
|
uploadType?: string;
|
|
20882
20820
|
}): 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
20821
|
}
|
|
20946
20822
|
interface NotebooksResource {
|
|
20947
20823
|
/** Batch deletes Notebooks. */
|
|
@@ -21235,7 +21111,7 @@ declare namespace gapi.client {
|
|
|
21235
21111
|
prettyPrint?: boolean;
|
|
21236
21112
|
/** 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
21113
|
quotaUser?: string;
|
|
21238
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
21114
|
+
/** 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
21115
|
returnPartialSuccess?: boolean;
|
|
21240
21116
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21241
21117
|
upload_protocol?: string;
|
|
@@ -22146,7 +22022,7 @@ declare namespace gapi.client {
|
|
|
22146
22022
|
prettyPrint?: boolean;
|
|
22147
22023
|
/** 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
22024
|
quotaUser?: string;
|
|
22149
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
22025
|
+
/** 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
22026
|
returnPartialSuccess?: boolean;
|
|
22151
22027
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22152
22028
|
upload_protocol?: string;
|
|
@@ -22167,12 +22043,12 @@ declare namespace gapi.client {
|
|
|
22167
22043
|
callback?: string;
|
|
22168
22044
|
/** Selector specifying which fields to include in a partial response. */
|
|
22169
22045
|
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
22046
|
/** 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
22047
|
key?: string;
|
|
22174
22048
|
/** OAuth 2.0 token for the current user. */
|
|
22175
22049
|
oauth_token?: string;
|
|
22050
|
+
/** 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. */
|
|
22051
|
+
orderBy?: string;
|
|
22176
22052
|
/** 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
22053
|
pageSize?: number;
|
|
22178
22054
|
/** 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 +22419,6 @@ declare namespace gapi.client {
|
|
|
22543
22419
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22544
22420
|
uploadType?: string;
|
|
22545
22421
|
}): 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
22422
|
/** 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
22423
|
obtainCrawlRate(request: {
|
|
22589
22424
|
/** V1 error format. */
|
|
@@ -22642,6 +22477,49 @@ declare namespace gapi.client {
|
|
|
22642
22477
|
},
|
|
22643
22478
|
body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest,
|
|
22644
22479
|
): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
|
|
22480
|
+
/** Queries configurable pricing usage stats for a project. */
|
|
22481
|
+
queryConfigurablePricingUsageStats(request?: {
|
|
22482
|
+
/** V1 error format. */
|
|
22483
|
+
'$.xgafv'?: string;
|
|
22484
|
+
/** OAuth access token. */
|
|
22485
|
+
access_token?: string;
|
|
22486
|
+
/** Data format for response. */
|
|
22487
|
+
alt?: string;
|
|
22488
|
+
/** JSONP */
|
|
22489
|
+
callback?: string;
|
|
22490
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22491
|
+
fields?: string;
|
|
22492
|
+
/** 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. */
|
|
22493
|
+
key?: string;
|
|
22494
|
+
/** Required. The location to query usage stats for. */
|
|
22495
|
+
location: string;
|
|
22496
|
+
/** Optional. The metric types to return usage for. */
|
|
22497
|
+
metricTypes?: string | string[];
|
|
22498
|
+
/** OAuth 2.0 token for the current user. */
|
|
22499
|
+
oauth_token?: string;
|
|
22500
|
+
/** Returns response with indentations and line breaks. */
|
|
22501
|
+
prettyPrint?: boolean;
|
|
22502
|
+
/** Required. The project to query usage stats for. Format: projects/{project} */
|
|
22503
|
+
project: string;
|
|
22504
|
+
/** 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. */
|
|
22505
|
+
quotaUser?: string;
|
|
22506
|
+
/** 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. */
|
|
22507
|
+
'timeRange.endDate.day'?: number;
|
|
22508
|
+
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
22509
|
+
'timeRange.endDate.month'?: number;
|
|
22510
|
+
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
22511
|
+
'timeRange.endDate.year'?: number;
|
|
22512
|
+
/** 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. */
|
|
22513
|
+
'timeRange.startDate.day'?: number;
|
|
22514
|
+
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
22515
|
+
'timeRange.startDate.month'?: number;
|
|
22516
|
+
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
22517
|
+
'timeRange.startDate.year'?: number;
|
|
22518
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22519
|
+
upload_protocol?: string;
|
|
22520
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22521
|
+
uploadType?: string;
|
|
22522
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse>;
|
|
22645
22523
|
/** 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
22524
|
removeDedicatedCrawlRate(request: {
|
|
22647
22525
|
/** V1 error format. */
|
|
@@ -23075,7 +22953,7 @@ declare namespace gapi.client {
|
|
|
23075
22953
|
prettyPrint?: boolean;
|
|
23076
22954
|
/** 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
22955
|
quotaUser?: string;
|
|
23078
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
22956
|
+
/** 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
22957
|
returnPartialSuccess?: boolean;
|
|
23080
22958
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23081
22959
|
upload_protocol?: string;
|
|
@@ -23295,8 +23173,6 @@ declare namespace gapi.client {
|
|
|
23295
23173
|
|
|
23296
23174
|
const billingAccounts: BillingAccountsResource;
|
|
23297
23175
|
|
|
23298
|
-
const media: MediaResource;
|
|
23299
|
-
|
|
23300
23176
|
const projects: ProjectsResource;
|
|
23301
23177
|
}
|
|
23302
23178
|
}
|
package/package.json
CHANGED
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
|
*/
|