@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240816 → 0.0.20240830

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 (2) hide show
  1. package/index.d.ts +309 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20240816
12
+ // Revision: 20240830
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -198,6 +198,10 @@ declare namespace gapi.client {
198
198
  /** Output only. Timestamp when AnnotationSpec was last updated. */
199
199
  updateTime?: string;
200
200
  }
201
+ interface GoogleCloudAiplatformV1beta1ApiAuth {
202
+ /** The API secret. */
203
+ apiKeyConfig?: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig;
204
+ }
201
205
  interface GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig {
202
206
  /** Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} */
203
207
  apiKeySecretVersion?: string;
@@ -258,6 +262,26 @@ declare namespace gapi.client {
258
262
  /** Output only. Name of the explain output. Specified as the key in ExplanationMetadata.outputs. */
259
263
  outputName?: string;
260
264
  }
265
+ interface GoogleCloudAiplatformV1beta1AugmentPromptRequest {
266
+ /** Optional. Input content to augment, only text format is supported for now. */
267
+ contents?: GoogleCloudAiplatformV1beta1Content[];
268
+ /** Optional. Metadata of the backend deployed model. */
269
+ model?: GoogleCloudAiplatformV1beta1AugmentPromptRequestModel;
270
+ /** Optional. Retrieves contexts from the Vertex RagStore. */
271
+ vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
272
+ }
273
+ interface GoogleCloudAiplatformV1beta1AugmentPromptRequestModel {
274
+ /** Optional. The model that the user will send the augmented prompt for content generation. */
275
+ model?: string;
276
+ /** Optional. The model version of the backend deployed model. */
277
+ modelVersion?: string;
278
+ }
279
+ interface GoogleCloudAiplatformV1beta1AugmentPromptResponse {
280
+ /** Augmented prompt, only text format is supported for now. */
281
+ augmentedPrompt?: GoogleCloudAiplatformV1beta1Content[];
282
+ /** Retrieved facts from RAG data sources. */
283
+ facts?: GoogleCloudAiplatformV1beta1Fact[];
284
+ }
261
285
  interface GoogleCloudAiplatformV1beta1AuthConfig {
262
286
  /** Config for API key auth. */
263
287
  apiKeyConfig?: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig;
@@ -618,6 +642,20 @@ declare namespace gapi.client {
618
642
  ttl?: string;
619
643
  /** Output only. When the cache entry was last updated in UTC time. */
620
644
  updateTime?: string;
645
+ /** Output only. Metadata on the usage of the cached content. */
646
+ usageMetadata?: GoogleCloudAiplatformV1beta1CachedContentUsageMetadata;
647
+ }
648
+ interface GoogleCloudAiplatformV1beta1CachedContentUsageMetadata {
649
+ /** Duration of audio in seconds. */
650
+ audioDurationSeconds?: number;
651
+ /** Number of images. */
652
+ imageCount?: number;
653
+ /** Number of text characters. */
654
+ textCount?: number;
655
+ /** Total number of tokens that the cached content consumes. */
656
+ totalTokenCount?: number;
657
+ /** Duration of video in seconds. */
658
+ videoDurationSeconds?: number;
621
659
  }
622
660
  interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
623
661
  interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
@@ -676,6 +714,16 @@ declare namespace gapi.client {
676
714
  /** Output only. List of citations. */
677
715
  citations?: GoogleCloudAiplatformV1beta1Citation[];
678
716
  }
717
+ interface GoogleCloudAiplatformV1beta1Claim {
718
+ /** Index in the input text where the claim ends (exclusive). */
719
+ endIndex?: number;
720
+ /** Indexes of the facts supporting this claim. */
721
+ factIndexes?: number[];
722
+ /** Confidence score of this corroboration. */
723
+ score?: number;
724
+ /** Index in the input text where the claim starts (inclusive). */
725
+ startIndex?: number;
726
+ }
679
727
  interface GoogleCloudAiplatformV1beta1CoherenceInput {
680
728
  /** Required. Coherence instance. */
681
729
  instance?: GoogleCloudAiplatformV1beta1CoherenceInstance;
@@ -792,6 +840,30 @@ declare namespace gapi.client {
792
840
  /** Output only. The version ID of the model that is copied. */
793
841
  modelVersionId?: string;
794
842
  }
843
+ interface GoogleCloudAiplatformV1beta1CorpusStatus {
844
+ /** Output only. Only when the `state` field is ERROR. */
845
+ errorStatus?: string;
846
+ /** Output only. RagCorpus life state. */
847
+ state?: string;
848
+ }
849
+ interface GoogleCloudAiplatformV1beta1CorroborateContentRequest {
850
+ /** Optional. Input content to corroborate, only text format is supported for now. */
851
+ content?: GoogleCloudAiplatformV1beta1Content;
852
+ /** Optional. Facts used to generate the text can also be used to corroborate the text. */
853
+ facts?: GoogleCloudAiplatformV1beta1Fact[];
854
+ /** Optional. Parameters that can be set to override default settings per request. */
855
+ parameters?: GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters;
856
+ }
857
+ interface GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters {
858
+ /** Optional. Only return claims with citation score larger than the threshold. */
859
+ citationThreshold?: number;
860
+ }
861
+ interface GoogleCloudAiplatformV1beta1CorroborateContentResponse {
862
+ /** Claims that are extracted from the input content and facts that support the claims. */
863
+ claims?: GoogleCloudAiplatformV1beta1Claim[];
864
+ /** Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence. */
865
+ corroborationScore?: number;
866
+ }
795
867
  interface GoogleCloudAiplatformV1beta1CountTokensRequest {
796
868
  /** Optional. Input content. */
797
869
  contents?: GoogleCloudAiplatformV1beta1Content[];
@@ -2064,6 +2136,18 @@ declare namespace gapi.client {
2064
2136
  /** Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: `projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}` - The Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) should be granted `servicedirectory.viewer` and `servicedirectory.pscAuthorizedService` roles on the resource. */
2065
2137
  serviceDirectory?: string;
2066
2138
  }
2139
+ interface GoogleCloudAiplatformV1beta1Fact {
2140
+ /** Query that is used to retrieve this fact. */
2141
+ query?: string;
2142
+ /** If present, the summary/snippet of the fact. */
2143
+ summary?: string;
2144
+ /** If present, it refers to the title of this fact. */
2145
+ title?: string;
2146
+ /** If present, this uri links to the source of the fact. */
2147
+ uri?: string;
2148
+ /** If present, the distance between the query vector and this fact vector. */
2149
+ vectorDistance?: number;
2150
+ }
2067
2151
  interface GoogleCloudAiplatformV1beta1Feature {
2068
2152
  /** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
2069
2153
  createTime?: string;
@@ -2111,8 +2195,12 @@ declare namespace gapi.client {
2111
2195
  interface GoogleCloudAiplatformV1beta1FeatureGroupBigQuery {
2112
2196
  /** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
2113
2197
  bigQuerySource?: GoogleCloudAiplatformV1beta1BigQuerySource;
2198
+ /** Optional. If set, all feature values will be fetched from a single row per unique entityId including nulls. If not set, will collapse all rows for each unique entityId into a singe row with any non-null values if present, if no non-null values are present will sync null. ex: If source has schema (entity_id, feature_timestamp, f0, f1) and values (e1, 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set, (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to online stores. */
2199
+ dense?: boolean;
2114
2200
  /** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
2115
2201
  entityIdColumns?: string[];
2202
+ /** Optional. Set if the data source is not a time-series. */
2203
+ staticDataSource?: boolean;
2116
2204
  /** Optional. If the source is a time-series source, this can be set to control how downstream sources (ex: FeatureView ) will treat time-series sources. If not set, will treat the source as a time-series source with `feature_timestamp` as timestamp column and no scan boundary. */
2117
2205
  timeSeries?: GoogleCloudAiplatformV1beta1FeatureGroupBigQueryTimeSeries;
2118
2206
  }
@@ -2346,6 +2434,8 @@ declare namespace gapi.client {
2346
2434
  updateTime?: string;
2347
2435
  /** Optional. Deprecated: please use FeatureView.index_config instead. */
2348
2436
  vectorSearchConfig?: GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig;
2437
+ /** Optional. The Vertex RAG Source that the FeatureView is linked to. */
2438
+ vertexRagSource?: GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource;
2349
2439
  }
2350
2440
  interface GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource {
2351
2441
  /** Required. Columns to construct entity_id / row keys. */
@@ -2445,6 +2535,12 @@ declare namespace gapi.client {
2445
2535
  /** Optional. Number of embeddings on each leaf node. The default value is 1000 if not set. */
2446
2536
  leafNodeEmbeddingCount?: string;
2447
2537
  }
2538
+ interface GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource {
2539
+ /** Optional. The RAG corpus id corresponding to this FeatureView. */
2540
+ ragCorpusId?: string;
2541
+ /** Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns at least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE */
2542
+ uri?: string;
2543
+ }
2448
2544
  interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
2449
2545
  /** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
2450
2546
  dataFormat?: string;
@@ -2479,6 +2575,12 @@ declare namespace gapi.client {
2479
2575
  /** Required. The IANA standard MIME type of the source data. */
2480
2576
  mimeType?: string;
2481
2577
  }
2578
+ interface GoogleCloudAiplatformV1beta1FileStatus {
2579
+ /** Output only. Only when the `state` field is ERROR. */
2580
+ errorStatus?: string;
2581
+ /** Output only. RagFile state. */
2582
+ state?: string;
2583
+ }
2482
2584
  interface GoogleCloudAiplatformV1beta1FilterSplit {
2483
2585
  /** 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. */
2484
2586
  testFilter?: string;
@@ -2610,7 +2712,7 @@ declare namespace gapi.client {
2610
2712
  interface GoogleCloudAiplatformV1beta1FunctionResponse {
2611
2713
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
2612
2714
  name?: string;
2613
- /** Required. The function response in JSON object format. */
2715
+ /** Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. */
2614
2716
  response?: {[P in string]: any};
2615
2717
  }
2616
2718
  interface GoogleCloudAiplatformV1beta1GcsDestination {
@@ -2668,10 +2770,13 @@ declare namespace gapi.client {
2668
2770
  safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
2669
2771
  }
2670
2772
  interface GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
2773
+ /** Output only. Number of tokens in the cached part in the input (the cached content). */
2774
+ cachedContentTokenCount?: number;
2671
2775
  /** Number of tokens in the response(s). */
2672
2776
  candidatesTokenCount?: number;
2673
2777
  /** 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. */
2674
2778
  promptTokenCount?: number;
2779
+ /** Total token count for prompt and response candidates. */
2675
2780
  totalTokenCount?: number;
2676
2781
  }
2677
2782
  interface GoogleCloudAiplatformV1beta1GenerateVideoResponse {
@@ -5483,6 +5588,8 @@ declare namespace gapi.client {
5483
5588
  text?: string;
5484
5589
  }
5485
5590
  interface GoogleCloudAiplatformV1beta1RagCorpus {
5591
+ /** Output only. RagCorpus state. */
5592
+ corpusStatus?: GoogleCloudAiplatformV1beta1CorpusStatus;
5486
5593
  /** Output only. Timestamp when this RagCorpus was created. */
5487
5594
  createTime?: string;
5488
5595
  /** Optional. The description of the RagCorpus. */
@@ -5493,6 +5600,8 @@ declare namespace gapi.client {
5493
5600
  name?: string;
5494
5601
  /** Optional. Immutable. The embedding model config of the RagCorpus. */
5495
5602
  ragEmbeddingModelConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig;
5603
+ /** Optional. Immutable. The Vector DB config of the RagCorpus. */
5604
+ ragVectorDbConfig?: GoogleCloudAiplatformV1beta1RagVectorDbConfig;
5496
5605
  /** Output only. Timestamp when this RagCorpus was last updated. */
5497
5606
  updateTime?: string;
5498
5607
  }
@@ -5537,6 +5646,8 @@ declare namespace gapi.client {
5537
5646
  directUploadSource?: any;
5538
5647
  /** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5539
5648
  displayName?: string;
5649
+ /** Output only. State of the RagFile. */
5650
+ fileStatus?: GoogleCloudAiplatformV1beta1FileStatus;
5540
5651
  /** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now. */
5541
5652
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
5542
5653
  /** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
@@ -5576,6 +5687,27 @@ declare namespace gapi.client {
5576
5687
  /** Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. */
5577
5688
  alpha?: number;
5578
5689
  }
5690
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfig {
5691
+ /** Authentication config for the chosen Vector DB. */
5692
+ apiAuth?: GoogleCloudAiplatformV1beta1ApiAuth;
5693
+ /** The config for the RAG-managed Vector DB. */
5694
+ ragManagedDb?: any;
5695
+ /** The config for the Vertex Feature Store. */
5696
+ vertexFeatureStore?: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore;
5697
+ /** The config for the Weaviate. */
5698
+ weaviate?: GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate;
5699
+ }
5700
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb {}
5701
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore {
5702
+ /** The resource name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
5703
+ featureViewResourceName?: string;
5704
+ }
5705
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate {
5706
+ /** The corresponding collection this corpus maps to. This value cannot be changed after it's set. */
5707
+ collectionName?: string;
5708
+ /** Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set. */
5709
+ httpEndpoint?: string;
5710
+ }
5579
5711
  interface GoogleCloudAiplatformV1beta1RawPredictRequest {
5580
5712
  /** 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. */
5581
5713
  httpBody?: GoogleApiHttpBody;
@@ -11232,7 +11364,7 @@ declare namespace gapi.client {
11232
11364
  }): Request<GoogleLongrunningOperation>;
11233
11365
  }
11234
11366
  interface AnnotationsResource {
11235
- /** Lists Annotations belongs to a dataitem */
11367
+ /** Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights. */
11236
11368
  list(request?: {
11237
11369
  /** V1 error format. */
11238
11370
  '$.xgafv'?: string;
@@ -28617,6 +28749,64 @@ declare namespace gapi.client {
28617
28749
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28618
28750
  uploadType?: string;
28619
28751
  }): Request<GoogleCloudAiplatformV1beta1ListRagCorporaResponse>;
28752
+ /** Updates a RagCorpus. */
28753
+ patch(request: {
28754
+ /** V1 error format. */
28755
+ '$.xgafv'?: string;
28756
+ /** OAuth access token. */
28757
+ access_token?: string;
28758
+ /** Data format for response. */
28759
+ alt?: string;
28760
+ /** JSONP */
28761
+ callback?: string;
28762
+ /** Selector specifying which fields to include in a partial response. */
28763
+ fields?: string;
28764
+ /** 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. */
28765
+ key?: string;
28766
+ /** Output only. The resource name of the RagCorpus. */
28767
+ name: string;
28768
+ /** OAuth 2.0 token for the current user. */
28769
+ oauth_token?: string;
28770
+ /** Returns response with indentations and line breaks. */
28771
+ prettyPrint?: boolean;
28772
+ /** 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. */
28773
+ quotaUser?: string;
28774
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
28775
+ upload_protocol?: string;
28776
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28777
+ uploadType?: string;
28778
+ /** Request body */
28779
+ resource: GoogleCloudAiplatformV1beta1RagCorpus;
28780
+ }): Request<GoogleLongrunningOperation>;
28781
+ patch(
28782
+ request: {
28783
+ /** V1 error format. */
28784
+ '$.xgafv'?: string;
28785
+ /** OAuth access token. */
28786
+ access_token?: string;
28787
+ /** Data format for response. */
28788
+ alt?: string;
28789
+ /** JSONP */
28790
+ callback?: string;
28791
+ /** Selector specifying which fields to include in a partial response. */
28792
+ fields?: string;
28793
+ /** 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. */
28794
+ key?: string;
28795
+ /** Output only. The resource name of the RagCorpus. */
28796
+ name: string;
28797
+ /** OAuth 2.0 token for the current user. */
28798
+ oauth_token?: string;
28799
+ /** Returns response with indentations and line breaks. */
28800
+ prettyPrint?: boolean;
28801
+ /** 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. */
28802
+ quotaUser?: string;
28803
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
28804
+ upload_protocol?: string;
28805
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
28806
+ uploadType?: string;
28807
+ },
28808
+ body: GoogleCloudAiplatformV1beta1RagCorpus
28809
+ ): Request<GoogleLongrunningOperation>;
28620
28810
  operations: OperationsResource;
28621
28811
  ragFiles: RagFilesResource;
28622
28812
  }
@@ -33360,6 +33550,122 @@ declare namespace gapi.client {
33360
33550
  }): Request<GoogleCloudAiplatformV1beta1ListTuningJobsResponse>;
33361
33551
  }
33362
33552
  interface LocationsResource {
33553
+ /** Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses. */
33554
+ augmentPrompt(request: {
33555
+ /** V1 error format. */
33556
+ '$.xgafv'?: string;
33557
+ /** OAuth access token. */
33558
+ access_token?: string;
33559
+ /** Data format for response. */
33560
+ alt?: string;
33561
+ /** JSONP */
33562
+ callback?: string;
33563
+ /** Selector specifying which fields to include in a partial response. */
33564
+ fields?: string;
33565
+ /** 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. */
33566
+ key?: string;
33567
+ /** OAuth 2.0 token for the current user. */
33568
+ oauth_token?: string;
33569
+ /** 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}`. */
33570
+ parent: string;
33571
+ /** Returns response with indentations and line breaks. */
33572
+ prettyPrint?: boolean;
33573
+ /** 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. */
33574
+ quotaUser?: string;
33575
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33576
+ upload_protocol?: string;
33577
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33578
+ uploadType?: string;
33579
+ /** Request body */
33580
+ resource: GoogleCloudAiplatformV1beta1AugmentPromptRequest;
33581
+ }): Request<GoogleCloudAiplatformV1beta1AugmentPromptResponse>;
33582
+ augmentPrompt(
33583
+ request: {
33584
+ /** V1 error format. */
33585
+ '$.xgafv'?: string;
33586
+ /** OAuth access token. */
33587
+ access_token?: string;
33588
+ /** Data format for response. */
33589
+ alt?: string;
33590
+ /** JSONP */
33591
+ callback?: string;
33592
+ /** Selector specifying which fields to include in a partial response. */
33593
+ fields?: string;
33594
+ /** 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. */
33595
+ key?: string;
33596
+ /** OAuth 2.0 token for the current user. */
33597
+ oauth_token?: string;
33598
+ /** 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}`. */
33599
+ parent: string;
33600
+ /** Returns response with indentations and line breaks. */
33601
+ prettyPrint?: boolean;
33602
+ /** 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. */
33603
+ quotaUser?: string;
33604
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33605
+ upload_protocol?: string;
33606
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33607
+ uploadType?: string;
33608
+ },
33609
+ body: GoogleCloudAiplatformV1beta1AugmentPromptRequest
33610
+ ): Request<GoogleCloudAiplatformV1beta1AugmentPromptResponse>;
33611
+ /** 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. */
33612
+ corroborateContent(request: {
33613
+ /** V1 error format. */
33614
+ '$.xgafv'?: string;
33615
+ /** OAuth access token. */
33616
+ access_token?: string;
33617
+ /** Data format for response. */
33618
+ alt?: string;
33619
+ /** JSONP */
33620
+ callback?: string;
33621
+ /** Selector specifying which fields to include in a partial response. */
33622
+ fields?: string;
33623
+ /** 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. */
33624
+ key?: string;
33625
+ /** OAuth 2.0 token for the current user. */
33626
+ oauth_token?: string;
33627
+ /** 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}`. */
33628
+ parent: string;
33629
+ /** Returns response with indentations and line breaks. */
33630
+ prettyPrint?: boolean;
33631
+ /** 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. */
33632
+ quotaUser?: string;
33633
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33634
+ upload_protocol?: string;
33635
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33636
+ uploadType?: string;
33637
+ /** Request body */
33638
+ resource: GoogleCloudAiplatformV1beta1CorroborateContentRequest;
33639
+ }): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
33640
+ corroborateContent(
33641
+ request: {
33642
+ /** V1 error format. */
33643
+ '$.xgafv'?: string;
33644
+ /** OAuth access token. */
33645
+ access_token?: string;
33646
+ /** Data format for response. */
33647
+ alt?: string;
33648
+ /** JSONP */
33649
+ callback?: string;
33650
+ /** Selector specifying which fields to include in a partial response. */
33651
+ fields?: string;
33652
+ /** 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. */
33653
+ key?: string;
33654
+ /** OAuth 2.0 token for the current user. */
33655
+ oauth_token?: string;
33656
+ /** 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}`. */
33657
+ parent: string;
33658
+ /** Returns response with indentations and line breaks. */
33659
+ prettyPrint?: boolean;
33660
+ /** 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. */
33661
+ quotaUser?: string;
33662
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33663
+ upload_protocol?: string;
33664
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33665
+ uploadType?: string;
33666
+ },
33667
+ body: GoogleCloudAiplatformV1beta1CorroborateContentRequest
33668
+ ): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
33363
33669
  /** Evaluates instances based on a given metric. */
33364
33670
  evaluateInstances(request: {
33365
33671
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20240816",
3
+ "version": "0.0.20240830",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",