@maxim_mazurok/gapi.client.aiplatform-v1 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 +31 -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=v1
12
- // Revision: 20240828
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/*` */
@@ -790,6 +794,14 @@ declare namespace gapi.client {
790
794
  /** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
791
795
  progressMessage?: string;
792
796
  }
797
+ interface GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest {
798
+ /** Required. The NotebookExecutionJob to create. */
799
+ notebookExecutionJob?: GoogleCloudAiplatformV1NotebookExecutionJob;
800
+ /** Optional. User specified ID for the NotebookExecutionJob. */
801
+ notebookExecutionJobId?: string;
802
+ /** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
803
+ parent?: string;
804
+ }
793
805
  interface GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata {
794
806
  /** The operation generic information. */
795
807
  genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
@@ -1109,6 +1121,8 @@ declare namespace gapi.client {
1109
1121
  indexSyncTime?: string;
1110
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. */
1111
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[];
1112
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. */
1113
1127
  reservedIpRanges?: string[];
1114
1128
  }
@@ -1850,7 +1864,7 @@ declare namespace gapi.client {
1850
1864
  interface GoogleCloudAiplatformV1FeatureGroupBigQuery {
1851
1865
  /** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
1852
1866
  bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
1853
- /** 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. */
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. */
1854
1868
  dense?: boolean;
1855
1869
  /** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
1856
1870
  entityIdColumns?: string[];
@@ -2158,7 +2172,7 @@ declare namespace gapi.client {
2158
2172
  interface GoogleCloudAiplatformV1FeatureViewVertexRagSource {
2159
2173
  /** Optional. The RAG corpus id corresponding to this FeatureView. */
2160
2174
  ragCorpusId?: string;
2161
- /** 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 */
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) */
2162
2176
  uri?: string;
2163
2177
  }
2164
2178
  interface GoogleCloudAiplatformV1FetchFeatureValuesRequest {
@@ -2338,6 +2352,8 @@ declare namespace gapi.client {
2338
2352
  contents?: GoogleCloudAiplatformV1Content[];
2339
2353
  /** Optional. Generation config. */
2340
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};
2341
2357
  /** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
2342
2358
  safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
2343
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. */
@@ -4398,6 +4414,12 @@ declare namespace gapi.client {
4398
4414
  /** Corresponding project_id in pscAutomationConfigs */
4399
4415
  projectId?: string;
4400
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
+ }
4401
4423
  interface GoogleCloudAiplatformV1PublisherModel {
4402
4424
  /** Optional. Additional information about the model's Frameworks. */
4403
4425
  frameworks?: string[];
@@ -5017,6 +5039,8 @@ declare namespace gapi.client {
5017
5039
  allowQueueing?: boolean;
5018
5040
  /** Output only. 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. Default to false. */
5019
5041
  catchUp?: boolean;
5042
+ /** Request for NotebookService.CreateNotebookExecutionJob. */
5043
+ createNotebookExecutionJobRequest?: GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest;
5020
5044
  /** Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}). */
5021
5045
  createPipelineJobRequest?: GoogleCloudAiplatformV1CreatePipelineJobRequest;
5022
5046
  /** Output only. Timestamp when this Schedule was created. */
@@ -5103,6 +5127,8 @@ declare namespace gapi.client {
5103
5127
  pattern?: string;
5104
5128
  /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
5105
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[];
5106
5132
  /** Optional. Required properties of Type.OBJECT. */
5107
5133
  required?: string[];
5108
5134
  /** Optional. The title of the Schema. */
@@ -12824,7 +12850,7 @@ declare namespace gapi.client {
12824
12850
  alt?: string;
12825
12851
  /** JSONP */
12826
12852
  callback?: string;
12827
- /** 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. */
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. */
12828
12854
  featureGroupId?: string;
12829
12855
  /** Selector specifying which fields to include in a partial response. */
12830
12856
  fields?: string;
@@ -12855,7 +12881,7 @@ declare namespace gapi.client {
12855
12881
  alt?: string;
12856
12882
  /** JSONP */
12857
12883
  callback?: string;
12858
- /** 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. */
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. */
12859
12885
  featureGroupId?: string;
12860
12886
  /** Selector specifying which fields to include in a partial response. */
12861
12887
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240828",
3
+ "version": "0.0.20240907",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",