@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240828 → 0.0.20240907

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 +267 -5
  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: 20240828
12
+ // Revision: 20240907
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -74,6 +74,8 @@ declare namespace gapi.client {
74
74
  y2?: number;
75
75
  }
76
76
  interface CloudAiLargeModelsVisionRaiInfo {
77
+ /** List of blocked entities from the blocklist if it is detected. */
78
+ blockedEntities?: string[];
77
79
  /** The list of detected labels for different rai categories. */
78
80
  detectedLabels?: CloudAiLargeModelsVisionRaiInfoDetectedLabels[];
79
81
  /** The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint. */
@@ -232,6 +234,16 @@ declare namespace gapi.client {
232
234
  /** The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file. */
233
235
  uri?: string;
234
236
  }
237
+ interface GoogleCloudAiplatformV1beta1ArtifactTypeSchema {
238
+ /** Contains a raw YAML string, describing the format of the properties of the type. */
239
+ instanceSchema?: string;
240
+ /** The name of the type. The format of the title must be: `.`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store. */
241
+ schemaTitle?: string;
242
+ /** Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use PipelineArtifactTypeSchema.schema_title or PipelineArtifactTypeSchema.instance_schema instead. */
243
+ schemaUri?: string;
244
+ /** The schema version of the artifact. If the value is not set, it defaults to the latest version in the system. */
245
+ schemaVersion?: string;
246
+ }
235
247
  interface GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata {
236
248
  /** The operation generic information. */
237
249
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -262,6 +274,26 @@ declare namespace gapi.client {
262
274
  /** Output only. Name of the explain output. Specified as the key in ExplanationMetadata.outputs. */
263
275
  outputName?: string;
264
276
  }
277
+ interface GoogleCloudAiplatformV1beta1AugmentPromptRequest {
278
+ /** Optional. Input content to augment, only text format is supported for now. */
279
+ contents?: GoogleCloudAiplatformV1beta1Content[];
280
+ /** Optional. Metadata of the backend deployed model. */
281
+ model?: GoogleCloudAiplatformV1beta1AugmentPromptRequestModel;
282
+ /** Optional. Retrieves contexts from the Vertex RagStore. */
283
+ vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
284
+ }
285
+ interface GoogleCloudAiplatformV1beta1AugmentPromptRequestModel {
286
+ /** Optional. The model that the user will send the augmented prompt for content generation. */
287
+ model?: string;
288
+ /** Optional. The model version of the backend deployed model. */
289
+ modelVersion?: string;
290
+ }
291
+ interface GoogleCloudAiplatformV1beta1AugmentPromptResponse {
292
+ /** Augmented prompt, only text format is supported for now. */
293
+ augmentedPrompt?: GoogleCloudAiplatformV1beta1Content[];
294
+ /** Retrieved facts from RAG data sources. */
295
+ facts?: GoogleCloudAiplatformV1beta1Fact[];
296
+ }
265
297
  interface GoogleCloudAiplatformV1beta1AuthConfig {
266
298
  /** Config for API key auth. */
267
299
  apiKeyConfig?: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig;
@@ -694,6 +726,16 @@ declare namespace gapi.client {
694
726
  /** Output only. List of citations. */
695
727
  citations?: GoogleCloudAiplatformV1beta1Citation[];
696
728
  }
729
+ interface GoogleCloudAiplatformV1beta1Claim {
730
+ /** Index in the input text where the claim ends (exclusive). */
731
+ endIndex?: number;
732
+ /** Indexes of the facts supporting this claim. */
733
+ factIndexes?: number[];
734
+ /** Confidence score of this corroboration. */
735
+ score?: number;
736
+ /** Index in the input text where the claim starts (inclusive). */
737
+ startIndex?: number;
738
+ }
697
739
  interface GoogleCloudAiplatformV1beta1CoherenceInput {
698
740
  /** Required. Coherence instance. */
699
741
  instance?: GoogleCloudAiplatformV1beta1CoherenceInstance;
@@ -816,9 +858,29 @@ declare namespace gapi.client {
816
858
  /** Output only. RagCorpus life state. */
817
859
  state?: string;
818
860
  }
861
+ interface GoogleCloudAiplatformV1beta1CorroborateContentRequest {
862
+ /** Optional. Input content to corroborate, only text format is supported for now. */
863
+ content?: GoogleCloudAiplatformV1beta1Content;
864
+ /** Optional. Facts used to generate the text can also be used to corroborate the text. */
865
+ facts?: GoogleCloudAiplatformV1beta1Fact[];
866
+ /** Optional. Parameters that can be set to override default settings per request. */
867
+ parameters?: GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters;
868
+ }
869
+ interface GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters {
870
+ /** Optional. Only return claims with citation score larger than the threshold. */
871
+ citationThreshold?: number;
872
+ }
873
+ interface GoogleCloudAiplatformV1beta1CorroborateContentResponse {
874
+ /** Claims that are extracted from the input content and facts that support the claims. */
875
+ claims?: GoogleCloudAiplatformV1beta1Claim[];
876
+ /** Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence. */
877
+ corroborationScore?: number;
878
+ }
819
879
  interface GoogleCloudAiplatformV1beta1CountTokensRequest {
820
880
  /** Optional. Input content. */
821
881
  contents?: GoogleCloudAiplatformV1beta1Content[];
882
+ /** Optional. Generation config that the model will use to generate the response. */
883
+ generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
822
884
  /** Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
823
885
  instances?: any[];
824
886
  /** Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
@@ -1299,6 +1361,8 @@ declare namespace gapi.client {
1299
1361
  indexSyncTime?: string;
1300
1362
  /** Output only. Provides paths for users to send requests directly to the deployed index services running on Cloud via private services access. This field is populated if network is configured. */
1301
1363
  privateEndpoints?: GoogleCloudAiplatformV1beta1IndexPrivateEndpoints;
1364
+ /** Optional. If set for PSC deployed index, PSC connection will be automatically created after deployment is done and the endpoint information is populated in private_endpoints.psc_automated_endpoints. */
1365
+ pscAutomationConfigs?: GoogleCloudAiplatformV1beta1PSCAutomationConfig[];
1302
1366
  /** Optional. A list of reserved ip ranges under the VPC network that can be used for this DeployedIndex. If set, we will deploy the index within the provided ip ranges. Otherwise, the index might be deployed to any ip ranges under the provided VPC network. The value should be the name of the address (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) Example: ['vertex-ai-ip-range']. For more information about subnets and network IP ranges, please see https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. */
1303
1367
  reservedIpRanges?: string[];
1304
1368
  }
@@ -2088,6 +2152,18 @@ declare namespace gapi.client {
2088
2152
  /** 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. */
2089
2153
  serviceDirectory?: string;
2090
2154
  }
2155
+ interface GoogleCloudAiplatformV1beta1Fact {
2156
+ /** Query that is used to retrieve this fact. */
2157
+ query?: string;
2158
+ /** If present, the summary/snippet of the fact. */
2159
+ summary?: string;
2160
+ /** If present, it refers to the title of this fact. */
2161
+ title?: string;
2162
+ /** If present, this uri links to the source of the fact. */
2163
+ uri?: string;
2164
+ /** If present, the distance between the query vector and this fact vector. */
2165
+ vectorDistance?: number;
2166
+ }
2091
2167
  interface GoogleCloudAiplatformV1beta1Feature {
2092
2168
  /** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
2093
2169
  createTime?: string;
@@ -2135,7 +2211,7 @@ declare namespace gapi.client {
2135
2211
  interface GoogleCloudAiplatformV1beta1FeatureGroupBigQuery {
2136
2212
  /** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
2137
2213
  bigQuerySource?: GoogleCloudAiplatformV1beta1BigQuerySource;
2138
- /** 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. */
2214
+ /** 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 the following rows: `(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. */
2139
2215
  dense?: boolean;
2140
2216
  /** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
2141
2217
  entityIdColumns?: string[];
@@ -2478,7 +2554,7 @@ declare namespace gapi.client {
2478
2554
  interface GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource {
2479
2555
  /** Optional. The RAG corpus id corresponding to this FeatureView. */
2480
2556
  ragCorpusId?: string;
2481
- /** 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 */
2557
+ /** 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 and types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING, NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING, NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING, NULLABLE/REQUIRED) */
2482
2558
  uri?: string;
2483
2559
  }
2484
2560
  interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
@@ -2684,6 +2760,8 @@ declare namespace gapi.client {
2684
2760
  contents?: GoogleCloudAiplatformV1beta1Content[];
2685
2761
  /** Optional. Generation config. */
2686
2762
  generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
2763
+ /** Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
2764
+ labels?: {[P in string]: string};
2687
2765
  /** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
2688
2766
  safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
2689
2767
  /** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
@@ -2981,6 +3059,10 @@ declare namespace gapi.client {
2981
3059
  jiraSource?: GoogleCloudAiplatformV1beta1JiraSource;
2982
3060
  /** 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. */
2983
3061
  maxEmbeddingRequestsPerMin?: number;
3062
+ /** The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). If the dataset id does not exist, it will be created. 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. */
3063
+ partialFailureBigquerySink?: GoogleCloudAiplatformV1beta1BigQueryDestination;
3064
+ /** The Cloud Storage path to write partial failures to. */
3065
+ partialFailureGcsSink?: GoogleCloudAiplatformV1beta1GcsDestination;
2984
3066
  /** Specifies the size and overlap of chunks after importing RagFiles. */
2985
3067
  ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
2986
3068
  /** Specifies the parsing config for RagFiles. */
@@ -4923,8 +5005,12 @@ declare namespace gapi.client {
4923
5005
  name?: string;
4924
5006
  /** The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Pipeline Job's workload should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. Private services access must already be configured for the network. Pipeline job will apply the network configuration to the Google Cloud resources being launched, if applied, such as Vertex AI Training or Dataflow job. If left unspecified, the workload is not peered with any network. */
4925
5007
  network?: string;
5008
+ /** Output only. The original pipeline job id if this pipeline job is a rerun of a previous pipeline job. */
5009
+ originalPipelineJobId?: string;
4926
5010
  /** The spec of the pipeline. */
4927
5011
  pipelineSpec?: {[P in string]: any};
5012
+ /** Output only. The rerun configs for each task in the pipeline job. By default, the rerun will: 1. Use the same input artifacts as the original run. 2. Use the same input parameters as the original run. 3. Skip all the tasks that are already succeeded in the original run. 4. Rerun all the tasks that are not succeeded in the original run. By providing this field, users can override the default behavior and specify the rerun config for each task. */
5013
+ pipelineTaskRerunConfigs?: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig[];
4928
5014
  /** Optional. Whether to do component level validations before job creation. */
4929
5015
  preflightValidations?: boolean;
4930
5016
  /** A list of names for the reserved ip ranges under the VPC network that can be used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job's workload within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
@@ -5042,6 +5128,30 @@ declare namespace gapi.client {
5042
5128
  /** Output only. The name of the CustomJob. */
5043
5129
  job?: string;
5044
5130
  }
5131
+ interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig {
5132
+ /** Output only. The runtime input of the task overridden by the user. */
5133
+ inputs?: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs;
5134
+ /** Output only. Whether to skip downstream tasks. Default value is False. */
5135
+ skipDownstreamTasks?: boolean;
5136
+ /** Output only. Whether to skip this task. Default value is False. */
5137
+ skipTask?: boolean;
5138
+ /** Output only. The system generated ID of the task. Retrieved from original run. */
5139
+ taskId?: string;
5140
+ /** Output only. The name of the task. */
5141
+ taskName?: string;
5142
+ }
5143
+ interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList {
5144
+ /** Output only. A list of artifact metadata. */
5145
+ artifacts?: GoogleCloudAiplatformV1beta1RuntimeArtifact[];
5146
+ }
5147
+ interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs {
5148
+ /** Output only. Input artifacts. */
5149
+ artifacts?: {
5150
+ [P in string]: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList;
5151
+ };
5152
+ /** Output only. Input parameters. */
5153
+ parameterValues?: {[P in string]: any};
5154
+ }
5045
5155
  interface GoogleCloudAiplatformV1beta1PipelineTemplateMetadata {
5046
5156
  /** The version_name in artifact registry. Will always be presented in output if the PipelineJob.template_uri is from supported template registry. Format is "sha256:abcdef123456...". */
5047
5157
  version?: string;
@@ -5159,6 +5269,12 @@ declare namespace gapi.client {
5159
5269
  /** Corresponding project_id in pscAutomationConfigs */
5160
5270
  projectId?: string;
5161
5271
  }
5272
+ interface GoogleCloudAiplatformV1beta1PSCAutomationConfig {
5273
+ /** Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name. */
5274
+ network?: string;
5275
+ /** Required. Project id used to create forwarding rule. */
5276
+ projectId?: string;
5277
+ }
5162
5278
  interface GoogleCloudAiplatformV1beta1PscInterfaceConfig {
5163
5279
  /** Optional. The full name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource. For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is of the form `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. Where {project} is a project number, as in `12345`, and {networkAttachment} is a network attachment name. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I. */
5164
5280
  networkAttachment?: string;
@@ -5630,18 +5746,32 @@ declare namespace gapi.client {
5630
5746
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfig {
5631
5747
  /** Authentication config for the chosen Vector DB. */
5632
5748
  apiAuth?: GoogleCloudAiplatformV1beta1ApiAuth;
5749
+ /** The config for the Pinecone. */
5750
+ pinecone?: GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone;
5633
5751
  /** The config for the RAG-managed Vector DB. */
5634
5752
  ragManagedDb?: any;
5635
5753
  /** The config for the Vertex Feature Store. */
5636
5754
  vertexFeatureStore?: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore;
5755
+ /** The config for the Vertex Vector Search. */
5756
+ vertexVectorSearch?: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch;
5637
5757
  /** The config for the Weaviate. */
5638
5758
  weaviate?: GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate;
5639
5759
  }
5760
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone {
5761
+ /** Pinecone index name. This value cannot be changed after it's set. */
5762
+ indexName?: string;
5763
+ }
5640
5764
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb {}
5641
5765
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore {
5642
5766
  /** The resource name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
5643
5767
  featureViewResourceName?: string;
5644
5768
  }
5769
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch {
5770
+ /** The resource name of the Index. Format: `projects/{project}/locations/{location}/indexes/{index}` */
5771
+ index?: string;
5772
+ /** The resource name of the Index Endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` */
5773
+ indexEndpoint?: string;
5774
+ }
5645
5775
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate {
5646
5776
  /** The corresponding collection this corpus maps to. This value cannot be changed after it's set. */
5647
5777
  collectionName?: string;
@@ -5931,6 +6061,20 @@ declare namespace gapi.client {
5931
6061
  /** Optional. Whether to use stemmer to compute rouge score. */
5932
6062
  useStemmer?: boolean;
5933
6063
  }
6064
+ interface GoogleCloudAiplatformV1beta1RuntimeArtifact {
6065
+ /** The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead. */
6066
+ customProperties?: {[P in string]: GoogleCloudAiplatformV1beta1Value};
6067
+ /** Properties of the Artifact. */
6068
+ metadata?: {[P in string]: any};
6069
+ /** The name of an artifact. */
6070
+ name?: string;
6071
+ /** The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead. */
6072
+ properties?: {[P in string]: GoogleCloudAiplatformV1beta1Value};
6073
+ /** The type of the artifact. */
6074
+ type?: GoogleCloudAiplatformV1beta1ArtifactTypeSchema;
6075
+ /** The URI of the artifact. */
6076
+ uri?: string;
6077
+ }
5934
6078
  interface GoogleCloudAiplatformV1beta1RuntimeConfig {
5935
6079
  /** Code execution runtime configurations for code interpreter extension. */
5936
6080
  codeInterpreterRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig;
@@ -6136,6 +6280,8 @@ declare namespace gapi.client {
6136
6280
  pattern?: string;
6137
6281
  /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
6138
6282
  properties?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
6283
+ /** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
6284
+ propertyOrdering?: string[];
6139
6285
  /** Optional. Required properties of Type.OBJECT. */
6140
6286
  required?: string[];
6141
6287
  /** Optional. The title of the Schema. */
@@ -15728,7 +15874,7 @@ declare namespace gapi.client {
15728
15874
  alt?: string;
15729
15875
  /** JSONP */
15730
15876
  callback?: string;
15731
- /** Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location. */
15877
+ /** Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location. */
15732
15878
  featureGroupId?: string;
15733
15879
  /** Selector specifying which fields to include in a partial response. */
15734
15880
  fields?: string;
@@ -15759,7 +15905,7 @@ declare namespace gapi.client {
15759
15905
  alt?: string;
15760
15906
  /** JSONP */
15761
15907
  callback?: string;
15762
- /** Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location. */
15908
+ /** Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location. */
15763
15909
  featureGroupId?: string;
15764
15910
  /** Selector specifying which fields to include in a partial response. */
15765
15911
  fields?: string;
@@ -33490,6 +33636,122 @@ declare namespace gapi.client {
33490
33636
  }): Request<GoogleCloudAiplatformV1beta1ListTuningJobsResponse>;
33491
33637
  }
33492
33638
  interface LocationsResource {
33639
+ /** Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses. */
33640
+ augmentPrompt(request: {
33641
+ /** V1 error format. */
33642
+ '$.xgafv'?: string;
33643
+ /** OAuth access token. */
33644
+ access_token?: string;
33645
+ /** Data format for response. */
33646
+ alt?: string;
33647
+ /** JSONP */
33648
+ callback?: string;
33649
+ /** Selector specifying which fields to include in a partial response. */
33650
+ fields?: string;
33651
+ /** 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. */
33652
+ key?: string;
33653
+ /** OAuth 2.0 token for the current user. */
33654
+ oauth_token?: string;
33655
+ /** 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}`. */
33656
+ parent: string;
33657
+ /** Returns response with indentations and line breaks. */
33658
+ prettyPrint?: boolean;
33659
+ /** 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. */
33660
+ quotaUser?: string;
33661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33662
+ upload_protocol?: string;
33663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33664
+ uploadType?: string;
33665
+ /** Request body */
33666
+ resource: GoogleCloudAiplatformV1beta1AugmentPromptRequest;
33667
+ }): Request<GoogleCloudAiplatformV1beta1AugmentPromptResponse>;
33668
+ augmentPrompt(
33669
+ request: {
33670
+ /** V1 error format. */
33671
+ '$.xgafv'?: string;
33672
+ /** OAuth access token. */
33673
+ access_token?: string;
33674
+ /** Data format for response. */
33675
+ alt?: string;
33676
+ /** JSONP */
33677
+ callback?: string;
33678
+ /** Selector specifying which fields to include in a partial response. */
33679
+ fields?: string;
33680
+ /** 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. */
33681
+ key?: string;
33682
+ /** OAuth 2.0 token for the current user. */
33683
+ oauth_token?: string;
33684
+ /** 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}`. */
33685
+ parent: string;
33686
+ /** Returns response with indentations and line breaks. */
33687
+ prettyPrint?: boolean;
33688
+ /** 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. */
33689
+ quotaUser?: string;
33690
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33691
+ upload_protocol?: string;
33692
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33693
+ uploadType?: string;
33694
+ },
33695
+ body: GoogleCloudAiplatformV1beta1AugmentPromptRequest
33696
+ ): Request<GoogleCloudAiplatformV1beta1AugmentPromptResponse>;
33697
+ /** 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. */
33698
+ corroborateContent(request: {
33699
+ /** V1 error format. */
33700
+ '$.xgafv'?: string;
33701
+ /** OAuth access token. */
33702
+ access_token?: string;
33703
+ /** Data format for response. */
33704
+ alt?: string;
33705
+ /** JSONP */
33706
+ callback?: string;
33707
+ /** Selector specifying which fields to include in a partial response. */
33708
+ fields?: string;
33709
+ /** 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. */
33710
+ key?: string;
33711
+ /** OAuth 2.0 token for the current user. */
33712
+ oauth_token?: string;
33713
+ /** 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}`. */
33714
+ parent: string;
33715
+ /** Returns response with indentations and line breaks. */
33716
+ prettyPrint?: boolean;
33717
+ /** 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. */
33718
+ quotaUser?: string;
33719
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33720
+ upload_protocol?: string;
33721
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33722
+ uploadType?: string;
33723
+ /** Request body */
33724
+ resource: GoogleCloudAiplatformV1beta1CorroborateContentRequest;
33725
+ }): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
33726
+ corroborateContent(
33727
+ request: {
33728
+ /** V1 error format. */
33729
+ '$.xgafv'?: string;
33730
+ /** OAuth access token. */
33731
+ access_token?: string;
33732
+ /** Data format for response. */
33733
+ alt?: string;
33734
+ /** JSONP */
33735
+ callback?: string;
33736
+ /** Selector specifying which fields to include in a partial response. */
33737
+ fields?: string;
33738
+ /** 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. */
33739
+ key?: string;
33740
+ /** OAuth 2.0 token for the current user. */
33741
+ oauth_token?: string;
33742
+ /** 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}`. */
33743
+ parent: string;
33744
+ /** Returns response with indentations and line breaks. */
33745
+ prettyPrint?: boolean;
33746
+ /** 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. */
33747
+ quotaUser?: string;
33748
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33749
+ upload_protocol?: string;
33750
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33751
+ uploadType?: string;
33752
+ },
33753
+ body: GoogleCloudAiplatformV1beta1CorroborateContentRequest
33754
+ ): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
33493
33755
  /** Evaluates instances based on a given metric. */
33494
33756
  evaluateInstances(request: {
33495
33757
  /** 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.20240828",
3
+ "version": "0.0.20240907",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",