@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240213 → 0.0.20240219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +52 -23
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240219
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -55,10 +55,12 @@ declare namespace gapi.client {
|
|
|
55
55
|
image?: string;
|
|
56
56
|
/** RAI scores for generated image. */
|
|
57
57
|
imageRaiScores?: CloudAiLargeModelsVisionImageRAIScores;
|
|
58
|
-
/** RAI info for image */
|
|
58
|
+
/** RAI info for image. */
|
|
59
59
|
raiInfo?: CloudAiLargeModelsVisionRaiInfo;
|
|
60
60
|
/** Semantic filter info for image. */
|
|
61
61
|
semanticFilterResponse?: CloudAiLargeModelsVisionSemanticFilterResponse;
|
|
62
|
+
/** Text/Expanded text input for imagen. */
|
|
63
|
+
text?: string;
|
|
62
64
|
/** Path to another storage (typically Google Cloud Storage). */
|
|
63
65
|
uri?: string;
|
|
64
66
|
}
|
|
@@ -1093,8 +1095,12 @@ declare namespace gapi.client {
|
|
|
1093
1095
|
bigQueryDatasetName?: string;
|
|
1094
1096
|
/** Output only. Timestamp when this DatasetVersion was created. */
|
|
1095
1097
|
createTime?: string;
|
|
1098
|
+
/** The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
1099
|
+
displayName?: string;
|
|
1096
1100
|
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1097
1101
|
etag?: string;
|
|
1102
|
+
/** Required. Additional information about the DatasetVersion. */
|
|
1103
|
+
metadata?: any;
|
|
1098
1104
|
/** Output only. The resource name of the DatasetVersion. */
|
|
1099
1105
|
name?: string;
|
|
1100
1106
|
/** Output only. Timestamp when this DatasetVersion was last updated. */
|
|
@@ -1755,6 +1761,8 @@ declare namespace gapi.client {
|
|
|
1755
1761
|
monitoringStatsAnomalies?: GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly[];
|
|
1756
1762
|
/** Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type. */
|
|
1757
1763
|
name?: string;
|
|
1764
|
+
/** Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs. */
|
|
1765
|
+
pointOfContact?: string;
|
|
1758
1766
|
/** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated. */
|
|
1759
1767
|
updateTime?: string;
|
|
1760
1768
|
/** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
|
|
@@ -1781,7 +1789,7 @@ declare namespace gapi.client {
|
|
|
1781
1789
|
interface GoogleCloudAiplatformV1FeatureGroupBigQuery {
|
|
1782
1790
|
/** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
|
|
1783
1791
|
bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
|
|
1784
|
-
/** Optional. Columns to construct entity_id / row keys.
|
|
1792
|
+
/** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
|
|
1785
1793
|
entityIdColumns?: string[];
|
|
1786
1794
|
}
|
|
1787
1795
|
interface GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly {
|
|
@@ -1967,15 +1975,21 @@ declare namespace gapi.client {
|
|
|
1967
1975
|
updateTime?: string;
|
|
1968
1976
|
}
|
|
1969
1977
|
interface GoogleCloudAiplatformV1FeatureViewBigQuerySource {
|
|
1970
|
-
/** Required. Columns to construct entity_id / row keys.
|
|
1978
|
+
/** Required. Columns to construct entity_id / row keys. */
|
|
1971
1979
|
entityIdColumns?: string[];
|
|
1972
1980
|
/** Required. The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig. */
|
|
1973
1981
|
uri?: string;
|
|
1974
1982
|
}
|
|
1975
1983
|
interface GoogleCloudAiplatformV1FeatureViewDataKey {
|
|
1984
|
+
/** The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec. */
|
|
1985
|
+
compositeKey?: GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey;
|
|
1976
1986
|
/** String key to use for lookup. */
|
|
1977
1987
|
key?: string;
|
|
1978
1988
|
}
|
|
1989
|
+
interface GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey {
|
|
1990
|
+
/** Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order. */
|
|
1991
|
+
parts?: string[];
|
|
1992
|
+
}
|
|
1979
1993
|
interface GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource {
|
|
1980
1994
|
/** Required. List of features that need to be synced to Online Store. */
|
|
1981
1995
|
featureGroups?: GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup[];
|
|
@@ -2173,10 +2187,6 @@ declare namespace gapi.client {
|
|
|
2173
2187
|
/** Output only. Time when the operation was updated for the last time. If the operation has finished (successfully or not), this is the finish time. */
|
|
2174
2188
|
updateTime?: string;
|
|
2175
2189
|
}
|
|
2176
|
-
interface GoogleCloudAiplatformV1GoogleSearchRetrieval {
|
|
2177
|
-
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
2178
|
-
disableAttribution?: boolean;
|
|
2179
|
-
}
|
|
2180
2190
|
interface GoogleCloudAiplatformV1GroundingAttribution {
|
|
2181
2191
|
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
|
|
2182
2192
|
confidenceScore?: number;
|
|
@@ -4117,12 +4127,6 @@ declare namespace gapi.client {
|
|
|
4117
4127
|
/** Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false. */
|
|
4118
4128
|
catchUp?: boolean;
|
|
4119
4129
|
}
|
|
4120
|
-
interface GoogleCloudAiplatformV1Retrieval {
|
|
4121
|
-
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
4122
|
-
disableAttribution?: boolean;
|
|
4123
|
-
/** Set to use data source powered by Vertex AI Search. */
|
|
4124
|
-
vertexAiSearch?: GoogleCloudAiplatformV1VertexAISearch;
|
|
4125
|
-
}
|
|
4126
4130
|
interface GoogleCloudAiplatformV1SafetyRating {
|
|
4127
4131
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
4128
4132
|
blocked?: boolean;
|
|
@@ -4130,6 +4134,12 @@ declare namespace gapi.client {
|
|
|
4130
4134
|
category?: string;
|
|
4131
4135
|
/** Output only. Harm probability levels in the content. */
|
|
4132
4136
|
probability?: string;
|
|
4137
|
+
/** Output only. Harm probability score. */
|
|
4138
|
+
probabilityScore?: number;
|
|
4139
|
+
/** Output only. Harm severity levels in the content. */
|
|
4140
|
+
severity?: string;
|
|
4141
|
+
/** Output only. Harm severity score. */
|
|
4142
|
+
severityScore?: number;
|
|
4133
4143
|
}
|
|
4134
4144
|
interface GoogleCloudAiplatformV1SafetySetting {
|
|
4135
4145
|
/** Required. Harm category. */
|
|
@@ -6039,12 +6049,8 @@ declare namespace gapi.client {
|
|
|
6039
6049
|
tokens?: string[];
|
|
6040
6050
|
}
|
|
6041
6051
|
interface GoogleCloudAiplatformV1Tool {
|
|
6042
|
-
/** Optional. 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 64 function declarations can be provided. */
|
|
6052
|
+
/** 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 64 function declarations can be provided. */
|
|
6043
6053
|
functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
|
|
6044
|
-
/** Optional. Specialized retrieval tool that is powered by Google search. */
|
|
6045
|
-
googleSearchRetrieval?: GoogleCloudAiplatformV1GoogleSearchRetrieval;
|
|
6046
|
-
/** Optional. 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. */
|
|
6047
|
-
retrieval?: GoogleCloudAiplatformV1Retrieval;
|
|
6048
6054
|
}
|
|
6049
6055
|
interface GoogleCloudAiplatformV1TrainingConfig {
|
|
6050
6056
|
/** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
|
|
@@ -6255,10 +6261,6 @@ declare namespace gapi.client {
|
|
|
6255
6261
|
/** A string value. */
|
|
6256
6262
|
stringValue?: string;
|
|
6257
6263
|
}
|
|
6258
|
-
interface GoogleCloudAiplatformV1VertexAISearch {
|
|
6259
|
-
/** Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>/locations/<>/collections/<>/dataStores/<> */
|
|
6260
|
-
datastore?: string;
|
|
6261
|
-
}
|
|
6262
6264
|
interface GoogleCloudAiplatformV1VideoMetadata {
|
|
6263
6265
|
/** Optional. The end offset of the video. */
|
|
6264
6266
|
endOffset?: string;
|
|
@@ -6605,6 +6607,31 @@ declare namespace gapi.client {
|
|
|
6605
6607
|
dataProviderOutput?: LearningGenaiRootDataProviderOutput[];
|
|
6606
6608
|
metricOutput?: LearningGenaiRootMetricOutput[];
|
|
6607
6609
|
}
|
|
6610
|
+
interface LearningGenaiRootCodeyChatMetadata {
|
|
6611
|
+
/** Indicates the programming language of the code if the message is a code chunk. */
|
|
6612
|
+
codeLanguage?: string;
|
|
6613
|
+
}
|
|
6614
|
+
interface LearningGenaiRootCodeyCheckpoint {
|
|
6615
|
+
/** Metadata that describes what was truncated at this checkpoint. */
|
|
6616
|
+
codeyTruncatorMetadata?: LearningGenaiRootCodeyTruncatorMetadata;
|
|
6617
|
+
/** Current state of the sample after truncator. */
|
|
6618
|
+
currentSample?: string;
|
|
6619
|
+
/** Postprocessor run that yielded this checkpoint. */
|
|
6620
|
+
postInferenceStep?: string;
|
|
6621
|
+
}
|
|
6622
|
+
interface LearningGenaiRootCodeyCompletionMetadata {
|
|
6623
|
+
checkpoints?: LearningGenaiRootCodeyCheckpoint[];
|
|
6624
|
+
}
|
|
6625
|
+
interface LearningGenaiRootCodeyOutput {
|
|
6626
|
+
codeyChatMetadata?: LearningGenaiRootCodeyChatMetadata;
|
|
6627
|
+
codeyCompletionMetadata?: LearningGenaiRootCodeyCompletionMetadata;
|
|
6628
|
+
}
|
|
6629
|
+
interface LearningGenaiRootCodeyTruncatorMetadata {
|
|
6630
|
+
/** Index of the current sample that trims off truncated text. */
|
|
6631
|
+
cutoffIndex?: number;
|
|
6632
|
+
/** Text that was truncated at a specific checkpoint. */
|
|
6633
|
+
truncatedText?: string;
|
|
6634
|
+
}
|
|
6608
6635
|
interface LearningGenaiRootDataProviderOutput {
|
|
6609
6636
|
name?: string;
|
|
6610
6637
|
/** If set, this DataProvider failed and this is the error message. */
|
|
@@ -6839,6 +6866,8 @@ declare namespace gapi.client {
|
|
|
6839
6866
|
interface LearningServingLlmMessageMetadata {
|
|
6840
6867
|
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
6841
6868
|
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
6869
|
+
/** Contains metadata related to Codey Processors. */
|
|
6870
|
+
codeyOutput?: LearningGenaiRootCodeyOutput;
|
|
6842
6871
|
currentStreamTextLength?: number;
|
|
6843
6872
|
/** Whether the corresponding message has been deleted. */
|
|
6844
6873
|
deleted?: boolean;
|