@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240830 → 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.
- package/index.d.ts +21 -5
- 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: 20240907
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -70,6 +70,8 @@ declare namespace gapi.client {
|
|
|
70
70
|
y2?: number;
|
|
71
71
|
}
|
|
72
72
|
interface CloudAiLargeModelsVisionRaiInfo {
|
|
73
|
+
/** List of blocked entities from the blocklist if it is detected. */
|
|
74
|
+
blockedEntities?: string[];
|
|
73
75
|
/** The list of detected labels for different rai categories. */
|
|
74
76
|
detectedLabels?: CloudAiLargeModelsVisionRaiInfoDetectedLabels[];
|
|
75
77
|
/** 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. */
|
|
@@ -701,6 +703,8 @@ declare namespace gapi.client {
|
|
|
701
703
|
interface GoogleCloudAiplatformV1CountTokensRequest {
|
|
702
704
|
/** Optional. Input content. */
|
|
703
705
|
contents?: GoogleCloudAiplatformV1Content[];
|
|
706
|
+
/** Optional. Generation config that the model will use to generate the response. */
|
|
707
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
704
708
|
/** Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
|
|
705
709
|
instances?: any[];
|
|
706
710
|
/** Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
@@ -1117,6 +1121,8 @@ declare namespace gapi.client {
|
|
|
1117
1121
|
indexSyncTime?: string;
|
|
1118
1122
|
/** 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. */
|
|
1119
1123
|
privateEndpoints?: GoogleCloudAiplatformV1IndexPrivateEndpoints;
|
|
1124
|
+
/** 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. */
|
|
1125
|
+
pscAutomationConfigs?: GoogleCloudAiplatformV1PSCAutomationConfig[];
|
|
1120
1126
|
/** 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. */
|
|
1121
1127
|
reservedIpRanges?: string[];
|
|
1122
1128
|
}
|
|
@@ -1858,7 +1864,7 @@ declare namespace gapi.client {
|
|
|
1858
1864
|
interface GoogleCloudAiplatformV1FeatureGroupBigQuery {
|
|
1859
1865
|
/** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
|
|
1860
1866
|
bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
|
|
1861
|
-
/** 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
|
|
1867
|
+
/** 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. */
|
|
1862
1868
|
dense?: boolean;
|
|
1863
1869
|
/** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
|
|
1864
1870
|
entityIdColumns?: string[];
|
|
@@ -2166,7 +2172,7 @@ declare namespace gapi.client {
|
|
|
2166
2172
|
interface GoogleCloudAiplatformV1FeatureViewVertexRagSource {
|
|
2167
2173
|
/** Optional. The RAG corpus id corresponding to this FeatureView. */
|
|
2168
2174
|
ragCorpusId?: string;
|
|
2169
|
-
/** 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:
|
|
2175
|
+
/** 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) */
|
|
2170
2176
|
uri?: string;
|
|
2171
2177
|
}
|
|
2172
2178
|
interface GoogleCloudAiplatformV1FetchFeatureValuesRequest {
|
|
@@ -2346,6 +2352,8 @@ declare namespace gapi.client {
|
|
|
2346
2352
|
contents?: GoogleCloudAiplatformV1Content[];
|
|
2347
2353
|
/** Optional. Generation config. */
|
|
2348
2354
|
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2355
|
+
/** 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. */
|
|
2356
|
+
labels?: {[P in string]: string};
|
|
2349
2357
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2350
2358
|
safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
|
|
2351
2359
|
/** 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. */
|
|
@@ -4406,6 +4414,12 @@ declare namespace gapi.client {
|
|
|
4406
4414
|
/** Corresponding project_id in pscAutomationConfigs */
|
|
4407
4415
|
projectId?: string;
|
|
4408
4416
|
}
|
|
4417
|
+
interface GoogleCloudAiplatformV1PSCAutomationConfig {
|
|
4418
|
+
/** 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. */
|
|
4419
|
+
network?: string;
|
|
4420
|
+
/** Required. Project id used to create forwarding rule. */
|
|
4421
|
+
projectId?: string;
|
|
4422
|
+
}
|
|
4409
4423
|
interface GoogleCloudAiplatformV1PublisherModel {
|
|
4410
4424
|
/** Optional. Additional information about the model's Frameworks. */
|
|
4411
4425
|
frameworks?: string[];
|
|
@@ -5113,6 +5127,8 @@ declare namespace gapi.client {
|
|
|
5113
5127
|
pattern?: string;
|
|
5114
5128
|
/** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
|
|
5115
5129
|
properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
|
|
5130
|
+
/** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
|
|
5131
|
+
propertyOrdering?: string[];
|
|
5116
5132
|
/** Optional. Required properties of Type.OBJECT. */
|
|
5117
5133
|
required?: string[];
|
|
5118
5134
|
/** Optional. The title of the Schema. */
|
|
@@ -12834,7 +12850,7 @@ declare namespace gapi.client {
|
|
|
12834
12850
|
alt?: string;
|
|
12835
12851
|
/** JSONP */
|
|
12836
12852
|
callback?: string;
|
|
12837
|
-
/** 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
|
|
12853
|
+
/** 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. */
|
|
12838
12854
|
featureGroupId?: string;
|
|
12839
12855
|
/** Selector specifying which fields to include in a partial response. */
|
|
12840
12856
|
fields?: string;
|
|
@@ -12865,7 +12881,7 @@ declare namespace gapi.client {
|
|
|
12865
12881
|
alt?: string;
|
|
12866
12882
|
/** JSONP */
|
|
12867
12883
|
callback?: string;
|
|
12868
|
-
/** 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
|
|
12884
|
+
/** 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. */
|
|
12869
12885
|
featureGroupId?: string;
|
|
12870
12886
|
/** Selector specifying which fields to include in a partial response. */
|
|
12871
12887
|
fields?: string;
|