@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240322 → 0.0.20240404
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 +252 -621
- package/package.json +1 -1
- package/readme.md +7 -2
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: 20240404
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -202,6 +202,8 @@ declare namespace gapi.client {
|
|
|
202
202
|
usageMetadata?: CloudAiNlLlmProtoServiceUsageMetadata;
|
|
203
203
|
}
|
|
204
204
|
interface CloudAiNlLlmProtoServiceMessageMetadata {
|
|
205
|
+
/** Factuality-related debug metadata. */
|
|
206
|
+
factualityDebugMetadata?: LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata;
|
|
205
207
|
/** Filter metadata of the input messages. */
|
|
206
208
|
inputFilterInfo?: LearningServingLlmMessageMetadata;
|
|
207
209
|
/** This score is generated by the router model to decide which model to use */
|
|
@@ -278,6 +280,8 @@ declare namespace gapi.client {
|
|
|
278
280
|
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
279
281
|
/** The RAI signals for the text. */
|
|
280
282
|
raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
|
|
283
|
+
/** Translation request info during RAI for debugging purpose. Each TranslationRequestInfo corresponds to a request sent to the translation server. */
|
|
284
|
+
translationRequestInfos?: LearningGenaiRootTranslationRequestInfo[];
|
|
281
285
|
/** Whether the text triggered the blocklist. */
|
|
282
286
|
triggeredBlocklist?: boolean;
|
|
283
287
|
/** Whether the text should be blocked by the recitation result from Aida recitation checker. It is determined from aida_recitation_result. */
|
|
@@ -792,6 +796,12 @@ declare namespace gapi.client {
|
|
|
792
796
|
/** A list of bool values. */
|
|
793
797
|
values?: boolean[];
|
|
794
798
|
}
|
|
799
|
+
interface GoogleCloudAiplatformV1beta1CacheConfig {
|
|
800
|
+
/** If set to true, disables GenAI caching. Otherwise caching is enabled. */
|
|
801
|
+
disableCache?: boolean;
|
|
802
|
+
/** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
|
|
803
|
+
name?: string;
|
|
804
|
+
}
|
|
795
805
|
interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
|
|
796
806
|
interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
|
|
797
807
|
interface GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest {}
|
|
@@ -1470,7 +1480,6 @@ declare namespace gapi.client {
|
|
|
1470
1480
|
/** The prediction output. */
|
|
1471
1481
|
output?: string;
|
|
1472
1482
|
}
|
|
1473
|
-
interface GoogleCloudAiplatformV1beta1DirectUploadSource {}
|
|
1474
1483
|
interface GoogleCloudAiplatformV1beta1DiskSpec {
|
|
1475
1484
|
/** Size in GB of the boot disk (default is 100GB). */
|
|
1476
1485
|
bootDiskSizeGb?: number;
|
|
@@ -1608,10 +1617,6 @@ declare namespace gapi.client {
|
|
|
1608
1617
|
questionAnsweringQualityInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInput;
|
|
1609
1618
|
/** Input for question answering relevance metric. */
|
|
1610
1619
|
questionAnsweringRelevanceInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput;
|
|
1611
|
-
/** Input for rag context recall metric. */
|
|
1612
|
-
ragContextRecallInput?: GoogleCloudAiplatformV1beta1RagContextRecallInput;
|
|
1613
|
-
/** Input for response recall metric. */
|
|
1614
|
-
responseRecallInput?: GoogleCloudAiplatformV1beta1ResponseRecallInput;
|
|
1615
1620
|
/** Instances and metric spec for rouge metric. */
|
|
1616
1621
|
rougeInput?: GoogleCloudAiplatformV1beta1RougeInput;
|
|
1617
1622
|
/** Input for safety metric. */
|
|
@@ -1656,10 +1661,6 @@ declare namespace gapi.client {
|
|
|
1656
1661
|
questionAnsweringQualityResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult;
|
|
1657
1662
|
/** Result for question answering relevance metric. */
|
|
1658
1663
|
questionAnsweringRelevanceResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult;
|
|
1659
|
-
/** RAG only metrics. Result for context recall metric. */
|
|
1660
|
-
ragContextRecallResult?: GoogleCloudAiplatformV1beta1RagContextRecallResult;
|
|
1661
|
-
/** Result for response recall metric. */
|
|
1662
|
-
responseRecallResult?: GoogleCloudAiplatformV1beta1ResponseRecallResult;
|
|
1663
1664
|
/** Results for rouge metric. */
|
|
1664
1665
|
rougeResults?: GoogleCloudAiplatformV1beta1RougeResults;
|
|
1665
1666
|
/** Result for safety metric. */
|
|
@@ -2047,6 +2048,10 @@ declare namespace gapi.client {
|
|
|
2047
2048
|
manifest?: GoogleCloudAiplatformV1beta1ExtensionManifest;
|
|
2048
2049
|
/** Identifier. The resource name of the Extension. */
|
|
2049
2050
|
name?: string;
|
|
2051
|
+
/** Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access). If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution. */
|
|
2052
|
+
privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig;
|
|
2053
|
+
/** Optional. Runtime config controlling the runtime behavior of this Extension. */
|
|
2054
|
+
runtimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfig;
|
|
2050
2055
|
/** Optional. Examples to illustrate the usage of the extension as a tool. */
|
|
2051
2056
|
toolUseExamples?: GoogleCloudAiplatformV1beta1ToolUseExample[];
|
|
2052
2057
|
/** Output only. Timestamp when this Extension was most recently updated. */
|
|
@@ -2074,6 +2079,10 @@ declare namespace gapi.client {
|
|
|
2074
2079
|
/** Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. */
|
|
2075
2080
|
operationId?: string;
|
|
2076
2081
|
}
|
|
2082
|
+
interface GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig {
|
|
2083
|
+
/** Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: `projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}` - The Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) should be granted `servicedirectory.viewer` and `servicedirectory.pscAuthorizedService` roles on the resource. */
|
|
2084
|
+
serviceDirectory?: string;
|
|
2085
|
+
}
|
|
2077
2086
|
interface GoogleCloudAiplatformV1beta1Feature {
|
|
2078
2087
|
/** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
|
|
2079
2088
|
createTime?: string;
|
|
@@ -2655,6 +2664,8 @@ declare namespace gapi.client {
|
|
|
2655
2664
|
maxOutputTokens?: number;
|
|
2656
2665
|
/** Optional. Positive penalties. */
|
|
2657
2666
|
presencePenalty?: number;
|
|
2667
|
+
/** Optional. Output response mimetype of the generated candidate text. Supported mimetype: `text/plain`: (default) Text output. `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
|
|
2668
|
+
responseMimeType?: string;
|
|
2658
2669
|
/** Optional. Stop sequences. */
|
|
2659
2670
|
stopSequences?: string[];
|
|
2660
2671
|
/** Optional. Controls the randomness of predictions. */
|
|
@@ -2676,16 +2687,6 @@ declare namespace gapi.client {
|
|
|
2676
2687
|
/** Required. The public base model URI. */
|
|
2677
2688
|
baseModelUri?: string;
|
|
2678
2689
|
}
|
|
2679
|
-
interface GoogleCloudAiplatformV1beta1GoogleDriveSource {
|
|
2680
|
-
/** Required. Google Drive resource IDs. */
|
|
2681
|
-
resourceIds?: GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId[];
|
|
2682
|
-
}
|
|
2683
|
-
interface GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId {
|
|
2684
|
-
/** Required. The ID of the Google Drive resource. */
|
|
2685
|
-
resourceId?: string;
|
|
2686
|
-
/** Required. The type of the Google Drive resource. */
|
|
2687
|
-
resourceType?: string;
|
|
2688
|
-
}
|
|
2689
2690
|
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
2690
2691
|
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
2691
2692
|
disableAttribution?: boolean;
|
|
@@ -2860,18 +2861,6 @@ declare namespace gapi.client {
|
|
|
2860
2861
|
/** Required. Model evaluation resource to be imported. */
|
|
2861
2862
|
modelEvaluation?: GoogleCloudAiplatformV1beta1ModelEvaluation;
|
|
2862
2863
|
}
|
|
2863
|
-
interface GoogleCloudAiplatformV1beta1ImportRagFilesConfig {
|
|
2864
|
-
/** Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: * "gs://bucket_name/my_directory/object_name/my_file.txt". * "gs://bucket_name/my_directory" */
|
|
2865
|
-
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
2866
|
-
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
2867
|
-
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
2868
|
-
/** Specifies the size and overlap of chunks after importing RagFiles. */
|
|
2869
|
-
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
2870
|
-
}
|
|
2871
|
-
interface GoogleCloudAiplatformV1beta1ImportRagFilesRequest {
|
|
2872
|
-
/** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
|
|
2873
|
-
importRagFilesConfig?: GoogleCloudAiplatformV1beta1ImportRagFilesConfig;
|
|
2874
|
-
}
|
|
2875
2864
|
interface GoogleCloudAiplatformV1beta1Index {
|
|
2876
2865
|
/** Output only. Timestamp when this Index was created. */
|
|
2877
2866
|
createTime?: string;
|
|
@@ -3262,18 +3251,6 @@ declare namespace gapi.client {
|
|
|
3262
3251
|
/** List of PublisherModels in the requested page. */
|
|
3263
3252
|
publisherModels?: GoogleCloudAiplatformV1beta1PublisherModel[];
|
|
3264
3253
|
}
|
|
3265
|
-
interface GoogleCloudAiplatformV1beta1ListRagCorporaResponse {
|
|
3266
|
-
/** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
|
|
3267
|
-
nextPageToken?: string;
|
|
3268
|
-
/** List of RagCorpora in the requested page. */
|
|
3269
|
-
ragCorpora?: GoogleCloudAiplatformV1beta1RagCorpus[];
|
|
3270
|
-
}
|
|
3271
|
-
interface GoogleCloudAiplatformV1beta1ListRagFilesResponse {
|
|
3272
|
-
/** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
|
|
3273
|
-
nextPageToken?: string;
|
|
3274
|
-
/** List of RagFiles in the requested page. */
|
|
3275
|
-
ragFiles?: GoogleCloudAiplatformV1beta1RagFile[];
|
|
3276
|
-
}
|
|
3277
3254
|
interface GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse {
|
|
3278
3255
|
/** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
|
|
3279
3256
|
nextPageToken?: string;
|
|
@@ -4211,7 +4188,7 @@ declare namespace gapi.client {
|
|
|
4211
4188
|
interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance {
|
|
4212
4189
|
/** Required. Output of the baseline model. */
|
|
4213
4190
|
baselinePrediction?: string;
|
|
4214
|
-
/**
|
|
4191
|
+
/** Required. Text to answer the question. */
|
|
4215
4192
|
context?: string;
|
|
4216
4193
|
/** Required. Question Answering prompt for LLM. */
|
|
4217
4194
|
instruction?: string;
|
|
@@ -4571,8 +4548,6 @@ declare namespace gapi.client {
|
|
|
4571
4548
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
4572
4549
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4573
4550
|
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
4574
|
-
/** Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint. */
|
|
4575
|
-
multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex;
|
|
4576
4551
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4577
4552
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4578
4553
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4618,10 +4593,6 @@ declare namespace gapi.client {
|
|
|
4618
4593
|
/** Optional. GKE deployment configuration in yaml format. */
|
|
4619
4594
|
gkeYamlConfigs?: string[];
|
|
4620
4595
|
}
|
|
4621
|
-
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex {
|
|
4622
|
-
/** Optional. One click deployment configurations. */
|
|
4623
|
-
multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy[];
|
|
4624
|
-
}
|
|
4625
4596
|
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines {
|
|
4626
4597
|
/** Required. Regional resource references to fine tuning pipelines. */
|
|
4627
4598
|
fineTuningPipelines?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences[];
|
|
@@ -4829,7 +4800,7 @@ declare namespace gapi.client {
|
|
|
4829
4800
|
metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec;
|
|
4830
4801
|
}
|
|
4831
4802
|
interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance {
|
|
4832
|
-
/**
|
|
4803
|
+
/** Required. Text to answer the question. */
|
|
4833
4804
|
context?: string;
|
|
4834
4805
|
/** Required. Question Answering prompt for LLM. */
|
|
4835
4806
|
instruction?: string;
|
|
@@ -4882,88 +4853,6 @@ declare namespace gapi.client {
|
|
|
4882
4853
|
/** Optional. Which version to use for evaluation. */
|
|
4883
4854
|
version?: number;
|
|
4884
4855
|
}
|
|
4885
|
-
interface GoogleCloudAiplatformV1beta1RagContextRecallInput {
|
|
4886
|
-
/** Required. Rag context recall instance. */
|
|
4887
|
-
instance?: GoogleCloudAiplatformV1beta1RagContextRecallInstance;
|
|
4888
|
-
/** Required. Spec for rag context recall metric. */
|
|
4889
|
-
metricSpec?: GoogleCloudAiplatformV1beta1RagContextRecallSpec;
|
|
4890
|
-
}
|
|
4891
|
-
interface GoogleCloudAiplatformV1beta1RagContextRecallInstance {
|
|
4892
|
-
/** Required. Retrieved facts from RAG pipeline as context to be evaluated. */
|
|
4893
|
-
context?: string;
|
|
4894
|
-
/** Required. Ground truth used to compare against the context. */
|
|
4895
|
-
reference?: string;
|
|
4896
|
-
}
|
|
4897
|
-
interface GoogleCloudAiplatformV1beta1RagContextRecallResult {
|
|
4898
|
-
/** Output only. Confidence for rag context recall score. */
|
|
4899
|
-
confidence?: number;
|
|
4900
|
-
/** Output only. Explanation for rag context recall score. */
|
|
4901
|
-
explanation?: string;
|
|
4902
|
-
/** Output only. RagContextRecall score. */
|
|
4903
|
-
score?: number;
|
|
4904
|
-
}
|
|
4905
|
-
interface GoogleCloudAiplatformV1beta1RagContextRecallSpec {
|
|
4906
|
-
/** Optional. Which version to use for evaluation. */
|
|
4907
|
-
version?: number;
|
|
4908
|
-
}
|
|
4909
|
-
interface GoogleCloudAiplatformV1beta1RagContexts {
|
|
4910
|
-
/** All its contexts. */
|
|
4911
|
-
contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
|
|
4912
|
-
}
|
|
4913
|
-
interface GoogleCloudAiplatformV1beta1RagContextsContext {
|
|
4914
|
-
/** The distance between the query vector and the context text vector. */
|
|
4915
|
-
distance?: number;
|
|
4916
|
-
/** For vertex RagStore, if the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name. */
|
|
4917
|
-
sourceUri?: string;
|
|
4918
|
-
/** The text chunk. */
|
|
4919
|
-
text?: string;
|
|
4920
|
-
}
|
|
4921
|
-
interface GoogleCloudAiplatformV1beta1RagCorpus {
|
|
4922
|
-
/** Output only. Timestamp when this RagCorpus was created. */
|
|
4923
|
-
createTime?: string;
|
|
4924
|
-
/** Optional. The description of the RagCorpus. */
|
|
4925
|
-
description?: string;
|
|
4926
|
-
/** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4927
|
-
displayName?: string;
|
|
4928
|
-
/** Output only. The resource name of the RagCorpus. */
|
|
4929
|
-
name?: string;
|
|
4930
|
-
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
4931
|
-
updateTime?: string;
|
|
4932
|
-
}
|
|
4933
|
-
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
4934
|
-
/** Output only. Timestamp when this RagFile was created. */
|
|
4935
|
-
createTime?: string;
|
|
4936
|
-
/** Optional. The description of the RagFile. */
|
|
4937
|
-
description?: string;
|
|
4938
|
-
/** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
|
|
4939
|
-
directUploadSource?: any;
|
|
4940
|
-
/** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4941
|
-
displayName?: string;
|
|
4942
|
-
/** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now. */
|
|
4943
|
-
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
4944
|
-
/** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
4945
|
-
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
4946
|
-
/** Output only. The resource name of the RagFile. */
|
|
4947
|
-
name?: string;
|
|
4948
|
-
/** Output only. The type of the RagFile. */
|
|
4949
|
-
ragFileType?: string;
|
|
4950
|
-
/** Output only. The size of the RagFile in bytes. */
|
|
4951
|
-
sizeBytes?: string;
|
|
4952
|
-
/** Output only. Timestamp when this RagFile was last updated. */
|
|
4953
|
-
updateTime?: string;
|
|
4954
|
-
}
|
|
4955
|
-
interface GoogleCloudAiplatformV1beta1RagFileChunkingConfig {
|
|
4956
|
-
/** The overlap between chunks. */
|
|
4957
|
-
chunkOverlap?: number;
|
|
4958
|
-
/** The size of the chunks. */
|
|
4959
|
-
chunkSize?: number;
|
|
4960
|
-
}
|
|
4961
|
-
interface GoogleCloudAiplatformV1beta1RagQuery {
|
|
4962
|
-
/** Optional. The number of contexts to retrieve. */
|
|
4963
|
-
similarityTopK?: number;
|
|
4964
|
-
/** Optional. The query in text format to get relevant contexts. */
|
|
4965
|
-
text?: string;
|
|
4966
|
-
}
|
|
4967
4856
|
interface GoogleCloudAiplatformV1beta1RawPredictRequest {
|
|
4968
4857
|
/** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
|
|
4969
4858
|
httpBody?: GoogleApiHttpBody;
|
|
@@ -5164,30 +5053,6 @@ declare namespace gapi.client {
|
|
|
5164
5053
|
/** Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time. Therefore this value is not strictly related to wall time. */
|
|
5165
5054
|
replicaHours?: number;
|
|
5166
5055
|
}
|
|
5167
|
-
interface GoogleCloudAiplatformV1beta1ResponseRecallInput {
|
|
5168
|
-
/** Required. Response recall instance. */
|
|
5169
|
-
instance?: GoogleCloudAiplatformV1beta1ResponseRecallInstance;
|
|
5170
|
-
/** Required. Spec for response recall score metric. */
|
|
5171
|
-
metricSpec?: GoogleCloudAiplatformV1beta1ResponseRecallSpec;
|
|
5172
|
-
}
|
|
5173
|
-
interface GoogleCloudAiplatformV1beta1ResponseRecallInstance {
|
|
5174
|
-
/** Required. Output of the evaluated model. */
|
|
5175
|
-
prediction?: string;
|
|
5176
|
-
/** Required. Ground truth used to compare against the prediction. */
|
|
5177
|
-
reference?: string;
|
|
5178
|
-
}
|
|
5179
|
-
interface GoogleCloudAiplatformV1beta1ResponseRecallResult {
|
|
5180
|
-
/** Output only. Confidence for fulfillment score. */
|
|
5181
|
-
confidence?: number;
|
|
5182
|
-
/** Output only. Explanation for response recall score. */
|
|
5183
|
-
explanation?: string;
|
|
5184
|
-
/** Output only. ResponseRecall score. */
|
|
5185
|
-
score?: number;
|
|
5186
|
-
}
|
|
5187
|
-
interface GoogleCloudAiplatformV1beta1ResponseRecallSpec {
|
|
5188
|
-
/** Optional. Which version to use for evaluation. */
|
|
5189
|
-
version?: number;
|
|
5190
|
-
}
|
|
5191
5056
|
interface GoogleCloudAiplatformV1beta1RestoreDatasetVersionOperationMetadata {
|
|
5192
5057
|
/** The common part of the operation metadata. */
|
|
5193
5058
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -5205,20 +5070,6 @@ declare namespace gapi.client {
|
|
|
5205
5070
|
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
5206
5071
|
vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
|
|
5207
5072
|
}
|
|
5208
|
-
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
|
|
5209
|
-
/** Required. Single RAG retrieve query. */
|
|
5210
|
-
query?: GoogleCloudAiplatformV1beta1RagQuery;
|
|
5211
|
-
/** The data source for Vertex RagStore. */
|
|
5212
|
-
vertexRagStore?: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore;
|
|
5213
|
-
}
|
|
5214
|
-
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore {
|
|
5215
|
-
/** Required. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
|
|
5216
|
-
ragCorpora?: string[];
|
|
5217
|
-
}
|
|
5218
|
-
interface GoogleCloudAiplatformV1beta1RetrieveContextsResponse {
|
|
5219
|
-
/** The contexts of the query. */
|
|
5220
|
-
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5221
|
-
}
|
|
5222
5073
|
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5223
5074
|
/** Required. Repeated rouge instances. */
|
|
5224
5075
|
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
@@ -5247,6 +5098,24 @@ declare namespace gapi.client {
|
|
|
5247
5098
|
/** Optional. Whether to use stemmer to compute rouge score. */
|
|
5248
5099
|
useStemmer?: boolean;
|
|
5249
5100
|
}
|
|
5101
|
+
interface GoogleCloudAiplatformV1beta1RuntimeConfig {
|
|
5102
|
+
/** Code execution runtime configurations for code interpreter extension. */
|
|
5103
|
+
codeInterpreterRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig;
|
|
5104
|
+
/** Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. */
|
|
5105
|
+
defaultParams?: {[P in string]: any};
|
|
5106
|
+
/** Runtime configuration for Vertext AI Search extension. */
|
|
5107
|
+
vertexAiSearchRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig;
|
|
5108
|
+
}
|
|
5109
|
+
interface GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig {
|
|
5110
|
+
/** Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject GCS file inputs. */
|
|
5111
|
+
fileInputGcsBucket?: string;
|
|
5112
|
+
/** Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body. */
|
|
5113
|
+
fileOutputGcsBucket?: string;
|
|
5114
|
+
}
|
|
5115
|
+
interface GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig {
|
|
5116
|
+
/** Required. Vertext AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` or `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}` */
|
|
5117
|
+
servingConfigName?: string;
|
|
5118
|
+
}
|
|
5250
5119
|
interface GoogleCloudAiplatformV1beta1SafetyInput {
|
|
5251
5120
|
/** Required. Safety instance. */
|
|
5252
5121
|
instance?: GoogleCloudAiplatformV1beta1SafetyInstance;
|
|
@@ -5637,6 +5506,34 @@ declare namespace gapi.client {
|
|
|
5637
5506
|
/** Recall (True Positive Rate) for the given confidence threshold. */
|
|
5638
5507
|
recall?: number;
|
|
5639
5508
|
}
|
|
5509
|
+
interface GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics {
|
|
5510
|
+
/** Fraction of cases where the autorater agreed with the human raters. */
|
|
5511
|
+
accuracy?: number;
|
|
5512
|
+
/** Percentage of time the autorater decided the baseline model had the better response. */
|
|
5513
|
+
baselineModelWinRate?: number;
|
|
5514
|
+
/** A measurement of agreement between the autorater and human raters that takes the likelihood of random agreement into account. */
|
|
5515
|
+
cohensKappa?: number;
|
|
5516
|
+
/** Harmonic mean of precision and recall. */
|
|
5517
|
+
f1Score?: number;
|
|
5518
|
+
/** Number of examples where the autorater chose the baseline model, but humans preferred the model. */
|
|
5519
|
+
falseNegativeCount?: string;
|
|
5520
|
+
/** Number of examples where the autorater chose the model, but humans preferred the baseline model. */
|
|
5521
|
+
falsePositiveCount?: string;
|
|
5522
|
+
/** Percentage of time humans decided the baseline model had the better response. */
|
|
5523
|
+
humanPreferenceBaselineModelWinRate?: number;
|
|
5524
|
+
/** Percentage of time humans decided the model had the better response. */
|
|
5525
|
+
humanPreferenceModelWinRate?: number;
|
|
5526
|
+
/** Percentage of time the autorater decided the model had the better response. */
|
|
5527
|
+
modelWinRate?: number;
|
|
5528
|
+
/** Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the autorater thought the model had a better response. True positive divided by all positive. */
|
|
5529
|
+
precision?: number;
|
|
5530
|
+
/** Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the humans thought the model had a better response. */
|
|
5531
|
+
recall?: number;
|
|
5532
|
+
/** Number of examples where both the autorater and humans decided that the model had the worse response. */
|
|
5533
|
+
trueNegativeCount?: string;
|
|
5534
|
+
/** Number of examples where both the autorater and humans decided that the model had the better response. */
|
|
5535
|
+
truePositiveCount?: string;
|
|
5536
|
+
}
|
|
5640
5537
|
interface GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics {
|
|
5641
5538
|
/** The rate at which the input predicted strings exactly match their references. */
|
|
5642
5539
|
exactMatch?: number;
|
|
@@ -6742,7 +6639,7 @@ declare namespace gapi.client {
|
|
|
6742
6639
|
interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
|
|
6743
6640
|
/** Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). */
|
|
6744
6641
|
enableCustomServiceAccount?: boolean;
|
|
6745
|
-
/** Optional.
|
|
6642
|
+
/** Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job. */
|
|
6746
6643
|
serviceAccount?: string;
|
|
6747
6644
|
}
|
|
6748
6645
|
interface GoogleCloudAiplatformV1beta1ShieldedVmConfig {
|
|
@@ -7616,22 +7513,6 @@ declare namespace gapi.client {
|
|
|
7616
7513
|
/** Output only. The version ID of the model that is uploaded. */
|
|
7617
7514
|
modelVersionId?: string;
|
|
7618
7515
|
}
|
|
7619
|
-
interface GoogleCloudAiplatformV1beta1UploadRagFileConfig {
|
|
7620
|
-
/** Specifies the size and overlap of chunks after uploading RagFile. */
|
|
7621
|
-
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
7622
|
-
}
|
|
7623
|
-
interface GoogleCloudAiplatformV1beta1UploadRagFileRequest {
|
|
7624
|
-
/** Required. The RagFile to upload. */
|
|
7625
|
-
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
7626
|
-
/** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
|
|
7627
|
-
uploadRagFileConfig?: GoogleCloudAiplatformV1beta1UploadRagFileConfig;
|
|
7628
|
-
}
|
|
7629
|
-
interface GoogleCloudAiplatformV1beta1UploadRagFileResponse {
|
|
7630
|
-
/** The error that occurred while processing the RagFile. */
|
|
7631
|
-
error?: GoogleRpcStatus;
|
|
7632
|
-
/** The RagFile that had been uploaded into the RagCorpus. */
|
|
7633
|
-
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
7634
|
-
}
|
|
7635
7516
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
|
|
7636
7517
|
/** A list of datapoints to be created/updated. */
|
|
7637
7518
|
datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
|
|
@@ -8155,6 +8036,12 @@ declare namespace gapi.client {
|
|
|
8155
8036
|
status?: UtilStatusProto;
|
|
8156
8037
|
stringValue?: string;
|
|
8157
8038
|
}
|
|
8039
|
+
interface LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata {
|
|
8040
|
+
/** Latency spent on fact retrievals. There might be multiple retrievals from different fact providers. */
|
|
8041
|
+
factRetrievalMillisecondsByProvider?: {[P in string]: string};
|
|
8042
|
+
/** Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt. */
|
|
8043
|
+
prompt2queryMilliseconds?: string;
|
|
8044
|
+
}
|
|
8158
8045
|
interface LearningGenaiRootRAIOutput {
|
|
8159
8046
|
allowed?: boolean;
|
|
8160
8047
|
harm?: LearningGenaiRootHarm;
|
|
@@ -8285,6 +8172,12 @@ declare namespace gapi.client {
|
|
|
8285
8172
|
label?: string;
|
|
8286
8173
|
score?: number;
|
|
8287
8174
|
}
|
|
8175
|
+
interface LearningGenaiRootTranslationRequestInfo {
|
|
8176
|
+
/** The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. */
|
|
8177
|
+
detectedLanguageCodes?: string[];
|
|
8178
|
+
/** The sum of the size of all the contents in the request. */
|
|
8179
|
+
totalContentSize?: string;
|
|
8180
|
+
}
|
|
8288
8181
|
interface LearningServingLlmMessageMetadata {
|
|
8289
8182
|
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
8290
8183
|
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
@@ -8377,66 +8270,6 @@ declare namespace gapi.client {
|
|
|
8377
8270
|
/** The following are usually only present when code != 0 Space to which this status belongs */
|
|
8378
8271
|
space?: string;
|
|
8379
8272
|
}
|
|
8380
|
-
interface MediaResource {
|
|
8381
|
-
/** Upload a file into a RagCorpus. */
|
|
8382
|
-
upload(request: {
|
|
8383
|
-
/** V1 error format. */
|
|
8384
|
-
'$.xgafv'?: string;
|
|
8385
|
-
/** OAuth access token. */
|
|
8386
|
-
access_token?: string;
|
|
8387
|
-
/** Data format for response. */
|
|
8388
|
-
alt?: string;
|
|
8389
|
-
/** JSONP */
|
|
8390
|
-
callback?: string;
|
|
8391
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8392
|
-
fields?: string;
|
|
8393
|
-
/** 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. */
|
|
8394
|
-
key?: string;
|
|
8395
|
-
/** OAuth 2.0 token for the current user. */
|
|
8396
|
-
oauth_token?: string;
|
|
8397
|
-
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8398
|
-
parent: string;
|
|
8399
|
-
/** Returns response with indentations and line breaks. */
|
|
8400
|
-
prettyPrint?: boolean;
|
|
8401
|
-
/** 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. */
|
|
8402
|
-
quotaUser?: string;
|
|
8403
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8404
|
-
upload_protocol?: string;
|
|
8405
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8406
|
-
uploadType?: string;
|
|
8407
|
-
/** Request body */
|
|
8408
|
-
resource: GoogleCloudAiplatformV1beta1UploadRagFileRequest;
|
|
8409
|
-
}): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8410
|
-
upload(
|
|
8411
|
-
request: {
|
|
8412
|
-
/** V1 error format. */
|
|
8413
|
-
'$.xgafv'?: string;
|
|
8414
|
-
/** OAuth access token. */
|
|
8415
|
-
access_token?: string;
|
|
8416
|
-
/** Data format for response. */
|
|
8417
|
-
alt?: string;
|
|
8418
|
-
/** JSONP */
|
|
8419
|
-
callback?: string;
|
|
8420
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8421
|
-
fields?: string;
|
|
8422
|
-
/** 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. */
|
|
8423
|
-
key?: string;
|
|
8424
|
-
/** OAuth 2.0 token for the current user. */
|
|
8425
|
-
oauth_token?: string;
|
|
8426
|
-
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8427
|
-
parent: string;
|
|
8428
|
-
/** Returns response with indentations and line breaks. */
|
|
8429
|
-
prettyPrint?: boolean;
|
|
8430
|
-
/** 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. */
|
|
8431
|
-
quotaUser?: string;
|
|
8432
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8433
|
-
upload_protocol?: string;
|
|
8434
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8435
|
-
uploadType?: string;
|
|
8436
|
-
},
|
|
8437
|
-
body: GoogleCloudAiplatformV1beta1UploadRagFileRequest
|
|
8438
|
-
): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8439
|
-
}
|
|
8440
8273
|
interface BatchPredictionJobsResource {
|
|
8441
8274
|
/** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
|
|
8442
8275
|
cancel(request: {
|
|
@@ -11296,6 +11129,66 @@ declare namespace gapi.client {
|
|
|
11296
11129
|
interface EdgeDevicesResource {
|
|
11297
11130
|
operations: OperationsResource;
|
|
11298
11131
|
}
|
|
11132
|
+
interface ChatResource {
|
|
11133
|
+
/** Exposes an OpenAI-compatible endpoint for chat completions. */
|
|
11134
|
+
completions(request: {
|
|
11135
|
+
/** V1 error format. */
|
|
11136
|
+
'$.xgafv'?: string;
|
|
11137
|
+
/** OAuth access token. */
|
|
11138
|
+
access_token?: string;
|
|
11139
|
+
/** Data format for response. */
|
|
11140
|
+
alt?: string;
|
|
11141
|
+
/** JSONP */
|
|
11142
|
+
callback?: string;
|
|
11143
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
|
|
11144
|
+
endpoint: string;
|
|
11145
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11146
|
+
fields?: string;
|
|
11147
|
+
/** 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. */
|
|
11148
|
+
key?: string;
|
|
11149
|
+
/** OAuth 2.0 token for the current user. */
|
|
11150
|
+
oauth_token?: string;
|
|
11151
|
+
/** Returns response with indentations and line breaks. */
|
|
11152
|
+
prettyPrint?: boolean;
|
|
11153
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11154
|
+
quotaUser?: string;
|
|
11155
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11156
|
+
upload_protocol?: string;
|
|
11157
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11158
|
+
uploadType?: string;
|
|
11159
|
+
/** Request body */
|
|
11160
|
+
resource: GoogleApiHttpBody;
|
|
11161
|
+
}): Request<GoogleApiHttpBody>;
|
|
11162
|
+
completions(
|
|
11163
|
+
request: {
|
|
11164
|
+
/** V1 error format. */
|
|
11165
|
+
'$.xgafv'?: string;
|
|
11166
|
+
/** OAuth access token. */
|
|
11167
|
+
access_token?: string;
|
|
11168
|
+
/** Data format for response. */
|
|
11169
|
+
alt?: string;
|
|
11170
|
+
/** JSONP */
|
|
11171
|
+
callback?: string;
|
|
11172
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
|
|
11173
|
+
endpoint: string;
|
|
11174
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11175
|
+
fields?: string;
|
|
11176
|
+
/** 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. */
|
|
11177
|
+
key?: string;
|
|
11178
|
+
/** OAuth 2.0 token for the current user. */
|
|
11179
|
+
oauth_token?: string;
|
|
11180
|
+
/** Returns response with indentations and line breaks. */
|
|
11181
|
+
prettyPrint?: boolean;
|
|
11182
|
+
/** 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. */
|
|
11183
|
+
quotaUser?: string;
|
|
11184
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11185
|
+
upload_protocol?: string;
|
|
11186
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11187
|
+
uploadType?: string;
|
|
11188
|
+
},
|
|
11189
|
+
body: GoogleApiHttpBody
|
|
11190
|
+
): Request<GoogleApiHttpBody>;
|
|
11191
|
+
}
|
|
11299
11192
|
interface OperationsResource {
|
|
11300
11193
|
/** 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`. */
|
|
11301
11194
|
cancel(request?: {
|
|
@@ -12497,6 +12390,7 @@ declare namespace gapi.client {
|
|
|
12497
12390
|
},
|
|
12498
12391
|
body: GoogleCloudAiplatformV1beta1UndeployModelRequest
|
|
12499
12392
|
): Request<GoogleLongrunningOperation>;
|
|
12393
|
+
chat: ChatResource;
|
|
12500
12394
|
operations: OperationsResource;
|
|
12501
12395
|
}
|
|
12502
12396
|
interface OperationsResource {
|
|
@@ -25477,8 +25371,15 @@ declare namespace gapi.client {
|
|
|
25477
25371
|
}): Request<GoogleLongrunningOperation>;
|
|
25478
25372
|
}
|
|
25479
25373
|
interface RagFilesResource {
|
|
25480
|
-
|
|
25481
|
-
|
|
25374
|
+
operations: OperationsResource;
|
|
25375
|
+
}
|
|
25376
|
+
interface RagCorporaResource {
|
|
25377
|
+
operations: OperationsResource;
|
|
25378
|
+
ragFiles: RagFilesResource;
|
|
25379
|
+
}
|
|
25380
|
+
interface OperationsResource {
|
|
25381
|
+
/** 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`. */
|
|
25382
|
+
cancel(request?: {
|
|
25482
25383
|
/** V1 error format. */
|
|
25483
25384
|
'$.xgafv'?: string;
|
|
25484
25385
|
/** OAuth access token. */
|
|
@@ -25491,7 +25392,7 @@ declare namespace gapi.client {
|
|
|
25491
25392
|
fields?: string;
|
|
25492
25393
|
/** 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. */
|
|
25493
25394
|
key?: string;
|
|
25494
|
-
/**
|
|
25395
|
+
/** The name of the operation resource to be cancelled. */
|
|
25495
25396
|
name: string;
|
|
25496
25397
|
/** OAuth 2.0 token for the current user. */
|
|
25497
25398
|
oauth_token?: string;
|
|
@@ -25503,9 +25404,9 @@ declare namespace gapi.client {
|
|
|
25503
25404
|
upload_protocol?: string;
|
|
25504
25405
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25505
25406
|
uploadType?: string;
|
|
25506
|
-
}): Request<
|
|
25507
|
-
/**
|
|
25508
|
-
|
|
25407
|
+
}): Request<{}>;
|
|
25408
|
+
/** 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`. */
|
|
25409
|
+
delete(request?: {
|
|
25509
25410
|
/** V1 error format. */
|
|
25510
25411
|
'$.xgafv'?: string;
|
|
25511
25412
|
/** OAuth access token. */
|
|
@@ -25518,7 +25419,7 @@ declare namespace gapi.client {
|
|
|
25518
25419
|
fields?: string;
|
|
25519
25420
|
/** 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. */
|
|
25520
25421
|
key?: string;
|
|
25521
|
-
/**
|
|
25422
|
+
/** The name of the operation resource to be deleted. */
|
|
25522
25423
|
name: string;
|
|
25523
25424
|
/** OAuth 2.0 token for the current user. */
|
|
25524
25425
|
oauth_token?: string;
|
|
@@ -25530,9 +25431,9 @@ declare namespace gapi.client {
|
|
|
25530
25431
|
upload_protocol?: string;
|
|
25531
25432
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25532
25433
|
uploadType?: string;
|
|
25533
|
-
}): Request<
|
|
25534
|
-
/**
|
|
25535
|
-
|
|
25434
|
+
}): Request<{}>;
|
|
25435
|
+
/** 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. */
|
|
25436
|
+
get(request?: {
|
|
25536
25437
|
/** V1 error format. */
|
|
25537
25438
|
'$.xgafv'?: string;
|
|
25538
25439
|
/** OAuth access token. */
|
|
@@ -25545,10 +25446,10 @@ declare namespace gapi.client {
|
|
|
25545
25446
|
fields?: string;
|
|
25546
25447
|
/** 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. */
|
|
25547
25448
|
key?: string;
|
|
25449
|
+
/** The name of the operation resource. */
|
|
25450
|
+
name: string;
|
|
25548
25451
|
/** OAuth 2.0 token for the current user. */
|
|
25549
25452
|
oauth_token?: string;
|
|
25550
|
-
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25551
|
-
parent: string;
|
|
25552
25453
|
/** Returns response with indentations and line breaks. */
|
|
25553
25454
|
prettyPrint?: boolean;
|
|
25554
25455
|
/** 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. */
|
|
@@ -25557,39 +25458,8 @@ declare namespace gapi.client {
|
|
|
25557
25458
|
upload_protocol?: string;
|
|
25558
25459
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25559
25460
|
uploadType?: string;
|
|
25560
|
-
/** Request body */
|
|
25561
|
-
resource: GoogleCloudAiplatformV1beta1ImportRagFilesRequest;
|
|
25562
25461
|
}): Request<GoogleLongrunningOperation>;
|
|
25563
|
-
|
|
25564
|
-
request: {
|
|
25565
|
-
/** V1 error format. */
|
|
25566
|
-
'$.xgafv'?: string;
|
|
25567
|
-
/** OAuth access token. */
|
|
25568
|
-
access_token?: string;
|
|
25569
|
-
/** Data format for response. */
|
|
25570
|
-
alt?: string;
|
|
25571
|
-
/** JSONP */
|
|
25572
|
-
callback?: string;
|
|
25573
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25574
|
-
fields?: string;
|
|
25575
|
-
/** 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. */
|
|
25576
|
-
key?: string;
|
|
25577
|
-
/** OAuth 2.0 token for the current user. */
|
|
25578
|
-
oauth_token?: string;
|
|
25579
|
-
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25580
|
-
parent: string;
|
|
25581
|
-
/** Returns response with indentations and line breaks. */
|
|
25582
|
-
prettyPrint?: boolean;
|
|
25583
|
-
/** 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. */
|
|
25584
|
-
quotaUser?: string;
|
|
25585
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25586
|
-
upload_protocol?: string;
|
|
25587
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25588
|
-
uploadType?: string;
|
|
25589
|
-
},
|
|
25590
|
-
body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest
|
|
25591
|
-
): Request<GoogleLongrunningOperation>;
|
|
25592
|
-
/** Lists RagFiles in a RagCorpus. */
|
|
25462
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
25593
25463
|
list(request?: {
|
|
25594
25464
|
/** V1 error format. */
|
|
25595
25465
|
'$.xgafv'?: string;
|
|
@@ -25601,16 +25471,18 @@ declare namespace gapi.client {
|
|
|
25601
25471
|
callback?: string;
|
|
25602
25472
|
/** Selector specifying which fields to include in a partial response. */
|
|
25603
25473
|
fields?: string;
|
|
25474
|
+
/** The standard list filter. */
|
|
25475
|
+
filter?: string;
|
|
25604
25476
|
/** 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. */
|
|
25605
25477
|
key?: string;
|
|
25478
|
+
/** The name of the operation's parent resource. */
|
|
25479
|
+
name: string;
|
|
25606
25480
|
/** OAuth 2.0 token for the current user. */
|
|
25607
25481
|
oauth_token?: string;
|
|
25608
|
-
/**
|
|
25482
|
+
/** The standard list page size. */
|
|
25609
25483
|
pageSize?: number;
|
|
25610
|
-
/**
|
|
25484
|
+
/** The standard list page token. */
|
|
25611
25485
|
pageToken?: string;
|
|
25612
|
-
/** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25613
|
-
parent: string;
|
|
25614
25486
|
/** Returns response with indentations and line breaks. */
|
|
25615
25487
|
prettyPrint?: boolean;
|
|
25616
25488
|
/** 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. */
|
|
@@ -25619,12 +25491,9 @@ declare namespace gapi.client {
|
|
|
25619
25491
|
upload_protocol?: string;
|
|
25620
25492
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25621
25493
|
uploadType?: string;
|
|
25622
|
-
}): Request<
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
interface RagCorporaResource {
|
|
25626
|
-
/** Creates a RagCorpus. */
|
|
25627
|
-
create(request: {
|
|
25494
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
25495
|
+
/** 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. */
|
|
25496
|
+
wait(request?: {
|
|
25628
25497
|
/** V1 error format. */
|
|
25629
25498
|
'$.xgafv'?: string;
|
|
25630
25499
|
/** OAuth access token. */
|
|
@@ -25637,271 +25506,8 @@ declare namespace gapi.client {
|
|
|
25637
25506
|
fields?: string;
|
|
25638
25507
|
/** 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. */
|
|
25639
25508
|
key?: string;
|
|
25640
|
-
/**
|
|
25641
|
-
|
|
25642
|
-
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
25643
|
-
parent: string;
|
|
25644
|
-
/** Returns response with indentations and line breaks. */
|
|
25645
|
-
prettyPrint?: boolean;
|
|
25646
|
-
/** 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. */
|
|
25647
|
-
quotaUser?: string;
|
|
25648
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25649
|
-
upload_protocol?: string;
|
|
25650
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25651
|
-
uploadType?: string;
|
|
25652
|
-
/** Request body */
|
|
25653
|
-
resource: GoogleCloudAiplatformV1beta1RagCorpus;
|
|
25654
|
-
}): Request<GoogleLongrunningOperation>;
|
|
25655
|
-
create(
|
|
25656
|
-
request: {
|
|
25657
|
-
/** V1 error format. */
|
|
25658
|
-
'$.xgafv'?: string;
|
|
25659
|
-
/** OAuth access token. */
|
|
25660
|
-
access_token?: string;
|
|
25661
|
-
/** Data format for response. */
|
|
25662
|
-
alt?: string;
|
|
25663
|
-
/** JSONP */
|
|
25664
|
-
callback?: string;
|
|
25665
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25666
|
-
fields?: string;
|
|
25667
|
-
/** 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. */
|
|
25668
|
-
key?: string;
|
|
25669
|
-
/** OAuth 2.0 token for the current user. */
|
|
25670
|
-
oauth_token?: string;
|
|
25671
|
-
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
25672
|
-
parent: string;
|
|
25673
|
-
/** Returns response with indentations and line breaks. */
|
|
25674
|
-
prettyPrint?: boolean;
|
|
25675
|
-
/** 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. */
|
|
25676
|
-
quotaUser?: string;
|
|
25677
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25678
|
-
upload_protocol?: string;
|
|
25679
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25680
|
-
uploadType?: string;
|
|
25681
|
-
},
|
|
25682
|
-
body: GoogleCloudAiplatformV1beta1RagCorpus
|
|
25683
|
-
): Request<GoogleLongrunningOperation>;
|
|
25684
|
-
/** Deletes a RagCorpus. */
|
|
25685
|
-
delete(request?: {
|
|
25686
|
-
/** V1 error format. */
|
|
25687
|
-
'$.xgafv'?: string;
|
|
25688
|
-
/** OAuth access token. */
|
|
25689
|
-
access_token?: string;
|
|
25690
|
-
/** Data format for response. */
|
|
25691
|
-
alt?: string;
|
|
25692
|
-
/** JSONP */
|
|
25693
|
-
callback?: string;
|
|
25694
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25695
|
-
fields?: string;
|
|
25696
|
-
/** Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles. */
|
|
25697
|
-
force?: boolean;
|
|
25698
|
-
/** 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. */
|
|
25699
|
-
key?: string;
|
|
25700
|
-
/** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25701
|
-
name: string;
|
|
25702
|
-
/** OAuth 2.0 token for the current user. */
|
|
25703
|
-
oauth_token?: string;
|
|
25704
|
-
/** Returns response with indentations and line breaks. */
|
|
25705
|
-
prettyPrint?: boolean;
|
|
25706
|
-
/** 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. */
|
|
25707
|
-
quotaUser?: string;
|
|
25708
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25709
|
-
upload_protocol?: string;
|
|
25710
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25711
|
-
uploadType?: string;
|
|
25712
|
-
}): Request<GoogleLongrunningOperation>;
|
|
25713
|
-
/** Gets a RagCorpus. */
|
|
25714
|
-
get(request?: {
|
|
25715
|
-
/** V1 error format. */
|
|
25716
|
-
'$.xgafv'?: string;
|
|
25717
|
-
/** OAuth access token. */
|
|
25718
|
-
access_token?: string;
|
|
25719
|
-
/** Data format for response. */
|
|
25720
|
-
alt?: string;
|
|
25721
|
-
/** JSONP */
|
|
25722
|
-
callback?: string;
|
|
25723
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25724
|
-
fields?: string;
|
|
25725
|
-
/** 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. */
|
|
25726
|
-
key?: string;
|
|
25727
|
-
/** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25728
|
-
name: string;
|
|
25729
|
-
/** OAuth 2.0 token for the current user. */
|
|
25730
|
-
oauth_token?: string;
|
|
25731
|
-
/** Returns response with indentations and line breaks. */
|
|
25732
|
-
prettyPrint?: boolean;
|
|
25733
|
-
/** 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. */
|
|
25734
|
-
quotaUser?: string;
|
|
25735
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25736
|
-
upload_protocol?: string;
|
|
25737
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25738
|
-
uploadType?: string;
|
|
25739
|
-
}): Request<GoogleCloudAiplatformV1beta1RagCorpus>;
|
|
25740
|
-
/** Lists RagCorpora in a Location. */
|
|
25741
|
-
list(request?: {
|
|
25742
|
-
/** V1 error format. */
|
|
25743
|
-
'$.xgafv'?: string;
|
|
25744
|
-
/** OAuth access token. */
|
|
25745
|
-
access_token?: string;
|
|
25746
|
-
/** Data format for response. */
|
|
25747
|
-
alt?: string;
|
|
25748
|
-
/** JSONP */
|
|
25749
|
-
callback?: string;
|
|
25750
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25751
|
-
fields?: string;
|
|
25752
|
-
/** 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. */
|
|
25753
|
-
key?: string;
|
|
25754
|
-
/** OAuth 2.0 token for the current user. */
|
|
25755
|
-
oauth_token?: string;
|
|
25756
|
-
/** Optional. The standard list page size. */
|
|
25757
|
-
pageSize?: number;
|
|
25758
|
-
/** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
|
|
25759
|
-
pageToken?: string;
|
|
25760
|
-
/** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
|
|
25761
|
-
parent: string;
|
|
25762
|
-
/** Returns response with indentations and line breaks. */
|
|
25763
|
-
prettyPrint?: boolean;
|
|
25764
|
-
/** 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. */
|
|
25765
|
-
quotaUser?: string;
|
|
25766
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25767
|
-
upload_protocol?: string;
|
|
25768
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25769
|
-
uploadType?: string;
|
|
25770
|
-
}): Request<GoogleCloudAiplatformV1beta1ListRagCorporaResponse>;
|
|
25771
|
-
operations: OperationsResource;
|
|
25772
|
-
ragFiles: RagFilesResource;
|
|
25773
|
-
}
|
|
25774
|
-
interface OperationsResource {
|
|
25775
|
-
/** 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`. */
|
|
25776
|
-
cancel(request?: {
|
|
25777
|
-
/** V1 error format. */
|
|
25778
|
-
'$.xgafv'?: string;
|
|
25779
|
-
/** OAuth access token. */
|
|
25780
|
-
access_token?: string;
|
|
25781
|
-
/** Data format for response. */
|
|
25782
|
-
alt?: string;
|
|
25783
|
-
/** JSONP */
|
|
25784
|
-
callback?: string;
|
|
25785
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25786
|
-
fields?: string;
|
|
25787
|
-
/** 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. */
|
|
25788
|
-
key?: string;
|
|
25789
|
-
/** The name of the operation resource to be cancelled. */
|
|
25790
|
-
name: string;
|
|
25791
|
-
/** OAuth 2.0 token for the current user. */
|
|
25792
|
-
oauth_token?: string;
|
|
25793
|
-
/** Returns response with indentations and line breaks. */
|
|
25794
|
-
prettyPrint?: boolean;
|
|
25795
|
-
/** 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. */
|
|
25796
|
-
quotaUser?: string;
|
|
25797
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25798
|
-
upload_protocol?: string;
|
|
25799
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25800
|
-
uploadType?: string;
|
|
25801
|
-
}): Request<{}>;
|
|
25802
|
-
/** 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`. */
|
|
25803
|
-
delete(request?: {
|
|
25804
|
-
/** V1 error format. */
|
|
25805
|
-
'$.xgafv'?: string;
|
|
25806
|
-
/** OAuth access token. */
|
|
25807
|
-
access_token?: string;
|
|
25808
|
-
/** Data format for response. */
|
|
25809
|
-
alt?: string;
|
|
25810
|
-
/** JSONP */
|
|
25811
|
-
callback?: string;
|
|
25812
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25813
|
-
fields?: string;
|
|
25814
|
-
/** 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. */
|
|
25815
|
-
key?: string;
|
|
25816
|
-
/** The name of the operation resource to be deleted. */
|
|
25817
|
-
name: string;
|
|
25818
|
-
/** OAuth 2.0 token for the current user. */
|
|
25819
|
-
oauth_token?: string;
|
|
25820
|
-
/** Returns response with indentations and line breaks. */
|
|
25821
|
-
prettyPrint?: boolean;
|
|
25822
|
-
/** 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. */
|
|
25823
|
-
quotaUser?: string;
|
|
25824
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25825
|
-
upload_protocol?: string;
|
|
25826
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25827
|
-
uploadType?: string;
|
|
25828
|
-
}): Request<{}>;
|
|
25829
|
-
/** 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. */
|
|
25830
|
-
get(request?: {
|
|
25831
|
-
/** V1 error format. */
|
|
25832
|
-
'$.xgafv'?: string;
|
|
25833
|
-
/** OAuth access token. */
|
|
25834
|
-
access_token?: string;
|
|
25835
|
-
/** Data format for response. */
|
|
25836
|
-
alt?: string;
|
|
25837
|
-
/** JSONP */
|
|
25838
|
-
callback?: string;
|
|
25839
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25840
|
-
fields?: string;
|
|
25841
|
-
/** 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. */
|
|
25842
|
-
key?: string;
|
|
25843
|
-
/** The name of the operation resource. */
|
|
25844
|
-
name: string;
|
|
25845
|
-
/** OAuth 2.0 token for the current user. */
|
|
25846
|
-
oauth_token?: string;
|
|
25847
|
-
/** Returns response with indentations and line breaks. */
|
|
25848
|
-
prettyPrint?: boolean;
|
|
25849
|
-
/** 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. */
|
|
25850
|
-
quotaUser?: string;
|
|
25851
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25852
|
-
upload_protocol?: string;
|
|
25853
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25854
|
-
uploadType?: string;
|
|
25855
|
-
}): Request<GoogleLongrunningOperation>;
|
|
25856
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
25857
|
-
list(request?: {
|
|
25858
|
-
/** V1 error format. */
|
|
25859
|
-
'$.xgafv'?: string;
|
|
25860
|
-
/** OAuth access token. */
|
|
25861
|
-
access_token?: string;
|
|
25862
|
-
/** Data format for response. */
|
|
25863
|
-
alt?: string;
|
|
25864
|
-
/** JSONP */
|
|
25865
|
-
callback?: string;
|
|
25866
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25867
|
-
fields?: string;
|
|
25868
|
-
/** The standard list filter. */
|
|
25869
|
-
filter?: string;
|
|
25870
|
-
/** 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. */
|
|
25871
|
-
key?: string;
|
|
25872
|
-
/** The name of the operation's parent resource. */
|
|
25873
|
-
name: string;
|
|
25874
|
-
/** OAuth 2.0 token for the current user. */
|
|
25875
|
-
oauth_token?: string;
|
|
25876
|
-
/** The standard list page size. */
|
|
25877
|
-
pageSize?: number;
|
|
25878
|
-
/** The standard list page token. */
|
|
25879
|
-
pageToken?: string;
|
|
25880
|
-
/** Returns response with indentations and line breaks. */
|
|
25881
|
-
prettyPrint?: boolean;
|
|
25882
|
-
/** 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. */
|
|
25883
|
-
quotaUser?: string;
|
|
25884
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25885
|
-
upload_protocol?: string;
|
|
25886
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25887
|
-
uploadType?: string;
|
|
25888
|
-
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
25889
|
-
/** 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. */
|
|
25890
|
-
wait(request?: {
|
|
25891
|
-
/** V1 error format. */
|
|
25892
|
-
'$.xgafv'?: string;
|
|
25893
|
-
/** OAuth access token. */
|
|
25894
|
-
access_token?: string;
|
|
25895
|
-
/** Data format for response. */
|
|
25896
|
-
alt?: string;
|
|
25897
|
-
/** JSONP */
|
|
25898
|
-
callback?: string;
|
|
25899
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25900
|
-
fields?: string;
|
|
25901
|
-
/** 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. */
|
|
25902
|
-
key?: string;
|
|
25903
|
-
/** The name of the operation resource to wait on. */
|
|
25904
|
-
name: string;
|
|
25509
|
+
/** The name of the operation resource to wait on. */
|
|
25510
|
+
name: string;
|
|
25905
25511
|
/** OAuth 2.0 token for the current user. */
|
|
25906
25512
|
oauth_token?: string;
|
|
25907
25513
|
/** Returns response with indentations and line breaks. */
|
|
@@ -30389,8 +29995,48 @@ declare namespace gapi.client {
|
|
|
30389
29995
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30390
29996
|
uploadType?: string;
|
|
30391
29997
|
}): Request<GoogleCloudLocationListLocationsResponse>;
|
|
30392
|
-
|
|
30393
|
-
|
|
29998
|
+
batchPredictionJobs: BatchPredictionJobsResource;
|
|
29999
|
+
customJobs: CustomJobsResource;
|
|
30000
|
+
dataLabelingJobs: DataLabelingJobsResource;
|
|
30001
|
+
datasets: DatasetsResource;
|
|
30002
|
+
deploymentResourcePools: DeploymentResourcePoolsResource;
|
|
30003
|
+
edgeDevices: EdgeDevicesResource;
|
|
30004
|
+
endpoints: EndpointsResource;
|
|
30005
|
+
evaluationTasks: EvaluationTasksResource;
|
|
30006
|
+
exampleStores: ExampleStoresResource;
|
|
30007
|
+
extensionControllers: ExtensionControllersResource;
|
|
30008
|
+
extensions: ExtensionsResource;
|
|
30009
|
+
featureGroups: FeatureGroupsResource;
|
|
30010
|
+
featureOnlineStores: FeatureOnlineStoresResource;
|
|
30011
|
+
featurestores: FeaturestoresResource;
|
|
30012
|
+
hyperparameterTuningJobs: HyperparameterTuningJobsResource;
|
|
30013
|
+
indexEndpoints: IndexEndpointsResource;
|
|
30014
|
+
indexes: IndexesResource;
|
|
30015
|
+
metadataStores: MetadataStoresResource;
|
|
30016
|
+
migratableResources: MigratableResourcesResource;
|
|
30017
|
+
modelDeploymentMonitoringJobs: ModelDeploymentMonitoringJobsResource;
|
|
30018
|
+
modelMonitors: ModelMonitorsResource;
|
|
30019
|
+
models: ModelsResource;
|
|
30020
|
+
nasJobs: NasJobsResource;
|
|
30021
|
+
notebookExecutionJobs: NotebookExecutionJobsResource;
|
|
30022
|
+
notebookRuntimes: NotebookRuntimesResource;
|
|
30023
|
+
notebookRuntimeTemplates: NotebookRuntimeTemplatesResource;
|
|
30024
|
+
operations: OperationsResource;
|
|
30025
|
+
persistentResources: PersistentResourcesResource;
|
|
30026
|
+
pipelineJobs: PipelineJobsResource;
|
|
30027
|
+
publishers: PublishersResource;
|
|
30028
|
+
ragCorpora: RagCorporaResource;
|
|
30029
|
+
reasoningEngines: ReasoningEnginesResource;
|
|
30030
|
+
schedules: SchedulesResource;
|
|
30031
|
+
solvers: SolversResource;
|
|
30032
|
+
specialistPools: SpecialistPoolsResource;
|
|
30033
|
+
studies: StudiesResource;
|
|
30034
|
+
tensorboards: TensorboardsResource;
|
|
30035
|
+
trainingPipelines: TrainingPipelinesResource;
|
|
30036
|
+
}
|
|
30037
|
+
interface ProjectsResource {
|
|
30038
|
+
/** Gets a GenAI cache config. */
|
|
30039
|
+
getCacheConfig(request?: {
|
|
30394
30040
|
/** V1 error format. */
|
|
30395
30041
|
'$.xgafv'?: string;
|
|
30396
30042
|
/** OAuth access token. */
|
|
@@ -30403,10 +30049,37 @@ declare namespace gapi.client {
|
|
|
30403
30049
|
fields?: string;
|
|
30404
30050
|
/** 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. */
|
|
30405
30051
|
key?: string;
|
|
30052
|
+
/** Required. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
|
|
30053
|
+
name: string;
|
|
30054
|
+
/** OAuth 2.0 token for the current user. */
|
|
30055
|
+
oauth_token?: string;
|
|
30056
|
+
/** Returns response with indentations and line breaks. */
|
|
30057
|
+
prettyPrint?: boolean;
|
|
30058
|
+
/** 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. */
|
|
30059
|
+
quotaUser?: string;
|
|
30060
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30061
|
+
upload_protocol?: string;
|
|
30062
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30063
|
+
uploadType?: string;
|
|
30064
|
+
}): Request<GoogleCloudAiplatformV1beta1CacheConfig>;
|
|
30065
|
+
/** Updates a cache config. */
|
|
30066
|
+
updateCacheConfig(request: {
|
|
30067
|
+
/** V1 error format. */
|
|
30068
|
+
'$.xgafv'?: string;
|
|
30069
|
+
/** OAuth access token. */
|
|
30070
|
+
access_token?: string;
|
|
30071
|
+
/** Data format for response. */
|
|
30072
|
+
alt?: string;
|
|
30073
|
+
/** JSONP */
|
|
30074
|
+
callback?: string;
|
|
30075
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30076
|
+
fields?: string;
|
|
30077
|
+
/** 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. */
|
|
30078
|
+
key?: string;
|
|
30079
|
+
/** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
|
|
30080
|
+
name: string;
|
|
30406
30081
|
/** OAuth 2.0 token for the current user. */
|
|
30407
30082
|
oauth_token?: string;
|
|
30408
|
-
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
30409
|
-
parent: string;
|
|
30410
30083
|
/** Returns response with indentations and line breaks. */
|
|
30411
30084
|
prettyPrint?: boolean;
|
|
30412
30085
|
/** 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. */
|
|
@@ -30416,9 +30089,9 @@ declare namespace gapi.client {
|
|
|
30416
30089
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30417
30090
|
uploadType?: string;
|
|
30418
30091
|
/** Request body */
|
|
30419
|
-
resource:
|
|
30420
|
-
}): Request<
|
|
30421
|
-
|
|
30092
|
+
resource: GoogleCloudAiplatformV1beta1CacheConfig;
|
|
30093
|
+
}): Request<GoogleLongrunningOperation>;
|
|
30094
|
+
updateCacheConfig(
|
|
30422
30095
|
request: {
|
|
30423
30096
|
/** V1 error format. */
|
|
30424
30097
|
'$.xgafv'?: string;
|
|
@@ -30432,10 +30105,10 @@ declare namespace gapi.client {
|
|
|
30432
30105
|
fields?: string;
|
|
30433
30106
|
/** 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. */
|
|
30434
30107
|
key?: string;
|
|
30108
|
+
/** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
|
|
30109
|
+
name: string;
|
|
30435
30110
|
/** OAuth 2.0 token for the current user. */
|
|
30436
30111
|
oauth_token?: string;
|
|
30437
|
-
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
30438
|
-
parent: string;
|
|
30439
30112
|
/** Returns response with indentations and line breaks. */
|
|
30440
30113
|
prettyPrint?: boolean;
|
|
30441
30114
|
/** 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. */
|
|
@@ -30445,48 +30118,8 @@ declare namespace gapi.client {
|
|
|
30445
30118
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30446
30119
|
uploadType?: string;
|
|
30447
30120
|
},
|
|
30448
|
-
body:
|
|
30449
|
-
): Request<
|
|
30450
|
-
batchPredictionJobs: BatchPredictionJobsResource;
|
|
30451
|
-
customJobs: CustomJobsResource;
|
|
30452
|
-
dataLabelingJobs: DataLabelingJobsResource;
|
|
30453
|
-
datasets: DatasetsResource;
|
|
30454
|
-
deploymentResourcePools: DeploymentResourcePoolsResource;
|
|
30455
|
-
edgeDevices: EdgeDevicesResource;
|
|
30456
|
-
endpoints: EndpointsResource;
|
|
30457
|
-
evaluationTasks: EvaluationTasksResource;
|
|
30458
|
-
exampleStores: ExampleStoresResource;
|
|
30459
|
-
extensionControllers: ExtensionControllersResource;
|
|
30460
|
-
extensions: ExtensionsResource;
|
|
30461
|
-
featureGroups: FeatureGroupsResource;
|
|
30462
|
-
featureOnlineStores: FeatureOnlineStoresResource;
|
|
30463
|
-
featurestores: FeaturestoresResource;
|
|
30464
|
-
hyperparameterTuningJobs: HyperparameterTuningJobsResource;
|
|
30465
|
-
indexEndpoints: IndexEndpointsResource;
|
|
30466
|
-
indexes: IndexesResource;
|
|
30467
|
-
metadataStores: MetadataStoresResource;
|
|
30468
|
-
migratableResources: MigratableResourcesResource;
|
|
30469
|
-
modelDeploymentMonitoringJobs: ModelDeploymentMonitoringJobsResource;
|
|
30470
|
-
modelMonitors: ModelMonitorsResource;
|
|
30471
|
-
models: ModelsResource;
|
|
30472
|
-
nasJobs: NasJobsResource;
|
|
30473
|
-
notebookExecutionJobs: NotebookExecutionJobsResource;
|
|
30474
|
-
notebookRuntimes: NotebookRuntimesResource;
|
|
30475
|
-
notebookRuntimeTemplates: NotebookRuntimeTemplatesResource;
|
|
30476
|
-
operations: OperationsResource;
|
|
30477
|
-
persistentResources: PersistentResourcesResource;
|
|
30478
|
-
pipelineJobs: PipelineJobsResource;
|
|
30479
|
-
publishers: PublishersResource;
|
|
30480
|
-
ragCorpora: RagCorporaResource;
|
|
30481
|
-
reasoningEngines: ReasoningEnginesResource;
|
|
30482
|
-
schedules: SchedulesResource;
|
|
30483
|
-
solvers: SolversResource;
|
|
30484
|
-
specialistPools: SpecialistPoolsResource;
|
|
30485
|
-
studies: StudiesResource;
|
|
30486
|
-
tensorboards: TensorboardsResource;
|
|
30487
|
-
trainingPipelines: TrainingPipelinesResource;
|
|
30488
|
-
}
|
|
30489
|
-
interface ProjectsResource {
|
|
30121
|
+
body: GoogleCloudAiplatformV1beta1CacheConfig
|
|
30122
|
+
): Request<GoogleLongrunningOperation>;
|
|
30490
30123
|
locations: LocationsResource;
|
|
30491
30124
|
}
|
|
30492
30125
|
interface ModelsResource {
|
|
@@ -30565,8 +30198,6 @@ declare namespace gapi.client {
|
|
|
30565
30198
|
models: ModelsResource;
|
|
30566
30199
|
}
|
|
30567
30200
|
|
|
30568
|
-
const media: MediaResource;
|
|
30569
|
-
|
|
30570
30201
|
const projects: ProjectsResource;
|
|
30571
30202
|
|
|
30572
30203
|
const publishers: PublishersResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -73,7 +73,12 @@ After that you can use Vertex AI API resources: <!-- TODO: make this work for mu
|
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
75
|
/*
|
|
76
|
-
|
|
76
|
+
Gets a GenAI cache config.
|
|
77
77
|
*/
|
|
78
|
-
await gapi.client.aiplatform.
|
|
78
|
+
await gapi.client.aiplatform.projects.getCacheConfig({name: 'name'});
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
Updates a cache config.
|
|
82
|
+
*/
|
|
83
|
+
await gapi.client.aiplatform.projects.updateCacheConfig({name: 'name'});
|
|
79
84
|
```
|