@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20241117 → 0.0.20241203

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 +1889 -129
  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: 20241117
12
+ // Revision: 20241203
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;
@@ -1492,6 +1605,18 @@ declare namespace gapi.client {
1492
1605
  toolParameterKeyMatchInput?: GoogleCloudAiplatformV1ToolParameterKeyMatchInput;
1493
1606
  /** Input for tool parameter key value match metric. */
1494
1607
  toolParameterKvMatchInput?: GoogleCloudAiplatformV1ToolParameterKVMatchInput;
1608
+ /** Input for trajectory match any order metric. */
1609
+ trajectoryAnyOrderMatchInput?: GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput;
1610
+ /** Input for trajectory exact match metric. */
1611
+ trajectoryExactMatchInput?: GoogleCloudAiplatformV1TrajectoryExactMatchInput;
1612
+ /** Input for trajectory in order match metric. */
1613
+ trajectoryInOrderMatchInput?: GoogleCloudAiplatformV1TrajectoryInOrderMatchInput;
1614
+ /** Input for trajectory precision metric. */
1615
+ trajectoryPrecisionInput?: GoogleCloudAiplatformV1TrajectoryPrecisionInput;
1616
+ /** Input for trajectory recall metric. */
1617
+ trajectoryRecallInput?: GoogleCloudAiplatformV1TrajectoryRecallInput;
1618
+ /** Input for trajectory single tool use metric. */
1619
+ trajectorySingleToolUseInput?: GoogleCloudAiplatformV1TrajectorySingleToolUseInput;
1495
1620
  }
