@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20231005 → 0.0.20231023

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 (3) hide show
  1. package/index.d.ts +147 -73
  2. package/package.json +1 -1
  3. package/tests.ts +52 -6
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: 20231005
12
+ // Revision: 20231023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -948,6 +948,11 @@ declare namespace gapi.client {
948
948
  */
949
949
  featureId?:
950
950
  string;
951
+ /**
952
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
953
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
954
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
955
+ */
951
956
  parent?:
952
957
  string;
953
958
  }
@@ -979,6 +984,14 @@ declare namespace gapi.client {
979
984
  genericMetadata?:
980
985
  GoogleCloudAiplatformV1beta1GenericOperationMetadata;
981
986
  }
987
+ interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata {
988
+ /** The operation generic information. */
989
+ genericMetadata?:
990
+ GoogleCloudAiplatformV1beta1GenericOperationMetadata;
991
+ /** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
992
+ progressMessage?:
993
+ string;
994
+ }
982
995
  interface GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata {
983
996
  /** The operation generic information. */
984
997
  genericMetadata?:
@@ -1157,6 +1170,12 @@ declare namespace gapi.client {
1157
1170
  */
1158
1171
  persistentResourceId?:
1159
1172
  string;
1173
+ /**
1174
+ * The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations:
1175
+ * https://cloud.google.com/vertex-ai/docs/general/locations
1176
+ */
1177
+ protectedArtifactLocationId?:
1178
+ string;
1160
1179
  /**
1161
1180
  * Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise,
1162
1181
  * the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].
@@ -2325,9 +2344,6 @@ declare namespace gapi.client {
2325
2344
  */
2326
2345
  annotationsFilter?:
2327
2346
  string;
2328
- /** Split based on the provided filters for each set. */
2329
- filterSplit?:
2330
- GoogleCloudAiplatformV1beta1ExportFilterSplit;
2331
2347
  /** Split based on fractions defining the size of each set. */
2332
2348
  fractionSplit?:
2333
2349
  GoogleCloudAiplatformV1beta1ExportFractionSplit;
@@ -2419,29 +2435,6 @@ declare namespace gapi.client {
2419
2435
  // tslint:disable-next-line:no-empty-interface
2420
2436
  interface GoogleCloudAiplatformV1beta1ExportFeatureValuesResponse {
2421
2437
  }
2422
- interface GoogleCloudAiplatformV1beta1ExportFilterSplit {
2423
- /**
2424
- * 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
2425
- * 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
2426
- * training, validation, test order.
2427
- */
2428
- testFilter?:
2429
- string;
2430
- /**
2431
- * Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in
2432
- * 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
2433
- * training, validation, test order.
2434
- */
2435
- trainingFilter?:
2436
- string;
2437
- /**
2438
- * Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in
2439
- * 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
2440
- * training, validation, test order.
2441
- */
2442
- validationFilter?:
2443
- string;
2444
- }
2445
2438
  interface GoogleCloudAiplatformV1beta1ExportFractionSplit {
2446
2439
  /** The fraction of the input data that is to be used to evaluate the Model. */
2447
2440
  testFraction?:
@@ -2524,15 +2517,15 @@ declare namespace gapi.client {
2524
2517
  GoogleCloudAiplatformV1beta1TimeSeriesDataPoint[];
2525
2518
  }
2526
2519
  interface GoogleCloudAiplatformV1beta1Feature {
2527
- /** Output only. Timestamp when this EntityType was created. */
2520
+ /** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
2528
2521
  createTime?:
2529
2522
  string;
2530
2523
  /** Description of the Feature. */
2531
2524
  description?:
2532
2525
  string;
2533
2526
  /**
2534
- * Optional. If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can
2535
- * enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.
2527
+ * Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type
2528
+ * (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.
2536
2529
  */
2537
2530
  disableMonitoring?:
2538
2531
  boolean;
@@ -2547,35 +2540,41 @@ declare namespace gapi.client {
2547
2540
  labels?:
2548
2541
  { [P in string]: string };
2549
2542
  /**
2550
- * Optional. Deprecated: The custom monitoring configuration for this Feature, if not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features
2551
- * with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If this is populated with FeaturestoreMonitoringConfig.disabled = true, snapshot analysis
2552
- * monitoring is disabled; if FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot analysis monitoring is enabled. Otherwise, snapshot analysis monitoring config is
2553
- * same as the EntityType's this Feature belongs to.
2543
+ * Optional. Only applicable for Vertex AI Feature Store (Legacy). Deprecated: The custom monitoring configuration for this Feature, if not set, use the monitoring_config defined for
2544
+ * the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If this is populated with
2545
+ * FeaturestoreMonitoringConfig.disabled = true, snapshot analysis monitoring is disabled; if FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot analysis monitoring
2546
+ * is enabled. Otherwise, snapshot analysis monitoring config is same as the EntityType's this Feature belongs to.
2554
2547
  */
2555
2548
  monitoringConfig?:
2556
2549
  GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig;
2557
- /** Output only. A list of historical SnapshotAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending. */
2550
+ /**
2551
+ * Output only. Only applicable for Vertex AI Feature Store (Legacy). A list of historical SnapshotAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time
2552
+ * descending.
2553
+ */
2558
2554
  monitoringStats?:
2559
2555
  GoogleCloudAiplatformV1beta1FeatureStatsAnomaly[];
2560
- /** Output only. The list of historical stats and anomalies with specified objectives. */
2556
+ /** Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives. */
2561
2557
  monitoringStatsAnomalies?:
2562
2558
  GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly[];
2563
2559
  /**
2564
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is
2565
- * 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
2566
- * letter. The value will be unique given an entity type.
2560
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
2561
+ * `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
2562
+ * 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.
2567
2563
  */
2568
2564
  name?:
2569
2565
  string;
2570
- /** Output only. Timestamp when this EntityType was most recently updated. */
2566
+ /** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated. */
2571
2567
  updateTime?:
2572
2568
  string;
2573
- /** Immutable. Type of Feature value. */
2569
+ /** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
2574
2570
  valueType?:
2575
2571
  string;
2576
2572
  }
2577
2573
  interface GoogleCloudAiplatformV1beta1FeatureGroup {
2578
- /** Indicates that features for this group come from BigQuery. */
2574
+ /**
2575
+ * Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a
2576
+ * feature_timestamp column in the source.
2577
+ */
2579
2578
  bigQuery?:
2580
2579
  GoogleCloudAiplatformV1beta1FeatureGroupBigQuery;
2581
2580
  /** Output only. Timestamp when this FeatureGroup was created. */
@@ -2974,7 +2973,7 @@ declare namespace gapi.client {
2974
2973
  /** Required. Columns to construct entity_id / row keys. Start by supporting 1 only. */
2975
2974
  entityIdColumns?:
2976
2975
  string[];
2977
- /** Required. The Bigquery View URI that will be materialized on each sync trigger based on FeatureView.SyncConfig. */
2976
+ /** Required. The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig. */
2978
2977
  uri?:
2979
2978
  string;
2980
2979
  }
@@ -4110,6 +4109,9 @@ declare namespace gapi.client {
4110
4109
  */
4111
4110
  machineType?:
4112
4111
  string;
4112
+ /** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
4113
+ tpuTopology?:
4114
+ string;
4113
4115
  }
4114
4116
  interface GoogleCloudAiplatformV1beta1ManualBatchTuningParameters {
4115
4117
  /**
@@ -8971,6 +8973,9 @@ declare namespace gapi.client {
8971
8973
  /** Required. The set of parameters to tune. */
8972
8974
  parameters?:
8973
8975
  GoogleCloudAiplatformV1beta1StudySpecParameterSpec[];
8976
+ /** Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition. */
8977
+ studyStoppingConfig?:
8978
+ GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig;
8974
8979
  /** The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob */
8975
8980
  transferLearningConfig?:
8976
8981
  GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig;
@@ -9191,6 +9196,41 @@ declare namespace gapi.client {
9191
9196
  minValue?:
9192
9197
  string;
9193
9198
  }
9199
+ interface GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig {
9200
+ /** If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies. */
9201
+ maxDurationNoProgress?:
9202
+ string;
9203
+ /** If the specified time or duration has passed, stop the study. */
9204
+ maximumRuntimeConstraint?:
9205
+ GoogleCloudAiplatformV1beta1StudyTimeConstraint;
9206
+ /** If there are more than this many trials, stop the study. */
9207
+ maxNumTrials?:
9208
+ number;
9209
+ /** If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies. */
9210
+ maxNumTrialsNoProgress?:
9211
+ number;
9212
+ /**
9213
+ * Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in
9214
+ * this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example,
9215
+ * setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its
9216
+ * creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides
9217
+ * that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic
9218
+ * study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want
9219
+ * to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has
9220
+ * not passed, do not stop the study.
9221
+ */
9222
+ minimumRuntimeConstraint?:
9223
+ GoogleCloudAiplatformV1beta1StudyTimeConstraint;
9224
+ /** If there are fewer than this many COMPLETED trials, do not stop the study. */
9225
+ minNumTrials?:
9226
+ number;
9227
+ /**
9228
+ * If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as
9229
+ * soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
9230
+ */
9231
+ shouldStopAsap?:
9232
+ boolean;
9233
+ }
9194
9234
  interface GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig {
9195
9235
  /** Flag to to manually prevent vizier from using transfer learning on a new study. Otherwise, vizier will automatically determine whether or not to use transfer learning. */
9196
9236
  disableTransferLearning?:
@@ -9199,6 +9239,14 @@ declare namespace gapi.client {
9199
9239
  priorStudyNames?:
9200
9240
  string[];
9201
9241
  }
9242
+ interface GoogleCloudAiplatformV1beta1StudyTimeConstraint {
9243
+ /** Compares the wallclock time to this time. Must use UTC timezone. */
9244
+ endTime?:
9245
+ string;
9246
+ /** Counts the wallclock time passed since the creation of this Study. */
9247
+ maxDuration?:
9248
+ string;
9249
+ }
9202
9250
  interface GoogleCloudAiplatformV1beta1SuggestTrialsMetadata {
9203
9251
  /**
9204
9252
  * The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the service will return the identical suggested Trial if
@@ -16731,6 +16779,11 @@ declare namespace gapi.client {
16731
16779
  /** OAuth 2.0 token for the current user. */
16732
16780
  oauth_token?:
16733
16781
  string;
16782
+ /**
16783
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
16784
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16785
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16786
+ */
16734
16787
  parent:
16735
16788
  string;
16736
16789
  /** Returns response with indentations and line breaks. */
@@ -16777,6 +16830,11 @@ declare namespace gapi.client {
16777
16830
  /** OAuth 2.0 token for the current user. */
16778
16831
  oauth_token?:
16779
16832
  string;
16833
+ /**
16834
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
16835
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16836
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16837
+ */
16780
16838
  parent:
16781
16839
  string;
16782
16840
  /** Returns response with indentations and line breaks. */
@@ -16856,8 +16914,8 @@ declare namespace gapi.client {
16856
16914
  key?:
16857
16915
  string;
16858
16916
  /**
16859
- * Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16860
- * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16917
+ * Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16918
+ * Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16861
16919
  */
16862
16920
  name:
16863
16921
  string;
@@ -16907,8 +16965,8 @@ declare namespace gapi.client {
16907
16965
  key?:
16908
16966
  string;
16909
16967
  /**
16910
- * If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists <
16911
- * ListFeaturesRequest.latest_stats_count, return all existing stats.
16968
+ * Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is
16969
+ * [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
16912
16970
  */
16913
16971
  latestStatsCount?:
16914
16972
  number;
@@ -16928,13 +16986,14 @@ declare namespace gapi.client {
16928
16986
  pageSize?:
16929
16987
  number;
16930
16988
  /**
16931
- * A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
16932
- * FeaturestoreService.ListFeatures must match the call that provided the page token.
16989
+ * A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When
16990
+ * paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.
16933
16991
  */
16934
16992
  pageToken?:
16935
16993
  string;
16936
16994
  /**
16937
- * Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16995
+ * Required. The resource name of the Location to list Features. Format for entity_type as parent:
16996
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16938
16997
  * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16939
16998
  */
16940
16999
  parent:
@@ -16976,9 +17035,10 @@ declare namespace gapi.client {
16976
17035
  key?:
16977
17036
  string;
16978
17037
  /**
16979
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
16980
- * 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
16981
- * a letter. The value will be unique given an entity type.
17038
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
17039
+ * `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
17040
+ * 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
17041
+ * type.
16982
17042
  */
16983
17043
  name:
16984
17044
  string;
@@ -16994,7 +17054,7 @@ declare namespace gapi.client {
16994
17054
  /**
16995
17055
  * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the
16996
17056
  * full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten.
16997
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
17057
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
16998
17058
  */
16999
17059
  updateMask?:
17000
17060
  string;
@@ -17028,9 +17088,10 @@ declare namespace gapi.client {
17028
17088
  key?:
17029
17089
  string;
17030
17090
  /**
17031
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
17032
- * 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
17033
- * a letter. The value will be unique given an entity type.
17091
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
17092
+ * `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
17093
+ * 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
17094
+ * type.
17034
17095
  */
17035
17096
  name:
17036
17097
  string;
@@ -17046,7 +17107,7 @@ declare namespace gapi.client {
17046
17107
  /**
17047
17108
  * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the
17048
17109
  * full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten.
17049
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
17110
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
17050
17111
  */
17051
17112
  updateMask?:
17052
17113
  string;
@@ -19317,6 +19378,11 @@ declare namespace gapi.client {
19317
19378
  /** OAuth 2.0 token for the current user. */
19318
19379
  oauth_token?:
19319
19380
  string;
19381
+ /**
19382
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
19383
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19384
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19385
+ */
19320
19386
  parent:
19321
19387
  string;
19322
19388
  /** Returns response with indentations and line breaks. */
@@ -19363,6 +19429,11 @@ declare namespace gapi.client {
19363
19429
  /** OAuth 2.0 token for the current user. */
19364
19430
  oauth_token?:
19365
19431
  string;
19432
+ /**
19433
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
19434
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19435
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19436
+ */
19366
19437
  parent:
19367
19438
  string;
19368
19439
  /** Returns response with indentations and line breaks. */
@@ -19442,8 +19513,8 @@ declare namespace gapi.client {
19442
19513
  key?:
19443
19514
  string;
19444
19515
  /**
19445
- * Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19446
- * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19516
+ * Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19517
+ * Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19447
19518
  */
19448
19519
  name:
19449
19520
  string;
@@ -19493,8 +19564,8 @@ declare namespace gapi.client {
19493
19564
  key?:
19494
19565
  string;
19495
19566
  /**
19496
- * If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists <
19497
- * ListFeaturesRequest.latest_stats_count, return all existing stats.
19567
+ * Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is
19568
+ * [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
19498
19569
  */
19499
19570
  latestStatsCount?:
19500
19571
  number;
@@ -19514,13 +19585,14 @@ declare namespace gapi.client {
19514
19585
  pageSize?:
19515
19586
  number;
19516
19587
  /**
19517
- * A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
19518
- * FeaturestoreService.ListFeatures must match the call that provided the page token.
19588
+ * A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When
19589
+ * paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.
19519
19590
  */
19520
19591
  pageToken?:
19521
19592
  string;
19522
19593
  /**
19523
- * Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19594
+ * Required. The resource name of the Location to list Features. Format for entity_type as parent:
19595
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19524
19596
  * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19525
19597
  */
19526
19598
  parent:
@@ -19562,9 +19634,10 @@ declare namespace gapi.client {
19562
19634
  key?:
19563
19635
  string;
19564
19636
  /**
19565
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
19566
- * 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
19567
- * a letter. The value will be unique given an entity type.
19637
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
19638
+ * `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
19639
+ * 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
19640
+ * type.
19568
19641
  */
19569
19642
  name:
19570
19643
  string;
@@ -19580,7 +19653,7 @@ declare namespace gapi.client {
19580
19653
  /**
19581
19654
  * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the
19582
19655
  * full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten.
19583
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
19656
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
19584
19657
  */
19585
19658
  updateMask?:
19586
19659
  string;
@@ -19614,9 +19687,10 @@ declare namespace gapi.client {
19614
19687
  key?:
19615
19688
  string;
19616
19689
  /**
19617
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
19618
- * 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
19619
- * a letter. The value will be unique given an entity type.
19690
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
19691
+ * `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
19692
+ * 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
19693
+ * type.
19620
19694
  */
19621
19695
  name:
19622
19696
  string;
@@ -19632,7 +19706,7 @@ declare namespace gapi.client {
19632
19706
  /**
19633
19707
  * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the
19634
19708
  * full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten.
19635
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
19709
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
19636
19710
  */
19637
19711
  updateMask?:
19638
19712
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20231005",
3
+ "version": "0.0.20231023",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20231005
6
+ // Revision: 20231023
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -67,6 +67,7 @@ gapi.load('client', async () => {
67
67
  acceleratorCount: 42,
68
68
  acceleratorType: "Test string",
69
69
  machineType: "Test string",
70
+ tpuTopology: "Test string",
70
71
  },
71
72
  maxReplicaCount: 42,
72
73
  startingReplicaCount: 42,
@@ -473,6 +474,7 @@ gapi.load('client', async () => {
473
474
  experimentRun: "Test string",
474
475
  network: "Test string",
475
476
  persistentResourceId: "Test string",
477
+ protectedArtifactLocationId: "Test string",
476
478
  reservedIpRanges: [
477
479
  "Test string"
478
480
  ],
@@ -508,6 +510,7 @@ gapi.load('client', async () => {
508
510
  acceleratorCount: 42,
509
511
  acceleratorType: "Test string",
510
512
  machineType: "Test string",
513
+ tpuTopology: "Test string",
511
514
  },
512
515
  nfsMounts: [
513
516
  {
@@ -760,11 +763,6 @@ gapi.load('client', async () => {
760
763
  }, {
761
764
  exportConfig: {
762
765
  annotationsFilter: "Test string",
763
- filterSplit: {
764
- testFilter: "Test string",
765
- trainingFilter: "Test string",
766
- validationFilter: "Test string",
767
- },
768
766
  fractionSplit: {
769
767
  testFraction: 42,
770
768
  trainingFraction: 42,
@@ -1133,6 +1131,7 @@ gapi.load('client', async () => {
1133
1131
  acceleratorCount: 42,
1134
1132
  acceleratorType: "Test string",
1135
1133
  machineType: "Test string",
1134
+ tpuTopology: "Test string",
1136
1135
  },
1137
1136
  maxReplicaCount: 42,
1138
1137
  minReplicaCount: 42,
@@ -1267,6 +1266,7 @@ gapi.load('client', async () => {
1267
1266
  acceleratorCount: 42,
1268
1267
  acceleratorType: "Test string",
1269
1268
  machineType: "Test string",
1269
+ tpuTopology: "Test string",
1270
1270
  },
1271
1271
  maxReplicaCount: 42,
1272
1272
  minReplicaCount: 42,
@@ -1451,6 +1451,7 @@ gapi.load('client', async () => {
1451
1451
  acceleratorCount: 42,
1452
1452
  acceleratorType: "Test string",
1453
1453
  machineType: "Test string",
1454
+ tpuTopology: "Test string",
1454
1455
  },
1455
1456
  maxReplicaCount: 42,
1456
1457
  minReplicaCount: 42,
@@ -1736,6 +1737,7 @@ gapi.load('client', async () => {
1736
1737
  acceleratorCount: 42,
1737
1738
  acceleratorType: "Test string",
1738
1739
  machineType: "Test string",
1740
+ tpuTopology: "Test string",
1739
1741
  },
1740
1742
  maxReplicaCount: 42,
1741
1743
  minReplicaCount: 42,
@@ -1895,6 +1897,7 @@ gapi.load('client', async () => {
1895
1897
  acceleratorCount: 42,
1896
1898
  acceleratorType: "Test string",
1897
1899
  machineType: "Test string",
1900
+ tpuTopology: "Test string",
1898
1901
  },
1899
1902
  maxReplicaCount: 42,
1900
1903
  minReplicaCount: 42,
@@ -3811,6 +3814,21 @@ gapi.load('client', async () => {
3811
3814
  scaleType: "Test string",
3812
3815
  }
3813
3816
  ],
3817
+ studyStoppingConfig: {
3818
+ maxDurationNoProgress: "Test string",
3819
+ maximumRuntimeConstraint: {
3820
+ endTime: "Test string",
3821
+ maxDuration: "Test string",
3822
+ },
3823
+ maxNumTrials: 42,
3824
+ maxNumTrialsNoProgress: 42,
3825
+ minimumRuntimeConstraint: {
3826
+ endTime: "Test string",
3827
+ maxDuration: "Test string",
3828
+ },
3829
+ minNumTrials: 42,
3830
+ shouldStopAsap: true,
3831
+ },
3814
3832
  transferLearningConfig: {
3815
3833
  disableTransferLearning: true,
3816
3834
  priorStudyNames: [
@@ -3828,6 +3846,7 @@ gapi.load('client', async () => {
3828
3846
  experimentRun: "Test string",
3829
3847
  network: "Test string",
3830
3848
  persistentResourceId: "Test string",
3849
+ protectedArtifactLocationId: "Test string",
3831
3850
  reservedIpRanges: [
3832
3851
  "Test string"
3833
3852
  ],
@@ -3863,6 +3882,7 @@ gapi.load('client', async () => {
3863
3882
  acceleratorCount: 42,
3864
3883
  acceleratorType: "Test string",
3865
3884
  machineType: "Test string",
3885
+ tpuTopology: "Test string",
3866
3886
  },
3867
3887
  nfsMounts: [
3868
3888
  {
@@ -4012,6 +4032,7 @@ gapi.load('client', async () => {
4012
4032
  acceleratorCount: 42,
4013
4033
  acceleratorType: "Test string",
4014
4034
  machineType: "Test string",
4035
+ tpuTopology: "Test string",
4015
4036
  },
4016
4037
  maxReplicaCount: 42,
4017
4038
  minReplicaCount: 42,
@@ -4088,6 +4109,7 @@ gapi.load('client', async () => {
4088
4109
  acceleratorCount: 42,
4089
4110
  acceleratorType: "Test string",
4090
4111
  machineType: "Test string",
4112
+ tpuTopology: "Test string",
4091
4113
  },
4092
4114
  maxReplicaCount: 42,
4093
4115
  minReplicaCount: 42,
@@ -4184,6 +4206,7 @@ gapi.load('client', async () => {
4184
4206
  acceleratorCount: 42,
4185
4207
  acceleratorType: "Test string",
4186
4208
  machineType: "Test string",
4209
+ tpuTopology: "Test string",
4187
4210
  },
4188
4211
  maxReplicaCount: 42,
4189
4212
  minReplicaCount: 42,
@@ -4236,6 +4259,7 @@ gapi.load('client', async () => {
4236
4259
  acceleratorCount: 42,
4237
4260
  acceleratorType: "Test string",
4238
4261
  machineType: "Test string",
4262
+ tpuTopology: "Test string",
4239
4263
  },
4240
4264
  maxReplicaCount: 42,
4241
4265
  minReplicaCount: 42,
@@ -6259,6 +6283,7 @@ gapi.load('client', async () => {
6259
6283
  experimentRun: "Test string",
6260
6284
  network: "Test string",
6261
6285
  persistentResourceId: "Test string",
6286
+ protectedArtifactLocationId: "Test string",
6262
6287
  reservedIpRanges: [
6263
6288
  "Test string"
6264
6289
  ],
@@ -6294,6 +6319,7 @@ gapi.load('client', async () => {
6294
6319
  acceleratorCount: 42,
6295
6320
  acceleratorType: "Test string",
6296
6321
  machineType: "Test string",
6322
+ tpuTopology: "Test string",
6297
6323
  },
6298
6324
  nfsMounts: [
6299
6325
  {
@@ -6336,6 +6362,7 @@ gapi.load('client', async () => {
6336
6362
  experimentRun: "Test string",
6337
6363
  network: "Test string",
6338
6364
  persistentResourceId: "Test string",
6365
+ protectedArtifactLocationId: "Test string",
6339
6366
  reservedIpRanges: [
6340
6367
  "Test string"
6341
6368
  ],
@@ -6371,6 +6398,7 @@ gapi.load('client', async () => {
6371
6398
  acceleratorCount: 42,
6372
6399
  acceleratorType: "Test string",
6373
6400
  machineType: "Test string",
6401
+ tpuTopology: "Test string",
6374
6402
  },
6375
6403
  nfsMounts: [
6376
6404
  {
@@ -6540,6 +6568,7 @@ gapi.load('client', async () => {
6540
6568
  acceleratorCount: 42,
6541
6569
  acceleratorType: "Test string",
6542
6570
  machineType: "Test string",
6571
+ tpuTopology: "Test string",
6543
6572
  },
6544
6573
  name: "Test string",
6545
6574
  networkSpec: {
@@ -6683,6 +6712,7 @@ gapi.load('client', async () => {
6683
6712
  acceleratorCount: 42,
6684
6713
  acceleratorType: "Test string",
6685
6714
  machineType: "Test string",
6715
+ tpuTopology: "Test string",
6686
6716
  },
6687
6717
  replicaCount: "Test string",
6688
6718
  usedReplicaCount: "Test string",
@@ -6767,6 +6797,7 @@ gapi.load('client', async () => {
6767
6797
  acceleratorCount: 42,
6768
6798
  acceleratorType: "Test string",
6769
6799
  machineType: "Test string",
6800
+ tpuTopology: "Test string",
6770
6801
  },
6771
6802
  replicaCount: "Test string",
6772
6803
  usedReplicaCount: "Test string",
@@ -7983,6 +8014,21 @@ gapi.load('client', async () => {
7983
8014
  scaleType: "Test string",
7984
8015
  }
7985
8016
  ],
8017
+ studyStoppingConfig: {
8018
+ maxDurationNoProgress: "Test string",
8019
+ maximumRuntimeConstraint: {
8020
+ endTime: "Test string",
8021
+ maxDuration: "Test string",
8022
+ },
8023
+ maxNumTrials: 42,
8024
+ maxNumTrialsNoProgress: 42,
8025
+ minimumRuntimeConstraint: {
8026
+ endTime: "Test string",
8027
+ maxDuration: "Test string",
8028
+ },
8029
+ minNumTrials: 42,
8030
+ shouldStopAsap: true,
8031
+ },
7986
8032
  transferLearningConfig: {
7987
8033
  disableTransferLearning: true,
7988
8034
  priorStudyNames: [