@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20231012 → 0.0.20231024

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 +139 -66
  2. package/package.json +1 -1
  3. package/tests.ts +35 -25
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: 20231012
12
+ // Revision: 20231024
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'].
@@ -2498,15 +2517,15 @@ declare namespace gapi.client {
2498
2517
  GoogleCloudAiplatformV1beta1TimeSeriesDataPoint[];
2499
2518
  }
2500
2519
  interface GoogleCloudAiplatformV1beta1Feature {
2501
- /** 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. */
2502
2521
  createTime?:
2503
2522
  string;
2504
2523
  /** Description of the Feature. */
2505
2524
  description?:
2506
2525
  string;
2507
2526
  /**
2508
- * 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
2509
- * 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.
2510
2529
  */
2511
2530
  disableMonitoring?:
2512
2531
  boolean;
@@ -2521,30 +2540,33 @@ declare namespace gapi.client {
2521
2540
  labels?:
2522
2541
  { [P in string]: string };
2523
2542
  /**
2524
- * 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
2525
- * with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If this is populated with FeaturestoreMonitoringConfig.disabled = true, snapshot analysis
2526
- * monitoring is disabled; if FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot analysis monitoring is enabled. Otherwise, snapshot analysis monitoring config is
2527
- * 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.
2528
2547
  */
2529
2548
  monitoringConfig?:
2530
2549
  GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig;
2531
- /** 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
+ */
2532
2554
  monitoringStats?:
2533
2555
  GoogleCloudAiplatformV1beta1FeatureStatsAnomaly[];
2534
- /** 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. */
2535
2557
  monitoringStatsAnomalies?:
2536
2558
  GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly[];
2537
2559
  /**
2538
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is
2539
- * 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
2540
- * 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.
2541
2563
  */
2542
2564
  name?:
2543
2565
  string;
2544
- /** 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. */
2545
2567
  updateTime?:
2546
2568
  string;
2547
- /** Immutable. Type of Feature value. */
2569
+ /** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
2548
2570
  valueType?:
2549
2571
  string;
2550
2572
  }
@@ -3211,11 +3233,6 @@ declare namespace gapi.client {
3211
3233
  updateTime?:
3212
3234
  string;
3213
3235
  }
3214
- interface GoogleCloudAiplatformV1beta1GenieSource {
3215
- /** Required. The public base model URI. */
3216
- baseModelUri?:
3217
- string;
3218
- }
3219
3236
  interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
3220
3237
  /** Output only. Time when the HyperparameterTuningJob was created. */
3221
3238
  createTime?:
@@ -4357,9 +4374,6 @@ declare namespace gapi.client {
4357
4374
  */
4358
4375
  explanationSpec?:
4359
4376
  GoogleCloudAiplatformV1beta1ExplanationSpec;
4360
- /** Optional. Used to specify the source of the Model Garden model or Genie models. Only present for models created or tuned from Model Garden and Genie. */
4361
- generatedModelSource?:
4362
- GoogleCloudAiplatformV1beta1ModelGeneratedModelSource;
4363
4377
  /**
4364
4378
  * The labels with user-defined metadata to organize your Models. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters,
4365
4379
  * numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
@@ -4848,19 +4862,6 @@ declare namespace gapi.client {
4848
4862
  id?:
4849
4863
  string;
4850
4864
  }
4851
- interface GoogleCloudAiplatformV1beta1ModelGardenSource {
4852
- /** Required. The model garden source model resource name. */
4853
- publicModelName?:
4854
- string;
4855
- }
4856
- interface GoogleCloudAiplatformV1beta1ModelGeneratedModelSource {
4857
- /** Information about the base model of Genie models. */
4858
- genieSource?:
4859
- GoogleCloudAiplatformV1beta1GenieSource;
4860
- /** Source information of Model Garden models. */
4861
- modelGardenSource?:
4862
- GoogleCloudAiplatformV1beta1ModelGardenSource;
4863
- }
4864
4865
  interface GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig {
4865
4866
  /** Email alert config. */
4866
4867
  emailAlertConfig?:
@@ -8951,6 +8952,9 @@ declare namespace gapi.client {
8951
8952
  /** Required. The set of parameters to tune. */
8952
8953
  parameters?:
8953
8954
  GoogleCloudAiplatformV1beta1StudySpecParameterSpec[];
8955
+ /** Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition. */
8956
+ studyStoppingConfig?:
8957
+ GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig;
8954
8958
  /** The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob */
8955
8959
  transferLearningConfig?:
8956
8960
  GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig;
@@ -9171,6 +9175,41 @@ declare namespace gapi.client {
9171
9175
  minValue?:
9172
9176
  string;
9173
9177
  }
9178
+ interface GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig {
9179
+ /** If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies. */
9180
+ maxDurationNoProgress?:
9181
+ string;
9182
+ /** If the specified time or duration has passed, stop the study. */
9183
+ maximumRuntimeConstraint?:
9184
+ GoogleCloudAiplatformV1beta1StudyTimeConstraint;
9185
+ /** If there are more than this many trials, stop the study. */
9186
+ maxNumTrials?:
9187
+ number;
9188
+ /** If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies. */
9189
+ maxNumTrialsNoProgress?:
9190
+ number;
9191
+ /**
9192
+ * 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
9193
+ * 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,
9194
+ * 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
9195
+ * 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
9196
+ * 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
9197
+ * 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
9198
+ * 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
9199
+ * not passed, do not stop the study.
9200
+ */
9201
+ minimumRuntimeConstraint?:
9202
+ GoogleCloudAiplatformV1beta1StudyTimeConstraint;
9203
+ /** If there are fewer than this many COMPLETED trials, do not stop the study. */
9204
+ minNumTrials?:
9205
+ number;
9206
+ /**
9207
+ * 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
9208
+ * soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
9209
+ */
9210
+ shouldStopAsap?:
9211
+ boolean;
9212
+ }
9174
9213
  interface GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig {
9175
9214
  /** 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. */
9176
9215
  disableTransferLearning?:
@@ -9179,6 +9218,14 @@ declare namespace gapi.client {
9179
9218
  priorStudyNames?:
9180
9219
  string[];
9181
9220
  }
9221
+ interface GoogleCloudAiplatformV1beta1StudyTimeConstraint {
9222
+ /** Compares the wallclock time to this time. Must use UTC timezone. */
9223
+ endTime?:
9224
+ string;
9225
+ /** Counts the wallclock time passed since the creation of this Study. */
9226
+ maxDuration?:
9227
+ string;
9228
+ }
9182
9229
  interface GoogleCloudAiplatformV1beta1SuggestTrialsMetadata {
9183
9230
  /**
9184
9231
  * 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
@@ -16711,6 +16758,11 @@ declare namespace gapi.client {
16711
16758
  /** OAuth 2.0 token for the current user. */
16712
16759
  oauth_token?:
16713
16760
  string;
16761
+ /**
16762
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
16763
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16764
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16765
+ */
16714
16766
  parent:
16715
16767
  string;
16716
16768
  /** Returns response with indentations and line breaks. */
@@ -16757,6 +16809,11 @@ declare namespace gapi.client {
16757
16809
  /** OAuth 2.0 token for the current user. */
16758
16810
  oauth_token?:
16759
16811
  string;
16812
+ /**
16813
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
16814
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16815
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16816
+ */
16760
16817
  parent:
16761
16818
  string;
16762
16819
  /** Returns response with indentations and line breaks. */
@@ -16836,8 +16893,8 @@ declare namespace gapi.client {
16836
16893
  key?:
16837
16894
  string;
16838
16895
  /**
16839
- * Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16840
- * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16896
+ * Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16897
+ * Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16841
16898
  */
16842
16899
  name:
16843
16900
  string;
@@ -16887,8 +16944,8 @@ declare namespace gapi.client {
16887
16944
  key?:
16888
16945
  string;
16889
16946
  /**
16890
- * 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 <
16891
- * ListFeaturesRequest.latest_stats_count, return all existing stats.
16947
+ * 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
16948
+ * [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
16892
16949
  */
16893
16950
  latestStatsCount?:
16894
16951
  number;
@@ -16908,13 +16965,14 @@ declare namespace gapi.client {
16908
16965
  pageSize?:
16909
16966
  number;
16910
16967
  /**
16911
- * A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
16912
- * FeaturestoreService.ListFeatures must match the call that provided the page token.
16968
+ * A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When
16969
+ * paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.
16913
16970
  */
16914
16971
  pageToken?:
16915
16972
  string;
16916
16973
  /**
16917
- * Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
16974
+ * Required. The resource name of the Location to list Features. Format for entity_type as parent:
16975
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
16918
16976
  * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
16919
16977
  */
16920
16978
  parent:
@@ -16956,9 +17014,10 @@ declare namespace gapi.client {
16956
17014
  key?:
16957
17015
  string;
16958
17016
  /**
16959
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
16960
- * 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
16961
- * a letter. The value will be unique given an entity type.
17017
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
17018
+ * `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
17019
+ * 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
17020
+ * type.
16962
17021
  */
16963
17022
  name:
16964
17023
  string;
@@ -16974,7 +17033,7 @@ declare namespace gapi.client {
16974
17033
  /**
16975
17034
  * 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
16976
17035
  * 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.
16977
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
17036
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
16978
17037
  */
16979
17038
  updateMask?:
16980
17039
  string;
@@ -17008,9 +17067,10 @@ declare namespace gapi.client {
17008
17067
  key?:
17009
17068
  string;
17010
17069
  /**
17011
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
17012
- * 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
17013
- * a letter. The value will be unique given an entity type.
17070
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
17071
+ * `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
17072
+ * 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
17073
+ * type.
17014
17074
  */
17015
17075
  name:
17016
17076
  string;
@@ -17026,7 +17086,7 @@ declare namespace gapi.client {
17026
17086
  /**
17027
17087
  * 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
17028
17088
  * 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.
17029
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
17089
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
17030
17090
  */
17031
17091
  updateMask?:
17032
17092
  string;
@@ -19297,6 +19357,11 @@ declare namespace gapi.client {
19297
19357
  /** OAuth 2.0 token for the current user. */
19298
19358
  oauth_token?:
19299
19359
  string;
19360
+ /**
19361
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
19362
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19363
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19364
+ */
19300
19365
  parent:
19301
19366
  string;
19302
19367
  /** Returns response with indentations and line breaks. */
@@ -19343,6 +19408,11 @@ declare namespace gapi.client {
19343
19408
  /** OAuth 2.0 token for the current user. */
19344
19409
  oauth_token?:
19345
19410
  string;
19411
+ /**
19412
+ * Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent:
19413
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19414
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19415
+ */
19346
19416
  parent:
19347
19417
  string;
19348
19418
  /** Returns response with indentations and line breaks. */
@@ -19422,8 +19492,8 @@ declare namespace gapi.client {
19422
19492
  key?:
19423
19493
  string;
19424
19494
  /**
19425
- * Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19426
- * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19495
+ * Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19496
+ * Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19427
19497
  */
19428
19498
  name:
19429
19499
  string;
@@ -19473,8 +19543,8 @@ declare namespace gapi.client {
19473
19543
  key?:
19474
19544
  string;
19475
19545
  /**
19476
- * 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 <
19477
- * ListFeaturesRequest.latest_stats_count, return all existing stats.
19546
+ * 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
19547
+ * [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
19478
19548
  */
19479
19549
  latestStatsCount?:
19480
19550
  number;
@@ -19494,13 +19564,14 @@ declare namespace gapi.client {
19494
19564
  pageSize?:
19495
19565
  number;
19496
19566
  /**
19497
- * A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
19498
- * FeaturestoreService.ListFeatures must match the call that provided the page token.
19567
+ * A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When
19568
+ * paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.
19499
19569
  */
19500
19570
  pageToken?:
19501
19571
  string;
19502
19572
  /**
19503
- * Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
19573
+ * Required. The resource name of the Location to list Features. Format for entity_type as parent:
19574
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent:
19504
19575
  * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
19505
19576
  */
19506
19577
  parent:
@@ -19542,9 +19613,10 @@ declare namespace gapi.client {
19542
19613
  key?:
19543
19614
  string;
19544
19615
  /**
19545
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
19546
- * 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
19547
- * a letter. The value will be unique given an entity type.
19616
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
19617
+ * `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
19618
+ * 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
19619
+ * type.
19548
19620
  */
19549
19621
  name:
19550
19622
  string;
@@ -19560,7 +19632,7 @@ declare namespace gapi.client {
19560
19632
  /**
19561
19633
  * 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
19562
19634
  * 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.
19563
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
19635
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
19564
19636
  */
19565
19637
  updateMask?:
19566
19638
  string;
@@ -19594,9 +19666,10 @@ declare namespace gapi.client {
19594
19666
  key?:
19595
19667
  string;
19596
19668
  /**
19597
- * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature
19598
- * 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
19599
- * a letter. The value will be unique given an entity type.
19669
+ * Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
19670
+ * `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
19671
+ * 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
19672
+ * type.
19600
19673
  */
19601
19674
  name:
19602
19675
  string;
@@ -19612,7 +19685,7 @@ declare namespace gapi.client {
19612
19685
  /**
19613
19686
  * 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
19614
19687
  * 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.
19615
- * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`
19688
+ * Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
19616
19689
  */
19617
19690
  updateMask?:
19618
19691
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20231012",
3
+ "version": "0.0.20231024",
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: 20231012
6
+ // Revision: 20231024
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -474,6 +474,7 @@ gapi.load('client', async () => {
474
474
  experimentRun: "Test string",
475
475
  network: "Test string",
476
476
  persistentResourceId: "Test string",
477
+ protectedArtifactLocationId: "Test string",
477
478
  reservedIpRanges: [
478
479
  "Test string"
479
480
  ],
@@ -3813,6 +3814,21 @@ gapi.load('client', async () => {
3813
3814
  scaleType: "Test string",
3814
3815
  }
3815
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
+ },
3816
3832
  transferLearningConfig: {
3817
3833
  disableTransferLearning: true,
3818
3834
  priorStudyNames: [
@@ -3830,6 +3846,7 @@ gapi.load('client', async () => {
3830
3846
  experimentRun: "Test string",
3831
3847
  network: "Test string",
3832
3848
  persistentResourceId: "Test string",
3849
+ protectedArtifactLocationId: "Test string",
3833
3850
  reservedIpRanges: [
3834
3851
  "Test string"
3835
3852
  ],
@@ -5525,14 +5542,6 @@ gapi.load('client', async () => {
5525
5542
  },
5526
5543
  },
5527
5544
  },
5528
- generatedModelSource: {
5529
- genieSource: {
5530
- baseModelUri: "Test string",
5531
- },
5532
- modelGardenSource: {
5533
- publicModelName: "Test string",
5534
- },
5535
- },
5536
5545
  labels: {
5537
5546
  A: "Test string"
5538
5547
  },
@@ -5790,14 +5799,6 @@ gapi.load('client', async () => {
5790
5799
  },
5791
5800
  },
5792
5801
  },
5793
- generatedModelSource: {
5794
- genieSource: {
5795
- baseModelUri: "Test string",
5796
- },
5797
- modelGardenSource: {
5798
- publicModelName: "Test string",
5799
- },
5800
- },
5801
5802
  labels: {
5802
5803
  A: "Test string"
5803
5804
  },
@@ -6266,6 +6267,7 @@ gapi.load('client', async () => {
6266
6267
  experimentRun: "Test string",
6267
6268
  network: "Test string",
6268
6269
  persistentResourceId: "Test string",
6270
+ protectedArtifactLocationId: "Test string",
6269
6271
  reservedIpRanges: [
6270
6272
  "Test string"
6271
6273
  ],
@@ -6344,6 +6346,7 @@ gapi.load('client', async () => {
6344
6346
  experimentRun: "Test string",
6345
6347
  network: "Test string",
6346
6348
  persistentResourceId: "Test string",
6349
+ protectedArtifactLocationId: "Test string",
6347
6350
  reservedIpRanges: [
6348
6351
  "Test string"
6349
6352
  ],
@@ -7995,6 +7998,21 @@ gapi.load('client', async () => {
7995
7998
  scaleType: "Test string",
7996
7999
  }
7997
8000
  ],
8001
+ studyStoppingConfig: {
8002
+ maxDurationNoProgress: "Test string",
8003
+ maximumRuntimeConstraint: {
8004
+ endTime: "Test string",
8005
+ maxDuration: "Test string",
8006
+ },
8007
+ maxNumTrials: 42,
8008
+ maxNumTrialsNoProgress: 42,
8009
+ minimumRuntimeConstraint: {
8010
+ endTime: "Test string",
8011
+ maxDuration: "Test string",
8012
+ },
8013
+ minNumTrials: 42,
8014
+ shouldStopAsap: true,
8015
+ },
7998
8016
  transferLearningConfig: {
7999
8017
  disableTransferLearning: true,
8000
8018
  priorStudyNames: [
@@ -8967,14 +8985,6 @@ gapi.load('client', async () => {
8967
8985
  },
8968
8986
  },
8969
8987
  },
8970
- generatedModelSource: {
8971
- genieSource: {
8972
- baseModelUri: "Test string",
8973
- },
8974
- modelGardenSource: {
8975
- publicModelName: "Test string",
8976
- },
8977
- },
8978
8988
  labels: {
8979
8989
  A: "Test string"
8980
8990
  },