1496
1621
  interface GoogleCloudAiplatformV1EvaluateInstancesResponse {
1497
1622
  /** Results for bleu metric. */
@@ -1544,6 +1669,18 @@ declare namespace gapi.client {
1544
1669
  toolParameterKeyMatchResults?: GoogleCloudAiplatformV1ToolParameterKeyMatchResults;
1545
1670
  /** Results for tool parameter key value match metric. */
1546
1671
  toolParameterKvMatchResults?: GoogleCloudAiplatformV1ToolParameterKVMatchResults;
1672
+ /** Result for trajectory any order match metric. */
1673
+ trajectoryAnyOrderMatchResults?: GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults;
1674
+ /** Result for trajectory exact match metric. */
1675
+ trajectoryExactMatchResults?: GoogleCloudAiplatformV1TrajectoryExactMatchResults;
1676
+ /** Result for trajectory in order match metric. */
1677
+ trajectoryInOrderMatchResults?: GoogleCloudAiplatformV1TrajectoryInOrderMatchResults;
1678
+ /** Result for trajectory precision metric. */
1679
+ trajectoryPrecisionResults?: GoogleCloudAiplatformV1TrajectoryPrecisionResults;
1680
+ /** Results for trajectory recall metric. */
1681
+ trajectoryRecallResults?: GoogleCloudAiplatformV1TrajectoryRecallResults;
1682
+ /** Results for trajectory single tool use metric. */
1683
+ trajectorySingleToolUseResults?: GoogleCloudAiplatformV1TrajectorySingleToolUseResults;
1547
1684
  }
1548
1685
  interface GoogleCloudAiplatformV1Event {
1549
1686
  /** Required. The relative resource name of the Artifact in the Event. */
@@ -1890,6 +2027,20 @@ declare namespace gapi.client {
1890
2027
  /** The returned time series data points. */
1891
2028
  timeSeriesDataPoints?: GoogleCloudAiplatformV1TimeSeriesDataPoint[];
1892
2029
  }
2030
+ interface GoogleCloudAiplatformV1Fact {
2031
+ /** Query that is used to retrieve this fact. */
2032
+ query?: string;
2033
+ /** 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. */
2034
+ score?: number;
2035
+ /** If present, the summary/snippet of the fact. */
2036
+ summary?: string;
2037
+ /** If present, it refers to the title of this fact. */
2038
+ title?: string;
2039
+ /** If present, this uri links to the source of the fact. */
2040
+ uri?: string;
2041
+ /** If present, the distance between the query vector and this fact vector. */
2042
+ vectorDistance?: number;
2043
+ }
1893
2044
  interface GoogleCloudAiplatformV1FasterDeploymentConfig {
1894
2045
  /** If true, enable fast tryout feature for this deployed model. */
1895
2046
  fastTryoutEnabled?: boolean;
@@ -2290,6 +2441,12 @@ declare namespace gapi.client {
2290
2441
  /** Required. The IANA standard MIME type of the source data. */
2291
2442
  mimeType?: string;
2292
2443
  }
2444
+ interface GoogleCloudAiplatformV1FileStatus {
2445
+ /** Output only. Only when the `state` field is ERROR. */
2446
+ errorStatus?: string;
2447
+ /** Output only. RagFile state. */
2448
+ state?: string;
2449
+ }
2293
2450
  interface GoogleCloudAiplatformV1FilterSplit {
2294
2451
  /** 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
2452
  testFilter?: string;
@@ -2433,6 +2590,8 @@ declare namespace gapi.client {
2433
2590
  uris?: string[];
2434
2591
  }
2435
2592
  interface GoogleCloudAiplatformV1GenerateContentRequest {
2593
+ /** 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}` */
2594
+ cachedContent?: string;
2436
2595
  /** 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
2596
  contents?: GoogleCloudAiplatformV1Content[];
2438
2597
  /** Optional. Generation config. */
@@ -2467,6 +2626,8 @@ declare namespace gapi.client {
2467
2626
  safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
2468
2627
  }
2469
2628
  interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
2629
+ /** Output only. Number of tokens in the cached part in the input (the cached content). */
2630
+ cachedContentTokenCount?: number;
2470
2631
  /** Number of tokens in the response(s). */
2471
2632
  candidatesTokenCount?: number;
2472
2633
  /** 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. */
@@ -2491,16 +2652,22 @@ declare namespace gapi.client {
2491
2652
  responseLogprobs?: boolean;
2492
2653
  /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
2493
2654
  responseMimeType?: string;
2655
+ /** Optional. The modalities of the response. */
2656
+ responseModalities?: string[];
2494
2657
  /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
2495
2658
  responseSchema?: GoogleCloudAiplatformV1Schema;
2496
2659
  /** Optional. Routing configuration. */
2497
2660
  routingConfig?: GoogleCloudAiplatformV1GenerationConfigRoutingConfig;
2498
2661
  /** Optional. Seed. */
2499
2662
  seed?: number;
2663
+ /** Optional. The speech generation config. */
2664
+ speechConfig?: GoogleCloudAiplatformV1SpeechConfig;
2500
2665
  /** Optional. Stop sequences. */
2501
2666
  stopSequences?: string[];
2502
2667
  /** Optional. Controls the randomness of predictions. */
2503
2668
  temperature?: number;
2669
+ /** Optional. If specified, the token resolution specified will be used. */
2670
+ tokenResolution?: string;
2504
2671
  /** Optional. If specified, top-k sampling will be used. */
2505
2672
  topK?: number;
2506
2673
  /** Optional. If specified, nucleus sampling will be used. */
@@ -2532,6 +2699,16 @@ declare namespace gapi.client {
2532
2699
  /** Required. The public base model URI. */
2533
2700
  baseModelUri?: string;
2534
2701
  }
2702
+ interface GoogleCloudAiplatformV1GoogleDriveSource {
2703
+ /** Required. Google Drive resource IDs. */
2704
+ resourceIds?: GoogleCloudAiplatformV1GoogleDriveSourceResourceId[];
2705
+ }
2706
+ interface GoogleCloudAiplatformV1GoogleDriveSourceResourceId {
2707
+ /** Required. The ID of the Google Drive resource. */
2708
+ resourceId?: string;
2709
+ /** Required. The type of the Google Drive resource. */
2710
+ resourceType?: string;
2711
+ }
2535
2712
  interface GoogleCloudAiplatformV1GoogleSearchRetrieval {
2536
2713
  /** Specifies the dynamic retrieval configuration for the given source. */
2537
2714
  dynamicRetrievalConfig?: GoogleCloudAiplatformV1DynamicRetrievalConfig;
@@ -2716,6 +2893,30 @@ declare namespace gapi.client {
2716
2893
  /** Required. Model evaluation resource to be imported. */
2717
2894
  modelEvaluation?: GoogleCloudAiplatformV1ModelEvaluation;
2718
2895
  }
2896
+ interface GoogleCloudAiplatformV1ImportRagFilesConfig {
2897
+ /** 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` */
2898
+ gcsSource?: GoogleCloudAiplatformV1GcsSource;
2899
+ /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
2900
+ googleDriveSource?: GoogleCloudAiplatformV1GoogleDriveSource;
2901
+ /** Jira queries with their corresponding authentication. */
2902
+ jiraSource?: GoogleCloudAiplatformV1JiraSource;
2903
+ /** 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. */
2904
+ maxEmbeddingRequestsPerMin?: number;
2905
+ /** 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`. */
2906
+ partialFailureBigquerySink?: GoogleCloudAiplatformV1BigQueryDestination;
2907
+ /** The Cloud Storage path to write partial failures to. Deprecated. Prefer to use `import_result_gcs_sink`. */
2908
+ partialFailureGcsSink?: GoogleCloudAiplatformV1GcsDestination;
2909
+ /** Specifies the transformation config for RagFiles. */
2910
+ ragFileTransformationConfig?: GoogleCloudAiplatformV1RagFileTransformationConfig;
2911
+ /** SharePoint sources. */
2912
+ sharePointSources?: GoogleCloudAiplatformV1SharePointSources;
2913
+ /** Slack channels with their corresponding access tokens. */
2914
+ slackSource?: GoogleCloudAiplatformV1SlackSource;
2915
+ }
2916
+ interface GoogleCloudAiplatformV1ImportRagFilesRequest {
2917
+ /** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
2918
+ importRagFilesConfig?: GoogleCloudAiplatformV1ImportRagFilesConfig;
2919
+ }
2719
2920
  interface GoogleCloudAiplatformV1Index {
2720
2921
  /** Output only. Timestamp when this Index was created. */
2721
2922
  createTime?: string;
@@ -2880,6 +3081,22 @@ declare namespace gapi.client {
2880
3081
  /** 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
3082
  stepCount?: number;
2882
3083
  }
3084
+ interface GoogleCloudAiplatformV1JiraSource {
3085
+ /** Required. The Jira queries. */
3086
+ jiraQueries?: GoogleCloudAiplatformV1JiraSourceJiraQueries[];
3087
+ }
3088
+ interface GoogleCloudAiplatformV1JiraSourceJiraQueries {
3089
+ /** 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/). */
3090
+ apiKeyConfig?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
3091
+ /** 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/ */
3092
+ customQueries?: string[];
3093
+ /** Required. The Jira email address. */
3094
+ email?: string;
3095
+ /** A list of Jira projects to import in their entirety. */
3096
+ projects?: string[];
3097
+ /** Required. The Jira server URI. */
3098
+ serverUri?: string;
3099
+ }
2883
3100
  interface GoogleCloudAiplatformV1LargeModelReference {
2884
3101
  /** 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
3102
  name?: string;
@@ -2910,6 +3127,12 @@ declare namespace gapi.client {
2910
3127
  /** A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page. */
2911
3128
  nextPageToken?: string;
2912
3129
  }
3130
+ interface GoogleCloudAiplatformV1ListCachedContentsResponse {
3131
+ /** List of cached contents. */
3132
+ cachedContents?: GoogleCloudAiplatformV1CachedContent[];
3133
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3134
+ nextPageToken?: string;
3135
+ }
2913
3136
  interface GoogleCloudAiplatformV1ListContextsResponse {
2914
3137
  /** The Contexts retrieved from the MetadataStore. */
2915
3138
  contexts?: GoogleCloudAiplatformV1Context[];
@@ -3112,6 +3335,18 @@ declare namespace gapi.client {
3112
3335
  /** List of PipelineJobs in the requested page. */
3113
3336
  pipelineJobs?: GoogleCloudAiplatformV1PipelineJob[];
3114
3337
  }
3338
+ interface GoogleCloudAiplatformV1ListRagCorporaResponse {
3339
+ /** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
3340
+ nextPageToken?: string;
3341
+ /** List of RagCorpora in the requested page. */
3342
+ ragCorpora?: GoogleCloudAiplatformV1RagCorpus[];
3343
+ }
3344
+ interface GoogleCloudAiplatformV1ListRagFilesResponse {
3345
+ /** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
3346
+ nextPageToken?: string;
3347
+ /** List of RagFiles in the requested page. */
3348
+ ragFiles?: GoogleCloudAiplatformV1RagFile[];
3349
+ }
3115
3350
  interface GoogleCloudAiplatformV1ListReasoningEnginesResponse {
3116
3351
  /** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
3117
3352
  nextPageToken?: string;
@@ -4110,12 +4345,16 @@ declare namespace gapi.client {
4110
4345
  interface GoogleCloudAiplatformV1NotebookRuntime {
4111
4346
  /** Output only. Timestamp when this NotebookRuntime was created. */
4112
4347
  createTime?: string;
4348
+ /** Output only. The specification of persistent disk attached to the notebook runtime as data disk storage. */
4349
+ dataPersistentDiskSpec?: GoogleCloudAiplatformV1PersistentDiskSpec;
4113
4350
  /** The description of the NotebookRuntime. */
4114
4351
  description?: string;
4115
4352
  /** Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4116
4353
  displayName?: string;
4117
4354
  /** Output only. Customer-managed encryption key spec for the notebook runtime. */
4118
4355
  encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
4356
+ /** Output only. EUC configuration of the notebook runtime. */
4357
+ eucConfig?: GoogleCloudAiplatformV1NotebookEucConfig;
4119
4358
  /** Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade. */
4120
4359
  expirationTime?: string;
4121
4360
  /** Output only. The health state of the NotebookRuntime. */
@@ -4126,8 +4365,12 @@ declare namespace gapi.client {
4126
4365
  isUpgradable?: boolean;
4127
4366
  /** The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex. */
4128
4367
  labels?: {[P in string]: string};
4368
+ /** Output only. The specification of a single machine used by the notebook runtime. */
4369
+ machineSpec?: GoogleCloudAiplatformV1MachineSpec;
4129
4370
  /** Output only. The resource name of the NotebookRuntime. */
4130
4371
  name?: string;
4372
+ /** Output only. Network spec of the notebook runtime. */
4373
+ networkSpec?: GoogleCloudAiplatformV1NetworkSpec;
4131
4374
  /** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
4132
4375
  networkTags?: string[];
4133
4376
  /** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
@@ -4144,8 +4387,10 @@ declare namespace gapi.client {
4144
4387
  satisfiesPzi?: boolean;
4145
4388
  /** Output only. Reserved for future use. */
4146
4389
  satisfiesPzs?: boolean;
4147
- /** Output only. The service account that the NotebookRuntime workload runs as. */
4390
+ /** Output only. Deprecated: This field is no longer used and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. The service account that the NotebookRuntime workload runs as. */
4148
4391
  serviceAccount?: string;
4392
+ /** Output only. Runtime Shielded VM spec. */
4393
+ shieldedVmConfig?: GoogleCloudAiplatformV1ShieldedVmConfig;
4149
4394
  /** Output only. Timestamp when this NotebookRuntime was most recently updated. */
4150
4395
  updateTime?: string;
4151
4396
  /** Output only. The VM os image version of NotebookRuntime. */
@@ -4168,7 +4413,7 @@ declare namespace gapi.client {
4168
4413
  eucConfig?: GoogleCloudAiplatformV1NotebookEucConfig;
4169
4414
  /** The idle shutdown configuration of NotebookRuntimeTemplate. This config will only be set when idle shutdown is enabled. */
4170
4415
  idleShutdownConfig?: GoogleCloudAiplatformV1NotebookIdleShutdownConfig;
4171
- /** Output only. The default template to use if not specified. */
4416
+ /** Output only. Deprecated: This field has no behavior. Use notebook_runtime_type = 'ONE_CLICK' instead. The default template to use if not specified. */
4172
4417
  isDefault?: boolean;
4173
4418
  /** The labels with user-defined metadata to organize the NotebookRuntimeTemplates. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
4174
4419
  labels?: {[P in string]: string};
@@ -4182,7 +4427,7 @@ declare namespace gapi.client {
4182
4427
  networkTags?: string[];
4183
4428
  /** Optional. Immutable. The type of the notebook runtime template. */
4184
4429
  notebookRuntimeType?: string;
4185
- /** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
4430
+ /** Deprecated: This field is ignored and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. For NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
4186
4431
  serviceAccount?: string;
4187
4432
  /** Optional. Immutable. Runtime Shielded VM spec. */
4188
4433
  shieldedVmConfig?: GoogleCloudAiplatformV1ShieldedVmConfig;
@@ -4495,6 +4740,10 @@ declare namespace gapi.client {
4495
4740
  /** The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive. */
4496
4741
  containerPort?: number;
4497
4742
  }
4743
+ interface GoogleCloudAiplatformV1PrebuiltVoiceConfig {
4744
+ /** The name of the preset voice to use. */
4745
+ voiceName?: string;
4746
+ }
4498
4747
  interface GoogleCloudAiplatformV1PredefinedSplit {
4499
4748
  /** Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of {`training`, `validation`, `test`}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline. */
4500
4749
  key?: string;
@@ -4795,6 +5044,16 @@ declare namespace gapi.client {
4795
5044
  /** The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. */
4796
5045
  totalEndpointCount?: number;
4797
5046
  }
5047
+ interface GoogleCloudAiplatformV1QueryReasoningEngineRequest {
5048
+ /** Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified. */
5049
+ classMethod?: string;
5050
+ /** Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc. */
5051
+ input?: {[P in string]: any};
5052
+ }
5053
+ interface GoogleCloudAiplatformV1QueryReasoningEngineResponse {
5054
+ /** Response provided by users in JSON object format. */
5055
+ output?: any;
5056
+ }
4798
5057
  interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput {
4799
5058
  /** Required. Question answering correctness instance. */
4800
5059
  instance?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance;
@@ -4915,6 +5174,131 @@ declare namespace gapi.client {
4915
5174
  /** Optional. Which version to use for evaluation. */
4916
5175
  version?: number;
4917
5176
  }
5177
+ interface GoogleCloudAiplatformV1RagContexts {
5178
+ /** All its contexts. */
5179
+ contexts?: GoogleCloudAiplatformV1RagContextsContext[];
5180
+ }
5181
+ interface GoogleCloudAiplatformV1RagContextsContext {
5182
+ /** 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. */
5183
+ score?: number;
5184
+ /** The file display name. */
5185
+ sourceDisplayName?: string;
5186
+ /** 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. */
5187
+ sourceUri?: string;
5188
+ /** The text chunk. */
5189
+ text?: string;
5190
+ }
5191
+ interface GoogleCloudAiplatformV1RagCorpus {
5192
+ /** Output only. RagCorpus state. */
5193
+ corpusStatus?: GoogleCloudAiplatformV1CorpusStatus;
5194
+ /** Output only. Timestamp when this RagCorpus was created. */
5195
+ createTime?: string;
5196
+ /** Optional. The description of the RagCorpus. */
5197
+ description?: string;
5198
+ /** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5199
+ displayName?: string;
5200
+ /** Output only. The resource name of the RagCorpus. */
5201
+ name?: string;
5202
+ /** Output only. Timestamp when this RagCorpus was last updated. */
5203
+ updateTime?: string;
5204
+ /** Optional. Immutable. The config for the Vector DBs. */
5205
+ vectorDbConfig?: GoogleCloudAiplatformV1RagVectorDbConfig;
5206
+ }
5207
+ interface GoogleCloudAiplatformV1RagEmbeddingModelConfig {
5208
+ /** 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. */
5209
+ vertexPredictionEndpoint?: GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint;
5210
+ }
5211
+ interface GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint {
5212
+ /** Required. The endpoint resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}` */
5213
+ endpoint?: string;
5214
+ /** 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}` */
5215
+ model?: string;
5216
+ /** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
5217
+ modelVersionId?: string;
5218
+ }
5219
+ interface GoogleCloudAiplatformV1RagFile {
5220
+ /** Output only. Timestamp when this RagFile was created. */
5221
+ createTime?: string;
5222
+ /** Optional. The description of the RagFile. */
5223
+ description?: string;
5224
+ /** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
5225
+ directUploadSource?: any;
5226
+ /** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5227
+ displayName?: string;
5228
+ /** Output only. State of the RagFile. */
5229
+ fileStatus?: GoogleCloudAiplatformV1FileStatus;
5230
+ /** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now. */
5231
+ gcsSource?: GoogleCloudAiplatformV1GcsSource;
5232
+ /** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
5233
+ googleDriveSource?: GoogleCloudAiplatformV1GoogleDriveSource;
5234
+ /** The RagFile is imported from a Jira query. */
5235
+ jiraSource?: GoogleCloudAiplatformV1JiraSource;
5236
+ /** Output only. The resource name of the RagFile. */
5237
+ name?: string;
5238
+ /** The RagFile is imported from a SharePoint source. */
5239
+ sharePointSources?: GoogleCloudAiplatformV1SharePointSources;
5240
+ /** The RagFile is imported from a Slack channel. */
5241
+ slackSource?: GoogleCloudAiplatformV1SlackSource;
5242
+ /** Output only. Timestamp when this RagFile was last updated. */
5243
+ updateTime?: string;
5244
+ }
5245
+ interface GoogleCloudAiplatformV1RagFileChunkingConfig {
5246
+ /** Specifies the fixed length chunking config. */
5247
+ fixedLengthChunking?: GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking;
5248
+ }
5249
+ interface GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking {
5250
+ /** The overlap between chunks. */
5251
+ chunkOverlap?: number;
5252
+ /** The size of the chunks. */
5253
+ chunkSize?: number;
5254
+ }
5255
+ interface GoogleCloudAiplatformV1RagFileTransformationConfig {
5256
+ /** Specifies the chunking config for RagFiles. */
5257
+ ragFileChunkingConfig?: GoogleCloudAiplatformV1RagFileChunkingConfig;
5258
+ }
5259
+ interface GoogleCloudAiplatformV1RagQuery {
5260
+ /** Optional. The retrieval config for the query. */
5261
+ ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
5262
+ /** Optional. The query in text format to get relevant contexts. */
5263
+ text?: string;
5264
+ }
5265
+ interface GoogleCloudAiplatformV1RagRetrievalConfig {
5266
+ /** Optional. Config for filters. */
5267
+ filter?: GoogleCloudAiplatformV1RagRetrievalConfigFilter;
5268
+ /** Optional. The number of contexts to retrieve. */
5269
+ topK?: number;
5270
+ }
5271
+ interface GoogleCloudAiplatformV1RagRetrievalConfigFilter {
5272
+ /** Optional. String for metadata filtering. */
5273
+ metadataFilter?: string;
5274
+ /** Optional. Only returns contexts with vector distance smaller than the threshold. */
5275
+ vectorDistanceThreshold?: number;
5276
+ /** Optional. Only returns contexts with vector similarity larger than the threshold. */
5277
+ vectorSimilarityThreshold?: number;
5278
+ }
5279
+ interface GoogleCloudAiplatformV1RagVectorDbConfig {
5280
+ /** Authentication config for the chosen Vector DB. */
5281
+ apiAuth?: GoogleCloudAiplatformV1ApiAuth;
5282
+ /** The config for the Pinecone. */
5283
+ pinecone?: GoogleCloudAiplatformV1RagVectorDbConfigPinecone;
5284
+ /** Optional. Immutable. The embedding model config of the Vector DB. */
5285
+ ragEmbeddingModelConfig?: GoogleCloudAiplatformV1RagEmbeddingModelConfig;
5286
+ /** The config for the RAG-managed Vector DB. */
5287
+ ragManagedDb?: any;
5288
+ /** The config for the Vertex Vector Search. */
5289
+ vertexVectorSearch?: GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch;
5290
+ }
5291
+ interface GoogleCloudAiplatformV1RagVectorDbConfigPinecone {
5292
+ /** Pinecone index name. This value cannot be changed after it's set. */
5293
+ indexName?: string;
5294
+ }
5295
+ interface GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb {}
5296
+ interface GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch {
5297
+ /** The resource name of the Index. Format: `projects/{project}/locations/{location}/indexes/{index}` */
5298
+ index?: string;
5299
+ /** The resource name of the Index Endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` */
5300
+ indexEndpoint?: string;
5301
+ }
4918
5302
  interface GoogleCloudAiplatformV1RawPredictRequest {
4919
5303
  /** 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
5304
  httpBody?: GoogleApiHttpBody;
@@ -5133,6 +5517,28 @@ declare namespace gapi.client {
5133
5517
  /** 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
5518
  googleSearchDynamicRetrievalScore?: number;
5135
5519
  }
5520
+ interface GoogleCloudAiplatformV1RetrieveContextsRequest {
5521
+ /** Required. Single RAG retrieve query. */
5522
+ query?: GoogleCloudAiplatformV1RagQuery;
5523
+ /** The data source for Vertex RagStore. */
5524
+ vertexRagStore?: GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore;
5525
+ }
5526
+ interface GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore {
5527
+ /** 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. */
5528
+ ragResources?: GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource[];
5529
+ /** Optional. Only return contexts with vector distance smaller than the threshold. */
5530
+ vectorDistanceThreshold?: number;
5531
+ }
5532
+ interface GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource {
5533
+ /** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
5534
+ ragCorpus?: string;
5535
+ /** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
5536
+ ragFileIds?: string[];
5537
+ }
5538
+ interface GoogleCloudAiplatformV1RetrieveContextsResponse {
5539
+ /** The contexts of the query. */
5540
+ contexts?: GoogleCloudAiplatformV1RagContexts;
5541
+ }
5136
5542
  interface GoogleCloudAiplatformV1RougeInput {
5137
5543
  /** Required. Repeated rouge instances. */
5138
5544
  instances?: GoogleCloudAiplatformV1RougeInstance[];
@@ -6873,10 +7279,52 @@ declare namespace gapi.client {
6873
7279
  /** Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job. */
6874
7280
  serviceAccount?: string;
6875
7281
  }
7282
+ interface GoogleCloudAiplatformV1SharePointSources {
7283
+ /** The SharePoint sources. */
7284
+ sharePointSources?: GoogleCloudAiplatformV1SharePointSourcesSharePointSource[];
7285
+ }
7286
+ interface GoogleCloudAiplatformV1SharePointSourcesSharePointSource {
7287
+ /** The Application ID for the app registered in Microsoft Azure Portal. The application must also be configured with MS Graph permissions "Files.ReadAll", "Sites.ReadAll" and BrowserSiteLists.Read.All. */
7288
+ clientId?: string;
7289
+ /** The application secret for the app registered in Azure. */
7290
+ clientSecret?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
7291
+ /** The ID of the drive to download from. */
7292
+ driveId?: string;
7293
+ /** The name of the drive to download from. */
7294
+ driveName?: string;
7295
+ /** Output only. The SharePoint file id. Output only. */
7296
+ fileId?: string;
7297
+ /** The ID of the SharePoint folder to download from. */
7298
+ sharepointFolderId?: string;
7299
+ /** The path of the SharePoint folder to download from. */
7300
+ sharepointFolderPath?: string;
7301
+ /** The name of the SharePoint site to download from. This can be the site name or the site id. */
7302
+ sharepointSiteName?: string;
7303
+ /** Unique identifier of the Azure Active Directory Instance. */
7304
+ tenantId?: string;
7305
+ }
6876
7306
  interface GoogleCloudAiplatformV1ShieldedVmConfig {
6877
7307
  /** 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
7308
  enableSecureBoot?: boolean;
6879
7309
  }
7310
+ interface GoogleCloudAiplatformV1SlackSource {
7311
+ /** Required. The Slack channels. */
7312
+ channels?: GoogleCloudAiplatformV1SlackSourceSlackChannels[];
7313
+ }
7314
+ interface GoogleCloudAiplatformV1SlackSourceSlackChannels {
7315
+ /** 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. */
7316
+ apiKeyConfig?: GoogleCloudAiplatformV1ApiAuthApiKeyConfig;
7317
+ /** Required. The Slack channel IDs. */
7318
+ channels?: GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel[];
7319
+ }
7320
+ interface GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel {
7321
+ /** Required. The Slack channel ID. */
7322
+ channelId?: string;
7323
+ /** Optional. The ending timestamp for messages to import. */
7324
+ endTime?: string;
7325
+ /** Optional. The starting timestamp for messages to import. */
7326
+ startTime?: string;
7327
+ }
6880
7328
  interface GoogleCloudAiplatformV1SmoothGradConfig {
6881
7329
  /** 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
7330
  featureNoiseSigma?: GoogleCloudAiplatformV1FeatureNoiseSigma;
@@ -6899,6 +7347,10 @@ declare namespace gapi.client {
6899
7347
  /** The email addresses of workers in the SpecialistPool. */
6900
7348
  specialistWorkerEmails?: string[];
6901
7349
  }
7350
+ interface GoogleCloudAiplatformV1SpeechConfig {
7351
+ /** The configuration for the speaker to use. */
7352
+ voiceConfig?: GoogleCloudAiplatformV1VoiceConfig;
7353
+ }
6902
7354
  interface GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata {
6903
7355
  /** The operation generic information. */
6904
7356
  genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
@@ -7486,11 +7938,19 @@ declare namespace gapi.client {
7486
7938
  interface GoogleCloudAiplatformV1Tool {
7487
7939
  /** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided. */
7488
7940
  functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
7941
+ /** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
7942
+ googleSearch?: any;
7489
7943
  /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
7490
7944
  googleSearchRetrieval?: GoogleCloudAiplatformV1GoogleSearchRetrieval;
7491
7945
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
7492
7946
  retrieval?: GoogleCloudAiplatformV1Retrieval;
7493
7947
  }
7948
+ interface GoogleCloudAiplatformV1ToolCall {
7949
+ /** Optional. Spec for tool input */
7950
+ toolInput?: string;
7951
+ /** Required. Spec for tool name */
7952
+ toolName?: string;
7953
+ }
7494
7954
  interface GoogleCloudAiplatformV1ToolCallValidInput {
7495
7955
  /** Required. Repeated tool call valid instances. */
7496
7956
  instances?: GoogleCloudAiplatformV1ToolCallValidInstance[];
@@ -7516,6 +7976,7 @@ declare namespace gapi.client {
7516
7976
  /** Optional. Function calling config. */
7517
7977
  functionCallingConfig?: GoogleCloudAiplatformV1FunctionCallingConfig;
7518
7978
  }
7979
+ interface GoogleCloudAiplatformV1ToolGoogleSearch {}
7519
7980
  interface GoogleCloudAiplatformV1ToolNameMatchInput {
7520
7981
  /** Required. Repeated tool name match instances. */
7521
7982
  instances?: GoogleCloudAiplatformV1ToolNameMatchInstance[];
@@ -7622,6 +8083,137 @@ declare namespace gapi.client {
7622
8083
  /** Output only. Time when the TrainingPipeline was most recently updated. */
7623
8084
  updateTime?: string;
7624
8085
  }
8086
+ interface GoogleCloudAiplatformV1Trajectory {
8087
+ /** Required. Tool calls in the trajectory. */
8088
+ toolCalls?: GoogleCloudAiplatformV1ToolCall[];
8089
+ }
8090
+ interface GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput {
8091
+ /** Required. Repeated TrajectoryAnyOrderMatch instance. */
8092
+ instances?: GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance[];
8093
+ /** Required. Spec for TrajectoryAnyOrderMatch metric. */
8094
+ metricSpec?: any;
8095
+ }
8096
+ interface GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance {
8097
+ /** Required. Spec for predicted tool call trajectory. */
8098
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8099
+ /** Required. Spec for reference tool call trajectory. */
8100
+ referenceTrajectory?: GoogleCloudAiplatformV1Trajectory;
8101
+ }
8102
+ interface GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue {
8103
+ /** Output only. TrajectoryAnyOrderMatch score. */
8104
+ score?: number;
8105
+ }
8106
+ interface GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults {
8107
+ /** Output only. TrajectoryAnyOrderMatch metric values. */
8108
+ trajectoryAnyOrderMatchMetricValues?: GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue[];
8109
+ }
8110
+ interface GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec {}
8111
+ interface GoogleCloudAiplatformV1TrajectoryExactMatchInput {
8112
+ /** Required. Repeated TrajectoryExactMatch instance. */
8113
+ instances?: GoogleCloudAiplatformV1TrajectoryExactMatchInstance[];
8114
+ /** Required. Spec for TrajectoryExactMatch metric. */
8115
+ metricSpec?: any;
8116
+ }
8117
+ interface GoogleCloudAiplatformV1TrajectoryExactMatchInstance {
8118
+ /** Required. Spec for predicted tool call trajectory. */
8119
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8120
+ /** Required. Spec for reference tool call trajectory. */
8121
+ referenceTrajectory?: GoogleCloudAiplatformV1Trajectory;
8122
+ }
8123
+ interface GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue {
8124
+ /** Output only. TrajectoryExactMatch score. */
8125
+ score?: number;
8126
+ }
8127
+ interface GoogleCloudAiplatformV1TrajectoryExactMatchResults {
8128
+ /** Output only. TrajectoryExactMatch metric values. */
8129
+ trajectoryExactMatchMetricValues?: GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue[];
8130
+ }
8131
+ interface GoogleCloudAiplatformV1TrajectoryExactMatchSpec {}
8132
+ interface GoogleCloudAiplatformV1TrajectoryInOrderMatchInput {
8133
+ /** Required. Repeated TrajectoryInOrderMatch instance. */
8134
+ instances?: GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance[];
8135
+ /** Required. Spec for TrajectoryInOrderMatch metric. */
8136
+ metricSpec?: any;
8137
+ }
8138
+ interface GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance {
8139
+ /** Required. Spec for predicted tool call trajectory. */
8140
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8141
+ /** Required. Spec for reference tool call trajectory. */
8142
+ referenceTrajectory?: GoogleCloudAiplatformV1Trajectory;
8143
+ }
8144
+ interface GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue {
8145
+ /** Output only. TrajectoryInOrderMatch score. */
8146
+ score?: number;
8147
+ }
8148
+ interface GoogleCloudAiplatformV1TrajectoryInOrderMatchResults {
8149
+ /** Output only. TrajectoryInOrderMatch metric values. */
8150
+ trajectoryInOrderMatchMetricValues?: GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue[];
8151
+ }
8152
+ interface GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec {}
8153
+ interface GoogleCloudAiplatformV1TrajectoryPrecisionInput {
8154
+ /** Required. Repeated TrajectoryPrecision instance. */
8155
+ instances?: GoogleCloudAiplatformV1TrajectoryPrecisionInstance[];
8156
+ /** Required. Spec for TrajectoryPrecision metric. */
8157
+ metricSpec?: any;
8158
+ }
8159
+ interface GoogleCloudAiplatformV1TrajectoryPrecisionInstance {
8160
+ /** Required. Spec for predicted tool call trajectory. */
8161
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8162
+ /** Required. Spec for reference tool call trajectory. */
8163
+ referenceTrajectory?: GoogleCloudAiplatformV1Trajectory;
8164
+ }
8165
+ interface GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue {
8166
+ /** Output only. TrajectoryPrecision score. */
8167
+ score?: number;
8168
+ }
8169
+ interface GoogleCloudAiplatformV1TrajectoryPrecisionResults {
8170
+ /** Output only. TrajectoryPrecision metric values. */
8171
+ trajectoryPrecisionMetricValues?: GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue[];
8172
+ }
8173
+ interface GoogleCloudAiplatformV1TrajectoryPrecisionSpec {}
8174
+ interface GoogleCloudAiplatformV1TrajectoryRecallInput {
8175
+ /** Required. Repeated TrajectoryRecall instance. */
8176
+ instances?: GoogleCloudAiplatformV1TrajectoryRecallInstance[];
8177
+ /** Required. Spec for TrajectoryRecall metric. */
8178
+ metricSpec?: any;
8179
+ }
8180
+ interface GoogleCloudAiplatformV1TrajectoryRecallInstance {
8181
+ /** Required. Spec for predicted tool call trajectory. */
8182
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8183
+ /** Required. Spec for reference tool call trajectory. */
8184
+ referenceTrajectory?: GoogleCloudAiplatformV1Trajectory;
8185
+ }
8186
+ interface GoogleCloudAiplatformV1TrajectoryRecallMetricValue {
8187
+ /** Output only. TrajectoryRecall score. */
8188
+ score?: number;
8189
+ }
8190
+ interface GoogleCloudAiplatformV1TrajectoryRecallResults {
8191
+ /** Output only. TrajectoryRecall metric values. */
8192
+ trajectoryRecallMetricValues?: GoogleCloudAiplatformV1TrajectoryRecallMetricValue[];
8193
+ }
8194
+ interface GoogleCloudAiplatformV1TrajectoryRecallSpec {}
8195
+ interface GoogleCloudAiplatformV1TrajectorySingleToolUseInput {
8196
+ /** Required. Repeated TrajectorySingleToolUse instance. */
8197
+ instances?: GoogleCloudAiplatformV1TrajectorySingleToolUseInstance[];
8198
+ /** Required. Spec for TrajectorySingleToolUse metric. */
8199
+ metricSpec?: GoogleCloudAiplatformV1TrajectorySingleToolUseSpec;
8200
+ }
8201
+ interface GoogleCloudAiplatformV1TrajectorySingleToolUseInstance {
8202
+ /** Required. Spec for predicted tool call trajectory. */
8203
+ predictedTrajectory?: GoogleCloudAiplatformV1Trajectory;
8204
+ }
8205
+ interface GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue {
8206
+ /** Output only. TrajectorySingleToolUse score. */
8207
+ score?: number;
8208
+ }
8209
+ interface GoogleCloudAiplatformV1TrajectorySingleToolUseResults {
8210
+ /** Output only. TrajectorySingleToolUse metric values. */
8211
+ trajectorySingleToolUseMetricValues?: GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue[];
8212
+ }
8213
+ interface GoogleCloudAiplatformV1TrajectorySingleToolUseSpec {
8214
+ /** Required. Spec for tool name to be checked for in the predicted trajectory. */
8215
+ toolName?: string;
8216
+ }
7625
8217
  interface GoogleCloudAiplatformV1Trial {
7626
8218
  /** Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial. */
7627
8219
  clientId?: string;
@@ -7697,6 +8289,8 @@ declare namespace gapi.client {
7697
8289
  labels?: {[P in string]: string};
7698
8290
  /** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
7699
8291
  name?: string;
8292
+ /** 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. */
8293
+ serviceAccount?: string;
7700
8294
  /** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
7701
8295
  startTime?: string;
7702
8296
  /** Output only. The detailed state of the job. */
@@ -7830,6 +8424,22 @@ declare namespace gapi.client {
7830
8424
  /** Output only. The version ID of the model that is uploaded. */
7831
8425
  modelVersionId?: string;
7832
8426
  }
8427
+ interface GoogleCloudAiplatformV1UploadRagFileConfig {
8428
+ /** Specifies the transformation config for RagFiles. */
8429
+ ragFileTransformationConfig?: GoogleCloudAiplatformV1RagFileTransformationConfig;
8430
+ }
8431
+ interface GoogleCloudAiplatformV1UploadRagFileRequest {
8432
+ /** Required. The RagFile to upload. */
8433
+ ragFile?: GoogleCloudAiplatformV1RagFile;
8434
+ /** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
8435
+ uploadRagFileConfig?: GoogleCloudAiplatformV1UploadRagFileConfig;
8436
+ }
8437
+ interface GoogleCloudAiplatformV1UploadRagFileResponse {
8438
+ /** The error that occurred while processing the RagFile. */
8439
+ error?: GoogleRpcStatus;
8440
+ /** The RagFile that had been uploaded into the RagCorpus. */
8441
+ ragFile?: GoogleCloudAiplatformV1RagFile;
8442
+ }
7833
8443
  interface GoogleCloudAiplatformV1UpsertDatapointsRequest {
7834
8444
  /** A list of datapoints to be created/updated. */
7835
8445
  datapoints?: GoogleCloudAiplatformV1IndexDatapoint[];
@@ -7858,10 +8468,10 @@ declare namespace gapi.client {
7858
8468
  datastore?: string;
7859
8469
  }
7860
8470
  interface GoogleCloudAiplatformV1VertexRagStore {
7861
- /** Optional. Deprecated. Please use rag_resources instead. */
7862
- ragCorpora?: string[];
7863
8471
  /** 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
8472
  ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
8473
+ /** Optional. The retrieval config for the Rag query. */
8474
+ ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
7865
8475
  /** Optional. Number of top k results to return from the selected corpora. */
7866
8476
  similarityTopK?: number;
7867
8477
  /** Optional. Only return results with vector distance smaller than the threshold. */
@@ -7879,6 +8489,10 @@ declare namespace gapi.client {
7879
8489
  /** Optional. The start offset of the video. */
7880
8490
  startOffset?: string;
7881
8491
  }
8492
+ interface GoogleCloudAiplatformV1VoiceConfig {
8493
+ /** The configuration for the prebuilt voice to use. */
8494
+ prebuiltVoiceConfig?: GoogleCloudAiplatformV1PrebuiltVoiceConfig;
8495
+ }
7882
8496
  interface GoogleCloudAiplatformV1WorkerPoolSpec {
7883
8497
  /** The custom container task. */
7884
8498
  containerSpec?: GoogleCloudAiplatformV1ContainerSpec;
@@ -8727,6 +9341,66 @@ declare namespace gapi.client {
8727
9341
  body: GoogleCloudAiplatformV1GenerateContentRequest
8728
9342
  ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
8729
9343
  }
9344
+ interface MediaResource {
9345
+ /** Upload a file into a RagCorpus. */
9346
+ upload(request: {
9347
+ /** V1 error format. */
9348
+ '$.xgafv'?: string;
9349
+ /** OAuth access token. */
9350
+ access_token?: string;
9351
+ /** Data format for response. */
9352
+ alt?: string;
9353
+ /** JSONP */
9354
+ callback?: string;
9355
+ /** Selector specifying which fields to include in a partial response. */
9356
+ fields?: string;
9357
+ /** 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. */
9358
+ key?: string;
9359
+ /** OAuth 2.0 token for the current user. */
9360
+ oauth_token?: string;
9361
+ /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
9362
+ parent: string;
9363
+ /** Returns response with indentations and line breaks. */
9364
+ prettyPrint?: boolean;
9365
+ /** 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. */
9366
+ quotaUser?: string;
9367
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9368
+ upload_protocol?: string;
9369
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9370
+ uploadType?: string;
9371
+ /** Request body */
9372
+ resource: GoogleCloudAiplatformV1UploadRagFileRequest;
9373
+ }): Request<GoogleCloudAiplatformV1UploadRagFileResponse>;
9374
+ upload(
9375
+ request: {
9376
+ /** V1 error format. */
9377
+ '$.xgafv'?: string;
9378
+ /** OAuth access token. */
9379
+ access_token?: string;
9380
+ /** Data format for response. */
9381
+ alt?: string;
9382
+ /** JSONP */
9383
+ callback?: string;
9384
+ /** Selector specifying which fields to include in a partial response. */
9385
+ fields?: string;
9386
+ /** 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. */
9387
+ key?: string;
9388
+ /** OAuth 2.0 token for the current user. */
9389
+ oauth_token?: string;
9390
+ /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
9391
+ parent: string;
9392
+ /** Returns response with indentations and line breaks. */
9393
+ prettyPrint?: boolean;
9394
+ /** 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. */
9395
+ quotaUser?: string;
9396
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9397
+ upload_protocol?: string;
9398
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9399
+ uploadType?: string;
9400
+ },
9401
+ body: GoogleCloudAiplatformV1UploadRagFileRequest
9402
+ ): Request<GoogleCloudAiplatformV1UploadRagFileResponse>;
9403
+ }
8730
9404
  interface BatchPredictionJobsResource {
8731
9405
  /** 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
9406
  cancel(request: {
@@ -8934,9 +9608,9 @@ declare namespace gapi.client {
8934
9608
  uploadType?: string;
8935
9609
  }): Request<GoogleCloudAiplatformV1ListBatchPredictionJobsResponse>;
8936
9610
  }
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?: {
9611
+ interface CachedContentsResource {
9612
+ /** Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage. */
9613
+ create(request: {
8940
9614
  /** V1 error format. */
8941
9615
  '$.xgafv'?: string;
8942
9616
  /** OAuth access token. */
@@ -8949,10 +9623,10 @@ declare namespace gapi.client {
8949
9623
  fields?: string;
8950
9624
  /** 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
9625
  key?: string;
8952
- /** The name of the operation resource to be cancelled. */
8953
- name: string;
8954
9626
  /** OAuth 2.0 token for the current user. */
8955
9627
  oauth_token?: string;
9628
+ /** Required. The parent resource where the cached content will be created */
9629
+ parent: string;
8956
9630
  /** Returns response with indentations and line breaks. */
8957
9631
  prettyPrint?: boolean;
8958
9632
  /** 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 +9635,39 @@ declare namespace gapi.client {
8961
9635
  upload_protocol?: string;
8962
9636
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8963
9637
  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`. */
9638
+ /** Request body */
9639
+ resource: GoogleCloudAiplatformV1CachedContent;
9640
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9641
+ create(
9642
+ request: {
9643
+ /** V1 error format. */
9644
+ '$.xgafv'?: string;
9645
+ /** OAuth access token. */
9646
+ access_token?: string;
9647
+ /** Data format for response. */
9648
+ alt?: string;
9649
+ /** JSONP */
9650
+ callback?: string;
9651
+ /** Selector specifying which fields to include in a partial response. */
9652
+ fields?: string;
9653
+ /** 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. */
9654
+ key?: string;
9655
+ /** OAuth 2.0 token for the current user. */
9656
+ oauth_token?: string;
9657
+ /** Required. The parent resource where the cached content will be created */
9658
+ parent: string;
9659
+ /** Returns response with indentations and line breaks. */
9660
+ prettyPrint?: boolean;
9661
+ /** 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. */
9662
+ quotaUser?: string;
9663
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9664
+ upload_protocol?: string;
9665
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9666
+ uploadType?: string;
9667
+ },
9668
+ body: GoogleCloudAiplatformV1CachedContent
9669
+ ): Request<GoogleCloudAiplatformV1CachedContent>;
9670
+ /** Deletes cached content */
8966
9671
  delete(request?: {
8967
9672
  /** V1 error format. */
8968
9673
  '$.xgafv'?: string;
@@ -8976,7 +9681,7 @@ declare namespace gapi.client {
8976
9681
  fields?: string;
8977
9682
  /** 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
9683
  key?: string;
8979
- /** The name of the operation resource to be deleted. */
9684
+ /** Required. The resource name referring to the cached content */
8980
9685
  name: string;
8981
9686
  /** OAuth 2.0 token for the current user. */
8982
9687
  oauth_token?: string;
@@ -8989,7 +9694,7 @@ declare namespace gapi.client {
8989
9694
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8990
9695
  uploadType?: string;
8991
9696
  }): 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. */
9697
+ /** Gets cached content configurations */
8993
9698
  get(request?: {
8994
9699
  /** V1 error format. */
8995
9700
  '$.xgafv'?: string;
@@ -9003,7 +9708,7 @@ declare namespace gapi.client {
9003
9708
  fields?: string;
9004
9709
  /** 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
9710
  key?: string;
9006
- /** The name of the operation resource. */
9711
+ /** Required. The resource name referring to the cached content */
9007
9712
  name: string;
9008
9713
  /** OAuth 2.0 token for the current user. */
9009
9714
  oauth_token?: string;
@@ -9015,8 +9720,8 @@ declare namespace gapi.client {
9015
9720
  upload_protocol?: string;
9016
9721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9017
9722
  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`. */
9723
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9724
+ /** Lists cached contents in a project */
9020
9725
  list(request?: {
9021
9726
  /** V1 error format. */
9022
9727
  '$.xgafv'?: string;
@@ -9028,18 +9733,16 @@ declare namespace gapi.client {
9028
9733
  callback?: string;
9029
9734
  /** Selector specifying which fields to include in a partial response. */
9030
9735
  fields?: string;
9031
- /** The standard list filter. */
9032
- filter?: string;
9033
9736
  /** 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
9737
  key?: string;
9035
- /** The name of the operation's parent resource. */
9036
- name: string;
9037
9738
  /** OAuth 2.0 token for the current user. */
9038
9739
  oauth_token?: string;
9039
- /** The standard list page size. */
9740
+ /** 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
9741
  pageSize?: number;
9041
- /** The standard list page token. */
9742
+ /** 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
9743
  pageToken?: string;
9744
+ /** Required. The parent, which owns this collection of cached contents. */
9745
+ parent: string;
9043
9746
  /** Returns response with indentations and line breaks. */
9044
9747
  prettyPrint?: boolean;
9045
9748
  /** 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,7 +9751,185 @@ declare namespace gapi.client {
9048
9751
  upload_protocol?: string;
9049
9752
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9050
9753
  uploadType?: string;
9051
- }): Request<GoogleLongrunningListOperationsResponse>;
9754
+ }): Request<GoogleCloudAiplatformV1ListCachedContentsResponse>;
9755
+ /** Updates cached content configurations */
9756
+ patch(request: {
9757
+ /** V1 error format. */
9758
+ '$.xgafv'?: string;
9759
+ /** OAuth access token. */
9760
+ access_token?: string;
9761
+ /** Data format for response. */
9762
+ alt?: string;
9763
+ /** JSONP */
9764
+ callback?: string;
9765
+ /** Selector specifying which fields to include in a partial response. */
9766
+ fields?: string;
9767
+ /** 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. */
9768
+ key?: string;
9769
+ /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9770
+ name: string;
9771
+ /** OAuth 2.0 token for the current user. */
9772
+ oauth_token?: string;
9773
+ /** Returns response with indentations and line breaks. */
9774
+ prettyPrint?: boolean;
9775
+ /** 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. */
9776
+ quotaUser?: string;
9777
+ /** Required. The list of fields to update. */
9778
+ updateMask?: string;
9779
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9780
+ upload_protocol?: string;
9781
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9782
+ uploadType?: string;
9783
+ /** Request body */
9784
+ resource: GoogleCloudAiplatformV1CachedContent;
9785
+ }): Request<GoogleCloudAiplatformV1CachedContent>;
9786
+ patch(
9787
+ request: {
9788
+ /** V1 error format. */
9789
+ '$.xgafv'?: string;
9790
+ /** OAuth access token. */
9791
+ access_token?: string;
9792
+ /** Data format for response. */
9793
+ alt?: string;
9794
+ /** JSONP */
9795
+ callback?: string;
9796
+ /** Selector specifying which fields to include in a partial response. */
9797
+ fields?: string;
9798
+ /** 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. */
9799
+ key?: string;
9800
+ /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9801
+ name: string;
9802
+ /** OAuth 2.0 token for the current user. */
9803
+ oauth_token?: string;
9804
+ /** Returns response with indentations and line breaks. */
9805
+ prettyPrint?: boolean;
9806
+ /** 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. */
9807
+ quotaUser?: string;
9808
+ /** Required. The list of fields to update. */
9809
+ updateMask?: string;
9810
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9811
+ upload_protocol?: string;
9812
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9813
+ uploadType?: string;
9814
+ },
9815
+ body: GoogleCloudAiplatformV1CachedContent
9816
+ ): Request<GoogleCloudAiplatformV1CachedContent>;
9817
+ }
9818
+ interface OperationsResource {
9819
+ /** 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`. */
9820
+ cancel(request?: {
9821
+ /** V1 error format. */
9822
+ '$.xgafv'?: string;
9823
+ /** OAuth access token. */
9824
+ access_token?: string;
9825
+ /** Data format for response. */
9826
+ alt?: string;
9827
+ /** JSONP */
9828
+ callback?: string;
9829
+ /** Selector specifying which fields to include in a partial response. */
9830
+ fields?: string;
9831
+ /** 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. */
9832
+ key?: string;
9833
+ /** The name of the operation resource to be cancelled. */
9834
+ name: string;
9835
+ /** OAuth 2.0 token for the current user. */
9836
+ oauth_token?: string;
9837
+ /** Returns response with indentations and line breaks. */
9838
+ prettyPrint?: boolean;
9839
+ /** 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. */
9840
+ quotaUser?: string;
9841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9842
+ upload_protocol?: string;
9843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9844
+ uploadType?: string;
9845
+ }): Request<{}>;
9846
+ /** 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`. */
9847
+ delete(request?: {
9848
+ /** V1 error format. */
9849
+ '$.xgafv'?: string;
9850
+ /** OAuth access token. */
9851
+ access_token?: string;
9852
+ /** Data format for response. */
9853
+ alt?: string;
9854
+ /** JSONP */
9855
+ callback?: string;
9856
+ /** Selector specifying which fields to include in a partial response. */
9857
+ fields?: string;
9858
+ /** 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. */
9859
+ key?: string;
9860
+ /** The name of the operation resource to be deleted. */
9861
+ name: string;
9862
+ /** OAuth 2.0 token for the current user. */
9863
+ oauth_token?: string;
9864
+ /** Returns response with indentations and line breaks. */
9865
+ prettyPrint?: boolean;
9866
+ /** 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. */
9867
+ quotaUser?: string;
9868
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9869
+ upload_protocol?: string;
9870
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9871
+ uploadType?: string;
9872
+ }): Request<{}>;
9873
+ /** 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. */
9874
+ get(request?: {
9875
+ /** V1 error format. */
9876
+ '$.xgafv'?: string;
9877
+ /** OAuth access token. */
9878
+ access_token?: string;
9879
+ /** Data format for response. */
9880
+ alt?: string;
9881
+ /** JSONP */
9882
+ callback?: string;
9883
+ /** Selector specifying which fields to include in a partial response. */
9884
+ fields?: string;
9885
+ /** 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. */
9886
+ key?: string;
9887
+ /** The name of the operation resource. */
9888
+ name: string;
9889
+ /** OAuth 2.0 token for the current user. */
9890
+ oauth_token?: string;
9891
+ /** Returns response with indentations and line breaks. */
9892
+ prettyPrint?: boolean;
9893
+ /** 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. */
9894
+ quotaUser?: string;
9895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9896
+ upload_protocol?: string;
9897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9898
+ uploadType?: string;
9899
+ }): Request<GoogleLongrunningOperation>;
9900
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
9901
+ list(request?: {
9902
+ /** V1 error format. */
9903
+ '$.xgafv'?: string;
9904
+ /** OAuth access token. */
9905
+ access_token?: string;
9906
+ /** Data format for response. */
9907
+ alt?: string;
9908
+ /** JSONP */
9909
+ callback?: string;
9910
+ /** Selector specifying which fields to include in a partial response. */
9911
+ fields?: string;
9912
+ /** The standard list filter. */
9913
+ filter?: string;
9914
+ /** 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. */
9915
+ key?: string;
9916
+ /** The name of the operation's parent resource. */
9917
+ name: string;
9918
+ /** OAuth 2.0 token for the current user. */
9919
+ oauth_token?: string;
9920
+ /** The standard list page size. */
9921
+ pageSize?: number;
9922
+ /** The standard list page token. */
9923
+ pageToken?: string;
9924
+ /** Returns response with indentations and line breaks. */
9925
+ prettyPrint?: boolean;
9926
+ /** 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. */
9927
+ quotaUser?: string;
9928
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9929
+ upload_protocol?: string;
9930
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9931
+ uploadType?: string;
9932
+ }): Request<GoogleLongrunningListOperationsResponse>;
9052
9933
  /** 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
9934
  wait(request?: {
9054
9935
  /** V1 error format. */
@@ -9288,7 +10169,7 @@ declare namespace gapi.client {
9288
10169
  operations: OperationsResource;
9289
10170
  }
9290
10171
  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`. */
10172
+ /** 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
10173
  cancel(request?: {
9293
10174
  /** V1 error format. */
9294
10175
  '$.xgafv'?: string;
@@ -9643,7 +10524,7 @@ declare namespace gapi.client {
9643
10524
  operations: OperationsResource;
9644
10525
  }
9645
10526
  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`. */
10527
+ /** 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
10528
  cancel(request?: {
9648
10529
  /** V1 error format. */
9649
10530
  '$.xgafv'?: string;
@@ -9820,7 +10701,7 @@ declare namespace gapi.client {
9820
10701
  operations: OperationsResource;
9821
10702
  }
9822
10703
  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`. */
10704
+ /** 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
10705
  cancel(request?: {
9825
10706
  /** V1 error format. */
9826
10707
  '$.xgafv'?: string;
@@ -10005,7 +10886,7 @@ declare namespace gapi.client {
10005
10886
  operations: OperationsResource;
10006
10887
  }
10007
10888
  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`. */
10889
+ /** 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
10890
  cancel(request?: {
10010
10891
  /** V1 error format. */
10011
10892
  '$.xgafv'?: string;
@@ -10433,7 +11314,7 @@ declare namespace gapi.client {
10433
11314
  }): Request<GoogleLongrunningOperation>;
10434
11315
  }
10435
11316
  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`. */
11317
+ /** 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
11318
  cancel(request?: {
10438
11319
  /** V1 error format. */
10439
11320
  '$.xgafv'?: string;
@@ -10578,7 +11459,7 @@ declare namespace gapi.client {
10578
11459
  }): Request<GoogleLongrunningOperation>;
10579
11460
  }
10580
11461
  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`. */
11462
+ /** 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
11463
  cancel(request?: {
10583
11464
  /** V1 error format. */
10584
11465
  '$.xgafv'?: string;
@@ -11179,7 +12060,7 @@ declare namespace gapi.client {
11179
12060
  savedQueries: SavedQueriesResource;
11180
12061
  }
11181
12062
  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`. */
12063
+ /** 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
12064
  cancel(request?: {
11184
12065
  /** V1 error format. */
11185
12066
  '$.xgafv'?: string;
@@ -11623,7 +12504,7 @@ declare namespace gapi.client {
11623
12504
  ): Request<GoogleApiHttpBody>;
11624
12505
  }
11625
12506
  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`. */
12507
+ /** 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
12508
  cancel(request?: {
11628
12509
  /** V1 error format. */
11629
12510
  '$.xgafv'?: string;
@@ -14795,7 +15676,7 @@ declare namespace gapi.client {
14795
15676
  operations: OperationsResource;
14796
15677
  }
14797
15678
  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`. */
15679
+ /** 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
15680
  cancel(request?: {
14800
15681
  /** V1 error format. */
14801
15682
  '$.xgafv'?: string;
@@ -15218,7 +16099,7 @@ declare namespace gapi.client {
15218
16099
  operations: OperationsResource;
15219
16100
  }
15220
16101
  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`. */
16102
+ /** 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
16103
  cancel(request?: {
15223
16104
  /** V1 error format. */
15224
16105
  '$.xgafv'?: string;
@@ -16020,7 +16901,7 @@ declare namespace gapi.client {
16020
16901
  operations: OperationsResource;
16021
16902
  }
16022
16903
  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`. */
16904
+ /** 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
16905
  cancel(request?: {
16025
16906
  /** V1 error format. */
16026
16907
  '$.xgafv'?: string;
@@ -16565,7 +17446,7 @@ declare namespace gapi.client {
16565
17446
  operations: OperationsResource;
16566
17447
  }
16567
17448
  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`. */
17449
+ /** 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
17450
  cancel(request?: {
16570
17451
  /** V1 error format. */
16571
17452
  '$.xgafv'?: string;
@@ -16918,7 +17799,7 @@ declare namespace gapi.client {
16918
17799
  operations: OperationsResource;
16919
17800
  }
16920
17801
  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`. */
17802
+ /** 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
17803
  cancel(request?: {
16923
17804
  /** V1 error format. */
16924
17805
  '$.xgafv'?: string;
@@ -17565,7 +18446,7 @@ declare namespace gapi.client {
17565
18446
  operations: OperationsResource;
17566
18447
  }
17567
18448
  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`. */
18449
+ /** 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
18450
  cancel(request?: {
17570
18451
  /** V1 error format. */
17571
18452
  '$.xgafv'?: string;
@@ -18038,7 +18919,7 @@ declare namespace gapi.client {
18038
18919
  operations: OperationsResource;
18039
18920
  }
18040
18921
  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`. */
18922
+ /** 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
18923
  cancel(request?: {
18043
18924
  /** V1 error format. */
18044
18925
  '$.xgafv'?: string;
@@ -18494,7 +19375,7 @@ declare namespace gapi.client {
18494
19375
  operations: OperationsResource;
18495
19376
  }
18496
19377
  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`. */
19378
+ /** 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
19379
  cancel(request?: {
18499
19380
  /** V1 error format. */
18500
19381
  '$.xgafv'?: string;
@@ -19122,7 +20003,7 @@ declare namespace gapi.client {
19122
20003
  operations: OperationsResource;
19123
20004
  }
19124
20005
  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`. */
20006
+ /** 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
20007
  cancel(request?: {
19127
20008
  /** V1 error format. */
19128
20009
  '$.xgafv'?: string;
@@ -19756,7 +20637,7 @@ declare namespace gapi.client {
19756
20637
  }): Request<GoogleCloudAiplatformV1ListMetadataSchemasResponse>;
19757
20638
  }
19758
20639
  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`. */
20640
+ /** 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
20641
  cancel(request?: {
19761
20642
  /** V1 error format. */
19762
20643
  '$.xgafv'?: string;
@@ -20057,7 +20938,7 @@ declare namespace gapi.client {
20057
20938
  operations: OperationsResource;
20058
20939
  }
20059
20940
  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`. */
20941
+ /** 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
20942
  cancel(request?: {
20062
20943
  /** V1 error format. */
20063
20944
  '$.xgafv'?: string;
@@ -20321,7 +21202,7 @@ declare namespace gapi.client {
20321
21202
  operations: OperationsResource;
20322
21203
  }
20323
21204
  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`. */
21205
+ /** 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
21206
  cancel(request?: {
20326
21207
  /** V1 error format. */
20327
21208
  '$.xgafv'?: string;
@@ -20852,7 +21733,7 @@ declare namespace gapi.client {
20852
21733
  operations: OperationsResource;
20853
21734
  }
20854
21735
  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`. */
21736
+ /** 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
21737
  cancel(request?: {
20857
21738
  /** V1 error format. */
20858
21739
  '$.xgafv'?: string;
@@ -21243,7 +22124,7 @@ declare namespace gapi.client {
21243
22124
  slices: SlicesResource;
21244
22125
  }
21245
22126
  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`. */
22127
+ /** 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
22128
  cancel(request?: {
21248
22129
  /** V1 error format. */
21249
22130
  '$.xgafv'?: string;
@@ -22255,7 +23136,7 @@ declare namespace gapi.client {
22255
23136
  nasTrialDetails: NasTrialDetailsResource;
22256
23137
  }
22257
23138
  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`. */
23139
+ /** 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
23140
  cancel(request?: {
22260
23141
  /** V1 error format. */
22261
23142
  '$.xgafv'?: string;
@@ -22558,7 +23439,7 @@ declare namespace gapi.client {
22558
23439
  operations: OperationsResource;
22559
23440
  }
22560
23441
  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`. */
23442
+ /** 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
23443
  cancel(request?: {
22563
23444
  /** V1 error format. */
22564
23445
  '$.xgafv'?: string;
@@ -22827,7 +23708,7 @@ declare namespace gapi.client {
22827
23708
  callback?: string;
22828
23709
  /** Selector specifying which fields to include in a partial response. */
22829
23710
  fields?: string;
22830
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` */
23711
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4` */
22831
23712
  filter?: string;
22832
23713
  /** 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. */
22833
23714
  key?: string;
@@ -23029,7 +23910,7 @@ declare namespace gapi.client {
23029
23910
  operations: OperationsResource;
23030
23911
  }
23031
23912
  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`. */
23913
+ /** 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
23914
  cancel(request?: {
23034
23915
  /** V1 error format. */
23035
23916
  '$.xgafv'?: string;
@@ -23331,7 +24212,7 @@ declare namespace gapi.client {
23331
24212
  callback?: string;
23332
24213
  /** Selector specifying which fields to include in a partial response. */
23333
24214
  fields?: string;
23334
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED` */
24215
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4` */
23335
24216
  filter?: string;
23336
24217
  /** 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. */
23337
24218
  key?: string;
@@ -23480,7 +24361,7 @@ declare namespace gapi.client {
23480
24361
  operations: OperationsResource;
23481
24362
  }
23482
24363
  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`. */
24364
+ /** 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
24365
  cancel(request?: {
23485
24366
  /** V1 error format. */
23486
24367
  '$.xgafv'?: string;
@@ -23625,7 +24506,7 @@ declare namespace gapi.client {
23625
24506
  }): Request<GoogleLongrunningOperation>;
23626
24507
  }
23627
24508
  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`. */
24509
+ /** 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
24510
  cancel(request?: {
23630
24511
  /** V1 error format. */
23631
24512
  '$.xgafv'?: string;
@@ -24040,7 +24921,7 @@ declare namespace gapi.client {
24040
24921
  operations: OperationsResource;
24041
24922
  }
24042
24923
  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`. */
24924
+ /** 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
24925
  cancel(request?: {
24045
24926
  /** V1 error format. */
24046
24927
  '$.xgafv'?: string;
@@ -25099,7 +25980,7 @@ declare namespace gapi.client {
25099
25980
  models: ModelsResource;
25100
25981
  }
25101
25982
  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`. */
25983
+ /** 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
25984
  cancel(request?: {
25104
25985
  /** V1 error format. */
25105
25986
  '$.xgafv'?: string;
@@ -25243,9 +26124,9 @@ declare namespace gapi.client {
25243
26124
  uploadType?: string;
25244
26125
  }): Request<GoogleLongrunningOperation>;
25245
26126
  }
25246
- interface ReasoningEnginesResource {
25247
- /** Creates a reasoning engine. */
25248
- create(request: {
26127
+ interface OperationsResource {
26128
+ /** 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`. */
26129
+ cancel(request?: {
25249
26130
  /** V1 error format. */
25250
26131
  '$.xgafv'?: string;
25251
26132
  /** OAuth access token. */
@@ -25258,10 +26139,10 @@ declare namespace gapi.client {
25258
26139
  fields?: string;
25259
26140
  /** 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. */
25260
26141
  key?: string;
26142
+ /** The name of the operation resource to be cancelled. */
26143
+ name: string;
25261
26144
  /** OAuth 2.0 token for the current user. */
25262
26145
  oauth_token?: string;
25263
- /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
25264
- parent: string;
25265
26146
  /** Returns response with indentations and line breaks. */
25266
26147
  prettyPrint?: boolean;
25267
26148
  /** 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. */
@@ -25270,39 +26151,8 @@ declare namespace gapi.client {
25270
26151
  upload_protocol?: string;
25271
26152
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25272
26153
  uploadType?: string;
25273
- /** Request body */
25274
- resource: GoogleCloudAiplatformV1ReasoningEngine;
25275
- }): Request<GoogleLongrunningOperation>;
25276
- create(
25277
- request: {
25278
- /** V1 error format. */
25279
- '$.xgafv'?: string;
25280
- /** OAuth access token. */
25281
- access_token?: string;
25282
- /** Data format for response. */
25283
- alt?: string;
25284
- /** JSONP */
25285
- callback?: string;
25286
- /** Selector specifying which fields to include in a partial response. */
25287
- fields?: string;
25288
- /** 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. */
25289
- key?: string;
25290
- /** OAuth 2.0 token for the current user. */
25291
- oauth_token?: string;
25292
- /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
25293
- parent: string;
25294
- /** Returns response with indentations and line breaks. */
25295
- prettyPrint?: boolean;
25296
- /** 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. */
25297
- quotaUser?: string;
25298
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25299
- upload_protocol?: string;
25300
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25301
- uploadType?: string;
25302
- },
25303
- body: GoogleCloudAiplatformV1ReasoningEngine
25304
- ): Request<GoogleLongrunningOperation>;
25305
- /** Deletes a reasoning engine. */
26154
+ }): Request<{}>;
26155
+ /** 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`. */
25306
26156
  delete(request?: {
25307
26157
  /** V1 error format. */
25308
26158
  '$.xgafv'?: string;
@@ -25316,7 +26166,7 @@ declare namespace gapi.client {
25316
26166
  fields?: string;
25317
26167
  /** 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. */
25318
26168
  key?: string;
25319
- /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26169
+ /** The name of the operation resource to be deleted. */
25320
26170
  name: string;
25321
26171
  /** OAuth 2.0 token for the current user. */
25322
26172
  oauth_token?: string;
@@ -25328,8 +26178,8 @@ declare namespace gapi.client {
25328
26178
  upload_protocol?: string;
25329
26179
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25330
26180
  uploadType?: string;
25331
- }): Request<GoogleLongrunningOperation>;
25332
- /** Gets a reasoning engine. */
26181
+ }): Request<{}>;
26182
+ /** 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. */
25333
26183
  get(request?: {
25334
26184
  /** V1 error format. */
25335
26185
  '$.xgafv'?: string;
@@ -25343,7 +26193,7 @@ declare namespace gapi.client {
25343
26193
  fields?: string;
25344
26194
  /** 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. */
25345
26195
  key?: string;
25346
- /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26196
+ /** The name of the operation resource. */
25347
26197
  name: string;
25348
26198
  /** OAuth 2.0 token for the current user. */
25349
26199
  oauth_token?: string;
@@ -25355,8 +26205,8 @@ declare namespace gapi.client {
25355
26205
  upload_protocol?: string;
25356
26206
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25357
26207
  uploadType?: string;
25358
- }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
25359
- /** Lists reasoning engines in a location. */
26208
+ }): Request<GoogleLongrunningOperation>;
26209
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
25360
26210
  list(request?: {
25361
26211
  /** V1 error format. */
25362
26212
  '$.xgafv'?: string;
@@ -25368,18 +26218,18 @@ declare namespace gapi.client {
25368
26218
  callback?: string;
25369
26219
  /** Selector specifying which fields to include in a partial response. */
25370
26220
  fields?: string;
25371
- /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
26221
+ /** The standard list filter. */
25372
26222
  filter?: string;
25373
26223
  /** 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. */
25374
26224
  key?: string;
26225
+ /** The name of the operation's parent resource. */
26226
+ name: string;
25375
26227
  /** OAuth 2.0 token for the current user. */
25376
26228
  oauth_token?: string;
25377
- /** Optional. The standard list page size. */
26229
+ /** The standard list page size. */
25378
26230
  pageSize?: number;
25379
- /** Optional. The standard list page token. */
26231
+ /** The standard list page token. */
25380
26232
  pageToken?: string;
25381
- /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
25382
- parent: string;
25383
26233
  /** Returns response with indentations and line breaks. */
25384
26234
  prettyPrint?: boolean;
25385
26235
  /** 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. */
@@ -25388,9 +26238,9 @@ declare namespace gapi.client {
25388
26238
  upload_protocol?: string;
25389
26239
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25390
26240
  uploadType?: string;
25391
- }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
25392
- /** Updates a reasoning engine. */
25393
- patch(request: {
26241
+ }): Request<GoogleLongrunningListOperationsResponse>;
26242
+ /** 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. */
26243
+ wait(request?: {
25394
26244
  /** V1 error format. */
25395
26245
  '$.xgafv'?: string;
25396
26246
  /** OAuth access token. */
@@ -25403,7 +26253,7 @@ declare namespace gapi.client {
25403
26253
  fields?: string;
25404
26254
  /** 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. */
25405
26255
  key?: string;
25406
- /** Identifier. The resource name of the ReasoningEngine. */
26256
+ /** The name of the operation resource to wait on. */
25407
26257
  name: string;
25408
26258
  /** OAuth 2.0 token for the current user. */
25409
26259
  oauth_token?: string;
@@ -25411,21 +26261,695 @@ declare namespace gapi.client {
25411
26261
  prettyPrint?: boolean;
25412
26262
  /** 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. */
25413
26263
  quotaUser?: string;
25414
- /** Optional. Mask specifying which fields to update. */
25415
- updateMask?: string;
26264
+ /** 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. */
26265
+ timeout?: string;
25416
26266
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25417
26267
  upload_protocol?: string;
25418
26268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25419
26269
  uploadType?: string;
25420
- /** Request body */
25421
- resource: GoogleCloudAiplatformV1ReasoningEngine;
25422
26270
  }): Request<GoogleLongrunningOperation>;
25423
- patch(
25424
- request: {
25425
- /** V1 error format. */
25426
- '$.xgafv'?: string;
25427
- /** OAuth access token. */
25428
- access_token?: string;
26271
+ }
26272
+ interface RagFilesResource {
26273
+ /** Deletes a RagFile. */
26274
+ delete(request?: {
26275
+ /** V1 error format. */
26276
+ '$.xgafv'?: string;
26277
+ /** OAuth access token. */
26278
+ access_token?: string;
26279
+ /** Data format for response. */
26280
+ alt?: string;
26281
+ /** JSONP */
26282
+ callback?: string;
26283
+ /** Selector specifying which fields to include in a partial response. */
26284
+ fields?: string;
26285
+ /** 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. */
26286
+ key?: string;
26287
+ /** Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
26288
+ name: string;
26289
+ /** OAuth 2.0 token for the current user. */
26290
+ oauth_token?: string;
26291
+ /** Returns response with indentations and line breaks. */
26292
+ prettyPrint?: boolean;
26293
+ /** 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. */
26294
+ quotaUser?: string;
26295
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26296
+ upload_protocol?: string;
26297
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26298
+ uploadType?: string;
26299
+ }): Request<GoogleLongrunningOperation>;
26300
+ /** Gets a RagFile. */
26301
+ get(request?: {
26302
+ /** V1 error format. */
26303
+ '$.xgafv'?: string;
26304
+ /** OAuth access token. */
26305
+ access_token?: string;
26306
+ /** Data format for response. */
26307
+ alt?: string;
26308
+ /** JSONP */
26309
+ callback?: string;
26310
+ /** Selector specifying which fields to include in a partial response. */
26311
+ fields?: string;
26312
+ /** 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. */
26313
+ key?: string;
26314
+ /** Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
26315
+ name: string;
26316
+ /** OAuth 2.0 token for the current user. */
26317
+ oauth_token?: string;
26318
+ /** Returns response with indentations and line breaks. */
26319
+ prettyPrint?: boolean;
26320
+ /** 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. */
26321
+ quotaUser?: string;
26322
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26323
+ upload_protocol?: string;
26324
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26325
+ uploadType?: string;
26326
+ }): Request<GoogleCloudAiplatformV1RagFile>;
26327
+ /** Import files from Google Cloud Storage or Google Drive into a RagCorpus. */
26328
+ import(request: {
26329
+ /** V1 error format. */
26330
+ '$.xgafv'?: string;
26331
+ /** OAuth access token. */
26332
+ access_token?: string;
26333
+ /** Data format for response. */
26334
+ alt?: string;
26335
+ /** JSONP */
26336
+ callback?: string;
26337
+ /** Selector specifying which fields to include in a partial response. */
26338
+ fields?: string;
26339
+ /** 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. */
26340
+ key?: string;
26341
+ /** OAuth 2.0 token for the current user. */
26342
+ oauth_token?: string;
26343
+ /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26344
+ parent: string;
26345
+ /** Returns response with indentations and line breaks. */
26346
+ prettyPrint?: boolean;
26347
+ /** 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. */
26348
+ quotaUser?: string;
26349
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26350
+ upload_protocol?: string;
26351
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26352
+ uploadType?: string;
26353
+ /** Request body */
26354
+ resource: GoogleCloudAiplatformV1ImportRagFilesRequest;
26355
+ }): Request<GoogleLongrunningOperation>;
26356
+ import(
26357
+ request: {
26358
+ /** V1 error format. */
26359
+ '$.xgafv'?: string;
26360
+ /** OAuth access token. */
26361
+ access_token?: string;
26362
+ /** Data format for response. */
26363
+ alt?: string;
26364
+ /** JSONP */
26365
+ callback?: string;
26366
+ /** Selector specifying which fields to include in a partial response. */
26367
+ fields?: string;
26368
+ /** 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. */
26369
+ key?: string;
26370
+ /** OAuth 2.0 token for the current user. */
26371
+ oauth_token?: string;
26372
+ /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26373
+ parent: string;
26374
+ /** Returns response with indentations and line breaks. */
26375
+ prettyPrint?: boolean;
26376
+ /** 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. */
26377
+ quotaUser?: string;
26378
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26379
+ upload_protocol?: string;
26380
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26381
+ uploadType?: string;
26382
+ },
26383
+ body: GoogleCloudAiplatformV1ImportRagFilesRequest
26384
+ ): Request<GoogleLongrunningOperation>;
26385
+ /** Lists RagFiles in a RagCorpus. */
26386
+ list(request?: {
26387
+ /** V1 error format. */
26388
+ '$.xgafv'?: string;
26389
+ /** OAuth access token. */
26390
+ access_token?: string;
26391
+ /** Data format for response. */
26392
+ alt?: string;
26393
+ /** JSONP */
26394
+ callback?: string;
26395
+ /** Selector specifying which fields to include in a partial response. */
26396
+ fields?: string;
26397
+ /** 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. */
26398
+ key?: string;
26399
+ /** OAuth 2.0 token for the current user. */
26400
+ oauth_token?: string;
26401
+ /** Optional. The standard list page size. */
26402
+ pageSize?: number;
26403
+ /** Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call. */
26404
+ pageToken?: string;
26405
+ /** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26406
+ parent: string;
26407
+ /** Returns response with indentations and line breaks. */
26408
+ prettyPrint?: boolean;
26409
+ /** 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. */
26410
+ quotaUser?: string;
26411
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26412
+ upload_protocol?: string;
26413
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26414
+ uploadType?: string;
26415
+ }): Request<GoogleCloudAiplatformV1ListRagFilesResponse>;
26416
+ operations: OperationsResource;
26417
+ }
26418
+ interface RagCorporaResource {
26419
+ /** Creates a RagCorpus. */
26420
+ create(request: {
26421
+ /** V1 error format. */
26422
+ '$.xgafv'?: string;
26423
+ /** OAuth access token. */
26424
+ access_token?: string;
26425
+ /** Data format for response. */
26426
+ alt?: string;
26427
+ /** JSONP */
26428
+ callback?: string;
26429
+ /** Selector specifying which fields to include in a partial response. */
26430
+ fields?: string;
26431
+ /** 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. */
26432
+ key?: string;
26433
+ /** OAuth 2.0 token for the current user. */
26434
+ oauth_token?: string;
26435
+ /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
26436
+ parent: string;
26437
+ /** Returns response with indentations and line breaks. */
26438
+ prettyPrint?: boolean;
26439
+ /** 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. */
26440
+ quotaUser?: string;
26441
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26442
+ upload_protocol?: string;
26443
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26444
+ uploadType?: string;
26445
+ /** Request body */
26446
+ resource: GoogleCloudAiplatformV1RagCorpus;
26447
+ }): Request<GoogleLongrunningOperation>;
26448
+ create(
26449
+ request: {
26450
+ /** V1 error format. */
26451
+ '$.xgafv'?: string;
26452
+ /** OAuth access token. */
26453
+ access_token?: string;
26454
+ /** Data format for response. */
26455
+ alt?: string;
26456
+ /** JSONP */
26457
+ callback?: string;
26458
+ /** Selector specifying which fields to include in a partial response. */
26459
+ fields?: string;
26460
+ /** 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. */
26461
+ key?: string;
26462
+ /** OAuth 2.0 token for the current user. */
26463
+ oauth_token?: string;
26464
+ /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
26465
+ parent: string;
26466
+ /** Returns response with indentations and line breaks. */
26467
+ prettyPrint?: boolean;
26468
+ /** 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. */
26469
+ quotaUser?: string;
26470
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26471
+ upload_protocol?: string;
26472
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26473
+ uploadType?: string;
26474
+ },
26475
+ body: GoogleCloudAiplatformV1RagCorpus
26476
+ ): Request<GoogleLongrunningOperation>;
26477
+ /** Deletes a RagCorpus. */
26478
+ delete(request?: {
26479
+ /** V1 error format. */
26480
+ '$.xgafv'?: string;
26481
+ /** OAuth access token. */
26482
+ access_token?: string;
26483
+ /** Data format for response. */
26484
+ alt?: string;
26485
+ /** JSONP */
26486
+ callback?: string;
26487
+ /** Selector specifying which fields to include in a partial response. */
26488
+ fields?: string;
26489
+ /** 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. */
26490
+ force?: boolean;
26491
+ /** 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. */
26492
+ key?: string;
26493
+ /** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26494
+ name: string;
26495
+ /** OAuth 2.0 token for the current user. */
26496
+ oauth_token?: string;
26497
+ /** Returns response with indentations and line breaks. */
26498
+ prettyPrint?: boolean;
26499
+ /** 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. */
26500
+ quotaUser?: string;
26501
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26502
+ upload_protocol?: string;
26503
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26504
+ uploadType?: string;
26505
+ }): Request<GoogleLongrunningOperation>;
26506
+ /** Gets a RagCorpus. */
26507
+ get(request?: {
26508
+ /** V1 error format. */
26509
+ '$.xgafv'?: string;
26510
+ /** OAuth access token. */
26511
+ access_token?: string;
26512
+ /** Data format for response. */
26513
+ alt?: string;
26514
+ /** JSONP */
26515
+ callback?: string;
26516
+ /** Selector specifying which fields to include in a partial response. */
26517
+ fields?: string;
26518
+ /** 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. */
26519
+ key?: string;
26520
+ /** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26521
+ name: string;
26522
+ /** OAuth 2.0 token for the current user. */
26523
+ oauth_token?: string;
26524
+ /** Returns response with indentations and line breaks. */
26525
+ prettyPrint?: boolean;
26526
+ /** 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. */
26527
+ quotaUser?: string;
26528
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26529
+ upload_protocol?: string;
26530
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26531
+ uploadType?: string;
26532
+ }): Request<GoogleCloudAiplatformV1RagCorpus>;
26533
+ /** Lists RagCorpora in a Location. */
26534
+ list(request?: {
26535
+ /** V1 error format. */
26536
+ '$.xgafv'?: string;
26537
+ /** OAuth access token. */
26538
+ access_token?: string;
26539
+ /** Data format for response. */
26540
+ alt?: string;
26541
+ /** JSONP */
26542
+ callback?: string;
26543
+ /** Selector specifying which fields to include in a partial response. */
26544
+ fields?: string;
26545
+ /** 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. */
26546
+ key?: string;
26547
+ /** OAuth 2.0 token for the current user. */
26548
+ oauth_token?: string;
26549
+ /** Optional. The standard list page size. */
26550
+ pageSize?: number;
26551
+ /** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
26552
+ pageToken?: string;
26553
+ /** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
26554
+ parent: string;
26555
+ /** Returns response with indentations and line breaks. */
26556
+ prettyPrint?: boolean;
26557
+ /** 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. */
26558
+ quotaUser?: string;
26559
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26560
+ upload_protocol?: string;
26561
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26562
+ uploadType?: string;
26563
+ }): Request<GoogleCloudAiplatformV1ListRagCorporaResponse>;
26564
+ /** Updates a RagCorpus. */
26565
+ patch(request: {
26566
+ /** V1 error format. */
26567
+ '$.xgafv'?: string;
26568
+ /** OAuth access token. */
26569
+ access_token?: string;
26570
+ /** Data format for response. */
26571
+ alt?: string;
26572
+ /** JSONP */
26573
+ callback?: string;
26574
+ /** Selector specifying which fields to include in a partial response. */
26575
+ fields?: string;
26576
+ /** 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. */
26577
+ key?: string;
26578
+ /** Output only. The resource name of the RagCorpus. */
26579
+ name: string;
26580
+ /** OAuth 2.0 token for the current user. */
26581
+ oauth_token?: string;
26582
+ /** Returns response with indentations and line breaks. */
26583
+ prettyPrint?: boolean;
26584
+ /** 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. */
26585
+ quotaUser?: string;
26586
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26587
+ upload_protocol?: string;
26588
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26589
+ uploadType?: string;
26590
+ /** Request body */
26591
+ resource: GoogleCloudAiplatformV1RagCorpus;
26592
+ }): Request<GoogleLongrunningOperation>;
26593
+ patch(
26594
+ request: {
26595
+ /** V1 error format. */
26596
+ '$.xgafv'?: string;
26597
+ /** OAuth access token. */
26598
+ access_token?: string;
26599
+ /** Data format for response. */
26600
+ alt?: string;
26601
+ /** JSONP */
26602
+ callback?: string;
26603
+ /** Selector specifying which fields to include in a partial response. */
26604
+ fields?: string;
26605
+ /** 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. */
26606
+ key?: string;
26607
+ /** Output only. The resource name of the RagCorpus. */
26608
+ name: string;
26609
+ /** OAuth 2.0 token for the current user. */
26610
+ oauth_token?: string;
26611
+ /** Returns response with indentations and line breaks. */
26612
+ prettyPrint?: boolean;
26613
+ /** 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. */
26614
+ quotaUser?: string;
26615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26616
+ upload_protocol?: string;
26617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26618
+ uploadType?: string;
26619
+ },
26620
+ body: GoogleCloudAiplatformV1RagCorpus
26621
+ ): Request<GoogleLongrunningOperation>;
26622
+ operations: OperationsResource;
26623
+ ragFiles: RagFilesResource;
26624
+ }
26625
+ interface OperationsResource {
26626
+ /** 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`. */
26627
+ cancel(request?: {
26628
+ /** V1 error format. */
26629
+ '$.xgafv'?: string;
26630
+ /** OAuth access token. */
26631
+ access_token?: string;
26632
+ /** Data format for response. */
26633
+ alt?: string;
26634
+ /** JSONP */
26635
+ callback?: string;
26636
+ /** Selector specifying which fields to include in a partial response. */
26637
+ fields?: string;
26638
+ /** 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. */
26639
+ key?: string;
26640
+ /** The name of the operation resource to be cancelled. */
26641
+ name: string;
26642
+ /** OAuth 2.0 token for the current user. */
26643
+ oauth_token?: string;
26644
+ /** Returns response with indentations and line breaks. */
26645
+ prettyPrint?: boolean;
26646
+ /** 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. */
26647
+ quotaUser?: string;
26648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26649
+ upload_protocol?: string;
26650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26651
+ uploadType?: string;
26652
+ }): Request<{}>;
26653
+ /** 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`. */
26654
+ delete(request?: {
26655
+ /** V1 error format. */
26656
+ '$.xgafv'?: string;
26657
+ /** OAuth access token. */
26658
+ access_token?: string;
26659
+ /** Data format for response. */
26660
+ alt?: string;
26661
+ /** JSONP */
26662
+ callback?: string;
26663
+ /** Selector specifying which fields to include in a partial response. */
26664
+ fields?: string;
26665
+ /** 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. */
26666
+ key?: string;
26667
+ /** The name of the operation resource to be deleted. */
26668
+ name: string;
26669
+ /** OAuth 2.0 token for the current user. */
26670
+ oauth_token?: string;
26671
+ /** Returns response with indentations and line breaks. */
26672
+ prettyPrint?: boolean;
26673
+ /** 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. */
26674
+ quotaUser?: string;
26675
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26676
+ upload_protocol?: string;
26677
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26678
+ uploadType?: string;
26679
+ }): Request<{}>;
26680
+ /** 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. */
26681
+ get(request?: {
26682
+ /** V1 error format. */
26683
+ '$.xgafv'?: string;
26684
+ /** OAuth access token. */
26685
+ access_token?: string;
26686
+ /** Data format for response. */
26687
+ alt?: string;
26688
+ /** JSONP */
26689
+ callback?: string;
26690
+ /** Selector specifying which fields to include in a partial response. */
26691
+ fields?: string;
26692
+ /** 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. */
26693
+ key?: string;
26694
+ /** The name of the operation resource. */
26695
+ name: string;
26696
+ /** OAuth 2.0 token for the current user. */
26697
+ oauth_token?: string;
26698
+ /** Returns response with indentations and line breaks. */
26699
+ prettyPrint?: boolean;
26700
+ /** 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. */
26701
+ quotaUser?: string;
26702
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26703
+ upload_protocol?: string;
26704
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26705
+ uploadType?: string;
26706
+ }): Request<GoogleLongrunningOperation>;
26707
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
26708
+ list(request?: {
26709
+ /** V1 error format. */
26710
+ '$.xgafv'?: string;
26711
+ /** OAuth access token. */
26712
+ access_token?: string;
26713
+ /** Data format for response. */
26714
+ alt?: string;
26715
+ /** JSONP */
26716
+ callback?: string;
26717
+ /** Selector specifying which fields to include in a partial response. */
26718
+ fields?: string;
26719
+ /** The standard list filter. */
26720
+ filter?: string;
26721
+ /** 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. */
26722
+ key?: string;
26723
+ /** The name of the operation's parent resource. */
26724
+ name: string;
26725
+ /** OAuth 2.0 token for the current user. */
26726
+ oauth_token?: string;
26727
+ /** The standard list page size. */
26728
+ pageSize?: number;
26729
+ /** The standard list page token. */
26730
+ pageToken?: string;
26731
+ /** Returns response with indentations and line breaks. */
26732
+ prettyPrint?: boolean;
26733
+ /** 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. */
26734
+ quotaUser?: string;
26735
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26736
+ upload_protocol?: string;
26737
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26738
+ uploadType?: string;
26739
+ }): Request<GoogleLongrunningListOperationsResponse>;
26740
+ /** 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. */
26741
+ wait(request?: {
26742
+ /** V1 error format. */
26743
+ '$.xgafv'?: string;
26744
+ /** OAuth access token. */
26745
+ access_token?: string;
26746
+ /** Data format for response. */
26747
+ alt?: string;
26748
+ /** JSONP */
26749
+ callback?: string;
26750
+ /** Selector specifying which fields to include in a partial response. */
26751
+ fields?: string;
26752
+ /** 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. */
26753
+ key?: string;
26754
+ /** The name of the operation resource to wait on. */
26755
+ name: string;
26756
+ /** OAuth 2.0 token for the current user. */
26757
+ oauth_token?: string;
26758
+ /** Returns response with indentations and line breaks. */
26759
+ prettyPrint?: boolean;
26760
+ /** 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. */
26761
+ quotaUser?: string;
26762
+ /** 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. */
26763
+ timeout?: string;
26764
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26765
+ upload_protocol?: string;
26766
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26767
+ uploadType?: string;
26768
+ }): Request<GoogleLongrunningOperation>;
26769
+ }
26770
+ interface ReasoningEnginesResource {
26771
+ /** Creates a reasoning engine. */
26772
+ create(request: {
26773
+ /** V1 error format. */
26774
+ '$.xgafv'?: string;
26775
+ /** OAuth access token. */
26776
+ access_token?: string;
26777
+ /** Data format for response. */
26778
+ alt?: string;
26779
+ /** JSONP */
26780
+ callback?: string;
26781
+ /** Selector specifying which fields to include in a partial response. */
26782
+ fields?: string;
26783
+ /** 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. */
26784
+ key?: string;
26785
+ /** OAuth 2.0 token for the current user. */
26786
+ oauth_token?: string;
26787
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
26788
+ parent: string;
26789
+ /** Returns response with indentations and line breaks. */
26790
+ prettyPrint?: boolean;
26791
+ /** 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. */
26792
+ quotaUser?: string;
26793
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26794
+ upload_protocol?: string;
26795
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26796
+ uploadType?: string;
26797
+ /** Request body */
26798
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
26799
+ }): Request<GoogleLongrunningOperation>;
26800
+ create(
26801
+ request: {
26802
+ /** V1 error format. */
26803
+ '$.xgafv'?: string;
26804
+ /** OAuth access token. */
26805
+ access_token?: string;
26806
+ /** Data format for response. */
26807
+ alt?: string;
26808
+ /** JSONP */
26809
+ callback?: string;
26810
+ /** Selector specifying which fields to include in a partial response. */
26811
+ fields?: string;
26812
+ /** 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. */
26813
+ key?: string;
26814
+ /** OAuth 2.0 token for the current user. */
26815
+ oauth_token?: string;
26816
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
26817
+ parent: string;
26818
+ /** Returns response with indentations and line breaks. */
26819
+ prettyPrint?: boolean;
26820
+ /** 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. */
26821
+ quotaUser?: string;
26822
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26823
+ upload_protocol?: string;
26824
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26825
+ uploadType?: string;
26826
+ },
26827
+ body: GoogleCloudAiplatformV1ReasoningEngine
26828
+ ): Request<GoogleLongrunningOperation>;
26829
+ /** Deletes a reasoning engine. */
26830
+ delete(request?: {
26831
+ /** V1 error format. */
26832
+ '$.xgafv'?: string;
26833
+ /** OAuth access token. */
26834
+ access_token?: string;
26835
+ /** Data format for response. */
26836
+ alt?: string;
26837
+ /** JSONP */
26838
+ callback?: string;
26839
+ /** Selector specifying which fields to include in a partial response. */
26840
+ fields?: string;
26841
+ /** 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. */
26842
+ key?: string;
26843
+ /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26844
+ name: string;
26845
+ /** OAuth 2.0 token for the current user. */
26846
+ oauth_token?: string;
26847
+ /** Returns response with indentations and line breaks. */
26848
+ prettyPrint?: boolean;
26849
+ /** 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. */
26850
+ quotaUser?: string;
26851
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26852
+ upload_protocol?: string;
26853
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26854
+ uploadType?: string;
26855
+ }): Request<GoogleLongrunningOperation>;
26856
+ /** Gets a reasoning engine. */
26857
+ get(request?: {
26858
+ /** V1 error format. */
26859
+ '$.xgafv'?: string;
26860
+ /** OAuth access token. */
26861
+ access_token?: string;
26862
+ /** Data format for response. */
26863
+ alt?: string;
26864
+ /** JSONP */
26865
+ callback?: string;
26866
+ /** Selector specifying which fields to include in a partial response. */
26867
+ fields?: string;
26868
+ /** 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. */
26869
+ key?: string;
26870
+ /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26871
+ name: string;
26872
+ /** OAuth 2.0 token for the current user. */
26873
+ oauth_token?: string;
26874
+ /** Returns response with indentations and line breaks. */
26875
+ prettyPrint?: boolean;
26876
+ /** 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. */
26877
+ quotaUser?: string;
26878
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26879
+ upload_protocol?: string;
26880
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26881
+ uploadType?: string;
26882
+ }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
26883
+ /** Lists reasoning engines in a location. */
26884
+ list(request?: {
26885
+ /** V1 error format. */
26886
+ '$.xgafv'?: string;
26887
+ /** OAuth access token. */
26888
+ access_token?: string;
26889
+ /** Data format for response. */
26890
+ alt?: string;
26891
+ /** JSONP */
26892
+ callback?: string;
26893
+ /** Selector specifying which fields to include in a partial response. */
26894
+ fields?: string;
26895
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
26896
+ filter?: string;
26897
+ /** 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. */
26898
+ key?: string;
26899
+ /** OAuth 2.0 token for the current user. */
26900
+ oauth_token?: string;
26901
+ /** Optional. The standard list page size. */
26902
+ pageSize?: number;
26903
+ /** Optional. The standard list page token. */
26904
+ pageToken?: string;
26905
+ /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
26906
+ parent: string;
26907
+ /** Returns response with indentations and line breaks. */
26908
+ prettyPrint?: boolean;
26909
+ /** 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. */
26910
+ quotaUser?: string;
26911
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26912
+ upload_protocol?: string;
26913
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26914
+ uploadType?: string;
26915
+ }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
26916
+ /** Updates a reasoning engine. */
26917
+ patch(request: {
26918
+ /** V1 error format. */
26919
+ '$.xgafv'?: string;
26920
+ /** OAuth access token. */
26921
+ access_token?: string;
26922
+ /** Data format for response. */
26923
+ alt?: string;
26924
+ /** JSONP */
26925
+ callback?: string;
26926
+ /** Selector specifying which fields to include in a partial response. */
26927
+ fields?: string;
26928
+ /** 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. */
26929
+ key?: string;
26930
+ /** Identifier. The resource name of the ReasoningEngine. */
26931
+ name: string;
26932
+ /** OAuth 2.0 token for the current user. */
26933
+ oauth_token?: string;
26934
+ /** Returns response with indentations and line breaks. */
26935
+ prettyPrint?: boolean;
26936
+ /** 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. */
26937
+ quotaUser?: string;
26938
+ /** Optional. Mask specifying which fields to update. */
26939
+ updateMask?: string;
26940
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26941
+ upload_protocol?: string;
26942
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26943
+ uploadType?: string;
26944
+ /** Request body */
26945
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
26946
+ }): Request<GoogleLongrunningOperation>;
26947
+ patch(
26948
+ request: {
26949
+ /** V1 error format. */
26950
+ '$.xgafv'?: string;
26951
+ /** OAuth access token. */
26952
+ access_token?: string;
25429
26953
  /** Data format for response. */
25430
26954
  alt?: string;
25431
26955
  /** JSONP */
@@ -25451,10 +26975,68 @@ declare namespace gapi.client {
25451
26975
  },
25452
26976
  body: GoogleCloudAiplatformV1ReasoningEngine
25453
26977
  ): Request<GoogleLongrunningOperation>;
26978
+ /** Queries using a reasoning engine. */
26979
+ query(request: {
26980
+ /** V1 error format. */
26981
+ '$.xgafv'?: string;
26982
+ /** OAuth access token. */
26983
+ access_token?: string;
26984
+ /** Data format for response. */
26985
+ alt?: string;
26986
+ /** JSONP */
26987
+ callback?: string;
26988
+ /** Selector specifying which fields to include in a partial response. */
26989
+ fields?: string;
26990
+ /** 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. */
26991
+ key?: string;
26992
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
26993
+ name: string;
26994
+ /** OAuth 2.0 token for the current user. */
26995
+ oauth_token?: string;
26996
+ /** Returns response with indentations and line breaks. */
26997
+ prettyPrint?: boolean;
26998
+ /** 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. */
26999
+ quotaUser?: string;
27000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27001
+ upload_protocol?: string;
27002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27003
+ uploadType?: string;
27004
+ /** Request body */
27005
+ resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
27006
+ }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
27007
+ query(
27008
+ request: {
27009
+ /** V1 error format. */
27010
+ '$.xgafv'?: string;
27011
+ /** OAuth access token. */
27012
+ access_token?: string;
27013
+ /** Data format for response. */
27014
+ alt?: string;
27015
+ /** JSONP */
27016
+ callback?: string;
27017
+ /** Selector specifying which fields to include in a partial response. */
27018
+ fields?: string;
27019
+ /** 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. */
27020
+ key?: string;
27021
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
27022
+ name: string;
27023
+ /** OAuth 2.0 token for the current user. */
27024
+ oauth_token?: string;
27025
+ /** Returns response with indentations and line breaks. */
27026
+ prettyPrint?: boolean;
27027
+ /** 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. */
27028
+ quotaUser?: string;
27029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27030
+ upload_protocol?: string;
27031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27032
+ uploadType?: string;
27033
+ },
27034
+ body: GoogleCloudAiplatformV1QueryReasoningEngineRequest
27035
+ ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
25454
27036
  operations: OperationsResource;
25455
27037
  }
25456
27038
  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`. */
27039
+ /** 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
27040
  cancel(request?: {
25459
27041
  /** V1 error format. */
25460
27042
  '$.xgafv'?: string;
@@ -25927,7 +27509,7 @@ declare namespace gapi.client {
25927
27509
  operations: OperationsResource;
25928
27510
  }
25929
27511
  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`. */
27512
+ /** 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
27513
  cancel(request?: {
25932
27514
  /** V1 error format. */
25933
27515
  '$.xgafv'?: string;
@@ -26284,7 +27866,7 @@ declare namespace gapi.client {
26284
27866
  operations: OperationsResource;
26285
27867
  }
26286
27868
  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`. */
27869
+ /** 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
27870
  cancel(request?: {
26289
27871
  /** V1 error format. */
26290
27872
  '$.xgafv'?: string;
@@ -26429,7 +28011,7 @@ declare namespace gapi.client {
26429
28011
  }): Request<GoogleLongrunningOperation>;
26430
28012
  }
26431
28013
  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`. */
28014
+ /** 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
28015
  cancel(request?: {
26434
28016
  /** V1 error format. */
26435
28017
  '$.xgafv'?: string;
@@ -27273,7 +28855,7 @@ declare namespace gapi.client {
27273
28855
  trials: TrialsResource;
27274
28856
  }
27275
28857
  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`. */
28858
+ /** 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
28859
  cancel(request?: {
27278
28860
  /** V1 error format. */
27279
28861
  '$.xgafv'?: string;
@@ -27418,7 +29000,7 @@ declare namespace gapi.client {
27418
29000
  }): Request<GoogleLongrunningOperation>;
27419
29001
  }
27420
29002
  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`. */
29003
+ /** 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
29004
  cancel(request?: {
27423
29005
  /** V1 error format. */
27424
29006
  '$.xgafv'?: string;
@@ -27563,7 +29145,7 @@ declare namespace gapi.client {
27563
29145
  }): Request<GoogleLongrunningOperation>;
27564
29146
  }
27565
29147
  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`. */
29148
+ /** 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
29149
  cancel(request?: {
27568
29150
  /** V1 error format. */
27569
29151
  '$.xgafv'?: string;
@@ -28714,7 +30296,7 @@ declare namespace gapi.client {
28714
30296
  runs: RunsResource;
28715
30297
  }
28716
30298
  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`. */
30299
+ /** 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
30300
  cancel(request?: {
28719
30301
  /** V1 error format. */
28720
30302
  '$.xgafv'?: string;
@@ -29157,7 +30739,7 @@ declare namespace gapi.client {
29157
30739
  operations: OperationsResource;
29158
30740
  }
29159
30741
  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`. */
30742
+ /** 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
30743
  cancel(request?: {
29162
30744
  /** V1 error format. */
29163
30745
  '$.xgafv'?: string;
@@ -29510,7 +31092,7 @@ declare namespace gapi.client {
29510
31092
  operations: OperationsResource;
29511
31093
  }
29512
31094
  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`. */
31095
+ /** 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
31096
  cancel(request?: {
29515
31097
  /** V1 error format. */
29516
31098
  '$.xgafv'?: string;
@@ -29863,6 +31445,122 @@ declare namespace gapi.client {
29863
31445
  operations: OperationsResource;
29864
31446
  }
29865
31447
  interface LocationsResource {
31448
+ /** Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses. */
31449
+ augmentPrompt(request: {
31450
+ /** V1 error format. */
31451
+ '$.xgafv'?: string;
31452
+ /** OAuth access token. */
31453
+ access_token?: string;
31454
+ /** Data format for response. */
31455
+ alt?: string;
31456
+ /** JSONP */
31457
+ callback?: string;
31458
+ /** Selector specifying which fields to include in a partial response. */
31459
+ fields?: string;
31460
+ /** 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. */
31461
+ key?: string;
31462
+ /** OAuth 2.0 token for the current user. */
31463
+ oauth_token?: string;
31464
+ /** 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}`. */
31465
+ parent: string;
31466
+ /** Returns response with indentations and line breaks. */
31467
+ prettyPrint?: boolean;
31468
+ /** 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. */
31469
+ quotaUser?: string;
31470
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31471
+ upload_protocol?: string;
31472
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31473
+ uploadType?: string;
31474
+ /** Request body */
31475
+ resource: GoogleCloudAiplatformV1AugmentPromptRequest;
31476
+ }): Request<GoogleCloudAiplatformV1AugmentPromptResponse>;
31477
+ augmentPrompt(
31478
+ request: {
31479
+ /** V1 error format. */
31480
+ '$.xgafv'?: string;
31481
+ /** OAuth access token. */
31482
+ access_token?: string;
31483
+ /** Data format for response. */
31484
+ alt?: string;
31485
+ /** JSONP */
31486
+ callback?: string;
31487
+ /** Selector specifying which fields to include in a partial response. */
31488
+ fields?: string;
31489
+ /** 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. */
31490
+ key?: string;
31491
+ /** OAuth 2.0 token for the current user. */
31492
+ oauth_token?: string;
31493
+ /** 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}`. */
31494
+ parent: string;
31495
+ /** Returns response with indentations and line breaks. */
31496
+ prettyPrint?: boolean;
31497
+ /** 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. */
31498
+ quotaUser?: string;
31499
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31500
+ upload_protocol?: string;
31501
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31502
+ uploadType?: string;
31503
+ },
31504
+ body: GoogleCloudAiplatformV1AugmentPromptRequest
31505
+ ): Request<GoogleCloudAiplatformV1AugmentPromptResponse>;
31506
+ /** 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. */
31507
+ corroborateContent(request: {
31508
+ /** V1 error format. */
31509
+ '$.xgafv'?: string;
31510
+ /** OAuth access token. */
31511
+ access_token?: string;
31512
+ /** Data format for response. */
31513
+ alt?: string;
31514
+ /** JSONP */
31515
+ callback?: string;
31516
+ /** Selector specifying which fields to include in a partial response. */
31517
+ fields?: string;
31518
+ /** 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. */
31519
+ key?: string;
31520
+ /** OAuth 2.0 token for the current user. */
31521
+ oauth_token?: string;
31522
+ /** 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}`. */
31523
+ parent: string;
31524
+ /** Returns response with indentations and line breaks. */
31525
+ prettyPrint?: boolean;
31526
+ /** 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. */
31527
+ quotaUser?: string;
31528
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31529
+ upload_protocol?: string;
31530
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31531
+ uploadType?: string;
31532
+ /** Request body */
31533
+ resource: GoogleCloudAiplatformV1CorroborateContentRequest;
31534
+ }): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
31535
+ corroborateContent(
31536
+ request: {
31537
+ /** V1 error format. */
31538
+ '$.xgafv'?: string;
31539
+ /** OAuth access token. */
31540
+ access_token?: string;
31541
+ /** Data format for response. */
31542
+ alt?: string;
31543
+ /** JSONP */
31544
+ callback?: string;
31545
+ /** Selector specifying which fields to include in a partial response. */
31546
+ fields?: string;
31547
+ /** 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. */
31548
+ key?: string;
31549
+ /** OAuth 2.0 token for the current user. */
31550
+ oauth_token?: string;
31551
+ /** 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}`. */
31552
+ parent: string;
31553
+ /** Returns response with indentations and line breaks. */
31554
+ prettyPrint?: boolean;
31555
+ /** 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. */
31556
+ quotaUser?: string;
31557
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31558
+ upload_protocol?: string;
31559
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31560
+ uploadType?: string;
31561
+ },
31562
+ body: GoogleCloudAiplatformV1CorroborateContentRequest
31563
+ ): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
29866
31564
  /** Evaluates instances based on a given metric. */
29867
31565
  evaluateInstances(request: {
29868
31566
  /** V1 error format. */
@@ -29981,7 +31679,66 @@ declare namespace gapi.client {
29981
31679
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
29982
31680
  uploadType?: string;
29983
31681
  }): Request<GoogleCloudLocationListLocationsResponse>;
31682
+ /** Retrieves relevant contexts for a query. */
31683
+ retrieveContexts(request: {
31684
+ /** V1 error format. */
31685
+ '$.xgafv'?: string;
31686
+ /** OAuth access token. */
31687
+ access_token?: string;
31688
+ /** Data format for response. */
31689
+ alt?: string;
31690
+ /** JSONP */
31691
+ callback?: string;
31692
+ /** Selector specifying which fields to include in a partial response. */
31693
+ fields?: string;
31694
+ /** 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. */
31695
+ key?: string;
31696
+ /** OAuth 2.0 token for the current user. */
31697
+ oauth_token?: string;
31698
+ /** 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}`. */
31699
+ parent: string;
31700
+ /** Returns response with indentations and line breaks. */
31701
+ prettyPrint?: boolean;
31702
+ /** 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. */
31703
+ quotaUser?: string;
31704
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31705
+ upload_protocol?: string;
31706
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31707
+ uploadType?: string;
31708
+ /** Request body */
31709
+ resource: GoogleCloudAiplatformV1RetrieveContextsRequest;
31710
+ }): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
31711
+ retrieveContexts(
31712
+ request: {
31713
+ /** V1 error format. */
31714
+ '$.xgafv'?: string;
31715
+ /** OAuth access token. */
31716
+ access_token?: string;
31717
+ /** Data format for response. */
31718
+ alt?: string;
31719
+ /** JSONP */
31720
+ callback?: string;
31721
+ /** Selector specifying which fields to include in a partial response. */
31722
+ fields?: string;
31723
+ /** 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. */
31724
+ key?: string;
31725
+ /** OAuth 2.0 token for the current user. */
31726
+ oauth_token?: string;
31727
+ /** 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}`. */
31728
+ parent: string;
31729
+ /** Returns response with indentations and line breaks. */
31730
+ prettyPrint?: boolean;
31731
+ /** 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. */
31732
+ quotaUser?: string;
31733
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31734
+ upload_protocol?: string;
31735
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31736
+ uploadType?: string;
31737
+ },
31738
+ body: GoogleCloudAiplatformV1RetrieveContextsRequest
31739
+ ): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
29984
31740
  batchPredictionJobs: BatchPredictionJobsResource;
31741
+ cachedContents: CachedContentsResource;
29985
31742
  customJobs: CustomJobsResource;
29986
31743
  dataLabelingJobs: DataLabelingJobsResource;
29987
31744
  datasets: DatasetsResource;
@@ -30005,6 +31762,7 @@ declare namespace gapi.client {
30005
31762
  persistentResources: PersistentResourcesResource;
30006
31763
  pipelineJobs: PipelineJobsResource;
30007
31764
  publishers: PublishersResource;
31765
+ ragCorpora: RagCorporaResource;
30008
31766
  reasoningEngines: ReasoningEnginesResource;
30009
31767
  schedules: SchedulesResource;
30010
31768
  specialistPools: SpecialistPoolsResource;
@@ -30378,6 +32136,8 @@ declare namespace gapi.client {
30378
32136
 
30379
32137
  const endpoints: EndpointsResource;
30380
32138
 
32139
+ const media: MediaResource;
32140
+
30381
32141
  const projects: ProjectsResource;
30382
32142
 
30383
32143
  const publishers: PublishersResource;