@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250331 → 0.0.20250422
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 +698 -324
- package/package.json +1 -1
- package/readme.md +15 -0
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://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250422
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -273,6 +273,8 @@ declare namespace gapi.client {
|
|
|
273
273
|
schemaVersion?: string;
|
|
274
274
|
}
|
|
275
275
|
interface GoogleCloudAiplatformV1beta1AssembleDataRequest {
|
|
276
|
+
/** Optional. The read config for the dataset. */
|
|
277
|
+
geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
|
|
276
278
|
/** Optional. Config for assembling templates with a Gemini API structure. */
|
|
277
279
|
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
278
280
|
/** Optional. The column name in the underlying table that contains already fully assembled requests. If this field is set, the original request will be copied to the output table. */
|
|
@@ -283,6 +285,8 @@ declare namespace gapi.client {
|
|
|
283
285
|
batchPredictionResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig;
|
|
284
286
|
/** Optional. Configuration for the batch prediction validation assessment. */
|
|
285
287
|
batchPredictionValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig;
|
|
288
|
+
/** Optional. The Gemini request read config for the dataset. */
|
|
289
|
+
geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
|
|
286
290
|
/** Optional. Config for assembling templates with a Gemini API structure to assess assembled data. */
|
|
287
291
|
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
288
292
|
/** Optional. The column name in the underlying table that contains already fully assembled requests. */
|
|
@@ -413,7 +417,7 @@ declare namespace gapi.client {
|
|
|
413
417
|
interface GoogleCloudAiplatformV1beta1AutoraterConfig {
|
|
414
418
|
/** Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
415
419
|
autoraterModel?: string;
|
|
416
|
-
/** Optional. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. */
|
|
420
|
+
/** Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. */
|
|
417
421
|
flipEnabled?: boolean;
|
|
418
422
|
/** Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. */
|
|
419
423
|
samplingCount?: number;
|
|
@@ -1667,6 +1671,8 @@ declare namespace gapi.client {
|
|
|
1667
1671
|
dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
|
|
1668
1672
|
/** Optional. If true, enable the QMT fast tryout feature for this model if possible. */
|
|
1669
1673
|
fastTryoutEnabled?: boolean;
|
|
1674
|
+
/** Optional. System labels for Model Garden deployments. These labels are managed by Google and for tracking purposes only. */
|
|
1675
|
+
systemLabels?: {[P in string]: string};
|
|
1670
1676
|
}
|
|
1671
1677
|
interface GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig {
|
|
1672
1678
|
/** Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
|
|
@@ -1738,7 +1744,7 @@ declare namespace gapi.client {
|
|
|
1738
1744
|
learningRateMultiplier?: number;
|
|
1739
1745
|
}
|
|
1740
1746
|
interface GoogleCloudAiplatformV1beta1DistillationSpec {
|
|
1741
|
-
/** The base teacher model that is being distilled
|
|
1747
|
+
/** The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
|
|
1742
1748
|
baseTeacherModel?: string;
|
|
1743
1749
|
/** Optional. Hyperparameters for Distillation. */
|
|
1744
1750
|
hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
|
|
@@ -2058,6 +2064,8 @@ declare namespace gapi.client {
|
|
|
2058
2064
|
/** Optional. Indicates that the event is updating the state with the given delta. */
|
|
2059
2065
|
stateDelta?: {[P in string]: any};
|
|
2060
2066
|
/** Optional. If set, the event transfers to the specified agent. */
|
|
2067
|
+
transferAgent?: string;
|
|
2068
|
+
/** Deprecated. If set, the event transfers to the specified agent. */
|
|
2061
2069
|
transferToAgent?: boolean;
|
|
2062
2070
|
}
|
|
2063
2071
|
interface GoogleCloudAiplatformV1beta1EventMetadata {
|
|
@@ -2164,7 +2172,7 @@ declare namespace gapi.client {
|
|
|
2164
2172
|
updateTime?: string;
|
|
2165
2173
|
}
|
|
2166
2174
|
interface GoogleCloudAiplatformV1beta1ExampleStoreConfig {
|
|
2167
|
-
/** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "
|
|
2175
|
+
/** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "text-embedding-005" * "text-multilingual-embedding-002" */
|
|
2168
2176
|
vertexEmbeddingModel?: string;
|
|
2169
2177
|
}
|
|
2170
2178
|
interface GoogleCloudAiplatformV1beta1ExecutableCode {
|
|
@@ -2524,6 +2532,8 @@ declare namespace gapi.client {
|
|
|
2524
2532
|
serviceDirectory?: string;
|
|
2525
2533
|
}
|
|
2526
2534
|
interface GoogleCloudAiplatformV1beta1Fact {
|
|
2535
|
+
/** If present, chunk properties. */
|
|
2536
|
+
chunk?: GoogleCloudAiplatformV1beta1RagChunk;
|
|
2527
2537
|
/** Query that is used to retrieve this fact. */
|
|
2528
2538
|
query?: string;
|
|
2529
2539
|
/** If present, according to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the fact and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the fact. The larger the distance, the less relevant the fact is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant. */
|
|
@@ -3069,7 +3079,7 @@ declare namespace gapi.client {
|
|
|
3069
3079
|
interface GoogleCloudAiplatformV1beta1FetchExamplesResponse {
|
|
3070
3080
|
/** The examples in the Example Store that satisfy the metadata filters. */
|
|
3071
3081
|
examples?: GoogleCloudAiplatformV1beta1Example[];
|
|
3072
|
-
/** A token, which can be sent as
|
|
3082
|
+
/** A token, which can be sent as FetchExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
|
|
3073
3083
|
nextPageToken?: string;
|
|
3074
3084
|
}
|
|
3075
3085
|
interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
|
|
@@ -3225,7 +3235,7 @@ declare namespace gapi.client {
|
|
|
3225
3235
|
version?: number;
|
|
3226
3236
|
}
|
|
3227
3237
|
interface GoogleCloudAiplatformV1beta1FunctionCall {
|
|
3228
|
-
/** Optional.
|
|
3238
|
+
/** Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
|
|
3229
3239
|
args?: {[P in string]: any};
|
|
3230
3240
|
/** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
|
|
3231
3241
|
id?: string;
|
|
@@ -3261,7 +3271,7 @@ declare namespace gapi.client {
|
|
|
3261
3271
|
outputUriPrefix?: string;
|
|
3262
3272
|
}
|
|
3263
3273
|
interface GoogleCloudAiplatformV1beta1GcsSource {
|
|
3264
|
-
/** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/
|
|
3274
|
+
/** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
|
|
3265
3275
|
uris?: string[];
|
|
3266
3276
|
}
|
|
3267
3277
|
interface GoogleCloudAiplatformV1beta1GeminiExample {
|
|
@@ -3284,8 +3294,14 @@ declare namespace gapi.client {
|
|
|
3284
3294
|
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
|
|
3285
3295
|
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
3286
3296
|
}
|
|
3297
|
+
interface GoogleCloudAiplatformV1beta1GeminiRequestReadConfig {
|
|
3298
|
+
/** Optional. Column name in the dataset table that contains already fully assembled Gemini requests. */
|
|
3299
|
+
assembledRequestColumnName?: string;
|
|
3300
|
+
/** Gemini request template with placeholders. */
|
|
3301
|
+
templateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
3302
|
+
}
|
|
3287
3303
|
interface GoogleCloudAiplatformV1beta1GeminiTemplateConfig {
|
|
3288
|
-
/** Required. Map of template
|
|
3304
|
+
/** Required. Map of template parameters to the columns in the dataset table. */
|
|
3289
3305
|
fieldMapping?: {[P in string]: string};
|
|
3290
3306
|
/** Required. The template that will be used for assembling the request to use for downstream applications. */
|
|
3291
3307
|
geminiExample?: GoogleCloudAiplatformV1beta1GeminiExample;
|
|
@@ -3407,6 +3423,8 @@ declare namespace gapi.client {
|
|
|
3407
3423
|
maxOutputTokens?: number;
|
|
3408
3424
|
/** Optional. If specified, the media resolution specified will be used. */
|
|
3409
3425
|
mediaResolution?: string;
|
|
3426
|
+
/** Optional. Config for model selection. */
|
|
3427
|
+
modelConfig?: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig;
|
|
3410
3428
|
/** Optional. Positive penalties. */
|
|
3411
3429
|
presencePenalty?: number;
|
|
3412
3430
|
/** Optional. If true, export the logprobs results in response. */
|
|
@@ -3427,11 +3445,17 @@ declare namespace gapi.client {
|
|
|
3427
3445
|
stopSequences?: string[];
|
|
3428
3446
|
/** Optional. Controls the randomness of predictions. */
|
|
3429
3447
|
temperature?: number;
|
|
3448
|
+
/** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
|
|
3449
|
+
thinkingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
|
|
3430
3450
|
/** Optional. If specified, top-k sampling will be used. */
|
|
3431
3451
|
topK?: number;
|
|
3432
3452
|
/** Optional. If specified, nucleus sampling will be used. */
|
|
3433
3453
|
topP?: number;
|
|
3434
3454
|
}
|
|
3455
|
+
interface GoogleCloudAiplatformV1beta1GenerationConfigModelConfig {
|
|
3456
|
+
/** Required. Feature selection preference. */
|
|
3457
|
+
featureSelectionPreference?: string;
|
|
3458
|
+
}
|
|
3435
3459
|
interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig {
|
|
3436
3460
|
/** Automated routing. */
|
|
3437
3461
|
autoMode?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode;
|
|
@@ -3443,9 +3467,13 @@ declare namespace gapi.client {
|
|
|
3443
3467
|
modelRoutingPreference?: string;
|
|
3444
3468
|
}
|
|
3445
3469
|
interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode {
|
|
3446
|
-
/** The model name to use. Only the public LLM models are accepted.
|
|
3470
|
+
/** The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
|
|
3447
3471
|
modelName?: string;
|
|
3448
3472
|
}
|
|
3473
|
+
interface GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
|
|
3474
|
+
/** Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */
|
|
3475
|
+
thinkingBudget?: number;
|
|
3476
|
+
}
|
|
3449
3477
|
interface GoogleCloudAiplatformV1beta1GenericOperationMetadata {
|
|
3450
3478
|
/** Output only. Time when the operation was created. */
|
|
3451
3479
|
createTime?: string;
|
|
@@ -3503,6 +3531,8 @@ declare namespace gapi.client {
|
|
|
3503
3531
|
web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
|
|
3504
3532
|
}
|
|
3505
3533
|
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
|
|
3534
|
+
/** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
|
|
3535
|
+
ragChunk?: GoogleCloudAiplatformV1beta1RagChunk;
|
|
3506
3536
|
/** Text of the attribution. */
|
|
3507
3537
|
text?: string;
|
|
3508
3538
|
/** Title of the attribution. */
|
|
@@ -3973,7 +4003,7 @@ declare namespace gapi.client {
|
|
|
3973
4003
|
interface GoogleCloudAiplatformV1beta1ListEventsResponse {
|
|
3974
4004
|
/** A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
|
|
3975
4005
|
nextPageToken?: string;
|
|
3976
|
-
/** A list of events matching the request. */
|
|
4006
|
+
/** A list of events matching the request. Ordered by timestamp in ascending order. */
|
|
3977
4007
|
sessionEvents?: GoogleCloudAiplatformV1beta1SessionEvent[];
|
|
3978
4008
|
}
|
|
3979
4009
|
interface GoogleCloudAiplatformV1beta1ListExampleStoresResponse {
|
|
@@ -4899,7 +4929,7 @@ declare namespace gapi.client {
|
|
|
4899
4929
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource {
|
|
4900
4930
|
/** Data format of the dataset. */
|
|
4901
4931
|
format?: string;
|
|
4902
|
-
/** Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/
|
|
4932
|
+
/** Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
|
|
4903
4933
|
gcsUri?: string;
|
|
4904
4934
|
}
|
|
4905
4935
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset {
|
|
@@ -5187,8 +5217,6 @@ declare namespace gapi.client {
|
|
|
5187
5217
|
checkpointId?: string;
|
|
5188
5218
|
/** The epoch of the checkpoint. */
|
|
5189
5219
|
epoch?: string;
|
|
5190
|
-
/** Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}` */
|
|
5191
|
-
name?: string;
|
|
5192
5220
|
/** The step of the checkpoint. */
|
|
5193
5221
|
step?: string;
|
|
5194
5222
|
}
|
|
@@ -5513,6 +5541,14 @@ declare namespace gapi.client {
|
|
|
5513
5541
|
/** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
|
|
5514
5542
|
idleTimeout?: string;
|
|
5515
5543
|
}
|
|
5544
|
+
interface GoogleCloudAiplatformV1beta1NotebookReservationAffinity {
|
|
5545
|
+
/** Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. */
|
|
5546
|
+
consumeReservationType?: string;
|
|
5547
|
+
/** Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. */
|
|
5548
|
+
key?: string;
|
|
5549
|
+
/** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
|
|
5550
|
+
values?: string[];
|
|
5551
|
+
}
|
|
5516
5552
|
interface GoogleCloudAiplatformV1beta1NotebookRuntime {
|
|
5517
5553
|
/** Output only. Timestamp when this NotebookRuntime was created. */
|
|
5518
5554
|
createTime?: string;
|
|
@@ -5550,6 +5586,8 @@ declare namespace gapi.client {
|
|
|
5550
5586
|
notebookRuntimeType?: string;
|
|
5551
5587
|
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
5552
5588
|
proxyUri?: string;
|
|
5589
|
+
/** Output only. Reservation Affinity of the notebook runtime. */
|
|
5590
|
+
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
5553
5591
|
/** Output only. The runtime (instance) state of the NotebookRuntime. */
|
|
5554
5592
|
runtimeState?: string;
|
|
5555
5593
|
/** Required. The user email of the NotebookRuntime. */
|
|
@@ -5600,6 +5638,8 @@ declare namespace gapi.client {
|
|
|
5600
5638
|
networkTags?: string[];
|
|
5601
5639
|
/** Optional. Immutable. The type of the notebook runtime template. */
|
|
5602
5640
|
notebookRuntimeType?: string;
|
|
5641
|
+
/** Optional. Reservation Affinity of the notebook runtime template. */
|
|
5642
|
+
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
5603
5643
|
/** Deprecated: This field is ignored and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. For NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
|
|
5604
5644
|
serviceAccount?: string;
|
|
5605
5645
|
/** Optional. Immutable. Runtime Shielded VM spec. */
|
|
@@ -6047,6 +6087,10 @@ declare namespace gapi.client {
|
|
|
6047
6087
|
bigqueryDestination?: GoogleCloudAiplatformV1beta1BigQueryDestination;
|
|
6048
6088
|
/** If logging is enabled or not. */
|
|
6049
6089
|
enabled?: boolean;
|
|
6090
|
+
/** This field is used for large models. If true, in addition to the original large model logs, logs will be converted in OTel schema format, and saved in otel_log column. Default value is false. */
|
|
6091
|
+
enableOtelLogging?: boolean;
|
|
6092
|
+
/** Output only. The schema version used in creating the BigQuery table for the request response logging. The versions are "v1" and "v2". The current default version is "v1". */
|
|
6093
|
+
requestResponseLoggingSchemaVersion?: string;
|
|
6050
6094
|
/** Percentage of requests to be logged, expressed as a fraction in range(0,1]. */
|
|
6051
6095
|
samplingRate?: number;
|
|
6052
6096
|
}
|
|
@@ -6125,7 +6169,7 @@ declare namespace gapi.client {
|
|
|
6125
6169
|
interface GoogleCloudAiplatformV1beta1ProbeGrpcAction {
|
|
6126
6170
|
/** Port number of the gRPC service. Number must be in the range 1 to 65535. */
|
|
6127
6171
|
port?: number;
|
|
6128
|
-
/** Service is the name of the service to place in the gRPC HealthCheckRequest
|
|
6172
|
+
/** Service is the name of the service to place in the gRPC HealthCheckRequest. See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this is not specified, the default behavior is defined by gRPC. */
|
|
6129
6173
|
service?: string;
|
|
6130
6174
|
}
|
|
6131
6175
|
interface GoogleCloudAiplatformV1beta1ProbeHttpGetAction {
|
|
@@ -6288,6 +6332,10 @@ declare namespace gapi.client {
|
|
|
6288
6332
|
/** Required. The title of the view rest API. */
|
|
6289
6333
|
title?: string;
|
|
6290
6334
|
}
|
|
6335
|
+
interface GoogleCloudAiplatformV1beta1PublisherModelConfig {
|
|
6336
|
+
/** The prediction request/response logging config. */
|
|
6337
|
+
loggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
|
|
6338
|
+
}
|
|
6291
6339
|
interface GoogleCloudAiplatformV1beta1PublisherModelDocumentation {
|
|
6292
6340
|
/** Required. Content of this piece of document (in Markdown format). */
|
|
6293
6341
|
content?: string;
|
|
@@ -6530,11 +6578,25 @@ declare namespace gapi.client {
|
|
|
6530
6578
|
/** Optional. Which version to use for evaluation. */
|
|
6531
6579
|
version?: number;
|
|
6532
6580
|
}
|
|
6581
|
+
interface GoogleCloudAiplatformV1beta1RagChunk {
|
|
6582
|
+
/** If populated, represents where the chunk starts and ends in the document. */
|
|
6583
|
+
pageSpan?: GoogleCloudAiplatformV1beta1RagChunkPageSpan;
|
|
6584
|
+
/** The content of the chunk. */
|
|
6585
|
+
text?: string;
|
|
6586
|
+
}
|
|
6587
|
+
interface GoogleCloudAiplatformV1beta1RagChunkPageSpan {
|
|
6588
|
+
/** Page where chunk starts in the document. Inclusive. 1-indexed. */
|
|
6589
|
+
firstPage?: number;
|
|
6590
|
+
/** Page where chunk ends in the document. Inclusive. 1-indexed. */
|
|
6591
|
+
lastPage?: number;
|
|
6592
|
+
}
|
|
6533
6593
|
interface GoogleCloudAiplatformV1beta1RagContexts {
|
|
6534
6594
|
/** All its contexts. */
|
|
6535
6595
|
contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
|
|
6536
6596
|
}
|
|
6537
6597
|
interface GoogleCloudAiplatformV1beta1RagContextsContext {
|
|
6598
|
+
/** Context of the retrieved chunk. */
|
|
6599
|
+
chunk?: GoogleCloudAiplatformV1beta1RagChunk;
|
|
6538
6600
|
/** The distance between the query dense embedding vector and the context text vector. */
|
|
6539
6601
|
distance?: number;
|
|
6540
6602
|
/** According to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the context and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the context. The larger the distance, the less relevant the context is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant. */
|
|
@@ -6604,6 +6666,12 @@ declare namespace gapi.client {
|
|
|
6604
6666
|
/** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
|
|
6605
6667
|
modelVersionId?: string;
|
|
6606
6668
|
}
|
|
6669
|
+
interface GoogleCloudAiplatformV1beta1RagEngineConfig {
|
|
6670
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
6671
|
+
name?: string;
|
|
6672
|
+
/** The config of the RagManagedDb used by RagEngine. */
|
|
6673
|
+
ragManagedDbConfig?: GoogleCloudAiplatformV1beta1RagManagedDbConfig;
|
|
6674
|
+
}
|
|
6607
6675
|
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
6608
6676
|
/** Output only. Timestamp when this RagFile was created. */
|
|
6609
6677
|
createTime?: string;
|
|
@@ -6684,6 +6752,14 @@ declare namespace gapi.client {
|
|
|
6684
6752
|
/** Specifies the chunking config for RagFiles. */
|
|
6685
6753
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
6686
6754
|
}
|
|
6755
|
+
interface GoogleCloudAiplatformV1beta1RagManagedDbConfig {
|
|
6756
|
+
/** Sets the RagManagedDb to the Basic tier. */
|
|
6757
|
+
basic?: any;
|
|
6758
|
+
/** Sets the RagManagedDb to the Enterprise tier. This is the default tier if not explicitly chosen. */
|
|
6759
|
+
enterprise?: any;
|
|
6760
|
+
}
|
|
6761
|
+
interface GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic {}
|
|
6762
|
+
interface GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise {}
|
|
6687
6763
|
interface GoogleCloudAiplatformV1beta1RagQuery {
|
|
6688
6764
|
/** Optional. The retrieval config for the query. */
|
|
6689
6765
|
ragRetrievalConfig?: GoogleCloudAiplatformV1beta1RagRetrievalConfig;
|
|
@@ -6727,7 +6803,7 @@ declare namespace gapi.client {
|
|
|
6727
6803
|
rankService?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService;
|
|
6728
6804
|
}
|
|
6729
6805
|
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker {
|
|
6730
|
-
/** Optional. The model name used for ranking.
|
|
6806
|
+
/** Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
|
|
6731
6807
|
modelName?: string;
|
|
6732
6808
|
}
|
|
6733
6809
|
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService {
|
|
@@ -6890,7 +6966,7 @@ declare namespace gapi.client {
|
|
|
6890
6966
|
updateTime?: string;
|
|
6891
6967
|
}
|
|
6892
6968
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
|
|
6893
|
-
/** Optional. The OSS agent framework used to develop the agent. Currently supported values: "langchain", "langgraph", "ag2", "custom". */
|
|
6969
|
+
/** Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom". */
|
|
6894
6970
|
agentFramework?: string;
|
|
6895
6971
|
/** Optional. Declarations for object class methods in OpenAPI specification format. */
|
|
6896
6972
|
classMethods?: Array<{[P in string]: any}>;
|
|
@@ -9005,6 +9081,10 @@ declare namespace gapi.client {
|
|
|
9005
9081
|
/** Required. Timestamp when the event was created on client side. */
|
|
9006
9082
|
timestamp?: string;
|
|
9007
9083
|
}
|
|
9084
|
+
interface GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest {
|
|
9085
|
+
/** Required. The publisher model config. */
|
|
9086
|
+
publisherModelConfig?: GoogleCloudAiplatformV1beta1PublisherModelConfig;
|
|
9087
|
+
}
|
|
9008
9088
|
interface GoogleCloudAiplatformV1beta1SharePointSources {
|
|
9009
9089
|
/** The SharePoint sources. */
|
|
9010
9090
|
sharePointSources?: GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource[];
|
|
@@ -9090,6 +9170,8 @@ declare namespace gapi.client {
|
|
|
9090
9170
|
ngramSize?: number;
|
|
9091
9171
|
}
|
|
9092
9172
|
interface GoogleCloudAiplatformV1beta1SpeechConfig {
|
|
9173
|
+
/** Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization. */
|
|
9174
|
+
languageCode?: string;
|
|
9093
9175
|
/** The configuration for the speaker to use. */
|
|
9094
9176
|
voiceConfig?: GoogleCloudAiplatformV1beta1VoiceConfig;
|
|
9095
9177
|
}
|
|
@@ -10118,7 +10200,7 @@ declare namespace gapi.client {
|
|
|
10118
10200
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
10119
10201
|
}
|
|
10120
10202
|
interface GoogleCloudAiplatformV1beta1TuningJob {
|
|
10121
|
-
/** The base model that is being tuned
|
|
10203
|
+
/** The base model that is being tuned. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
|
|
10122
10204
|
baseModel?: string;
|
|
10123
10205
|
/** Output only. Time when the TuningJob was created. */
|
|
10124
10206
|
createTime?: string;
|
|
@@ -10554,6 +10636,128 @@ declare namespace gapi.client {
|
|
|
10554
10636
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
10555
10637
|
units?: string;
|
|
10556
10638
|
}
|
|
10639
|
+
interface BatchPredictionJobsResource {
|
|
10640
|
+
/** Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start. */
|
|
10641
|
+
create(request: {
|
|
10642
|
+
/** V1 error format. */
|
|
10643
|
+
'$.xgafv'?: string;
|
|
10644
|
+
/** OAuth access token. */
|
|
10645
|
+
access_token?: string;
|
|
10646
|
+
/** Data format for response. */
|
|
10647
|
+
alt?: string;
|
|
10648
|
+
/** JSONP */
|
|
10649
|
+
callback?: string;
|
|
10650
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10651
|
+
fields?: string;
|
|
10652
|
+
/** 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. */
|
|
10653
|
+
key?: string;
|
|
10654
|
+
/** OAuth 2.0 token for the current user. */
|
|
10655
|
+
oauth_token?: string;
|
|
10656
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
10657
|
+
parent?: string;
|
|
10658
|
+
/** Returns response with indentations and line breaks. */
|
|
10659
|
+
prettyPrint?: boolean;
|
|
10660
|
+
/** 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. */
|
|
10661
|
+
quotaUser?: string;
|
|
10662
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10663
|
+
upload_protocol?: string;
|
|
10664
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10665
|
+
uploadType?: string;
|
|
10666
|
+
/** Request body */
|
|
10667
|
+
resource: GoogleCloudAiplatformV1beta1BatchPredictionJob;
|
|
10668
|
+
}): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
10669
|
+
create(
|
|
10670
|
+
request: {
|
|
10671
|
+
/** V1 error format. */
|
|
10672
|
+
'$.xgafv'?: string;
|
|
10673
|
+
/** OAuth access token. */
|
|
10674
|
+
access_token?: string;
|
|
10675
|
+
/** Data format for response. */
|
|
10676
|
+
alt?: string;
|
|
10677
|
+
/** JSONP */
|
|
10678
|
+
callback?: string;
|
|
10679
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10680
|
+
fields?: string;
|
|
10681
|
+
/** 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. */
|
|
10682
|
+
key?: string;
|
|
10683
|
+
/** OAuth 2.0 token for the current user. */
|
|
10684
|
+
oauth_token?: string;
|
|
10685
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
10686
|
+
parent?: string;
|
|
10687
|
+
/** Returns response with indentations and line breaks. */
|
|
10688
|
+
prettyPrint?: boolean;
|
|
10689
|
+
/** 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. */
|
|
10690
|
+
quotaUser?: string;
|
|
10691
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10692
|
+
upload_protocol?: string;
|
|
10693
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10694
|
+
uploadType?: string;
|
|
10695
|
+
},
|
|
10696
|
+
body: GoogleCloudAiplatformV1beta1BatchPredictionJob,
|
|
10697
|
+
): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
10698
|
+
/** Gets a BatchPredictionJob */
|
|
10699
|
+
get(request?: {
|
|
10700
|
+
/** V1 error format. */
|
|
10701
|
+
'$.xgafv'?: string;
|
|
10702
|
+
/** OAuth access token. */
|
|
10703
|
+
access_token?: string;
|
|
10704
|
+
/** Data format for response. */
|
|
10705
|
+
alt?: string;
|
|
10706
|
+
/** JSONP */
|
|
10707
|
+
callback?: string;
|
|
10708
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10709
|
+
fields?: string;
|
|
10710
|
+
/** 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. */
|
|
10711
|
+
key?: string;
|
|
10712
|
+
/** Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
10713
|
+
name: string;
|
|
10714
|
+
/** OAuth 2.0 token for the current user. */
|
|
10715
|
+
oauth_token?: string;
|
|
10716
|
+
/** Returns response with indentations and line breaks. */
|
|
10717
|
+
prettyPrint?: boolean;
|
|
10718
|
+
/** 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. */
|
|
10719
|
+
quotaUser?: string;
|
|
10720
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10721
|
+
upload_protocol?: string;
|
|
10722
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10723
|
+
uploadType?: string;
|
|
10724
|
+
}): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
10725
|
+
/** Lists BatchPredictionJobs in a Location. */
|
|
10726
|
+
list(request?: {
|
|
10727
|
+
/** V1 error format. */
|
|
10728
|
+
'$.xgafv'?: string;
|
|
10729
|
+
/** OAuth access token. */
|
|
10730
|
+
access_token?: string;
|
|
10731
|
+
/** Data format for response. */
|
|
10732
|
+
alt?: string;
|
|
10733
|
+
/** JSONP */
|
|
10734
|
+
callback?: string;
|
|
10735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10736
|
+
fields?: string;
|
|
10737
|
+
/** The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` */
|
|
10738
|
+
filter?: string;
|
|
10739
|
+
/** 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. */
|
|
10740
|
+
key?: string;
|
|
10741
|
+
/** OAuth 2.0 token for the current user. */
|
|
10742
|
+
oauth_token?: string;
|
|
10743
|
+
/** The standard list page size. */
|
|
10744
|
+
pageSize?: number;
|
|
10745
|
+
/** The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call. */
|
|
10746
|
+
pageToken?: string;
|
|
10747
|
+
/** Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}` */
|
|
10748
|
+
parent?: string;
|
|
10749
|
+
/** Returns response with indentations and line breaks. */
|
|
10750
|
+
prettyPrint?: boolean;
|
|
10751
|
+
/** 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. */
|
|
10752
|
+
quotaUser?: string;
|
|
10753
|
+
/** Mask specifying which fields to read. */
|
|
10754
|
+
readMask?: string;
|
|
10755
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10756
|
+
upload_protocol?: string;
|
|
10757
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10758
|
+
uploadType?: string;
|
|
10759
|
+
}): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
|
|
10760
|
+
}
|
|
10557
10761
|
interface DatasetVersionsResource {
|
|
10558
10762
|
/** Create a version from a Dataset. */
|
|
10559
10763
|
create(request: {
|
|
@@ -11012,9 +11216,9 @@ declare namespace gapi.client {
|
|
|
11012
11216
|
): Request<GoogleCloudAiplatformV1beta1Dataset>;
|
|
11013
11217
|
datasetVersions: DatasetVersionsResource;
|
|
11014
11218
|
}
|
|
11015
|
-
interface
|
|
11016
|
-
/**
|
|
11017
|
-
|
|
11219
|
+
interface ChatResource {
|
|
11220
|
+
/** Exposes an OpenAI-compatible endpoint for chat completions. */
|
|
11221
|
+
completions(request: {
|
|
11018
11222
|
/** V1 error format. */
|
|
11019
11223
|
'$.xgafv'?: string;
|
|
11020
11224
|
/** OAuth access token. */
|
|
@@ -11023,7 +11227,7 @@ declare namespace gapi.client {
|
|
|
11023
11227
|
alt?: string;
|
|
11024
11228
|
/** JSONP */
|
|
11025
11229
|
callback?: string;
|
|
11026
|
-
/** Required. The name of the
|
|
11230
|
+
/** Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11027
11231
|
endpoint: string;
|
|
11028
11232
|
/** Selector specifying which fields to include in a partial response. */
|
|
11029
11233
|
fields?: string;
|
|
@@ -11040,9 +11244,9 @@ declare namespace gapi.client {
|
|
|
11040
11244
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11041
11245
|
uploadType?: string;
|
|
11042
11246
|
/** Request body */
|
|
11043
|
-
resource:
|
|
11044
|
-
}): Request<
|
|
11045
|
-
|
|
11247
|
+
resource: GoogleApiHttpBody;
|
|
11248
|
+
}): Request<GoogleApiHttpBody>;
|
|
11249
|
+
completions(
|
|
11046
11250
|
request: {
|
|
11047
11251
|
/** V1 error format. */
|
|
11048
11252
|
'$.xgafv'?: string;
|
|
@@ -11052,7 +11256,7 @@ declare namespace gapi.client {
|
|
|
11052
11256
|
alt?: string;
|
|
11053
11257
|
/** JSONP */
|
|
11054
11258
|
callback?: string;
|
|
11055
|
-
/** Required. The name of the
|
|
11259
|
+
/** Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11056
11260
|
endpoint: string;
|
|
11057
11261
|
/** Selector specifying which fields to include in a partial response. */
|
|
11058
11262
|
fields?: string;
|
|
@@ -11069,10 +11273,12 @@ declare namespace gapi.client {
|
|
|
11069
11273
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11070
11274
|
uploadType?: string;
|
|
11071
11275
|
},
|
|
11072
|
-
body:
|
|
11073
|
-
): Request<
|
|
11074
|
-
|
|
11075
|
-
|
|
11276
|
+
body: GoogleApiHttpBody,
|
|
11277
|
+
): Request<GoogleApiHttpBody>;
|
|
11278
|
+
}
|
|
11279
|
+
interface EndpointsResource {
|
|
11280
|
+
/** Return a list of tokens based on the input text. */
|
|
11281
|
+
computeTokens(request: {
|
|
11076
11282
|
/** V1 error format. */
|
|
11077
11283
|
'$.xgafv'?: string;
|
|
11078
11284
|
/** OAuth access token. */
|
|
@@ -11081,7 +11287,7 @@ declare namespace gapi.client {
|
|
|
11081
11287
|
alt?: string;
|
|
11082
11288
|
/** JSONP */
|
|
11083
11289
|
callback?: string;
|
|
11084
|
-
/** Required. The name of the Endpoint requested to
|
|
11290
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
11085
11291
|
endpoint: string;
|
|
11086
11292
|
/** Selector specifying which fields to include in a partial response. */
|
|
11087
11293
|
fields?: string;
|
|
@@ -11098,9 +11304,9 @@ declare namespace gapi.client {
|
|
|
11098
11304
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11099
11305
|
uploadType?: string;
|
|
11100
11306
|
/** Request body */
|
|
11101
|
-
resource:
|
|
11102
|
-
}): Request<
|
|
11103
|
-
|
|
11307
|
+
resource: GoogleCloudAiplatformV1beta1ComputeTokensRequest;
|
|
11308
|
+
}): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
|
|
11309
|
+
computeTokens(
|
|
11104
11310
|
request: {
|
|
11105
11311
|
/** V1 error format. */
|
|
11106
11312
|
'$.xgafv'?: string;
|
|
@@ -11110,7 +11316,7 @@ declare namespace gapi.client {
|
|
|
11110
11316
|
alt?: string;
|
|
11111
11317
|
/** JSONP */
|
|
11112
11318
|
callback?: string;
|
|
11113
|
-
/** Required. The name of the Endpoint requested to
|
|
11319
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
11114
11320
|
endpoint: string;
|
|
11115
11321
|
/** Selector specifying which fields to include in a partial response. */
|
|
11116
11322
|
fields?: string;
|
|
@@ -11127,68 +11333,10 @@ declare namespace gapi.client {
|
|
|
11127
11333
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11128
11334
|
uploadType?: string;
|
|
11129
11335
|
},
|
|
11130
|
-
body:
|
|
11131
|
-
): Request<
|
|
11132
|
-
/**
|
|
11133
|
-
|
|
11134
|
-
/** V1 error format. */
|
|
11135
|
-
'$.xgafv'?: string;
|
|
11136
|
-
/** OAuth access token. */
|
|
11137
|
-
access_token?: string;
|
|
11138
|
-
/** Data format for response. */
|
|
11139
|
-
alt?: string;
|
|
11140
|
-
/** JSONP */
|
|
11141
|
-
callback?: string;
|
|
11142
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
11143
|
-
fields?: string;
|
|
11144
|
-
/** 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. */
|
|
11145
|
-
key?: string;
|
|
11146
|
-
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11147
|
-
model: string;
|
|
11148
|
-
/** OAuth 2.0 token for the current user. */
|
|
11149
|
-
oauth_token?: string;
|
|
11150
|
-
/** Returns response with indentations and line breaks. */
|
|
11151
|
-
prettyPrint?: boolean;
|
|
11152
|
-
/** 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. */
|
|
11153
|
-
quotaUser?: string;
|
|
11154
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11155
|
-
upload_protocol?: string;
|
|
11156
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11157
|
-
uploadType?: string;
|
|
11158
|
-
/** Request body */
|
|
11159
|
-
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
11160
|
-
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
11161
|
-
generateContent(
|
|
11162
|
-
request: {
|
|
11163
|
-
/** V1 error format. */
|
|
11164
|
-
'$.xgafv'?: string;
|
|
11165
|
-
/** OAuth access token. */
|
|
11166
|
-
access_token?: string;
|
|
11167
|
-
/** Data format for response. */
|
|
11168
|
-
alt?: string;
|
|
11169
|
-
/** JSONP */
|
|
11170
|
-
callback?: string;
|
|
11171
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
11172
|
-
fields?: string;
|
|
11173
|
-
/** 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. */
|
|
11174
|
-
key?: string;
|
|
11175
|
-
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11176
|
-
model: string;
|
|
11177
|
-
/** OAuth 2.0 token for the current user. */
|
|
11178
|
-
oauth_token?: string;
|
|
11179
|
-
/** Returns response with indentations and line breaks. */
|
|
11180
|
-
prettyPrint?: boolean;
|
|
11181
|
-
/** 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. */
|
|
11182
|
-
quotaUser?: string;
|
|
11183
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11184
|
-
upload_protocol?: string;
|
|
11185
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11186
|
-
uploadType?: string;
|
|
11187
|
-
},
|
|
11188
|
-
body: GoogleCloudAiplatformV1beta1GenerateContentRequest,
|
|
11189
|
-
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
11190
|
-
/** Perform an online prediction. */
|
|
11191
|
-
predict(request: {
|
|
11336
|
+
body: GoogleCloudAiplatformV1beta1ComputeTokensRequest,
|
|
11337
|
+
): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
|
|
11338
|
+
/** Perform a token counting. */
|
|
11339
|
+
countTokens(request: {
|
|
11192
11340
|
/** V1 error format. */
|
|
11193
11341
|
'$.xgafv'?: string;
|
|
11194
11342
|
/** OAuth access token. */
|
|
@@ -11197,7 +11345,7 @@ declare namespace gapi.client {
|
|
|
11197
11345
|
alt?: string;
|
|
11198
11346
|
/** JSONP */
|
|
11199
11347
|
callback?: string;
|
|
11200
|
-
/** Required. The name of the Endpoint requested to
|
|
11348
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11201
11349
|
endpoint: string;
|
|
11202
11350
|
/** Selector specifying which fields to include in a partial response. */
|
|
11203
11351
|
fields?: string;
|
|
@@ -11214,9 +11362,9 @@ declare namespace gapi.client {
|
|
|
11214
11362
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11215
11363
|
uploadType?: string;
|
|
11216
11364
|
/** Request body */
|
|
11217
|
-
resource:
|
|
11218
|
-
}): Request<
|
|
11219
|
-
|
|
11365
|
+
resource: GoogleCloudAiplatformV1beta1CountTokensRequest;
|
|
11366
|
+
}): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
|
|
11367
|
+
countTokens(
|
|
11220
11368
|
request: {
|
|
11221
11369
|
/** V1 error format. */
|
|
11222
11370
|
'$.xgafv'?: string;
|
|
@@ -11226,7 +11374,7 @@ declare namespace gapi.client {
|
|
|
11226
11374
|
alt?: string;
|
|
11227
11375
|
/** JSONP */
|
|
11228
11376
|
callback?: string;
|
|
11229
|
-
/** Required. The name of the Endpoint requested to
|
|
11377
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11230
11378
|
endpoint: string;
|
|
11231
11379
|
/** Selector specifying which fields to include in a partial response. */
|
|
11232
11380
|
fields?: string;
|
|
@@ -11243,10 +11391,126 @@ declare namespace gapi.client {
|
|
|
11243
11391
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11244
11392
|
uploadType?: string;
|
|
11245
11393
|
},
|
|
11246
|
-
body:
|
|
11247
|
-
): Request<
|
|
11248
|
-
/** Generate content with multimodal inputs
|
|
11249
|
-
|
|
11394
|
+
body: GoogleCloudAiplatformV1beta1CountTokensRequest,
|
|
11395
|
+
): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
|
|
11396
|
+
/** Generate content with multimodal inputs. */
|
|
11397
|
+
generateContent(request: {
|
|
11398
|
+
/** V1 error format. */
|
|
11399
|
+
'$.xgafv'?: string;
|
|
11400
|
+
/** OAuth access token. */
|
|
11401
|
+
access_token?: string;
|
|
11402
|
+
/** Data format for response. */
|
|
11403
|
+
alt?: string;
|
|
11404
|
+
/** JSONP */
|
|
11405
|
+
callback?: string;
|
|
11406
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11407
|
+
fields?: string;
|
|
11408
|
+
/** 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. */
|
|
11409
|
+
key?: string;
|
|
11410
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11411
|
+
model: string;
|
|
11412
|
+
/** OAuth 2.0 token for the current user. */
|
|
11413
|
+
oauth_token?: string;
|
|
11414
|
+
/** Returns response with indentations and line breaks. */
|
|
11415
|
+
prettyPrint?: boolean;
|
|
11416
|
+
/** 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. */
|
|
11417
|
+
quotaUser?: string;
|
|
11418
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11419
|
+
upload_protocol?: string;
|
|
11420
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11421
|
+
uploadType?: string;
|
|
11422
|
+
/** Request body */
|
|
11423
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
11424
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
11425
|
+
generateContent(
|
|
11426
|
+
request: {
|
|
11427
|
+
/** V1 error format. */
|
|
11428
|
+
'$.xgafv'?: string;
|
|
11429
|
+
/** OAuth access token. */
|
|
11430
|
+
access_token?: string;
|
|
11431
|
+
/** Data format for response. */
|
|
11432
|
+
alt?: string;
|
|
11433
|
+
/** JSONP */
|
|
11434
|
+
callback?: string;
|
|
11435
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11436
|
+
fields?: string;
|
|
11437
|
+
/** 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. */
|
|
11438
|
+
key?: string;
|
|
11439
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11440
|
+
model: string;
|
|
11441
|
+
/** OAuth 2.0 token for the current user. */
|
|
11442
|
+
oauth_token?: string;
|
|
11443
|
+
/** Returns response with indentations and line breaks. */
|
|
11444
|
+
prettyPrint?: boolean;
|
|
11445
|
+
/** 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. */
|
|
11446
|
+
quotaUser?: string;
|
|
11447
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11448
|
+
upload_protocol?: string;
|
|
11449
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11450
|
+
uploadType?: string;
|
|
11451
|
+
},
|
|
11452
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest,
|
|
11453
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
11454
|
+
/** Perform an online prediction. */
|
|
11455
|
+
predict(request: {
|
|
11456
|
+
/** V1 error format. */
|
|
11457
|
+
'$.xgafv'?: string;
|
|
11458
|
+
/** OAuth access token. */
|
|
11459
|
+
access_token?: string;
|
|
11460
|
+
/** Data format for response. */
|
|
11461
|
+
alt?: string;
|
|
11462
|
+
/** JSONP */
|
|
11463
|
+
callback?: string;
|
|
11464
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11465
|
+
endpoint: string;
|
|
11466
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11467
|
+
fields?: string;
|
|
11468
|
+
/** 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. */
|
|
11469
|
+
key?: string;
|
|
11470
|
+
/** OAuth 2.0 token for the current user. */
|
|
11471
|
+
oauth_token?: string;
|
|
11472
|
+
/** Returns response with indentations and line breaks. */
|
|
11473
|
+
prettyPrint?: boolean;
|
|
11474
|
+
/** 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. */
|
|
11475
|
+
quotaUser?: string;
|
|
11476
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11477
|
+
upload_protocol?: string;
|
|
11478
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11479
|
+
uploadType?: string;
|
|
11480
|
+
/** Request body */
|
|
11481
|
+
resource: GoogleCloudAiplatformV1beta1PredictRequest;
|
|
11482
|
+
}): Request<GoogleCloudAiplatformV1beta1PredictResponse>;
|
|
11483
|
+
predict(
|
|
11484
|
+
request: {
|
|
11485
|
+
/** V1 error format. */
|
|
11486
|
+
'$.xgafv'?: string;
|
|
11487
|
+
/** OAuth access token. */
|
|
11488
|
+
access_token?: string;
|
|
11489
|
+
/** Data format for response. */
|
|
11490
|
+
alt?: string;
|
|
11491
|
+
/** JSONP */
|
|
11492
|
+
callback?: string;
|
|
11493
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11494
|
+
endpoint: string;
|
|
11495
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11496
|
+
fields?: string;
|
|
11497
|
+
/** 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. */
|
|
11498
|
+
key?: string;
|
|
11499
|
+
/** OAuth 2.0 token for the current user. */
|
|
11500
|
+
oauth_token?: string;
|
|
11501
|
+
/** Returns response with indentations and line breaks. */
|
|
11502
|
+
prettyPrint?: boolean;
|
|
11503
|
+
/** 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. */
|
|
11504
|
+
quotaUser?: string;
|
|
11505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11506
|
+
upload_protocol?: string;
|
|
11507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11508
|
+
uploadType?: string;
|
|
11509
|
+
},
|
|
11510
|
+
body: GoogleCloudAiplatformV1beta1PredictRequest,
|
|
11511
|
+
): Request<GoogleCloudAiplatformV1beta1PredictResponse>;
|
|
11512
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
11513
|
+
streamGenerateContent(request: {
|
|
11250
11514
|
/** V1 error format. */
|
|
11251
11515
|
'$.xgafv'?: string;
|
|
11252
11516
|
/** OAuth access token. */
|
|
@@ -11303,6 +11567,7 @@ declare namespace gapi.client {
|
|
|
11303
11567
|
},
|
|
11304
11568
|
body: GoogleCloudAiplatformV1beta1GenerateContentRequest,
|
|
11305
11569
|
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
11570
|
+
chat: ChatResource;
|
|
11306
11571
|
}
|
|
11307
11572
|
interface MediaResource {
|
|
11308
11573
|
/** Upload a file into a RagCorpus. */
|
|
@@ -16744,7 +17009,7 @@ declare namespace gapi.client {
|
|
|
16744
17009
|
'exampleStore.description'?: string;
|
|
16745
17010
|
/** Required. Display name of the ExampleStore. */
|
|
16746
17011
|
'exampleStore.displayName'?: string;
|
|
16747
|
-
/** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "
|
|
17012
|
+
/** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "text-embedding-005" * "text-multilingual-embedding-002" */
|
|
16748
17013
|
'exampleStore.exampleStoreConfig.vertexEmbeddingModel'?: string;
|
|
16749
17014
|
/** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
|
|
16750
17015
|
'exampleStore.name'?: string;
|
|
@@ -31123,6 +31388,33 @@ declare namespace gapi.client {
|
|
|
31123
31388
|
},
|
|
31124
31389
|
body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest,
|
|
31125
31390
|
): Request<GoogleLongrunningOperation>;
|
|
31391
|
+
/** Fetches the configs of publisher models. */
|
|
31392
|
+
fetchPublisherModelConfig(request?: {
|
|
31393
|
+
/** V1 error format. */
|
|
31394
|
+
'$.xgafv'?: string;
|
|
31395
|
+
/** OAuth access token. */
|
|
31396
|
+
access_token?: string;
|
|
31397
|
+
/** Data format for response. */
|
|
31398
|
+
alt?: string;
|
|
31399
|
+
/** JSONP */
|
|
31400
|
+
callback?: string;
|
|
31401
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31402
|
+
fields?: string;
|
|
31403
|
+
/** 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. */
|
|
31404
|
+
key?: string;
|
|
31405
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
31406
|
+
name: string;
|
|
31407
|
+
/** OAuth 2.0 token for the current user. */
|
|
31408
|
+
oauth_token?: string;
|
|
31409
|
+
/** Returns response with indentations and line breaks. */
|
|
31410
|
+
prettyPrint?: boolean;
|
|
31411
|
+
/** 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. */
|
|
31412
|
+
quotaUser?: string;
|
|
31413
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31414
|
+
upload_protocol?: string;
|
|
31415
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31416
|
+
uploadType?: string;
|
|
31417
|
+
}): Request<GoogleCloudAiplatformV1beta1PublisherModelConfig>;
|
|
31126
31418
|
/** Generate content with multimodal inputs. */
|
|
31127
31419
|
generateContent(request: {
|
|
31128
31420
|
/** V1 error format. */
|
|
@@ -31441,6 +31733,64 @@ declare namespace gapi.client {
|
|
|
31441
31733
|
},
|
|
31442
31734
|
body: GoogleCloudAiplatformV1beta1StreamingPredictRequest,
|
|
31443
31735
|
): Request<GoogleCloudAiplatformV1beta1StreamingPredictResponse>;
|
|
31736
|
+
/** Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config. */
|
|
31737
|
+
setPublisherModelConfig(request: {
|
|
31738
|
+
/** V1 error format. */
|
|
31739
|
+
'$.xgafv'?: string;
|
|
31740
|
+
/** OAuth access token. */
|
|
31741
|
+
access_token?: string;
|
|
31742
|
+
/** Data format for response. */
|
|
31743
|
+
alt?: string;
|
|
31744
|
+
/** JSONP */
|
|
31745
|
+
callback?: string;
|
|
31746
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31747
|
+
fields?: string;
|
|
31748
|
+
/** 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. */
|
|
31749
|
+
key?: string;
|
|
31750
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
31751
|
+
name: string;
|
|
31752
|
+
/** OAuth 2.0 token for the current user. */
|
|
31753
|
+
oauth_token?: string;
|
|
31754
|
+
/** Returns response with indentations and line breaks. */
|
|
31755
|
+
prettyPrint?: boolean;
|
|
31756
|
+
/** 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. */
|
|
31757
|
+
quotaUser?: string;
|
|
31758
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31759
|
+
upload_protocol?: string;
|
|
31760
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31761
|
+
uploadType?: string;
|
|
31762
|
+
/** Request body */
|
|
31763
|
+
resource: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest;
|
|
31764
|
+
}): Request<GoogleLongrunningOperation>;
|
|
31765
|
+
setPublisherModelConfig(
|
|
31766
|
+
request: {
|
|
31767
|
+
/** V1 error format. */
|
|
31768
|
+
'$.xgafv'?: string;
|
|
31769
|
+
/** OAuth access token. */
|
|
31770
|
+
access_token?: string;
|
|
31771
|
+
/** Data format for response. */
|
|
31772
|
+
alt?: string;
|
|
31773
|
+
/** JSONP */
|
|
31774
|
+
callback?: string;
|
|
31775
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31776
|
+
fields?: string;
|
|
31777
|
+
/** 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. */
|
|
31778
|
+
key?: string;
|
|
31779
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
31780
|
+
name: string;
|
|
31781
|
+
/** OAuth 2.0 token for the current user. */
|
|
31782
|
+
oauth_token?: string;
|
|
31783
|
+
/** Returns response with indentations and line breaks. */
|
|
31784
|
+
prettyPrint?: boolean;
|
|
31785
|
+
/** 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. */
|
|
31786
|
+
quotaUser?: string;
|
|
31787
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31788
|
+
upload_protocol?: string;
|
|
31789
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31790
|
+
uploadType?: string;
|
|
31791
|
+
},
|
|
31792
|
+
body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest,
|
|
31793
|
+
): Request<GoogleLongrunningOperation>;
|
|
31444
31794
|
/** Generate content with multimodal inputs with streaming support. */
|
|
31445
31795
|
streamGenerateContent(request: {
|
|
31446
31796
|
/** V1 error format. */
|
|
@@ -32349,6 +32699,154 @@ declare namespace gapi.client {
|
|
|
32349
32699
|
uploadType?: string;
|
|
32350
32700
|
}): Request<GoogleLongrunningOperation>;
|
|
32351
32701
|
}
|
|
32702
|
+
interface RagEngineConfigResource {
|
|
32703
|
+
operations: OperationsResource;
|
|
32704
|
+
}
|
|
32705
|
+
interface OperationsResource {
|
|
32706
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
32707
|
+
cancel(request?: {
|
|
32708
|
+
/** V1 error format. */
|
|
32709
|
+
'$.xgafv'?: string;
|
|
32710
|
+
/** OAuth access token. */
|
|
32711
|
+
access_token?: string;
|
|
32712
|
+
/** Data format for response. */
|
|
32713
|
+
alt?: string;
|
|
32714
|
+
/** JSONP */
|
|
32715
|
+
callback?: string;
|
|
32716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32717
|
+
fields?: string;
|
|
32718
|
+
/** 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. */
|
|
32719
|
+
key?: string;
|
|
32720
|
+
/** The name of the operation resource to be cancelled. */
|
|
32721
|
+
name: string;
|
|
32722
|
+
/** OAuth 2.0 token for the current user. */
|
|
32723
|
+
oauth_token?: string;
|
|
32724
|
+
/** Returns response with indentations and line breaks. */
|
|
32725
|
+
prettyPrint?: boolean;
|
|
32726
|
+
/** 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. */
|
|
32727
|
+
quotaUser?: string;
|
|
32728
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32729
|
+
upload_protocol?: string;
|
|
32730
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32731
|
+
uploadType?: string;
|
|
32732
|
+
}): Request<{}>;
|
|
32733
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
32734
|
+
delete(request?: {
|
|
32735
|
+
/** V1 error format. */
|
|
32736
|
+
'$.xgafv'?: string;
|
|
32737
|
+
/** OAuth access token. */
|
|
32738
|
+
access_token?: string;
|
|
32739
|
+
/** Data format for response. */
|
|
32740
|
+
alt?: string;
|
|
32741
|
+
/** JSONP */
|
|
32742
|
+
callback?: string;
|
|
32743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32744
|
+
fields?: string;
|
|
32745
|
+
/** 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. */
|
|
32746
|
+
key?: string;
|
|
32747
|
+
/** The name of the operation resource to be deleted. */
|
|
32748
|
+
name: string;
|
|
32749
|
+
/** OAuth 2.0 token for the current user. */
|
|
32750
|
+
oauth_token?: string;
|
|
32751
|
+
/** Returns response with indentations and line breaks. */
|
|
32752
|
+
prettyPrint?: boolean;
|
|
32753
|
+
/** 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. */
|
|
32754
|
+
quotaUser?: string;
|
|
32755
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32756
|
+
upload_protocol?: string;
|
|
32757
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32758
|
+
uploadType?: string;
|
|
32759
|
+
}): Request<{}>;
|
|
32760
|
+
/** 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. */
|
|
32761
|
+
get(request?: {
|
|
32762
|
+
/** V1 error format. */
|
|
32763
|
+
'$.xgafv'?: string;
|
|
32764
|
+
/** OAuth access token. */
|
|
32765
|
+
access_token?: string;
|
|
32766
|
+
/** Data format for response. */
|
|
32767
|
+
alt?: string;
|
|
32768
|
+
/** JSONP */
|
|
32769
|
+
callback?: string;
|
|
32770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32771
|
+
fields?: string;
|
|
32772
|
+
/** 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. */
|
|
32773
|
+
key?: string;
|
|
32774
|
+
/** The name of the operation resource. */
|
|
32775
|
+
name: string;
|
|
32776
|
+
/** OAuth 2.0 token for the current user. */
|
|
32777
|
+
oauth_token?: string;
|
|
32778
|
+
/** Returns response with indentations and line breaks. */
|
|
32779
|
+
prettyPrint?: boolean;
|
|
32780
|
+
/** 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. */
|
|
32781
|
+
quotaUser?: string;
|
|
32782
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32783
|
+
upload_protocol?: string;
|
|
32784
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32785
|
+
uploadType?: string;
|
|
32786
|
+
}): Request<GoogleLongrunningOperation>;
|
|
32787
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
32788
|
+
list(request?: {
|
|
32789
|
+
/** V1 error format. */
|
|
32790
|
+
'$.xgafv'?: string;
|
|
32791
|
+
/** OAuth access token. */
|
|
32792
|
+
access_token?: string;
|
|
32793
|
+
/** Data format for response. */
|
|
32794
|
+
alt?: string;
|
|
32795
|
+
/** JSONP */
|
|
32796
|
+
callback?: string;
|
|
32797
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32798
|
+
fields?: string;
|
|
32799
|
+
/** The standard list filter. */
|
|
32800
|
+
filter?: string;
|
|
32801
|
+
/** 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. */
|
|
32802
|
+
key?: string;
|
|
32803
|
+
/** The name of the operation's parent resource. */
|
|
32804
|
+
name: string;
|
|
32805
|
+
/** OAuth 2.0 token for the current user. */
|
|
32806
|
+
oauth_token?: string;
|
|
32807
|
+
/** The standard list page size. */
|
|
32808
|
+
pageSize?: number;
|
|
32809
|
+
/** The standard list page token. */
|
|
32810
|
+
pageToken?: string;
|
|
32811
|
+
/** Returns response with indentations and line breaks. */
|
|
32812
|
+
prettyPrint?: boolean;
|
|
32813
|
+
/** 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. */
|
|
32814
|
+
quotaUser?: string;
|
|
32815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32816
|
+
upload_protocol?: string;
|
|
32817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32818
|
+
uploadType?: string;
|
|
32819
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
32820
|
+
/** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
|
|
32821
|
+
wait(request?: {
|
|
32822
|
+
/** V1 error format. */
|
|
32823
|
+
'$.xgafv'?: string;
|
|
32824
|
+
/** OAuth access token. */
|
|
32825
|
+
access_token?: string;
|
|
32826
|
+
/** Data format for response. */
|
|
32827
|
+
alt?: string;
|
|
32828
|
+
/** JSONP */
|
|
32829
|
+
callback?: string;
|
|
32830
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32831
|
+
fields?: string;
|
|
32832
|
+
/** 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. */
|
|
32833
|
+
key?: string;
|
|
32834
|
+
/** The name of the operation resource to wait on. */
|
|
32835
|
+
name: string;
|
|
32836
|
+
/** OAuth 2.0 token for the current user. */
|
|
32837
|
+
oauth_token?: string;
|
|
32838
|
+
/** Returns response with indentations and line breaks. */
|
|
32839
|
+
prettyPrint?: boolean;
|
|
32840
|
+
/** 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. */
|
|
32841
|
+
quotaUser?: string;
|
|
32842
|
+
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
|
|
32843
|
+
timeout?: string;
|
|
32844
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32845
|
+
upload_protocol?: string;
|
|
32846
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32847
|
+
uploadType?: string;
|
|
32848
|
+
}): Request<GoogleLongrunningOperation>;
|
|
32849
|
+
}
|
|
32352
32850
|
interface EventsResource {
|
|
32353
32851
|
/** Lists Events in a given session. */
|
|
32354
32852
|
list(request?: {
|
|
@@ -32366,7 +32864,7 @@ declare namespace gapi.client {
|
|
|
32366
32864
|
key?: string;
|
|
32367
32865
|
/** OAuth 2.0 token for the current user. */
|
|
32368
32866
|
oauth_token?: string;
|
|
32369
|
-
/** Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. */
|
|
32867
|
+
/** Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order. */
|
|
32370
32868
|
pageSize?: number;
|
|
32371
32869
|
/** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
|
|
32372
32870
|
pageToken?: string;
|
|
@@ -32441,7 +32939,7 @@ declare namespace gapi.client {
|
|
|
32441
32939
|
},
|
|
32442
32940
|
body: GoogleCloudAiplatformV1beta1SessionEvent,
|
|
32443
32941
|
): Request<{}>;
|
|
32444
|
-
/** Creates a new Session
|
|
32942
|
+
/** Creates a new Session. */
|
|
32445
32943
|
create(request: {
|
|
32446
32944
|
/** V1 error format. */
|
|
32447
32945
|
'$.xgafv'?: string;
|
|
@@ -32457,7 +32955,7 @@ declare namespace gapi.client {
|
|
|
32457
32955
|
key?: string;
|
|
32458
32956
|
/** OAuth 2.0 token for the current user. */
|
|
32459
32957
|
oauth_token?: string;
|
|
32460
|
-
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}
|
|
32958
|
+
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
32461
32959
|
parent: string;
|
|
32462
32960
|
/** Returns response with indentations and line breaks. */
|
|
32463
32961
|
prettyPrint?: boolean;
|
|
@@ -32486,7 +32984,7 @@ declare namespace gapi.client {
|
|
|
32486
32984
|
key?: string;
|
|
32487
32985
|
/** OAuth 2.0 token for the current user. */
|
|
32488
32986
|
oauth_token?: string;
|
|
32489
|
-
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}
|
|
32987
|
+
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
32490
32988
|
parent: string;
|
|
32491
32989
|
/** Returns response with indentations and line breaks. */
|
|
32492
32990
|
prettyPrint?: boolean;
|
|
@@ -32513,7 +33011,7 @@ declare namespace gapi.client {
|
|
|
32513
33011
|
fields?: string;
|
|
32514
33012
|
/** 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. */
|
|
32515
33013
|
key?: string;
|
|
32516
|
-
/** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/
|
|
33014
|
+
/** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
|
|
32517
33015
|
name: string;
|
|
32518
33016
|
/** OAuth 2.0 token for the current user. */
|
|
32519
33017
|
oauth_token?: string;
|
|
@@ -32553,7 +33051,7 @@ declare namespace gapi.client {
|
|
|
32553
33051
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32554
33052
|
uploadType?: string;
|
|
32555
33053
|
}): Request<GoogleCloudAiplatformV1beta1Session>;
|
|
32556
|
-
/** Lists Sessions in a given
|
|
33054
|
+
/** Lists Sessions in a given reasoning engine. */
|
|
32557
33055
|
list(request?: {
|
|
32558
33056
|
/** V1 error format. */
|
|
32559
33057
|
'$.xgafv'?: string;
|
|
@@ -33454,217 +33952,6 @@ declare namespace gapi.client {
|
|
|
33454
33952
|
): Request<{}>;
|
|
33455
33953
|
operations: OperationsResource;
|
|
33456
33954
|
}
|
|
33457
|
-
interface SessionsResource {
|
|
33458
|
-
/** Creates a new Session in a given project and location. */
|
|
33459
|
-
create(request: {
|
|
33460
|
-
/** V1 error format. */
|
|
33461
|
-
'$.xgafv'?: string;
|
|
33462
|
-
/** OAuth access token. */
|
|
33463
|
-
access_token?: string;
|
|
33464
|
-
/** Data format for response. */
|
|
33465
|
-
alt?: string;
|
|
33466
|
-
/** JSONP */
|
|
33467
|
-
callback?: string;
|
|
33468
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33469
|
-
fields?: string;
|
|
33470
|
-
/** 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. */
|
|
33471
|
-
key?: string;
|
|
33472
|
-
/** OAuth 2.0 token for the current user. */
|
|
33473
|
-
oauth_token?: string;
|
|
33474
|
-
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
33475
|
-
parent: string;
|
|
33476
|
-
/** Returns response with indentations and line breaks. */
|
|
33477
|
-
prettyPrint?: boolean;
|
|
33478
|
-
/** 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. */
|
|
33479
|
-
quotaUser?: string;
|
|
33480
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33481
|
-
upload_protocol?: string;
|
|
33482
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33483
|
-
uploadType?: string;
|
|
33484
|
-
/** Request body */
|
|
33485
|
-
resource: GoogleCloudAiplatformV1beta1Session;
|
|
33486
|
-
}): Request<GoogleLongrunningOperation>;
|
|
33487
|
-
create(
|
|
33488
|
-
request: {
|
|
33489
|
-
/** V1 error format. */
|
|
33490
|
-
'$.xgafv'?: string;
|
|
33491
|
-
/** OAuth access token. */
|
|
33492
|
-
access_token?: string;
|
|
33493
|
-
/** Data format for response. */
|
|
33494
|
-
alt?: string;
|
|
33495
|
-
/** JSONP */
|
|
33496
|
-
callback?: string;
|
|
33497
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33498
|
-
fields?: string;
|
|
33499
|
-
/** 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. */
|
|
33500
|
-
key?: string;
|
|
33501
|
-
/** OAuth 2.0 token for the current user. */
|
|
33502
|
-
oauth_token?: string;
|
|
33503
|
-
/** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
33504
|
-
parent: string;
|
|
33505
|
-
/** Returns response with indentations and line breaks. */
|
|
33506
|
-
prettyPrint?: boolean;
|
|
33507
|
-
/** 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. */
|
|
33508
|
-
quotaUser?: string;
|
|
33509
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33510
|
-
upload_protocol?: string;
|
|
33511
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33512
|
-
uploadType?: string;
|
|
33513
|
-
},
|
|
33514
|
-
body: GoogleCloudAiplatformV1beta1Session,
|
|
33515
|
-
): Request<GoogleLongrunningOperation>;
|
|
33516
|
-
/** Deletes details of the specific Session. */
|
|
33517
|
-
delete(request?: {
|
|
33518
|
-
/** V1 error format. */
|
|
33519
|
-
'$.xgafv'?: string;
|
|
33520
|
-
/** OAuth access token. */
|
|
33521
|
-
access_token?: string;
|
|
33522
|
-
/** Data format for response. */
|
|
33523
|
-
alt?: string;
|
|
33524
|
-
/** JSONP */
|
|
33525
|
-
callback?: string;
|
|
33526
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33527
|
-
fields?: string;
|
|
33528
|
-
/** 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. */
|
|
33529
|
-
key?: string;
|
|
33530
|
-
/** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
|
|
33531
|
-
name: string;
|
|
33532
|
-
/** OAuth 2.0 token for the current user. */
|
|
33533
|
-
oauth_token?: string;
|
|
33534
|
-
/** Returns response with indentations and line breaks. */
|
|
33535
|
-
prettyPrint?: boolean;
|
|
33536
|
-
/** 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. */
|
|
33537
|
-
quotaUser?: string;
|
|
33538
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33539
|
-
upload_protocol?: string;
|
|
33540
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33541
|
-
uploadType?: string;
|
|
33542
|
-
}): Request<GoogleLongrunningOperation>;
|
|
33543
|
-
/** Gets details of the specific Session. */
|
|
33544
|
-
get(request?: {
|
|
33545
|
-
/** V1 error format. */
|
|
33546
|
-
'$.xgafv'?: string;
|
|
33547
|
-
/** OAuth access token. */
|
|
33548
|
-
access_token?: string;
|
|
33549
|
-
/** Data format for response. */
|
|
33550
|
-
alt?: string;
|
|
33551
|
-
/** JSONP */
|
|
33552
|
-
callback?: string;
|
|
33553
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33554
|
-
fields?: string;
|
|
33555
|
-
/** 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. */
|
|
33556
|
-
key?: string;
|
|
33557
|
-
/** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
|
|
33558
|
-
name: string;
|
|
33559
|
-
/** OAuth 2.0 token for the current user. */
|
|
33560
|
-
oauth_token?: string;
|
|
33561
|
-
/** Returns response with indentations and line breaks. */
|
|
33562
|
-
prettyPrint?: boolean;
|
|
33563
|
-
/** 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. */
|
|
33564
|
-
quotaUser?: string;
|
|
33565
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33566
|
-
upload_protocol?: string;
|
|
33567
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33568
|
-
uploadType?: string;
|
|
33569
|
-
}): Request<GoogleCloudAiplatformV1beta1Session>;
|
|
33570
|
-
/** Lists Sessions in a given project and location. */
|
|
33571
|
-
list(request?: {
|
|
33572
|
-
/** V1 error format. */
|
|
33573
|
-
'$.xgafv'?: string;
|
|
33574
|
-
/** OAuth access token. */
|
|
33575
|
-
access_token?: string;
|
|
33576
|
-
/** Data format for response. */
|
|
33577
|
-
alt?: string;
|
|
33578
|
-
/** JSONP */
|
|
33579
|
-
callback?: string;
|
|
33580
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33581
|
-
fields?: string;
|
|
33582
|
-
/** Optional. The standard list filter. Supported fields: * `display_name` Example: `display_name=abc`. */
|
|
33583
|
-
filter?: string;
|
|
33584
|
-
/** 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. */
|
|
33585
|
-
key?: string;
|
|
33586
|
-
/** OAuth 2.0 token for the current user. */
|
|
33587
|
-
oauth_token?: string;
|
|
33588
|
-
/** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`. */
|
|
33589
|
-
orderBy?: string;
|
|
33590
|
-
/** Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned. */
|
|
33591
|
-
pageSize?: number;
|
|
33592
|
-
/** Optional. The next_page_token value returned from a previous list SessionService.ListSessions call. */
|
|
33593
|
-
pageToken?: string;
|
|
33594
|
-
/** Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
33595
|
-
parent: string;
|
|
33596
|
-
/** Returns response with indentations and line breaks. */
|
|
33597
|
-
prettyPrint?: boolean;
|
|
33598
|
-
/** 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. */
|
|
33599
|
-
quotaUser?: string;
|
|
33600
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33601
|
-
upload_protocol?: string;
|
|
33602
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33603
|
-
uploadType?: string;
|
|
33604
|
-
}): Request<GoogleCloudAiplatformV1beta1ListSessionsResponse>;
|
|
33605
|
-
/** Updates the specific Session. */
|
|
33606
|
-
patch(request: {
|
|
33607
|
-
/** V1 error format. */
|
|
33608
|
-
'$.xgafv'?: string;
|
|
33609
|
-
/** OAuth access token. */
|
|
33610
|
-
access_token?: string;
|
|
33611
|
-
/** Data format for response. */
|
|
33612
|
-
alt?: string;
|
|
33613
|
-
/** JSONP */
|
|
33614
|
-
callback?: string;
|
|
33615
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33616
|
-
fields?: string;
|
|
33617
|
-
/** 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. */
|
|
33618
|
-
key?: string;
|
|
33619
|
-
/** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
|
|
33620
|
-
name: string;
|
|
33621
|
-
/** OAuth 2.0 token for the current user. */
|
|
33622
|
-
oauth_token?: string;
|
|
33623
|
-
/** Returns response with indentations and line breaks. */
|
|
33624
|
-
prettyPrint?: boolean;
|
|
33625
|
-
/** 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. */
|
|
33626
|
-
quotaUser?: string;
|
|
33627
|
-
/** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
|
|
33628
|
-
updateMask?: string;
|
|
33629
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33630
|
-
upload_protocol?: string;
|
|
33631
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33632
|
-
uploadType?: string;
|
|
33633
|
-
/** Request body */
|
|
33634
|
-
resource: GoogleCloudAiplatformV1beta1Session;
|
|
33635
|
-
}): Request<GoogleCloudAiplatformV1beta1Session>;
|
|
33636
|
-
patch(
|
|
33637
|
-
request: {
|
|
33638
|
-
/** V1 error format. */
|
|
33639
|
-
'$.xgafv'?: string;
|
|
33640
|
-
/** OAuth access token. */
|
|
33641
|
-
access_token?: string;
|
|
33642
|
-
/** Data format for response. */
|
|
33643
|
-
alt?: string;
|
|
33644
|
-
/** JSONP */
|
|
33645
|
-
callback?: string;
|
|
33646
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
33647
|
-
fields?: string;
|
|
33648
|
-
/** 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. */
|
|
33649
|
-
key?: string;
|
|
33650
|
-
/** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
|
|
33651
|
-
name: string;
|
|
33652
|
-
/** OAuth 2.0 token for the current user. */
|
|
33653
|
-
oauth_token?: string;
|
|
33654
|
-
/** Returns response with indentations and line breaks. */
|
|
33655
|
-
prettyPrint?: boolean;
|
|
33656
|
-
/** 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. */
|
|
33657
|
-
quotaUser?: string;
|
|
33658
|
-
/** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
|
|
33659
|
-
updateMask?: string;
|
|
33660
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33661
|
-
upload_protocol?: string;
|
|
33662
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33663
|
-
uploadType?: string;
|
|
33664
|
-
},
|
|
33665
|
-
body: GoogleCloudAiplatformV1beta1Session,
|
|
33666
|
-
): Request<GoogleCloudAiplatformV1beta1Session>;
|
|
33667
|
-
}
|
|
33668
33955
|
interface OperationsResource {
|
|
33669
33956
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
33670
33957
|
delete(request?: {
|
|
@@ -37982,6 +38269,33 @@ declare namespace gapi.client {
|
|
|
37982
38269
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
37983
38270
|
uploadType?: string;
|
|
37984
38271
|
}): Request<GoogleCloudLocationLocation>;
|
|
38272
|
+
/** Gets a RagEngineConfig. */
|
|
38273
|
+
getRagEngineConfig(request?: {
|
|
38274
|
+
/** V1 error format. */
|
|
38275
|
+
'$.xgafv'?: string;
|
|
38276
|
+
/** OAuth access token. */
|
|
38277
|
+
access_token?: string;
|
|
38278
|
+
/** Data format for response. */
|
|
38279
|
+
alt?: string;
|
|
38280
|
+
/** JSONP */
|
|
38281
|
+
callback?: string;
|
|
38282
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
38283
|
+
fields?: string;
|
|
38284
|
+
/** 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. */
|
|
38285
|
+
key?: string;
|
|
38286
|
+
/** Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
38287
|
+
name: string;
|
|
38288
|
+
/** OAuth 2.0 token for the current user. */
|
|
38289
|
+
oauth_token?: string;
|
|
38290
|
+
/** Returns response with indentations and line breaks. */
|
|
38291
|
+
prettyPrint?: boolean;
|
|
38292
|
+
/** 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. */
|
|
38293
|
+
quotaUser?: string;
|
|
38294
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
38295
|
+
upload_protocol?: string;
|
|
38296
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
38297
|
+
uploadType?: string;
|
|
38298
|
+
}): Request<GoogleCloudAiplatformV1beta1RagEngineConfig>;
|
|
37985
38299
|
/** Lists information about the supported locations for this service. */
|
|
37986
38300
|
list(request?: {
|
|
37987
38301
|
/** V1 error format. */
|
|
@@ -38075,6 +38389,64 @@ declare namespace gapi.client {
|
|
|
38075
38389
|
},
|
|
38076
38390
|
body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest,
|
|
38077
38391
|
): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
|
|
38392
|
+
/** Updates a RagEngineConfig. */
|
|
38393
|
+
updateRagEngineConfig(request: {
|
|
38394
|
+
/** V1 error format. */
|
|
38395
|
+
'$.xgafv'?: string;
|
|
38396
|
+
/** OAuth access token. */
|
|
38397
|
+
access_token?: string;
|
|
38398
|
+
/** Data format for response. */
|
|
38399
|
+
alt?: string;
|
|
38400
|
+
/** JSONP */
|
|
38401
|
+
callback?: string;
|
|
38402
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
38403
|
+
fields?: string;
|
|
38404
|
+
/** 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. */
|
|
38405
|
+
key?: string;
|
|
38406
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
38407
|
+
name: string;
|
|
38408
|
+
/** OAuth 2.0 token for the current user. */
|
|
38409
|
+
oauth_token?: string;
|
|
38410
|
+
/** Returns response with indentations and line breaks. */
|
|
38411
|
+
prettyPrint?: boolean;
|
|
38412
|
+
/** 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. */
|
|
38413
|
+
quotaUser?: string;
|
|
38414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
38415
|
+
upload_protocol?: string;
|
|
38416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
38417
|
+
uploadType?: string;
|
|
38418
|
+
/** Request body */
|
|
38419
|
+
resource: GoogleCloudAiplatformV1beta1RagEngineConfig;
|
|
38420
|
+
}): Request<GoogleLongrunningOperation>;
|
|
38421
|
+
updateRagEngineConfig(
|
|
38422
|
+
request: {
|
|
38423
|
+
/** V1 error format. */
|
|
38424
|
+
'$.xgafv'?: string;
|
|
38425
|
+
/** OAuth access token. */
|
|
38426
|
+
access_token?: string;
|
|
38427
|
+
/** Data format for response. */
|
|
38428
|
+
alt?: string;
|
|
38429
|
+
/** JSONP */
|
|
38430
|
+
callback?: string;
|
|
38431
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
38432
|
+
fields?: string;
|
|
38433
|
+
/** 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. */
|
|
38434
|
+
key?: string;
|
|
38435
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
38436
|
+
name: string;
|
|
38437
|
+
/** OAuth 2.0 token for the current user. */
|
|
38438
|
+
oauth_token?: string;
|
|
38439
|
+
/** Returns response with indentations and line breaks. */
|
|
38440
|
+
prettyPrint?: boolean;
|
|
38441
|
+
/** 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. */
|
|
38442
|
+
quotaUser?: string;
|
|
38443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
38444
|
+
upload_protocol?: string;
|
|
38445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
38446
|
+
uploadType?: string;
|
|
38447
|
+
},
|
|
38448
|
+
body: GoogleCloudAiplatformV1beta1RagEngineConfig,
|
|
38449
|
+
): Request<GoogleLongrunningOperation>;
|
|
38078
38450
|
agents: AgentsResource;
|
|
38079
38451
|
apps: AppsResource;
|
|
38080
38452
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
@@ -38109,9 +38481,9 @@ declare namespace gapi.client {
|
|
|
38109
38481
|
pipelineJobs: PipelineJobsResource;
|
|
38110
38482
|
publishers: PublishersResource;
|
|
38111
38483
|
ragCorpora: RagCorporaResource;
|
|
38484
|
+
ragEngineConfig: RagEngineConfigResource;
|
|
38112
38485
|
reasoningEngines: ReasoningEnginesResource;
|
|
38113
38486
|
schedules: SchedulesResource;
|
|
38114
|
-
sessions: SessionsResource;
|
|
38115
38487
|
solvers: SolversResource;
|
|
38116
38488
|
specialistPools: SpecialistPoolsResource;
|
|
38117
38489
|
studies: StudiesResource;
|
|
@@ -38700,6 +39072,8 @@ declare namespace gapi.client {
|
|
|
38700
39072
|
models: ModelsResource;
|
|
38701
39073
|
}
|
|
38702
39074
|
|
|
39075
|
+
const batchPredictionJobs: BatchPredictionJobsResource;
|
|
39076
|
+
|
|
38703
39077
|
const datasets: DatasetsResource;
|
|
38704
39078
|
|
|
38705
39079
|
const endpoints: EndpointsResource;
|