@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20241112 → 0.0.20241119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +1365 -120
  2. package/package.json +1 -1
  3. package/readme.md +5 -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=v1
12
- // Revision: 20241112
12
+ // Revision: 20241119
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -207,6 +207,14 @@ declare namespace gapi.client {
207
207
  /** Output only. Timestamp when AnnotationSpec was last updated. */
208
208
  updateTime?: string;
209
209
  }
210
+ interface GoogleCloudAiplatformV1ApiAuth {
211
+ /** The API secret. */
212
+ apiKeyConfig?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
213
+ }
214
+ interface GoogleCloudAiplatformV1ApiAuthApiKeyConfig {
215
+ /** Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} */
216
+ apiKeySecretVersion?: string;
217
+ }
210
218
  interface GoogleCloudAiplatformV1Artifact {
211
219
  /** Output only. Timestamp when this Artifact was created. */
212
220
  createTime?: string;
@@ -263,6 +271,26 @@ declare namespace gapi.client {
263
271
  /** Output only. Name of the explain output. Specified as the key in ExplanationMetadata.outputs. */
264
272
  outputName?: string;
265
273
  }
274
+ interface GoogleCloudAiplatformV1AugmentPromptRequest {
275
+ /** Optional. Input content to augment, only text format is supported for now. */
276
+ contents?: GoogleCloudAiplatformV1Content[];
277
+ /** Optional. Metadata of the backend deployed model. */
278
+ model?: GoogleCloudAiplatformV1AugmentPromptRequestModel;
279
+ /** Optional. Retrieves contexts from the Vertex RagStore. */
280
+ vertexRagStore?: GoogleCloudAiplatformV1VertexRagStore;
281
+ }
282
+ interface GoogleCloudAiplatformV1AugmentPromptRequestModel {
283
+ /** Optional. The model that the user will send the augmented prompt for content generation. */
284
+ model?: string;
285
+ /** Optional. The model version of the backend deployed model. */
286
+ modelVersion?: string;
287
+ }
288
+ interface GoogleCloudAiplatformV1AugmentPromptResponse {
289
+ /** Augmented prompt, only text format is supported for now. */
290
+ augmentedPrompt?: GoogleCloudAiplatformV1Content[];
291
+ /** Retrieved facts from RAG data sources. */
292
+ facts?: GoogleCloudAiplatformV1Fact[];
293
+ }
266
294
  interface GoogleCloudAiplatformV1AutomaticResources {
267
295
  /** Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
268
296
  maxReplicaCount?: number;
@@ -544,6 +572,44 @@ declare namespace gapi.client {
544
572
  /** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
545
573
  name?: string;
546
574
  }
575
+ interface GoogleCloudAiplatformV1CachedContent {
576
+ /** Optional. Input only. Immutable. The content to cache */
577
+ contents?: GoogleCloudAiplatformV1Content[];
578
+ /** Output only. Creatation time of the cache entry. */
579
+ createTime?: string;
580
+ /** Optional. Immutable. The user-generated meaningful display name of the cached content. */
581
+ displayName?: string;
582
+ /** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
583
+ expireTime?: string;
584
+ /** Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} */
585
+ model?: string;
586
+ /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
587
+ name?: string;
588
+ /** Optional. Input only. Immutable. Developer set system instruction. Currently, text only */
589
+ systemInstruction?: GoogleCloudAiplatformV1Content;
590
+ /** Optional. Input only. Immutable. Tool config. This config is shared for all tools */
591
+ toolConfig?: GoogleCloudAiplatformV1ToolConfig;
592
+ /** Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response */
593
+ tools?: GoogleCloudAiplatformV1Tool[];
594
+ /** Input only. The TTL for this resource. The expiration time is computed: now + TTL. */
595
+ ttl?: string;
596
+ /** Output only. When the cache entry was last updated in UTC time. */
597
+ updateTime?: string;
598
+ /** Output only. Metadata on the usage of the cached content. */
599
+ usageMetadata?: GoogleCloudAiplatformV1CachedContentUsageMetadata;
600
+ }
601
+ interface GoogleCloudAiplatformV1CachedContentUsageMetadata {
602
+ /** Duration of audio in seconds. */
603
+ audioDurationSeconds?: number;
604
+ /** Number of images. */
605
+ imageCount?: number;
606
+ /** Number of text characters. */
607
+ textCount?: number;
608
+ /** Total number of tokens that the cached content consumes. */
609
+ totalTokenCount?: number;
610
+ /** Duration of video in seconds. */
611
+ videoDurationSeconds?: number;
612
+ }
547
613
  interface GoogleCloudAiplatformV1CancelBatchPredictionJobRequest {}
548
614
  interface GoogleCloudAiplatformV1CancelCustomJobRequest {}
549
615
  interface GoogleCloudAiplatformV1CancelDataLabelingJobRequest {}
@@ -603,6 +669,16 @@ declare namespace gapi.client {
603
669
  /** Output only. List of citations. */
604
670
  citations?: GoogleCloudAiplatformV1Citation[];
605
671
  }
672
+ interface GoogleCloudAiplatformV1Claim {
673
+ /** Index in the input text where the claim ends (exclusive). */
674
+ endIndex?: number;
675
+ /** Indexes of the facts supporting this claim. */
676
+ factIndexes?: number[];
677
+ /** Confidence score of this corroboration. */
678
+ score?: number;
679
+ /** Index in the input text where the claim starts (inclusive). */
680
+ startIndex?: number;
681
+ }
606
682
  interface GoogleCloudAiplatformV1ClientConnectionConfig {
607
683
  /** Customizable online prediction request timeout. */
608
684
  inferenceTimeout?: string;
@@ -749,6 +825,30 @@ declare namespace gapi.client {
749
825
  /** Output only. The version ID of the model that is copied. */
750
826
  modelVersionId?: string;
751
827
  }
828
+ interface GoogleCloudAiplatformV1CorpusStatus {
829
+ /** Output only. Only when the `state` field is ERROR. */
830
+ errorStatus?: string;
831
+ /** Output only. RagCorpus life state. */
832
+ state?: string;
833
+ }
834
+ interface GoogleCloudAiplatformV1CorroborateContentRequest {
835
+ /** Optional. Input content to corroborate, only text format is supported for now. */
836
+ content?: GoogleCloudAiplatformV1Content;
837
+ /** Optional. Facts used to generate the text can also be used to corroborate the text. */
838
+ facts?: GoogleCloudAiplatformV1Fact[];
839
+ /** Optional. Parameters that can be set to override default settings per request. */
840
+ parameters?: GoogleCloudAiplatformV1CorroborateContentRequestParameters;
841
+ }
842
+ interface GoogleCloudAiplatformV1CorroborateContentRequestParameters {
843
+ /** Optional. Only return claims with citation score larger than the threshold. */
844
+ citationThreshold?: number;
845
+ }
846
+ interface GoogleCloudAiplatformV1CorroborateContentResponse {
847
+ /** Claims that are extracted from the input content and facts that support the claims. */
848
+ claims?: GoogleCloudAiplatformV1Claim[];
849
+ /** Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence. */
850
+ corroborationScore?: number;
851
+ }
752
852
  interface GoogleCloudAiplatformV1CountTokensRequest {
753
853
  /** Optional. Input content. */
754
854
  contents?: GoogleCloudAiplatformV1Content[];
@@ -1094,6 +1194,8 @@ declare namespace gapi.client {
1094
1194
  maxReplicaCount?: number;
1095
1195
  /** Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. */
1096
1196
  minReplicaCount?: number;
1197
+ /** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial model deployment/mutation is desired. If set, the model deploy/mutate operation will succeed once available_replica_count reaches required_replica_count, and the rest of the replicas will be retried. If not set, the default required_replica_count will be min_replica_count. */
1198
+ requiredReplicaCount?: number;
1097
1199
  /** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
1098
1200
  spot?: boolean;
1099
1201
  }
@@ -1224,6 +1326,8 @@ declare namespace gapi.client {
1224
1326
  serviceAccount?: string;
1225
1327
  /** The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
1226
1328
  sharedResources?: string;
1329
+ /** Output only. Runtime status of the deployed model. */
1330
+ status?: GoogleCloudAiplatformV1DeployedModelStatus;
1227
1331
  /** System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only. */
1228
1332
  systemLabels?: {[P in string]: string};
1229
1333
  }
@@ -1233,6 +1337,14 @@ declare namespace gapi.client {
1233
1337
  /** Immutable. A resource name of an Endpoint. */
1234
1338
  endpoint?: string;
1235
1339
  }
1340
+ interface GoogleCloudAiplatformV1DeployedModelStatus {
1341
+ /** Output only. The number of available replicas of the deployed model. */
1342
+ availableReplicaCount?: number;
1343
+ /** Output only. The time at which the status was last updated. */
1344
+ lastUpdateTime?: string;
1345
+ /** Output only. The latest deployed model's status message (if any). */
1346
+ message?: string;
1347
+ }
1236
1348
  interface GoogleCloudAiplatformV1DeployIndexOperationMetadata {
1237
1349
  /** The unique index id specified by user */
1238
1350
  deployedIndexId?: string;
@@ -1307,6 +1419,7 @@ declare namespace gapi.client {
1307
1419
  /** The prediction output. */
1308
1420
  output?: string;
1309
1421
  }
1422
+ interface GoogleCloudAiplatformV1DirectUploadSource {}
1310
1423
  interface GoogleCloudAiplatformV1DiskSpec {
1311
1424
  /** Size in GB of the boot disk (default is 100GB). */
1312
1425
  bootDiskSizeGb?: number;
@@ -1890,6 +2003,20 @@ declare namespace gapi.client {
1890
2003
  /** The returned time series data points. */
1891
2004
  timeSeriesDataPoints?: GoogleCloudAiplatformV1TimeSeriesDataPoint[];
1892
2005
  }
2006
+ interface GoogleCloudAiplatformV1Fact {
2007
+ /** Query that is used to retrieve this fact. */
2008
+ query?: string;
2009
+ /** 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. */
2010
+ score?: number;
2011
+ /** If present, the summary/snippet of the fact. */
2012
+ summary?: string;
2013
+ /** If present, it refers to the title of this fact. */
2014
+ title?: string;
2015
+ /** If present, this uri links to the source of the fact. */
2016
+ uri?: string;
2017
+ /** If present, the distance between the query vector and this fact vector. */
2018
+ vectorDistance?: number;
2019
+ }
1893
2020
  interface GoogleCloudAiplatformV1FasterDeploymentConfig {
1894
2021
  /** If true, enable fast tryout feature for this deployed model. */
1895
2022
  fastTryoutEnabled?: boolean;
@@ -2290,6 +2417,12 @@ declare namespace gapi.client {
2290
2417
  /** Required. The IANA standard MIME type of the source data. */
2291
2418
  mimeType?: string;
2292
2419
  }
2420
+ interface GoogleCloudAiplatformV1FileStatus {
2421
+ /** Output only. Only when the `state` field is ERROR. */
2422
+ errorStatus?: string;
2423
+ /** Output only. RagFile state. */
2424
+ state?: string;
2425
+ }
2293
2426
  interface GoogleCloudAiplatformV1FilterSplit {
2294
2427
  /** Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order. */
2295
2428
  testFilter?: string;
@@ -2433,6 +2566,8 @@ declare namespace gapi.client {
2433
2566
  uris?: string[];
2434
2567
  }
2435
2568
  interface GoogleCloudAiplatformV1GenerateContentRequest {
2569
+ /** Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}` */
2570
+ cachedContent?: string;
2436
2571
  /** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
2437
2572
  contents?: GoogleCloudAiplatformV1Content[];
2438
2573
  /** Optional. Generation config. */
@@ -2467,6 +2602,8 @@ declare namespace gapi.client {
2467
2602
  safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
2468
2603
  }
2469
2604
  interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
2605
+ /** Output only. Number of tokens in the cached part in the input (the cached content). */
2606
+ cachedContentTokenCount?: number;
2470
2607
  /** Number of tokens in the response(s). */
2471
2608
  candidatesTokenCount?: number;
2472
2609
  /** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */
@@ -2532,6 +2669,16 @@ declare namespace gapi.client {
2532
2669
  /** Required. The public base model URI. */
2533
2670
  baseModelUri?: string;
2534
2671
  }
2672
+ interface GoogleCloudAiplatformV1GoogleDriveSource {
2673
+ /** Required. Google Drive resource IDs. */
2674
+ resourceIds?: GoogleCloudAiplatformV1GoogleDriveSourceResourceId[];
2675
+ }
2676
+ interface GoogleCloudAiplatformV1GoogleDriveSourceResourceId {
2677
+ /** Required. The ID of the Google Drive resource. */
2678
+ resourceId?: string;
2679
+ /** Required. The type of the Google Drive resource. */
2680
+ resourceType?: string;
2681
+ }
2535
2682
  interface GoogleCloudAiplatformV1GoogleSearchRetrieval {
2536
2683
  /** Specifies the dynamic retrieval configuration for the given source. */
2537
2684
  dynamicRetrievalConfig?: GoogleCloudAiplatformV1DynamicRetrievalConfig;
@@ -2716,6 +2863,28 @@ declare namespace gapi.client {
2716
2863
  /** Required. Model evaluation resource to be imported. */
2717
2864
  modelEvaluation?: GoogleCloudAiplatformV1ModelEvaluation;
2718
2865
  }
2866
+ interface GoogleCloudAiplatformV1ImportRagFilesConfig {
2867
+ /** 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` */
2868
+ gcsSource?: GoogleCloudAiplatformV1GcsSource;
2869
+ /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
2870
+ googleDriveSource?: GoogleCloudAiplatformV1GoogleDriveSource;
2871
+ /** Jira queries with their corresponding authentication. */
2872
+ jiraSource?: GoogleCloudAiplatformV1JiraSource;
2873
+ /** Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used. */
2874
+ maxEmbeddingRequestsPerMin?: number;
2875
+ /** The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. Deprecated. Prefer to use `import_result_bq_sink`. */
2876
+ partialFailureBigquerySink?: GoogleCloudAiplatformV1BigQueryDestination;
2877
+ /** The Cloud Storage path to write partial failures to. Deprecated. Prefer to use `import_result_gcs_sink`. */
2878
+ partialFailureGcsSink?: GoogleCloudAiplatformV1GcsDestination;
2879
+ /** Specifies the transformation config for RagFiles. */
2880
+ ragFileTransformationConfig?: GoogleCloudAiplatformV1RagFileTransformationConfig;
2881
+ /** Slack channels with their corresponding access tokens. */
2882
+ slackSource?: GoogleCloudAiplatformV1SlackSource;
2883
+ }
2884
+ interface GoogleCloudAiplatformV1ImportRagFilesRequest {
2885
+ /** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
2886
+ importRagFilesConfig?: GoogleCloudAiplatformV1ImportRagFilesConfig;
2887
+ }
2719
2888
  interface GoogleCloudAiplatformV1Index {
2720
2889
  /** Output only. Timestamp when this Index was created. */
2721
2890
  createTime?: string;
@@ -2880,6 +3049,22 @@ declare namespace gapi.client {
2880
3049
  /** Required. The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively. */
2881
3050
  stepCount?: number;
2882
3051
  }
3052
+ interface GoogleCloudAiplatformV1JiraSource {
3053
+ /** Required. The Jira queries. */
3054
+ jiraQueries?: GoogleCloudAiplatformV1JiraSourceJiraQueries[];
3055
+ }
3056
+ interface GoogleCloudAiplatformV1JiraSourceJiraQueries {
3057
+ /** Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Jira API key. See [Manage API tokens for your Atlassian account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/). */
3058
+ apiKeyConfig?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
3059
+ /** A list of custom Jira queries to import. For information about JQL (Jira Query Language), see https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/ */
3060
+ customQueries?: string[];
3061
+ /** Required. The Jira email address. */
3062
+ email?: string;
3063
+ /** A list of Jira projects to import in their entirety. */
3064
+ projects?: string[];
3065
+ /** Required. The Jira server URI. */
3066
+ serverUri?: string;
3067
+ }
2883
3068
  interface GoogleCloudAiplatformV1LargeModelReference {
2884
3069
  /** Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc. */
2885
3070
  name?: string;
@@ -2910,6 +3095,12 @@ declare namespace gapi.client {
2910
3095
  /** A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page. */
2911
3096
  nextPageToken?: string;
2912
3097
  }
3098
+ interface GoogleCloudAiplatformV1ListCachedContentsResponse {
3099
+ /** List of cached contents. */
3100
+ cachedContents?: GoogleCloudAiplatformV1CachedContent[];
3101
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3102
+ nextPageToken?: string;
3103
+ }
2913
3104
  interface GoogleCloudAiplatformV1ListContextsResponse {
2914
3105
  /** The Contexts retrieved from the MetadataStore. */
2915
3106
  contexts?: GoogleCloudAiplatformV1Context[];
@@ -3112,6 +3303,18 @@ declare namespace gapi.client {
3112
3303
  /** List of PipelineJobs in the requested page. */
3113
3304
  pipelineJobs?: GoogleCloudAiplatformV1PipelineJob[];
3114
3305
  }
3306
+ interface GoogleCloudAiplatformV1ListRagCorporaResponse {
3307
+ /** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
3308
+ nextPageToken?: string;
3309
+ /** List of RagCorpora in the requested page. */
3310
+ ragCorpora?: GoogleCloudAiplatformV1RagCorpus[];
3311
+ }
3312
+ interface GoogleCloudAiplatformV1ListRagFilesResponse {
3313
+ /** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
3314
+ nextPageToken?: string;
3315
+ /** List of RagFiles in the requested page. */
3316
+ ragFiles?: GoogleCloudAiplatformV1RagFile[];
3317
+ }
3115
3318
  interface GoogleCloudAiplatformV1ListReasoningEnginesResponse {
3116
3319
  /** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
3117
3320
  nextPageToken?: string;
@@ -4795,6 +4998,16 @@ declare namespace gapi.client {
4795
4998
  /** The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. */
4796
4999
  totalEndpointCount?: number;
4797
5000
  }
5001
+ interface GoogleCloudAiplatformV1QueryReasoningEngineRequest {
5002
+ /** Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified. */
5003
+ classMethod?: string;
5004
+ /** Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc. */
5005
+ input?: {[P in string]: any};
5006
+ }
5007
+ interface GoogleCloudAiplatformV1QueryReasoningEngineResponse {
5008
+ /** Response provided by users in JSON object format. */
5009
+ output?: any;
5010
+ }
4798
5011
  interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput {
4799
5012
  /** Required. Question answering correctness instance. */
4800
5013
  instance?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance;
@@ -4915,6 +5128,126 @@ declare namespace gapi.client {
4915
5128
  /** Optional. Which version to use for evaluation. */
4916
5129
  version?: number;
4917
5130
  }
5131
+ interface GoogleCloudAiplatformV1RagContexts {
5132
+ /** All its contexts. */
5133
+ contexts?: GoogleCloudAiplatformV1RagContextsContext[];
5134
+ }
5135
+ interface GoogleCloudAiplatformV1RagContextsContext {
5136
+ /** 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. */
5137
+ score?: number;
5138
+ /** The file display name. */
5139
+ sourceDisplayName?: string;
5140
+ /** 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. */
5141
+ sourceUri?: string;
5142
+ /** The text chunk. */
5143
+ text?: string;
5144
+ }
5145
+ interface GoogleCloudAiplatformV1RagCorpus {
5146
+ /** Output only. RagCorpus state. */
5147
+ corpusStatus?: GoogleCloudAiplatformV1CorpusStatus;
5148
+ /** Output only. Timestamp when this RagCorpus was created. */
5149
+ createTime?: string;
5150
+ /** Optional. The description of the RagCorpus. */
5151
+ description?: string;
5152
+ /** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5153
+ displayName?: string;
5154
+ /** Output only. The resource name of the RagCorpus. */
5155
+ name?: string;
5156
+ /** Output only. Timestamp when this RagCorpus was last updated. */
5157
+ updateTime?: string;
5158
+ /** Optional. Immutable. The config for the Vector DBs. */
5159
+ vectorDbConfig?: GoogleCloudAiplatformV1RagVectorDbConfig;
5160
+ }
5161
+ interface GoogleCloudAiplatformV1RagEmbeddingModelConfig {
5162
+ /** The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. This is used for dense vector search. */
5163
+ vertexPredictionEndpoint?: GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint;
5164
+ }
5165
+ interface GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint {
5166
+ /** Required. The endpoint resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}` */
5167
+ endpoint?: string;
5168
+ /** Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: `projects/{project}/locations/{location}/models/{model}` */
5169
+ model?: string;
5170
+ /** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
5171
+ modelVersionId?: string;
5172
+ }
5173
+ interface GoogleCloudAiplatformV1RagFile {
5174
+ /** Output only. Timestamp when this RagFile was created. */
5175
+ createTime?: string;
5176
+ /** Optional. The description of the RagFile. */
5177
+ description?: string;
5178
+ /** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
5179
+ directUploadSource?: any;
5180
+ /** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5181
+ displayName?: string;
5182
+ /** Output only. State of the RagFile. */
5183
+ fileStatus?: GoogleCloudAiplatformV1FileStatus;
5184
+ /** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now. */
5185
+ gcsSource?: GoogleCloudAiplatformV1GcsSource;
5186
+ /** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
5187
+ googleDriveSource?: GoogleCloudAiplatformV1GoogleDriveSource;
5188
+ /** The RagFile is imported from a Jira query. */
5189
+ jiraSource?: GoogleCloudAiplatformV1JiraSource;
5190
+ /** Output only. The resource name of the RagFile. */
5191
+ name?: string;
5192
+ /** The RagFile is imported from a Slack channel. */
5193
+ slackSource?: GoogleCloudAiplatformV1SlackSource;
5194
+ /** Output only. Timestamp when this RagFile was last updated. */
5195
+ updateTime?: string;
5196
+ }
5197
+ interface GoogleCloudAiplatformV1RagFileChunkingConfig {
5198
+ /** Specifies the fixed length chunking config. */
5199
+ fixedLengthChunking?: GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking;
5200
+ }
5201
+ interface GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking {
5202
+ /** The overlap between chunks. */
5203
+ chunkOverlap?: number;
5204
+ /** The size of the chunks. */
5205
+ chunkSize?: number;
5206
+ }
5207
+ interface GoogleCloudAiplatformV1RagFileTransformationConfig {
5208
+ /** Specifies the chunking config for RagFiles. */
5209
+ ragFileChunkingConfig?: GoogleCloudAiplatformV1RagFileChunkingConfig;
5210
+ }
5211
+ interface GoogleCloudAiplatformV1RagQuery {
5212
+ /** Optional. The retrieval config for the query. */
5213
+ ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
5214
+ /** Optional. The query in text format to get relevant contexts. */
5215
+ text?: string;
5216
+ }
5217
+ interface GoogleCloudAiplatformV1RagRetrievalConfig {
5218
+ /** Optional. Config for filters. */
5219
+ filter?: GoogleCloudAiplatformV1RagRetrievalConfigFilter;
5220
+ /** Optional. The number of contexts to retrieve. */
5221
+ topK?: number;
5222
+ }
5223
+ interface GoogleCloudAiplatformV1RagRetrievalConfigFilter {
5224
+ /** Optional. String for metadata filtering. */
5225
+ metadataFilter?: string;
5226
+ /** Optional. Only returns contexts with vector distance smaller than the threshold. */
5227
+ vectorDistanceThreshold?: number;
5228
+ /** Optional. Only returns contexts with vector similarity larger than the threshold. */
5229
+ vectorSimilarityThreshold?: number;
5230
+ }
5231
+ interface GoogleCloudAiplatformV1RagVectorDbConfig {
5232
+ /** Authentication config for the chosen Vector DB. */
5233
+ apiAuth?: GoogleCloudAiplatformV1ApiAuth;
5234
+ /** The config for the Pinecone. */
5235
+ pinecone?: GoogleCloudAiplatformV1RagVectorDbConfigPinecone;
5236
+ /** Optional. Immutable. The embedding model config of the Vector DB. */
5237
+ ragEmbeddingModelConfig?: GoogleCloudAiplatformV1RagEmbeddingModelConfig;
5238
+ /** The config for the Vertex Vector Search. */
5239
+ vertexVectorSearch?: GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch;
5240
+ }
5241
+ interface GoogleCloudAiplatformV1RagVectorDbConfigPinecone {
5242
+ /** Pinecone index name. This value cannot be changed after it's set. */
5243
+ indexName?: string;
5244
+ }
5245
+ interface GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch {
5246
+ /** The resource name of the Index. Format: `projects/{project}/locations/{location}/indexes/{index}` */
5247
+ index?: string;
5248
+ /** The resource name of the Index Endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` */
5249
+ indexEndpoint?: string;
5250
+ }
4918
5251
  interface GoogleCloudAiplatformV1RawPredictRequest {
4919
5252
  /** 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. */
4920
5253
  httpBody?: GoogleApiHttpBody;
@@ -5133,6 +5466,28 @@ declare namespace gapi.client {
5133
5466
  /** Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search. */
5134
5467
  googleSearchDynamicRetrievalScore?: number;
5135
5468
  }
5469
+ interface GoogleCloudAiplatformV1RetrieveContextsRequest {
5470
+ /** Required. Single RAG retrieve query. */
5471
+ query?: GoogleCloudAiplatformV1RagQuery;
5472
+ /** The data source for Vertex RagStore. */
5473
+ vertexRagStore?: GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore;
5474
+ }
5475
+ interface GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore {
5476
+ /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
5477
+ ragResources?: GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource[];
5478
+ /** Optional. Only return contexts with vector distance smaller than the threshold. */
5479
+ vectorDistanceThreshold?: number;
5480
+ }
5481
+ interface GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource {
5482
+ /** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
5483
+ ragCorpus?: string;
5484
+ /** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
5485
+ ragFileIds?: string[];
5486
+ }
5487
+ interface GoogleCloudAiplatformV1RetrieveContextsResponse {
5488
+ /** The contexts of the query. */
5489
+ contexts?: GoogleCloudAiplatformV1RagContexts;
5490
+ }
5136
5491
  interface GoogleCloudAiplatformV1RougeInput {
5137
5492
  /** Required. Repeated rouge instances. */
5138
5493
  instances?: GoogleCloudAiplatformV1RougeInstance[];
@@ -6877,6 +7232,24 @@ declare namespace gapi.client {
6877
7232
  /** Defines whether the instance has [Secure Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. */
6878
7233
  enableSecureBoot?: boolean;
6879
7234
  }
7235
+ interface GoogleCloudAiplatformV1SlackSource {
7236
+ /** Required. The Slack channels. */
7237
+ channels?: GoogleCloudAiplatformV1SlackSourceSlackChannels[];
7238
+ }
7239
+ interface GoogleCloudAiplatformV1SlackSourceSlackChannels {
7240
+ /** Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token. */
7241
+ apiKeyConfig?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
7242
+ /** Required. The Slack channel IDs. */
7243
+ channels?: GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel[];
7244
+ }
7245
+ interface GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel {
7246
+ /** Required. The Slack channel ID. */
7247
+ channelId?: string;
7248
+ /** Optional. The ending timestamp for messages to import. */
7249
+ endTime?: string;
7250
+ /** Optional. The starting timestamp for messages to import. */
7251
+ startTime?: string;
7252
+ }
6880
7253
  interface GoogleCloudAiplatformV1SmoothGradConfig {
6881
7254
  /** This is similar to noise_sigma, but provides additional flexibility. A separate noise sigma can be provided for each feature, which is useful if their distributions are different. No noise is added to features that are not set. If this field is unset, noise_sigma will be used for all features. */
6882
7255
  featureNoiseSigma?: GoogleCloudAiplatformV1FeatureNoiseSigma;
@@ -7697,6 +8070,8 @@ declare namespace gapi.client {
7697
8070
  labels?: {[P in string]: string};
7698
8071
  /** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
7699
8072
  name?: string;
8073
+ /** The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account. */
8074
+ serviceAccount?: string;
7700
8075
  /** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
7701
8076
  startTime?: string;
7702
8077
  /** Output only. The detailed state of the job. */
@@ -7830,6 +8205,22 @@ declare namespace gapi.client {
7830
8205
  /** Output only. The version ID of the model that is uploaded. */
7831
8206
  modelVersionId?: string;
7832
8207
  }
8208
+ interface GoogleCloudAiplatformV1UploadRagFileConfig {
8209
+ /** Specifies the transformation config for RagFiles. */
8210
+ ragFileTransformationConfig?: GoogleCloudAiplatformV1RagFileTransformationConfig;
8211
+ }
8212
+ interface GoogleCloudAiplatformV1UploadRagFileRequest {
8213
+ /** Required. The RagFile to upload. */
8214
+ ragFile?: GoogleCloudAiplatformV1RagFile;
8215
+ /** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
8216
+ uploadRagFileConfig?: GoogleCloudAiplatformV1UploadRagFileConfig;
8217
+ }
8218
+ interface GoogleCloudAiplatformV1UploadRagFileResponse {
8219
+ /** The error that occurred while processing the RagFile. */
8220
+ error?: GoogleRpcStatus;
8221
+ /** The RagFile that had been uploaded into the RagCorpus. */
8222
+ ragFile?: GoogleCloudAiplatformV1RagFile;
8223
+ }
7833
8224
  interface GoogleCloudAiplatformV1UpsertDatapointsRequest {
7834
8225
  /** A list of datapoints to be created/updated. */
7835
8226
  datapoints?: GoogleCloudAiplatformV1IndexDatapoint[];
@@ -7858,10 +8249,10 @@ declare namespace gapi.client {
7858
8249
  datastore?: string;
7859
8250
  }
7860
8251
  interface GoogleCloudAiplatformV1VertexRagStore {
7861
- /** Optional. Deprecated. Please use rag_resources instead. */
7862
- ragCorpora?: string[];
7863
8252
  /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
7864
8253
  ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
8254
+ /** Optional. The retrieval config for the Rag query. */
8255
+ ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
7865
8256
  /** Optional. Number of top k results to return from the selected corpora. */
7866
8257
  similarityTopK?: number;
7867
8258
  /** Optional. Only return results with vector distance smaller than the threshold. */
@@ -8727,6 +9118,66 @@ declare namespace gapi.client {
8727
9118
  body: GoogleCloudAiplatformV1GenerateContentRequest
8728
9119
  ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
8729
9120
  }
9121
+ interface MediaResource {
9122
+ /** Upload a file into a RagCorpus. */
9123
+ upload(request: {
9124
+ /** V1 error format. */
9125
+ '$.xgafv'?: string;
9126
+ /** OAuth access token. */
9127
+ access_token?: string;
9128
+ /** Data format for response. */
9129
+ alt?: string;
9130
+ /** JSONP */
9131
+ callback?: string;
9132
+ /** Selector specifying which fields to include in a partial response. */
9133
+ fields?: string;
9134
+ /** 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. */
9135
+ key?: string;
9136
+ /** OAuth 2.0 token for the current user. */
9137
+ oauth_token?: string;
9138
+ /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
9139
+ parent: string;
9140
+ /** Returns response with indentations and line breaks. */
9141
+ prettyPrint?: boolean;
9142
+ /** 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. */
9143
+ quotaUser?: string;
9144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9145
+ upload_protocol?: string;
9146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9147
+ uploadType?: string;
9148
+ /** Request body */
9149
+ resource: GoogleCloudAiplatformV1UploadRagFileRequest;
9150
+ }): Request<GoogleCloudAiplatformV1UploadRagFileResponse>;
9151
+ upload(
9152
+ request: {
9153
+ /** V1 error format. */
9154
+ '$.xgafv'?: string;
9155
+ /** OAuth access token. */
9156
+ access_token?: string;
9157
+ /** Data format for response. */
9158
+ alt?: string;
9159
+ /** JSONP */
9160
+ callback?: string;
9161
+ /** Selector specifying which fields to include in a partial response. */
9162
+ fields?: string;
9163
+ /** 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. */
9164
+ key?: string;
9165
+ /** OAuth 2.0 token for the current user. */
9166
+ oauth_token?: string;
9167
+ /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
9168
+ parent: string;
9169
+ /** Returns response with indentations and line breaks. */
9170
+ prettyPrint?: boolean;
9171
+ /** 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. */
9172
+ quotaUser?: string;
9173
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9174
+ upload_protocol?: string;
9175
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9176
+ uploadType?: string;
9177
+ },
9178
+ body: GoogleCloudAiplatformV1UploadRagFileRequest
9179
+ ): Request<GoogleCloudAiplatformV1UploadRagFileResponse>;
9180
+ }
8730
9181
  interface BatchPredictionJobsResource {
8731
9182
  /** 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. */
8732
9183
  cancel(request: {
@@ -8934,9 +9385,9 @@ declare namespace gapi.client {
8934
9385
  uploadType?: string;
8935
9386
  }): Request<GoogleCloudAiplatformV1ListBatchPredictionJobsResponse>;
8936
9387
  }
8937
- interface OperationsResource {
8938
- /** 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`. */
8939
- cancel(request?: {
9388
+ interface CachedContentsResource {
9389
+ /** Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage. */
9390
+ create(request: {
8940
9391
  /** V1 error format. */
8941
9392
  '$.xgafv'?: string;
8942
9393
  /** OAuth access token. */
@@ -8949,10 +9400,10 @@ declare namespace gapi.client {
8949
9400
  fields?: string;
8950
9401
  /** 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. */
8951
9402
  key?: string;
8952
- /** The name of the operation resource to be cancelled. */
8953
- name: string;
8954
9403
  /** OAuth 2.0 token for the current user. */
8955
9404
  oauth_token?: string;
9405
+ /** Required. The parent resource where the cached content will be created */
9406
+ parent: string;
8956
9407
  /** Returns response with indentations and line breaks. */
8957
9408
  prettyPrint?: boolean;
8958
9409
  /** 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. */
@@ -8961,8 +9412,39 @@ declare namespace gapi.client {
8961
9412
  upload_protocol?: string;
8962
9413
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8963
9414
  uploadType?: string;
8964
- }): Request<{}>;
8965
- /** 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`. */
9415
+ /** Request body */
9416
+ resource: GoogleCloudAiplatformV1CachedContent;
9417
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9418
+ create(
9419
+ request: {
9420
+ /** V1 error format. */
9421
+ '$.xgafv'?: string;
9422
+ /** OAuth access token. */
9423
+ access_token?: string;
9424
+ /** Data format for response. */
9425
+ alt?: string;
9426
+ /** JSONP */
9427
+ callback?: string;
9428
+ /** Selector specifying which fields to include in a partial response. */
9429
+ fields?: string;
9430
+ /** 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. */
9431
+ key?: string;
9432
+ /** OAuth 2.0 token for the current user. */
9433
+ oauth_token?: string;
9434
+ /** Required. The parent resource where the cached content will be created */
9435
+ parent: string;
9436
+ /** Returns response with indentations and line breaks. */
9437
+ prettyPrint?: boolean;
9438
+ /** 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. */
9439
+ quotaUser?: string;
9440
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9441
+ upload_protocol?: string;
9442
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9443
+ uploadType?: string;
9444
+ },
9445
+ body: GoogleCloudAiplatformV1CachedContent
9446
+ ): Request<GoogleCloudAiplatformV1CachedContent>;
9447
+ /** Deletes cached content */
8966
9448
  delete(request?: {
8967
9449
  /** V1 error format. */
8968
9450
  '$.xgafv'?: string;
@@ -8976,7 +9458,7 @@ declare namespace gapi.client {
8976
9458
  fields?: string;
8977
9459
  /** 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. */
8978
9460
  key?: string;
8979
- /** The name of the operation resource to be deleted. */
9461
+ /** Required. The resource name referring to the cached content */
8980
9462
  name: string;
8981
9463
  /** OAuth 2.0 token for the current user. */
8982
9464
  oauth_token?: string;
@@ -8989,7 +9471,7 @@ declare namespace gapi.client {
8989
9471
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8990
9472
  uploadType?: string;
8991
9473
  }): Request<{}>;
8992
- /** 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. */
9474
+ /** Gets cached content configurations */
8993
9475
  get(request?: {
8994
9476
  /** V1 error format. */
8995
9477
  '$.xgafv'?: string;
@@ -9003,7 +9485,7 @@ declare namespace gapi.client {
9003
9485
  fields?: string;
9004
9486
  /** 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. */
9005
9487
  key?: string;
9006
- /** The name of the operation resource. */
9488
+ /** Required. The resource name referring to the cached content */
9007
9489
  name: string;
9008
9490
  /** OAuth 2.0 token for the current user. */
9009
9491
  oauth_token?: string;
@@ -9015,8 +9497,8 @@ declare namespace gapi.client {
9015
9497
  upload_protocol?: string;
9016
9498
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9017
9499
  uploadType?: string;
9018
- }): Request<GoogleLongrunningOperation>;
9019
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
9500
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9501
+ /** Lists cached contents in a project */
9020
9502
  list(request?: {
9021
9503
  /** V1 error format. */
9022
9504
  '$.xgafv'?: string;
@@ -9028,18 +9510,16 @@ declare namespace gapi.client {
9028
9510
  callback?: string;
9029
9511
  /** Selector specifying which fields to include in a partial response. */
9030
9512
  fields?: string;
9031
- /** The standard list filter. */
9032
- filter?: string;
9033
9513
  /** 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. */
9034
9514
  key?: string;
9035
- /** The name of the operation's parent resource. */
9036
- name: string;
9037
9515
  /** OAuth 2.0 token for the current user. */
9038
9516
  oauth_token?: string;
9039
- /** The standard list page size. */
9517
+ /** Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
9040
9518
  pageSize?: number;
9041
- /** The standard list page token. */
9519
+ /** Optional. A page token, received from a previous `ListCachedContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCachedContents` must match the call that provided the page token. */
9042
9520
  pageToken?: string;
9521
+ /** Required. The parent, which owns this collection of cached contents. */
9522
+ parent: string;
9043
9523
  /** Returns response with indentations and line breaks. */
9044
9524
  prettyPrint?: boolean;
9045
9525
  /** 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. */
@@ -9048,40 +9528,9 @@ declare namespace gapi.client {
9048
9528
  upload_protocol?: string;
9049
9529
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9050
9530
  uploadType?: string;
9051
- }): Request<GoogleLongrunningListOperationsResponse>;
9052
- /** 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. */
9053
- wait(request?: {
9054
- /** V1 error format. */
9055
- '$.xgafv'?: string;
9056
- /** OAuth access token. */
9057
- access_token?: string;
9058
- /** Data format for response. */
9059
- alt?: string;
9060
- /** JSONP */
9061
- callback?: string;
9062
- /** Selector specifying which fields to include in a partial response. */
9063
- fields?: string;
9064
- /** 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. */
9065
- key?: string;
9066
- /** The name of the operation resource to wait on. */
9067
- name: string;
9068
- /** OAuth 2.0 token for the current user. */
9069
- oauth_token?: string;
9070
- /** Returns response with indentations and line breaks. */
9071
- prettyPrint?: boolean;
9072
- /** 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. */
9073
- quotaUser?: string;
9074
- /** 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. */
9075
- timeout?: string;
9076
- /** Upload protocol for media (e.g. "raw", "multipart"). */
9077
- upload_protocol?: string;
9078
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9079
- uploadType?: string;
9080
- }): Request<GoogleLongrunningOperation>;
9081
- }
9082
- interface CustomJobsResource {
9083
- /** Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetCustomJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a CustomJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and CustomJob.state is set to `CANCELLED`. */
9084
- cancel(request: {
9531
+ }): Request<GoogleCloudAiplatformV1ListCachedContentsResponse>;
9532
+ /** Updates cached content configurations */
9533
+ patch(request: {
9085
9534
  /** V1 error format. */
9086
9535
  '$.xgafv'?: string;
9087
9536
  /** OAuth access token. */
@@ -9094,7 +9543,7 @@ declare namespace gapi.client {
9094
9543
  fields?: string;
9095
9544
  /** 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. */
9096
9545
  key?: string;
9097
- /** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
9546
+ /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9098
9547
  name: string;
9099
9548
  /** OAuth 2.0 token for the current user. */
9100
9549
  oauth_token?: string;
@@ -9102,14 +9551,16 @@ declare namespace gapi.client {
9102
9551
  prettyPrint?: boolean;
9103
9552
  /** 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. */
9104
9553
  quotaUser?: string;
9554
+ /** Required. The list of fields to update. */
9555
+ updateMask?: string;
9105
9556
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9106
9557
  upload_protocol?: string;
9107
9558
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9108
9559
  uploadType?: string;
9109
9560
  /** Request body */
9110
- resource: GoogleCloudAiplatformV1CancelCustomJobRequest;
9111
- }): Request<{}>;
9112
- cancel(
9561
+ resource: GoogleCloudAiplatformV1CachedContent;
9562
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9563
+ patch(
9113
9564
  request: {
9114
9565
  /** V1 error format. */
9115
9566
  '$.xgafv'?: string;
@@ -9123,7 +9574,7 @@ declare namespace gapi.client {
9123
9574
  fields?: string;
9124
9575
  /** 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. */
9125
9576
  key?: string;
9126
- /** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
9577
+ /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9127
9578
  name: string;
9128
9579
  /** OAuth 2.0 token for the current user. */
9129
9580
  oauth_token?: string;
@@ -9131,16 +9582,223 @@ declare namespace gapi.client {
9131
9582
  prettyPrint?: boolean;
9132
9583
  /** 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. */
9133
9584
  quotaUser?: string;
9585
+ /** Required. The list of fields to update. */
9586
+ updateMask?: string;
9134
9587
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9135
9588
  upload_protocol?: string;
9136
9589
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9137
9590
  uploadType?: string;
9138
9591
  },
9139
- body: GoogleCloudAiplatformV1CancelCustomJobRequest
9140
- ): Request<{}>;
9141
- /** Creates a CustomJob. A created CustomJob right away will be attempted to be run. */
9142
- create(request: {
9143
- /** V1 error format. */
9592
+ body: GoogleCloudAiplatformV1CachedContent
9593
+ ): Request<GoogleCloudAiplatformV1CachedContent>;
9594
+ }
9595
+ interface OperationsResource {
9596
+ /** 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`. */
9597
+ cancel(request?: {
9598
+ /** V1 error format. */
9599
+ '$.xgafv'?: string;
9600
+ /** OAuth access token. */
9601
+ access_token?: string;
9602
+ /** Data format for response. */
9603
+ alt?: string;
9604
+ /** JSONP */
9605
+ callback?: string;
9606
+ /** Selector specifying which fields to include in a partial response. */
9607
+ fields?: string;
9608
+ /** 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. */
9609
+ key?: string;
9610
+ /** The name of the operation resource to be cancelled. */
9611
+ name: string;
9612
+ /** OAuth 2.0 token for the current user. */
9613
+ oauth_token?: string;
9614
+ /** Returns response with indentations and line breaks. */
9615
+ prettyPrint?: boolean;
9616
+ /** 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. */
9617
+ quotaUser?: string;
9618
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9619
+ upload_protocol?: string;
9620
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9621
+ uploadType?: string;
9622
+ }): Request<{}>;
9623
+ /** 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`. */
9624
+ delete(request?: {
9625
+ /** V1 error format. */
9626
+ '$.xgafv'?: string;
9627
+ /** OAuth access token. */
9628
+ access_token?: string;
9629
+ /** Data format for response. */
9630
+ alt?: string;
9631
+ /** JSONP */
9632
+ callback?: string;
9633
+ /** Selector specifying which fields to include in a partial response. */
9634
+ fields?: string;
9635
+ /** 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. */
9636
+ key?: string;
9637
+ /** The name of the operation resource to be deleted. */
9638
+ name: string;
9639
+ /** OAuth 2.0 token for the current user. */
9640
+ oauth_token?: string;
9641
+ /** Returns response with indentations and line breaks. */
9642
+ prettyPrint?: boolean;
9643
+ /** 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. */
9644
+ quotaUser?: string;
9645
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9646
+ upload_protocol?: string;
9647
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9648
+ uploadType?: string;
9649
+ }): Request<{}>;
9650
+ /** 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. */
9651
+ get(request?: {
9652
+ /** V1 error format. */
9653
+ '$.xgafv'?: string;
9654
+ /** OAuth access token. */
9655
+ access_token?: string;
9656
+ /** Data format for response. */
9657
+ alt?: string;
9658
+ /** JSONP */
9659
+ callback?: string;
9660
+ /** Selector specifying which fields to include in a partial response. */
9661
+ fields?: string;
9662
+ /** 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. */
9663
+ key?: string;
9664
+ /** The name of the operation resource. */
9665
+ name: string;
9666
+ /** OAuth 2.0 token for the current user. */
9667
+ oauth_token?: string;
9668
+ /** Returns response with indentations and line breaks. */
9669
+ prettyPrint?: boolean;
9670
+ /** 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. */
9671
+ quotaUser?: string;
9672
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9673
+ upload_protocol?: string;
9674
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9675
+ uploadType?: string;
9676
+ }): Request<GoogleLongrunningOperation>;
9677
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
9678
+ list(request?: {
9679
+ /** V1 error format. */
9680
+ '$.xgafv'?: string;
9681
+ /** OAuth access token. */
9682
+ access_token?: string;
9683
+ /** Data format for response. */
9684
+ alt?: string;
9685
+ /** JSONP */
9686
+ callback?: string;
9687
+ /** Selector specifying which fields to include in a partial response. */
9688
+ fields?: string;
9689
+ /** The standard list filter. */
9690
+ filter?: string;
9691
+ /** 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. */
9692
+ key?: string;
9693
+ /** The name of the operation's parent resource. */
9694
+ name: string;
9695
+ /** OAuth 2.0 token for the current user. */
9696
+ oauth_token?: string;
9697
+ /** The standard list page size. */
9698
+ pageSize?: number;
9699
+ /** The standard list page token. */
9700
+ pageToken?: string;
9701
+ /** Returns response with indentations and line breaks. */
9702
+ prettyPrint?: boolean;
9703
+ /** 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. */
9704
+ quotaUser?: string;
9705
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9706
+ upload_protocol?: string;
9707
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9708
+ uploadType?: string;
9709
+ }): Request<GoogleLongrunningListOperationsResponse>;
9710
+ /** 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. */
9711
+ wait(request?: {
9712
+ /** V1 error format. */
9713
+ '$.xgafv'?: string;
9714
+ /** OAuth access token. */
9715
+ access_token?: string;
9716
+ /** Data format for response. */
9717
+ alt?: string;
9718
+ /** JSONP */
9719
+ callback?: string;
9720
+ /** Selector specifying which fields to include in a partial response. */
9721
+ fields?: string;
9722
+ /** 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. */
9723
+ key?: string;
9724
+ /** The name of the operation resource to wait on. */
9725
+ name: string;
9726
+ /** OAuth 2.0 token for the current user. */
9727
+ oauth_token?: string;
9728
+ /** Returns response with indentations and line breaks. */
9729
+ prettyPrint?: boolean;
9730
+ /** 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. */
9731
+ quotaUser?: string;
9732
+ /** 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. */
9733
+ timeout?: string;
9734
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9735
+ upload_protocol?: string;
9736
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9737
+ uploadType?: string;
9738
+ }): Request<GoogleLongrunningOperation>;
9739
+ }
9740
+ interface CustomJobsResource {
9741
+ /** Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetCustomJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a CustomJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and CustomJob.state is set to `CANCELLED`. */
9742
+ cancel(request: {
9743
+ /** V1 error format. */
9744
+ '$.xgafv'?: string;
9745
+ /** OAuth access token. */
9746
+ access_token?: string;
9747
+ /** Data format for response. */
9748
+ alt?: string;
9749
+ /** JSONP */
9750
+ callback?: string;
9751
+ /** Selector specifying which fields to include in a partial response. */
9752
+ fields?: string;
9753
+ /** 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. */
9754
+ key?: string;
9755
+ /** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
9756
+ name: string;
9757
+ /** OAuth 2.0 token for the current user. */
9758
+ oauth_token?: string;
9759
+ /** Returns response with indentations and line breaks. */
9760
+ prettyPrint?: boolean;
9761
+ /** 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. */
9762
+ quotaUser?: string;
9763
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9764
+ upload_protocol?: string;
9765
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9766
+ uploadType?: string;
9767
+ /** Request body */
9768
+ resource: GoogleCloudAiplatformV1CancelCustomJobRequest;
9769
+ }): Request<{}>;
9770
+ cancel(
9771
+ request: {
9772
+ /** V1 error format. */
9773
+ '$.xgafv'?: string;
9774
+ /** OAuth access token. */
9775
+ access_token?: string;
9776
+ /** Data format for response. */
9777
+ alt?: string;
9778
+ /** JSONP */
9779
+ callback?: string;
9780
+ /** Selector specifying which fields to include in a partial response. */
9781
+ fields?: string;
9782
+ /** 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. */
9783
+ key?: string;
9784
+ /** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
9785
+ name: string;
9786
+ /** OAuth 2.0 token for the current user. */
9787
+ oauth_token?: string;
9788
+ /** Returns response with indentations and line breaks. */
9789
+ prettyPrint?: boolean;
9790
+ /** 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. */
9791
+ quotaUser?: string;
9792
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9793
+ upload_protocol?: string;
9794
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9795
+ uploadType?: string;
9796
+ },
9797
+ body: GoogleCloudAiplatformV1CancelCustomJobRequest
9798
+ ): Request<{}>;
9799
+ /** Creates a CustomJob. A created CustomJob right away will be attempted to be run. */
9800
+ create(request: {
9801
+ /** V1 error format. */
9144
9802
  '$.xgafv'?: string;
9145
9803
  /** OAuth access token. */
9146
9804
  access_token?: string;
@@ -9288,7 +9946,7 @@ declare namespace gapi.client {
9288
9946
  operations: OperationsResource;
9289
9947
  }
9290
9948
  interface OperationsResource {
9291
- /** 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`. */
9949
+ /** 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`. */
9292
9950
  cancel(request?: {
9293
9951
  /** V1 error format. */
9294
9952
  '$.xgafv'?: string;
@@ -9643,7 +10301,7 @@ declare namespace gapi.client {
9643
10301
  operations: OperationsResource;
9644
10302
  }
9645
10303
  interface OperationsResource {
9646
- /** 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`. */
10304
+ /** 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`. */
9647
10305
  cancel(request?: {
9648
10306
  /** V1 error format. */
9649
10307
  '$.xgafv'?: string;
@@ -9820,7 +10478,7 @@ declare namespace gapi.client {
9820
10478
  operations: OperationsResource;
9821
10479
  }
9822
10480
  interface OperationsResource {
9823
- /** 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`. */
10481
+ /** 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`. */
9824
10482
  cancel(request?: {
9825
10483
  /** V1 error format. */
9826
10484
  '$.xgafv'?: string;
@@ -10005,7 +10663,7 @@ declare namespace gapi.client {
10005
10663
  operations: OperationsResource;
10006
10664
  }
10007
10665
  interface OperationsResource {
10008
- /** 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`. */
10666
+ /** 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`. */
10009
10667
  cancel(request?: {
10010
10668
  /** V1 error format. */
10011
10669
  '$.xgafv'?: string;
@@ -10433,7 +11091,7 @@ declare namespace gapi.client {
10433
11091
  }): Request<GoogleLongrunningOperation>;
10434
11092
  }
10435
11093
  interface OperationsResource {
10436
- /** 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`. */
11094
+ /** 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`. */
10437
11095
  cancel(request?: {
10438
11096
  /** V1 error format. */
10439
11097
  '$.xgafv'?: string;
@@ -10578,7 +11236,7 @@ declare namespace gapi.client {
10578
11236
  }): Request<GoogleLongrunningOperation>;
10579
11237
  }
10580
11238
  interface OperationsResource {
10581
- /** 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`. */
11239
+ /** 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`. */
10582
11240
  cancel(request?: {
10583
11241
  /** V1 error format. */
10584
11242
  '$.xgafv'?: string;
@@ -11179,7 +11837,7 @@ declare namespace gapi.client {
11179
11837
  savedQueries: SavedQueriesResource;
11180
11838
  }
11181
11839
  interface OperationsResource {
11182
- /** 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`. */
11840
+ /** 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`. */
11183
11841
  cancel(request?: {
11184
11842
  /** V1 error format. */
11185
11843
  '$.xgafv'?: string;
@@ -11623,7 +12281,7 @@ declare namespace gapi.client {
11623
12281
  ): Request<GoogleApiHttpBody>;
11624
12282
  }
11625
12283
  interface OperationsResource {
11626
- /** 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`. */
12284
+ /** 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`. */
11627
12285
  cancel(request?: {
11628
12286
  /** V1 error format. */
11629
12287
  '$.xgafv'?: string;
@@ -14795,7 +15453,7 @@ declare namespace gapi.client {
14795
15453
  operations: OperationsResource;
14796
15454
  }
14797
15455
  interface OperationsResource {
14798
- /** 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`. */
15456
+ /** 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`. */
14799
15457
  cancel(request?: {
14800
15458
  /** V1 error format. */
14801
15459
  '$.xgafv'?: string;
@@ -15218,7 +15876,7 @@ declare namespace gapi.client {
15218
15876
  operations: OperationsResource;
15219
15877
  }
15220
15878
  interface OperationsResource {
15221
- /** 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`. */
15879
+ /** 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`. */
15222
15880
  cancel(request?: {
15223
15881
  /** V1 error format. */
15224
15882
  '$.xgafv'?: string;
@@ -16020,7 +16678,7 @@ declare namespace gapi.client {
16020
16678
  operations: OperationsResource;
16021
16679
  }
16022
16680
  interface OperationsResource {
16023
- /** 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`. */
16681
+ /** 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`. */
16024
16682
  cancel(request?: {
16025
16683
  /** V1 error format. */
16026
16684
  '$.xgafv'?: string;
@@ -16565,7 +17223,7 @@ declare namespace gapi.client {
16565
17223
  operations: OperationsResource;
16566
17224
  }
16567
17225
  interface OperationsResource {
16568
- /** 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`. */
17226
+ /** 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`. */
16569
17227
  cancel(request?: {
16570
17228
  /** V1 error format. */
16571
17229
  '$.xgafv'?: string;
@@ -16918,7 +17576,7 @@ declare namespace gapi.client {
16918
17576
  operations: OperationsResource;
16919
17577
  }
16920
17578
  interface OperationsResource {
16921
- /** 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`. */
17579
+ /** 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`. */
16922
17580
  cancel(request?: {
16923
17581
  /** V1 error format. */
16924
17582
  '$.xgafv'?: string;
@@ -17565,7 +18223,7 @@ declare namespace gapi.client {
17565
18223
  operations: OperationsResource;
17566
18224
  }
17567
18225
  interface OperationsResource {
17568
- /** 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`. */
18226
+ /** 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`. */
17569
18227
  cancel(request?: {
17570
18228
  /** V1 error format. */
17571
18229
  '$.xgafv'?: string;
@@ -18038,7 +18696,7 @@ declare namespace gapi.client {
18038
18696
  operations: OperationsResource;
18039
18697
  }
18040
18698
  interface OperationsResource {
18041
- /** 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`. */
18699
+ /** 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`. */
18042
18700
  cancel(request?: {
18043
18701
  /** V1 error format. */
18044
18702
  '$.xgafv'?: string;
@@ -18494,7 +19152,7 @@ declare namespace gapi.client {
18494
19152
  operations: OperationsResource;
18495
19153
  }
18496
19154
  interface OperationsResource {
18497
- /** 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`. */
19155
+ /** 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`. */
18498
19156
  cancel(request?: {
18499
19157
  /** V1 error format. */
18500
19158
  '$.xgafv'?: string;
@@ -19122,7 +19780,7 @@ declare namespace gapi.client {
19122
19780
  operations: OperationsResource;
19123
19781
  }
19124
19782
  interface OperationsResource {
19125
- /** 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`. */
19783
+ /** 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`. */
19126
19784
  cancel(request?: {
19127
19785
  /** V1 error format. */
19128
19786
  '$.xgafv'?: string;
@@ -19756,7 +20414,7 @@ declare namespace gapi.client {
19756
20414
  }): Request<GoogleCloudAiplatformV1ListMetadataSchemasResponse>;
19757
20415
  }
19758
20416
  interface OperationsResource {
19759
- /** 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`. */
20417
+ /** 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`. */
19760
20418
  cancel(request?: {
19761
20419
  /** V1 error format. */
19762
20420
  '$.xgafv'?: string;
@@ -20057,7 +20715,7 @@ declare namespace gapi.client {
20057
20715
  operations: OperationsResource;
20058
20716
  }
20059
20717
  interface OperationsResource {
20060
- /** 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`. */
20718
+ /** 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`. */
20061
20719
  cancel(request?: {
20062
20720
  /** V1 error format. */
20063
20721
  '$.xgafv'?: string;
@@ -20321,7 +20979,7 @@ declare namespace gapi.client {
20321
20979
  operations: OperationsResource;
20322
20980
  }
20323
20981
  interface OperationsResource {
20324
- /** 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`. */
20982
+ /** 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`. */
20325
20983
  cancel(request?: {
20326
20984
  /** V1 error format. */
20327
20985
  '$.xgafv'?: string;
@@ -20852,7 +21510,7 @@ declare namespace gapi.client {
20852
21510
  operations: OperationsResource;
20853
21511
  }
20854
21512
  interface OperationsResource {
20855
- /** 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`. */
21513
+ /** 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`. */
20856
21514
  cancel(request?: {
20857
21515
  /** V1 error format. */
20858
21516
  '$.xgafv'?: string;
@@ -21243,7 +21901,7 @@ declare namespace gapi.client {
21243
21901
  slices: SlicesResource;
21244
21902
  }
21245
21903
  interface OperationsResource {
21246
- /** 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`. */
21904
+ /** 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`. */
21247
21905
  cancel(request?: {
21248
21906
  /** V1 error format. */
21249
21907
  '$.xgafv'?: string;
@@ -22255,7 +22913,7 @@ declare namespace gapi.client {
22255
22913
  nasTrialDetails: NasTrialDetailsResource;
22256
22914
  }
22257
22915
  interface OperationsResource {
22258
- /** 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`. */
22916
+ /** 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`. */
22259
22917
  cancel(request?: {
22260
22918
  /** V1 error format. */
22261
22919
  '$.xgafv'?: string;
@@ -22558,7 +23216,7 @@ declare namespace gapi.client {
22558
23216
  operations: OperationsResource;
22559
23217
  }
22560
23218
  interface OperationsResource {
22561
- /** 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`. */
23219
+ /** 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`. */
22562
23220
  cancel(request?: {
22563
23221
  /** V1 error format. */
22564
23222
  '$.xgafv'?: string;
@@ -23029,7 +23687,7 @@ declare namespace gapi.client {
23029
23687
  operations: OperationsResource;
23030
23688
  }
23031
23689
  interface OperationsResource {
23032
- /** 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`. */
23690
+ /** 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`. */
23033
23691
  cancel(request?: {
23034
23692
  /** V1 error format. */
23035
23693
  '$.xgafv'?: string;
@@ -23480,7 +24138,7 @@ declare namespace gapi.client {
23480
24138
  operations: OperationsResource;
23481
24139
  }
23482
24140
  interface OperationsResource {
23483
- /** 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`. */
24141
+ /** 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`. */
23484
24142
  cancel(request?: {
23485
24143
  /** V1 error format. */
23486
24144
  '$.xgafv'?: string;
@@ -23625,7 +24283,7 @@ declare namespace gapi.client {
23625
24283
  }): Request<GoogleLongrunningOperation>;
23626
24284
  }
23627
24285
  interface OperationsResource {
23628
- /** 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`. */
24286
+ /** 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`. */
23629
24287
  cancel(request?: {
23630
24288
  /** V1 error format. */
23631
24289
  '$.xgafv'?: string;
@@ -24040,7 +24698,7 @@ declare namespace gapi.client {
24040
24698
  operations: OperationsResource;
24041
24699
  }
24042
24700
  interface OperationsResource {
24043
- /** 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`. */
24701
+ /** 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`. */
24044
24702
  cancel(request?: {
24045
24703
  /** V1 error format. */
24046
24704
  '$.xgafv'?: string;
@@ -25098,9 +25756,9 @@ declare namespace gapi.client {
25098
25756
  interface PublishersResource {
25099
25757
  models: ModelsResource;
25100
25758
  }
25101
- interface OperationsResource {
25102
- /** 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`. */
25103
- cancel(request?: {
25759
+ interface RagFilesResource {
25760
+ /** Deletes a RagFile. */
25761
+ delete(request?: {
25104
25762
  /** V1 error format. */
25105
25763
  '$.xgafv'?: string;
25106
25764
  /** OAuth access token. */
@@ -25113,7 +25771,7 @@ declare namespace gapi.client {
25113
25771
  fields?: string;
25114
25772
  /** 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. */
25115
25773
  key?: string;
25116
- /** The name of the operation resource to be cancelled. */
25774
+ /** Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
25117
25775
  name: string;
25118
25776
  /** OAuth 2.0 token for the current user. */
25119
25777
  oauth_token?: string;
@@ -25125,9 +25783,9 @@ declare namespace gapi.client {
25125
25783
  upload_protocol?: string;
25126
25784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25127
25785
  uploadType?: string;
25128
- }): Request<{}>;
25129
- /** 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`. */
25130
- delete(request?: {
25786
+ }): Request<GoogleLongrunningOperation>;
25787
+ /** Gets a RagFile. */
25788
+ get(request?: {
25131
25789
  /** V1 error format. */
25132
25790
  '$.xgafv'?: string;
25133
25791
  /** OAuth access token. */
@@ -25140,7 +25798,7 @@ declare namespace gapi.client {
25140
25798
  fields?: string;
25141
25799
  /** 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. */
25142
25800
  key?: string;
25143
- /** The name of the operation resource to be deleted. */
25801
+ /** Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
25144
25802
  name: string;
25145
25803
  /** OAuth 2.0 token for the current user. */
25146
25804
  oauth_token?: string;
@@ -25152,9 +25810,9 @@ declare namespace gapi.client {
25152
25810
  upload_protocol?: string;
25153
25811
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25154
25812
  uploadType?: string;
25155
- }): Request<{}>;
25156
- /** 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. */
25157
- get(request?: {
25813
+ }): Request<GoogleCloudAiplatformV1RagFile>;
25814
+ /** Import files from Google Cloud Storage or Google Drive into a RagCorpus. */
25815
+ import(request: {
25158
25816
  /** V1 error format. */
25159
25817
  '$.xgafv'?: string;
25160
25818
  /** OAuth access token. */
@@ -25167,10 +25825,10 @@ declare namespace gapi.client {
25167
25825
  fields?: string;
25168
25826
  /** 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. */
25169
25827
  key?: string;
25170
- /** The name of the operation resource. */
25171
- name: string;
25172
25828
  /** OAuth 2.0 token for the current user. */
25173
25829
  oauth_token?: string;
25830
+ /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25831
+ parent: string;
25174
25832
  /** Returns response with indentations and line breaks. */
25175
25833
  prettyPrint?: boolean;
25176
25834
  /** 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. */
@@ -25179,8 +25837,39 @@ declare namespace gapi.client {
25179
25837
  upload_protocol?: string;
25180
25838
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25181
25839
  uploadType?: string;
25840
+ /** Request body */
25841
+ resource: GoogleCloudAiplatformV1ImportRagFilesRequest;
25182
25842
  }): Request<GoogleLongrunningOperation>;
25183
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
25843
+ import(
25844
+ request: {
25845
+ /** V1 error format. */
25846
+ '$.xgafv'?: string;
25847
+ /** OAuth access token. */
25848
+ access_token?: string;
25849
+ /** Data format for response. */
25850
+ alt?: string;
25851
+ /** JSONP */
25852
+ callback?: string;
25853
+ /** Selector specifying which fields to include in a partial response. */
25854
+ fields?: string;
25855
+ /** 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. */
25856
+ key?: string;
25857
+ /** OAuth 2.0 token for the current user. */
25858
+ oauth_token?: string;
25859
+ /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25860
+ parent: string;
25861
+ /** Returns response with indentations and line breaks. */
25862
+ prettyPrint?: boolean;
25863
+ /** 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. */
25864
+ quotaUser?: string;
25865
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25866
+ upload_protocol?: string;
25867
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25868
+ uploadType?: string;
25869
+ },
25870
+ body: GoogleCloudAiplatformV1ImportRagFilesRequest
25871
+ ): Request<GoogleLongrunningOperation>;
25872
+ /** Lists RagFiles in a RagCorpus. */
25184
25873
  list(request?: {
25185
25874
  /** V1 error format. */
25186
25875
  '$.xgafv'?: string;
@@ -25192,11 +25881,331 @@ declare namespace gapi.client {
25192
25881
  callback?: string;
25193
25882
  /** Selector specifying which fields to include in a partial response. */
25194
25883
  fields?: string;
25195
- /** The standard list filter. */
25196
- filter?: string;
25197
25884
  /** 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. */
25198
25885
  key?: string;
25199
- /** The name of the operation's parent resource. */
25886
+ /** OAuth 2.0 token for the current user. */
25887
+ oauth_token?: string;
25888
+ /** Optional. The standard list page size. */
25889
+ pageSize?: number;
25890
+ /** Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call. */
25891
+ pageToken?: string;
25892
+ /** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25893
+ parent: string;
25894
+ /** Returns response with indentations and line breaks. */
25895
+ prettyPrint?: boolean;
25896
+ /** 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. */
25897
+ quotaUser?: string;
25898
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25899
+ upload_protocol?: string;
25900
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25901
+ uploadType?: string;
25902
+ }): Request<GoogleCloudAiplatformV1ListRagFilesResponse>;
25903
+ }
25904
+ interface RagCorporaResource {
25905
+ /** Creates a RagCorpus. */
25906
+ create(request: {
25907
+ /** V1 error format. */
25908
+ '$.xgafv'?: string;
25909
+ /** OAuth access token. */
25910
+ access_token?: string;
25911
+ /** Data format for response. */
25912
+ alt?: string;
25913
+ /** JSONP */
25914
+ callback?: string;
25915
+ /** Selector specifying which fields to include in a partial response. */
25916
+ fields?: string;
25917
+ /** 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. */
25918
+ key?: string;
25919
+ /** OAuth 2.0 token for the current user. */
25920
+ oauth_token?: string;
25921
+ /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
25922
+ parent: string;
25923
+ /** Returns response with indentations and line breaks. */
25924
+ prettyPrint?: boolean;
25925
+ /** 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. */
25926
+ quotaUser?: string;
25927
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25928
+ upload_protocol?: string;
25929
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25930
+ uploadType?: string;
25931
+ /** Request body */
25932
+ resource: GoogleCloudAiplatformV1RagCorpus;
25933
+ }): Request<GoogleLongrunningOperation>;
25934
+ create(
25935
+ request: {
25936
+ /** V1 error format. */
25937
+ '$.xgafv'?: string;
25938
+ /** OAuth access token. */
25939
+ access_token?: string;
25940
+ /** Data format for response. */
25941
+ alt?: string;
25942
+ /** JSONP */
25943
+ callback?: string;
25944
+ /** Selector specifying which fields to include in a partial response. */
25945
+ fields?: string;
25946
+ /** 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. */
25947
+ key?: string;
25948
+ /** OAuth 2.0 token for the current user. */
25949
+ oauth_token?: string;
25950
+ /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
25951
+ parent: string;
25952
+ /** Returns response with indentations and line breaks. */
25953
+ prettyPrint?: boolean;
25954
+ /** 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. */
25955
+ quotaUser?: string;
25956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25957
+ upload_protocol?: string;
25958
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25959
+ uploadType?: string;
25960
+ },
25961
+ body: GoogleCloudAiplatformV1RagCorpus
25962
+ ): Request<GoogleLongrunningOperation>;
25963
+ /** Deletes a RagCorpus. */
25964
+ delete(request?: {
25965
+ /** V1 error format. */
25966
+ '$.xgafv'?: string;
25967
+ /** OAuth access token. */
25968
+ access_token?: string;
25969
+ /** Data format for response. */
25970
+ alt?: string;
25971
+ /** JSONP */
25972
+ callback?: string;
25973
+ /** Selector specifying which fields to include in a partial response. */
25974
+ fields?: string;
25975
+ /** 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. */
25976
+ force?: boolean;
25977
+ /** 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. */
25978
+ key?: string;
25979
+ /** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25980
+ name: string;
25981
+ /** OAuth 2.0 token for the current user. */
25982
+ oauth_token?: string;
25983
+ /** Returns response with indentations and line breaks. */
25984
+ prettyPrint?: boolean;
25985
+ /** 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. */
25986
+ quotaUser?: string;
25987
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25988
+ upload_protocol?: string;
25989
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25990
+ uploadType?: string;
25991
+ }): Request<GoogleLongrunningOperation>;
25992
+ /** Gets a RagCorpus. */
25993
+ get(request?: {
25994
+ /** V1 error format. */
25995
+ '$.xgafv'?: string;
25996
+ /** OAuth access token. */
25997
+ access_token?: string;
25998
+ /** Data format for response. */
25999
+ alt?: string;
26000
+ /** JSONP */
26001
+ callback?: string;
26002
+ /** Selector specifying which fields to include in a partial response. */
26003
+ fields?: string;
26004
+ /** 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. */
26005
+ key?: string;
26006
+ /** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26007
+ name: string;
26008
+ /** OAuth 2.0 token for the current user. */
26009
+ oauth_token?: string;
26010
+ /** Returns response with indentations and line breaks. */
26011
+ prettyPrint?: boolean;
26012
+ /** 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. */
26013
+ quotaUser?: string;
26014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26015
+ upload_protocol?: string;
26016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26017
+ uploadType?: string;
26018
+ }): Request<GoogleCloudAiplatformV1RagCorpus>;
26019
+ /** Lists RagCorpora in a Location. */
26020
+ list(request?: {
26021
+ /** V1 error format. */
26022
+ '$.xgafv'?: string;
26023
+ /** OAuth access token. */
26024
+ access_token?: string;
26025
+ /** Data format for response. */
26026
+ alt?: string;
26027
+ /** JSONP */
26028
+ callback?: string;
26029
+ /** Selector specifying which fields to include in a partial response. */
26030
+ fields?: string;
26031
+ /** 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. */
26032
+ key?: string;
26033
+ /** OAuth 2.0 token for the current user. */
26034
+ oauth_token?: string;
26035
+ /** Optional. The standard list page size. */
26036
+ pageSize?: number;
26037
+ /** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
26038
+ pageToken?: string;
26039
+ /** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
26040
+ parent: string;
26041
+ /** Returns response with indentations and line breaks. */
26042
+ prettyPrint?: boolean;
26043
+ /** 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. */
26044
+ quotaUser?: string;
26045
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26046
+ upload_protocol?: string;
26047
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26048
+ uploadType?: string;
26049
+ }): Request<GoogleCloudAiplatformV1ListRagCorporaResponse>;
26050
+ /** Updates a RagCorpus. */
26051
+ patch(request: {
26052
+ /** V1 error format. */
26053
+ '$.xgafv'?: string;
26054
+ /** OAuth access token. */
26055
+ access_token?: string;
26056
+ /** Data format for response. */
26057
+ alt?: string;
26058
+ /** JSONP */
26059
+ callback?: string;
26060
+ /** Selector specifying which fields to include in a partial response. */
26061
+ fields?: string;
26062
+ /** 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. */
26063
+ key?: string;
26064
+ /** Output only. The resource name of the RagCorpus. */
26065
+ name: string;
26066
+ /** OAuth 2.0 token for the current user. */
26067
+ oauth_token?: string;
26068
+ /** Returns response with indentations and line breaks. */
26069
+ prettyPrint?: boolean;
26070
+ /** 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. */
26071
+ quotaUser?: string;
26072
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26073
+ upload_protocol?: string;
26074
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26075
+ uploadType?: string;
26076
+ /** Request body */
26077
+ resource: GoogleCloudAiplatformV1RagCorpus;
26078
+ }): Request<GoogleLongrunningOperation>;
26079
+ patch(
26080
+ request: {
26081
+ /** V1 error format. */
26082
+ '$.xgafv'?: string;
26083
+ /** OAuth access token. */
26084
+ access_token?: string;
26085
+ /** Data format for response. */
26086
+ alt?: string;
26087
+ /** JSONP */
26088
+ callback?: string;
26089
+ /** Selector specifying which fields to include in a partial response. */
26090
+ fields?: string;
26091
+ /** 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. */
26092
+ key?: string;
26093
+ /** Output only. The resource name of the RagCorpus. */
26094
+ name: string;
26095
+ /** OAuth 2.0 token for the current user. */
26096
+ oauth_token?: string;
26097
+ /** Returns response with indentations and line breaks. */
26098
+ prettyPrint?: boolean;
26099
+ /** 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. */
26100
+ quotaUser?: string;
26101
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26102
+ upload_protocol?: string;
26103
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26104
+ uploadType?: string;
26105
+ },
26106
+ body: GoogleCloudAiplatformV1RagCorpus
26107
+ ): Request<GoogleLongrunningOperation>;
26108
+ ragFiles: RagFilesResource;
26109
+ }
26110
+ interface OperationsResource {
26111
+ /** 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`. */
26112
+ cancel(request?: {
26113
+ /** V1 error format. */
26114
+ '$.xgafv'?: string;
26115
+ /** OAuth access token. */
26116
+ access_token?: string;
26117
+ /** Data format for response. */
26118
+ alt?: string;
26119
+ /** JSONP */
26120
+ callback?: string;
26121
+ /** Selector specifying which fields to include in a partial response. */
26122
+ fields?: string;
26123
+ /** 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. */
26124
+ key?: string;
26125
+ /** The name of the operation resource to be cancelled. */
26126
+ name: string;
26127
+ /** OAuth 2.0 token for the current user. */
26128
+ oauth_token?: string;
26129
+ /** Returns response with indentations and line breaks. */
26130
+ prettyPrint?: boolean;
26131
+ /** 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. */
26132
+ quotaUser?: string;
26133
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26134
+ upload_protocol?: string;
26135
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26136
+ uploadType?: string;
26137
+ }): Request<{}>;
26138
+ /** 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`. */
26139
+ delete(request?: {
26140
+ /** V1 error format. */
26141
+ '$.xgafv'?: string;
26142
+ /** OAuth access token. */
26143
+ access_token?: string;
26144
+ /** Data format for response. */
26145
+ alt?: string;
26146
+ /** JSONP */
26147
+ callback?: string;
26148
+ /** Selector specifying which fields to include in a partial response. */
26149
+ fields?: string;
26150
+ /** 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. */
26151
+ key?: string;
26152
+ /** The name of the operation resource to be deleted. */
26153
+ name: string;
26154
+ /** OAuth 2.0 token for the current user. */
26155
+ oauth_token?: string;
26156
+ /** Returns response with indentations and line breaks. */
26157
+ prettyPrint?: boolean;
26158
+ /** 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. */
26159
+ quotaUser?: string;
26160
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26161
+ upload_protocol?: string;
26162
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26163
+ uploadType?: string;
26164
+ }): Request<{}>;
26165
+ /** 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. */
26166
+ get(request?: {
26167
+ /** V1 error format. */
26168
+ '$.xgafv'?: string;
26169
+ /** OAuth access token. */
26170
+ access_token?: string;
26171
+ /** Data format for response. */
26172
+ alt?: string;
26173
+ /** JSONP */
26174
+ callback?: string;
26175
+ /** Selector specifying which fields to include in a partial response. */
26176
+ fields?: string;
26177
+ /** 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. */
26178
+ key?: string;
26179
+ /** The name of the operation resource. */
26180
+ name: string;
26181
+ /** OAuth 2.0 token for the current user. */
26182
+ oauth_token?: string;
26183
+ /** Returns response with indentations and line breaks. */
26184
+ prettyPrint?: boolean;
26185
+ /** 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. */
26186
+ quotaUser?: string;
26187
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26188
+ upload_protocol?: string;
26189
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26190
+ uploadType?: string;
26191
+ }): Request<GoogleLongrunningOperation>;
26192
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
26193
+ list(request?: {
26194
+ /** V1 error format. */
26195
+ '$.xgafv'?: string;
26196
+ /** OAuth access token. */
26197
+ access_token?: string;
26198
+ /** Data format for response. */
26199
+ alt?: string;
26200
+ /** JSONP */
26201
+ callback?: string;
26202
+ /** Selector specifying which fields to include in a partial response. */
26203
+ fields?: string;
26204
+ /** The standard list filter. */
26205
+ filter?: string;
26206
+ /** 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. */
26207
+ key?: string;
26208
+ /** The name of the operation's parent resource. */
25200
26209
  name: string;
25201
26210
  /** OAuth 2.0 token for the current user. */
25202
26211
  oauth_token?: string;
@@ -25451,10 +26460,68 @@ declare namespace gapi.client {
25451
26460
  },
25452
26461
  body: GoogleCloudAiplatformV1ReasoningEngine
25453
26462
  ): Request<GoogleLongrunningOperation>;
26463
+ /** Queries using a reasoning engine. */
26464
+ query(request: {
26465
+ /** V1 error format. */
26466
+ '$.xgafv'?: string;
26467
+ /** OAuth access token. */
26468
+ access_token?: string;
26469
+ /** Data format for response. */
26470
+ alt?: string;
26471
+ /** JSONP */
26472
+ callback?: string;
26473
+ /** Selector specifying which fields to include in a partial response. */
26474
+ fields?: string;
26475
+ /** 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. */
26476
+ key?: string;
26477
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26478
+ name: string;
26479
+ /** OAuth 2.0 token for the current user. */
26480
+ oauth_token?: string;
26481
+ /** Returns response with indentations and line breaks. */
26482
+ prettyPrint?: boolean;
26483
+ /** 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. */
26484
+ quotaUser?: string;
26485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26486
+ upload_protocol?: string;
26487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26488
+ uploadType?: string;
26489
+ /** Request body */
26490
+ resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
26491
+ }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
26492
+ query(
26493
+ request: {
26494
+ /** V1 error format. */
26495
+ '$.xgafv'?: string;
26496
+ /** OAuth access token. */
26497
+ access_token?: string;
26498
+ /** Data format for response. */
26499
+ alt?: string;
26500
+ /** JSONP */
26501
+ callback?: string;
26502
+ /** Selector specifying which fields to include in a partial response. */
26503
+ fields?: string;
26504
+ /** 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. */
26505
+ key?: string;
26506
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26507
+ name: string;
26508
+ /** OAuth 2.0 token for the current user. */
26509
+ oauth_token?: string;
26510
+ /** Returns response with indentations and line breaks. */
26511
+ prettyPrint?: boolean;
26512
+ /** 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. */
26513
+ quotaUser?: string;
26514
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26515
+ upload_protocol?: string;
26516
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26517
+ uploadType?: string;
26518
+ },
26519
+ body: GoogleCloudAiplatformV1QueryReasoningEngineRequest
26520
+ ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
25454
26521
  operations: OperationsResource;
25455
26522
  }
25456
26523
  interface OperationsResource {
25457
- /** 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`. */
26524
+ /** 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`. */
25458
26525
  cancel(request?: {
25459
26526
  /** V1 error format. */
25460
26527
  '$.xgafv'?: string;
@@ -25927,7 +26994,7 @@ declare namespace gapi.client {
25927
26994
  operations: OperationsResource;
25928
26995
  }
25929
26996
  interface OperationsResource {
25930
- /** 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`. */
26997
+ /** 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`. */
25931
26998
  cancel(request?: {
25932
26999
  /** V1 error format. */
25933
27000
  '$.xgafv'?: string;
@@ -26284,7 +27351,7 @@ declare namespace gapi.client {
26284
27351
  operations: OperationsResource;
26285
27352
  }
26286
27353
  interface OperationsResource {
26287
- /** 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`. */
27354
+ /** 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`. */
26288
27355
  cancel(request?: {
26289
27356
  /** V1 error format. */
26290
27357
  '$.xgafv'?: string;
@@ -26429,7 +27496,7 @@ declare namespace gapi.client {
26429
27496
  }): Request<GoogleLongrunningOperation>;
26430
27497
  }
26431
27498
  interface OperationsResource {
26432
- /** 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`. */
27499
+ /** 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`. */
26433
27500
  cancel(request?: {
26434
27501
  /** V1 error format. */
26435
27502
  '$.xgafv'?: string;
@@ -27273,7 +28340,7 @@ declare namespace gapi.client {
27273
28340
  trials: TrialsResource;
27274
28341
  }
27275
28342
  interface OperationsResource {
27276
- /** 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`. */
28343
+ /** 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`. */
27277
28344
  cancel(request?: {
27278
28345
  /** V1 error format. */
27279
28346
  '$.xgafv'?: string;
@@ -27418,7 +28485,7 @@ declare namespace gapi.client {
27418
28485
  }): Request<GoogleLongrunningOperation>;
27419
28486
  }
27420
28487
  interface OperationsResource {
27421
- /** 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`. */
28488
+ /** 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`. */
27422
28489
  cancel(request?: {
27423
28490
  /** V1 error format. */
27424
28491
  '$.xgafv'?: string;
@@ -27563,7 +28630,7 @@ declare namespace gapi.client {
27563
28630
  }): Request<GoogleLongrunningOperation>;
27564
28631
  }
27565
28632
  interface OperationsResource {
27566
- /** 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`. */
28633
+ /** 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`. */
27567
28634
  cancel(request?: {
27568
28635
  /** V1 error format. */
27569
28636
  '$.xgafv'?: string;
@@ -28714,7 +29781,7 @@ declare namespace gapi.client {
28714
29781
  runs: RunsResource;
28715
29782
  }
28716
29783
  interface OperationsResource {
28717
- /** 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`. */
29784
+ /** 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`. */
28718
29785
  cancel(request?: {
28719
29786
  /** V1 error format. */
28720
29787
  '$.xgafv'?: string;
@@ -29157,7 +30224,7 @@ declare namespace gapi.client {
29157
30224
  operations: OperationsResource;
29158
30225
  }
29159
30226
  interface OperationsResource {
29160
- /** 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`. */
30227
+ /** 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`. */
29161
30228
  cancel(request?: {
29162
30229
  /** V1 error format. */
29163
30230
  '$.xgafv'?: string;
@@ -29510,7 +30577,7 @@ declare namespace gapi.client {
29510
30577
  operations: OperationsResource;
29511
30578
  }
29512
30579
  interface OperationsResource {
29513
- /** 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`. */
30580
+ /** 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`. */
29514
30581
  cancel(request?: {
29515
30582
  /** V1 error format. */
29516
30583
  '$.xgafv'?: string;
@@ -29863,6 +30930,122 @@ declare namespace gapi.client {
29863
30930
  operations: OperationsResource;
29864
30931
  }
29865
30932
  interface LocationsResource {
30933
+ /** Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses. */
30934
+ augmentPrompt(request: {
30935
+ /** V1 error format. */
30936
+ '$.xgafv'?: string;
30937
+ /** OAuth access token. */
30938
+ access_token?: string;
30939
+ /** Data format for response. */
30940
+ alt?: string;
30941
+ /** JSONP */
30942
+ callback?: string;
30943
+ /** Selector specifying which fields to include in a partial response. */
30944
+ fields?: string;
30945
+ /** 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. */
30946
+ key?: string;
30947
+ /** OAuth 2.0 token for the current user. */
30948
+ oauth_token?: string;
30949
+ /** Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
30950
+ parent: string;
30951
+ /** Returns response with indentations and line breaks. */
30952
+ prettyPrint?: boolean;
30953
+ /** 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. */
30954
+ quotaUser?: string;
30955
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
30956
+ upload_protocol?: string;
30957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30958
+ uploadType?: string;
30959
+ /** Request body */
30960
+ resource: GoogleCloudAiplatformV1AugmentPromptRequest;
30961
+ }): Request<GoogleCloudAiplatformV1AugmentPromptResponse>;
30962
+ augmentPrompt(
30963
+ request: {
30964
+ /** V1 error format. */
30965
+ '$.xgafv'?: string;
30966
+ /** OAuth access token. */
30967
+ access_token?: string;
30968
+ /** Data format for response. */
30969
+ alt?: string;
30970
+ /** JSONP */
30971
+ callback?: string;
30972
+ /** Selector specifying which fields to include in a partial response. */
30973
+ fields?: string;
30974
+ /** 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. */
30975
+ key?: string;
30976
+ /** OAuth 2.0 token for the current user. */
30977
+ oauth_token?: string;
30978
+ /** Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
30979
+ parent: string;
30980
+ /** Returns response with indentations and line breaks. */
30981
+ prettyPrint?: boolean;
30982
+ /** 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. */
30983
+ quotaUser?: string;
30984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
30985
+ upload_protocol?: string;
30986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30987
+ uploadType?: string;
30988
+ },
30989
+ body: GoogleCloudAiplatformV1AugmentPromptRequest
30990
+ ): Request<GoogleCloudAiplatformV1AugmentPromptResponse>;
30991
+ /** Given an input text, it returns a score that evaluates the factuality of the text. It also extracts and returns claims from the text and provides supporting facts. */
30992
+ corroborateContent(request: {
30993
+ /** V1 error format. */
30994
+ '$.xgafv'?: string;
30995
+ /** OAuth access token. */
30996
+ access_token?: string;
30997
+ /** Data format for response. */
30998
+ alt?: string;
30999
+ /** JSONP */
31000
+ callback?: string;
31001
+ /** Selector specifying which fields to include in a partial response. */
31002
+ fields?: string;
31003
+ /** 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. */
31004
+ key?: string;
31005
+ /** OAuth 2.0 token for the current user. */
31006
+ oauth_token?: string;
31007
+ /** Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
31008
+ parent: string;
31009
+ /** Returns response with indentations and line breaks. */
31010
+ prettyPrint?: boolean;
31011
+ /** 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. */
31012
+ quotaUser?: string;
31013
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31014
+ upload_protocol?: string;
31015
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31016
+ uploadType?: string;
31017
+ /** Request body */
31018
+ resource: GoogleCloudAiplatformV1CorroborateContentRequest;
31019
+ }): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
31020
+ corroborateContent(
31021
+ request: {
31022
+ /** V1 error format. */
31023
+ '$.xgafv'?: string;
31024
+ /** OAuth access token. */
31025
+ access_token?: string;
31026
+ /** Data format for response. */
31027
+ alt?: string;
31028
+ /** JSONP */
31029
+ callback?: string;
31030
+ /** Selector specifying which fields to include in a partial response. */
31031
+ fields?: string;
31032
+ /** 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. */
31033
+ key?: string;
31034
+ /** OAuth 2.0 token for the current user. */
31035
+ oauth_token?: string;
31036
+ /** Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
31037
+ parent: string;
31038
+ /** Returns response with indentations and line breaks. */
31039
+ prettyPrint?: boolean;
31040
+ /** 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. */
31041
+ quotaUser?: string;
31042
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31043
+ upload_protocol?: string;
31044
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31045
+ uploadType?: string;
31046
+ },
31047
+ body: GoogleCloudAiplatformV1CorroborateContentRequest
31048
+ ): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
29866
31049
  /** Evaluates instances based on a given metric. */
29867
31050
  evaluateInstances(request: {
29868
31051
  /** V1 error format. */
@@ -29981,7 +31164,66 @@ declare namespace gapi.client {
29981
31164
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
29982
31165
  uploadType?: string;
29983
31166
  }): Request<GoogleCloudLocationListLocationsResponse>;
31167
+ /** Retrieves relevant contexts for a query. */
31168
+ retrieveContexts(request: {
31169
+ /** V1 error format. */
31170
+ '$.xgafv'?: string;
31171
+ /** OAuth access token. */
31172
+ access_token?: string;
31173
+ /** Data format for response. */
31174
+ alt?: string;
31175
+ /** JSONP */
31176
+ callback?: string;
31177
+ /** Selector specifying which fields to include in a partial response. */
31178
+ fields?: string;
31179
+ /** 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. */
31180
+ key?: string;
31181
+ /** OAuth 2.0 token for the current user. */
31182
+ oauth_token?: string;
31183
+ /** 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}`. */
31184
+ parent: string;
31185
+ /** Returns response with indentations and line breaks. */
31186
+ prettyPrint?: boolean;
31187
+ /** 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. */
31188
+ quotaUser?: string;
31189
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31190
+ upload_protocol?: string;
31191
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31192
+ uploadType?: string;
31193
+ /** Request body */
31194
+ resource: GoogleCloudAiplatformV1RetrieveContextsRequest;
31195
+ }): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
31196
+ retrieveContexts(
31197
+ request: {
31198
+ /** V1 error format. */
31199
+ '$.xgafv'?: string;
31200
+ /** OAuth access token. */
31201
+ access_token?: string;
31202
+ /** Data format for response. */
31203
+ alt?: string;
31204
+ /** JSONP */
31205
+ callback?: string;
31206
+ /** Selector specifying which fields to include in a partial response. */
31207
+ fields?: string;
31208
+ /** 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. */
31209
+ key?: string;
31210
+ /** OAuth 2.0 token for the current user. */
31211
+ oauth_token?: string;
31212
+ /** 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}`. */
31213
+ parent: string;
31214
+ /** Returns response with indentations and line breaks. */
31215
+ prettyPrint?: boolean;
31216
+ /** 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. */
31217
+ quotaUser?: string;
31218
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31219
+ upload_protocol?: string;
31220
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31221
+ uploadType?: string;
31222
+ },
31223
+ body: GoogleCloudAiplatformV1RetrieveContextsRequest
31224
+ ): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
29984
31225
  batchPredictionJobs: BatchPredictionJobsResource;
31226
+ cachedContents: CachedContentsResource;
29985
31227
  customJobs: CustomJobsResource;
29986
31228
  dataLabelingJobs: DataLabelingJobsResource;
29987
31229
  datasets: DatasetsResource;
@@ -30005,6 +31247,7 @@ declare namespace gapi.client {
30005
31247
  persistentResources: PersistentResourcesResource;
30006
31248
  pipelineJobs: PipelineJobsResource;
30007
31249
  publishers: PublishersResource;
31250
+ ragCorpora: RagCorporaResource;
30008
31251
  reasoningEngines: ReasoningEnginesResource;
30009
31252
  schedules: SchedulesResource;
30010
31253
  specialistPools: SpecialistPoolsResource;
@@ -30378,6 +31621,8 @@ declare namespace gapi.client {
30378
31621
 
30379
31622
  const endpoints: EndpointsResource;
30380
31623
 
31624
+ const media: MediaResource;
31625
+
30381
31626
  const projects: ProjectsResource;
30382
31627
 
30383
31628
  const publishers: PublishersResource;