@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230914 → 0.0.20231005
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 +368 -17
- package/package.json +1 -1
- package/tests.ts +46 -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: 20231005
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -886,11 +886,10 @@ declare namespace gapi.client {
|
|
|
886
886
|
GoogleCloudAiplatformV1Feature;
|
|
887
887
|
/**
|
|
888
888
|
* Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are
|
|
889
|
-
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType
|
|
889
|
+
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.
|
|
890
890
|
*/
|
|
891
891
|
featureId?:
|
|
892
892
|
string;
|
|
893
|
-
/** Required. The resource name of the EntityType to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` */
|
|
894
893
|
parent?:
|
|
895
894
|
string;
|
|
896
895
|
}
|
|
@@ -1272,6 +1271,23 @@ declare namespace gapi.client {
|
|
|
1272
1271
|
updateTime?:
|
|
1273
1272
|
string;
|
|
1274
1273
|
}
|
|
1274
|
+
interface GoogleCloudAiplatformV1DatasetVersion {
|
|
1275
|
+
/** Output only. Name of the associated BigQuery dataset. */
|
|
1276
|
+
bigQueryDatasetName?:
|
|
1277
|
+
string;
|
|
1278
|
+
/** Output only. Timestamp when this DatasetVersion was created. */
|
|
1279
|
+
createTime?:
|
|
1280
|
+
string;
|
|
1281
|
+
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1282
|
+
etag?:
|
|
1283
|
+
string;
|
|
1284
|
+
/** Output only. The resource name of the DatasetVersion. */
|
|
1285
|
+
name?:
|
|
1286
|
+
string;
|
|
1287
|
+
/** Output only. Timestamp when this DatasetVersion was last updated. */
|
|
1288
|
+
updateTime?:
|
|
1289
|
+
string;
|
|
1290
|
+
}
|
|
1275
1291
|
interface GoogleCloudAiplatformV1DedicatedResources {
|
|
1276
1292
|
/**
|
|
1277
1293
|
* Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At
|
|
@@ -2202,6 +2218,9 @@ declare namespace gapi.client {
|
|
|
2202
2218
|
*/
|
|
2203
2219
|
annotationsFilter?:
|
|
2204
2220
|
string;
|
|
2221
|
+
/** Split based on the provided filters for each set. */
|
|
2222
|
+
filterSplit?:
|
|
2223
|
+
GoogleCloudAiplatformV1ExportFilterSplit;
|
|
2205
2224
|
/** Split based on fractions defining the size of each set. */
|
|
2206
2225
|
fractionSplit?:
|
|
2207
2226
|
GoogleCloudAiplatformV1ExportFractionSplit;
|
|
@@ -2278,6 +2297,29 @@ declare namespace gapi.client {
|
|
|
2278
2297
|
// tslint:disable-next-line:no-empty-interface
|
|
2279
2298
|
interface GoogleCloudAiplatformV1ExportFeatureValuesResponse {
|
|
2280
2299
|
}
|
|
2300
|
+
interface GoogleCloudAiplatformV1ExportFilterSplit {
|
|
2301
|
+
/**
|
|
2302
|
+
* 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
|
|
2303
|
+
* 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
|
|
2304
|
+
* training, validation, test order.
|
|
2305
|
+
*/
|
|
2306
|
+
testFilter?:
|
|
2307
|
+
string;
|
|
2308
|
+
/**
|
|
2309
|
+
* 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
|
|
2310
|
+
* 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
|
|
2311
|
+
* training, validation, test order.
|
|
2312
|
+
*/
|
|
2313
|
+
trainingFilter?:
|
|
2314
|
+
string;
|
|
2315
|
+
/**
|
|
2316
|
+
* 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
|
|
2317
|
+
* 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
|
|
2318
|
+
* training, validation, test order.
|
|
2319
|
+
*/
|
|
2320
|
+
validationFilter?:
|
|
2321
|
+
string;
|
|
2322
|
+
}
|
|
2281
2323
|
interface GoogleCloudAiplatformV1ExportFractionSplit {
|
|
2282
2324
|
/** The fraction of the input data that is to be used to evaluate the Model. */
|
|
2283
2325
|
testFraction?:
|
|
@@ -3312,6 +3354,14 @@ declare namespace gapi.client {
|
|
|
3312
3354
|
nextPageToken?:
|
|
3313
3355
|
string;
|
|
3314
3356
|
}
|
|
3357
|
+
interface GoogleCloudAiplatformV1ListDatasetVersionsResponse {
|
|
3358
|
+
/** A list of DatasetVersions that matches the specified filter in the request. */
|
|
3359
|
+
datasetVersions?:
|
|
3360
|
+
GoogleCloudAiplatformV1DatasetVersion[];
|
|
3361
|
+
/** The standard List next-page token. */
|
|
3362
|
+
nextPageToken?:
|
|
3363
|
+
string;
|
|
3364
|
+
}
|
|
3315
3365
|
interface GoogleCloudAiplatformV1ListEndpointsResponse {
|
|
3316
3366
|
/** List of Endpoints in the requested page. */
|
|
3317
3367
|
endpoints?:
|
|
@@ -4346,6 +4396,9 @@ declare namespace gapi.client {
|
|
|
4346
4396
|
*/
|
|
4347
4397
|
enableLogging?:
|
|
4348
4398
|
boolean;
|
|
4399
|
+
/** Resource names of the NotificationChannels to send alert. Must be of the format `projects//notificationChannels/` */
|
|
4400
|
+
notificationChannels?:
|
|
4401
|
+
string[];
|
|
4349
4402
|
}
|
|
4350
4403
|
interface GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig {
|
|
4351
4404
|
/** The email addresses to send the alert. */
|
|
@@ -4785,10 +4838,10 @@ declare namespace gapi.client {
|
|
|
4785
4838
|
string;
|
|
4786
4839
|
/**
|
|
4787
4840
|
* The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase
|
|
4788
|
-
* letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one
|
|
4841
|
+
* letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are
|
|
4789
4842
|
* excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
|
4790
4843
|
* Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. *
|
|
4791
|
-
* "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "
|
|
4844
|
+
* "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service,
|
|
4792
4845
|
* either BigQuery or Vertex.
|
|
4793
4846
|
*/
|
|
4794
4847
|
labels?:
|
|
@@ -4799,6 +4852,9 @@ declare namespace gapi.client {
|
|
|
4799
4852
|
/** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
|
|
4800
4853
|
notebookRuntimeTemplateRef?:
|
|
4801
4854
|
GoogleCloudAiplatformV1NotebookRuntimeTemplateRef;
|
|
4855
|
+
/** Output only. The type of the notebook runtime. */
|
|
4856
|
+
notebookRuntimeType?:
|
|
4857
|
+
string;
|
|
4802
4858
|
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
4803
4859
|
proxyUri?:
|
|
4804
4860
|
string;
|
|
@@ -4858,6 +4914,9 @@ declare namespace gapi.client {
|
|
|
4858
4914
|
/** Optional. Network spec. */
|
|
4859
4915
|
networkSpec?:
|
|
4860
4916
|
GoogleCloudAiplatformV1NetworkSpec;
|
|
4917
|
+
/** Optional. Immutable. The type of the notebook runtime template. */
|
|
4918
|
+
notebookRuntimeType?:
|
|
4919
|
+
string;
|
|
4861
4920
|
/**
|
|
4862
4921
|
* The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the
|
|
4863
4922
|
* instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
|
|
@@ -4958,7 +5017,10 @@ declare namespace gapi.client {
|
|
|
4958
5017
|
/** Output only. Pipeline template metadata. Will fill up fields if PipelineJob.template_uri is from supported template registry. */
|
|
4959
5018
|
templateMetadata?:
|
|
4960
5019
|
GoogleCloudAiplatformV1PipelineTemplateMetadata;
|
|
4961
|
-
/**
|
|
5020
|
+
/**
|
|
5021
|
+
* A template uri from where the PipelineJob.pipeline_spec, if empty, will be downloaded. Currently, only uri from Vertex Template Registry & Gallery is supported. Reference to
|
|
5022
|
+
* https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template.
|
|
5023
|
+
*/
|
|
4962
5024
|
templateUri?:
|
|
4963
5025
|
string;
|
|
4964
5026
|
/** Output only. Timestamp when this PipelineJob was most recently updated. */
|
|
@@ -6399,6 +6461,19 @@ declare namespace gapi.client {
|
|
|
6399
6461
|
status?:
|
|
6400
6462
|
string;
|
|
6401
6463
|
}
|
|
6464
|
+
interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig {
|
|
6465
|
+
/** The sources for the grounding checking. */
|
|
6466
|
+
sources?:
|
|
6467
|
+
GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry[];
|
|
6468
|
+
}
|
|
6469
|
+
interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry {
|
|
6470
|
+
/** The uri of the Enterprise Search data source. */
|
|
6471
|
+
enterpriseDatastore?:
|
|
6472
|
+
string;
|
|
6473
|
+
/** The type of the grounding checking source. */
|
|
6474
|
+
type?:
|
|
6475
|
+
string;
|
|
6476
|
+
}
|
|
6402
6477
|
interface GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams {
|
|
6403
6478
|
/** The Model only returns predictions with at least this confidence score. Default value is 0.0 */
|
|
6404
6479
|
confidenceThreshold?:
|
|
@@ -6766,15 +6841,24 @@ declare namespace gapi.client {
|
|
|
6766
6841
|
GoogleCloudAiplatformV1SchemaTextSegment;
|
|
6767
6842
|
}
|
|
6768
6843
|
interface GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata {
|
|
6844
|
+
/** Number of candidates. */
|
|
6845
|
+
candidateCount?:
|
|
6846
|
+
string;
|
|
6769
6847
|
/** The Google Cloud Storage URI that stores the prompt data. */
|
|
6770
6848
|
gcsUri?:
|
|
6771
6849
|
string;
|
|
6850
|
+
/** Grounding checking configuration. */
|
|
6851
|
+
groundingConfig?:
|
|
6852
|
+
GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig;
|
|
6772
6853
|
/** Value of the maximum number of tokens generated set when the dataset was saved. */
|
|
6773
6854
|
maxOutputTokens?:
|
|
6774
6855
|
string;
|
|
6775
6856
|
/** Type of the prompt dataset. */
|
|
6776
6857
|
promptType?:
|
|
6777
6858
|
string;
|
|
6859
|
+
/** Customized stop sequences. */
|
|
6860
|
+
stopSequences?:
|
|
6861
|
+
string[];
|
|
6778
6862
|
/** Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness. */
|
|
6779
6863
|
temperature?:
|
|
6780
6864
|
number;
|
|
@@ -11439,6 +11523,263 @@ declare namespace gapi.client {
|
|
|
11439
11523
|
operations:
|
|
11440
11524
|
OperationsResource;
|
|
11441
11525
|
}
|
|
11526
|
+
interface DatasetVersionsResource {
|
|
11527
|
+
/** Create a version from a Dataset. */
|
|
11528
|
+
create(request: {
|
|
11529
|
+
/** V1 error format. */
|
|
11530
|
+
"$.xgafv"?:
|
|
11531
|
+
string;
|
|
11532
|
+
/** OAuth access token. */
|
|
11533
|
+
access_token?:
|
|
11534
|
+
string;
|
|
11535
|
+
/** Data format for response. */
|
|
11536
|
+
alt?:
|
|
11537
|
+
string;
|
|
11538
|
+
/** JSONP */
|
|
11539
|
+
callback?:
|
|
11540
|
+
string;
|
|
11541
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11542
|
+
fields?:
|
|
11543
|
+
string;
|
|
11544
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11545
|
+
key?:
|
|
11546
|
+
string;
|
|
11547
|
+
/** OAuth 2.0 token for the current user. */
|
|
11548
|
+
oauth_token?:
|
|
11549
|
+
string;
|
|
11550
|
+
/** Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
11551
|
+
parent:
|
|
11552
|
+
string;
|
|
11553
|
+
/** Returns response with indentations and line breaks. */
|
|
11554
|
+
prettyPrint?:
|
|
11555
|
+
boolean;
|
|
11556
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11557
|
+
quotaUser?:
|
|
11558
|
+
string;
|
|
11559
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11560
|
+
upload_protocol?:
|
|
11561
|
+
string;
|
|
11562
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11563
|
+
uploadType?:
|
|
11564
|
+
string;
|
|
11565
|
+
/** Request body */
|
|
11566
|
+
resource:
|
|
11567
|
+
GoogleCloudAiplatformV1DatasetVersion;
|
|
11568
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11569
|
+
create(request: {
|
|
11570
|
+
/** V1 error format. */
|
|
11571
|
+
"$.xgafv"?:
|
|
11572
|
+
string;
|
|
11573
|
+
/** OAuth access token. */
|
|
11574
|
+
access_token?:
|
|
11575
|
+
string;
|
|
11576
|
+
/** Data format for response. */
|
|
11577
|
+
alt?:
|
|
11578
|
+
string;
|
|
11579
|
+
/** JSONP */
|
|
11580
|
+
callback?:
|
|
11581
|
+
string;
|
|
11582
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11583
|
+
fields?:
|
|
11584
|
+
string;
|
|
11585
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11586
|
+
key?:
|
|
11587
|
+
string;
|
|
11588
|
+
/** OAuth 2.0 token for the current user. */
|
|
11589
|
+
oauth_token?:
|
|
11590
|
+
string;
|
|
11591
|
+
/** Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
11592
|
+
parent:
|
|
11593
|
+
string;
|
|
11594
|
+
/** Returns response with indentations and line breaks. */
|
|
11595
|
+
prettyPrint?:
|
|
11596
|
+
boolean;
|
|
11597
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11598
|
+
quotaUser?:
|
|
11599
|
+
string;
|
|
11600
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11601
|
+
upload_protocol?:
|
|
11602
|
+
string;
|
|
11603
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11604
|
+
uploadType?:
|
|
11605
|
+
string;
|
|
11606
|
+
},
|
|
11607
|
+
body: GoogleCloudAiplatformV1DatasetVersion): Request<GoogleLongrunningOperation>;
|
|
11608
|
+
/** Deletes a Dataset version. */
|
|
11609
|
+
delete(request?: {
|
|
11610
|
+
/** V1 error format. */
|
|
11611
|
+
"$.xgafv"?:
|
|
11612
|
+
string;
|
|
11613
|
+
/** OAuth access token. */
|
|
11614
|
+
access_token?:
|
|
11615
|
+
string;
|
|
11616
|
+
/** Data format for response. */
|
|
11617
|
+
alt?:
|
|
11618
|
+
string;
|
|
11619
|
+
/** JSONP */
|
|
11620
|
+
callback?:
|
|
11621
|
+
string;
|
|
11622
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11623
|
+
fields?:
|
|
11624
|
+
string;
|
|
11625
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11626
|
+
key?:
|
|
11627
|
+
string;
|
|
11628
|
+
/** Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
11629
|
+
name:
|
|
11630
|
+
string;
|
|
11631
|
+
/** OAuth 2.0 token for the current user. */
|
|
11632
|
+
oauth_token?:
|
|
11633
|
+
string;
|
|
11634
|
+
/** Returns response with indentations and line breaks. */
|
|
11635
|
+
prettyPrint?:
|
|
11636
|
+
boolean;
|
|
11637
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11638
|
+
quotaUser?:
|
|
11639
|
+
string;
|
|
11640
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11641
|
+
upload_protocol?:
|
|
11642
|
+
string;
|
|
11643
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11644
|
+
uploadType?:
|
|
11645
|
+
string;
|
|
11646
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11647
|
+
/** Gets a Dataset version. */
|
|
11648
|
+
get(request?: {
|
|
11649
|
+
/** V1 error format. */
|
|
11650
|
+
"$.xgafv"?:
|
|
11651
|
+
string;
|
|
11652
|
+
/** OAuth access token. */
|
|
11653
|
+
access_token?:
|
|
11654
|
+
string;
|
|
11655
|
+
/** Data format for response. */
|
|
11656
|
+
alt?:
|
|
11657
|
+
string;
|
|
11658
|
+
/** JSONP */
|
|
11659
|
+
callback?:
|
|
11660
|
+
string;
|
|
11661
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11662
|
+
fields?:
|
|
11663
|
+
string;
|
|
11664
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11665
|
+
key?:
|
|
11666
|
+
string;
|
|
11667
|
+
/** Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
11668
|
+
name:
|
|
11669
|
+
string;
|
|
11670
|
+
/** OAuth 2.0 token for the current user. */
|
|
11671
|
+
oauth_token?:
|
|
11672
|
+
string;
|
|
11673
|
+
/** Returns response with indentations and line breaks. */
|
|
11674
|
+
prettyPrint?:
|
|
11675
|
+
boolean;
|
|
11676
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11677
|
+
quotaUser?:
|
|
11678
|
+
string;
|
|
11679
|
+
/** Mask specifying which fields to read. */
|
|
11680
|
+
readMask?:
|
|
11681
|
+
string;
|
|
11682
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11683
|
+
upload_protocol?:
|
|
11684
|
+
string;
|
|
11685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11686
|
+
uploadType?:
|
|
11687
|
+
string;
|
|
11688
|
+
}): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
11689
|
+
/** Lists DatasetVersions in a Dataset. */
|
|
11690
|
+
list(request?: {
|
|
11691
|
+
/** V1 error format. */
|
|
11692
|
+
"$.xgafv"?:
|
|
11693
|
+
string;
|
|
11694
|
+
/** OAuth access token. */
|
|
11695
|
+
access_token?:
|
|
11696
|
+
string;
|
|
11697
|
+
/** Data format for response. */
|
|
11698
|
+
alt?:
|
|
11699
|
+
string;
|
|
11700
|
+
/** JSONP */
|
|
11701
|
+
callback?:
|
|
11702
|
+
string;
|
|
11703
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11704
|
+
fields?:
|
|
11705
|
+
string;
|
|
11706
|
+
/** Optional. The standard list filter. */
|
|
11707
|
+
filter?:
|
|
11708
|
+
string;
|
|
11709
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11710
|
+
key?:
|
|
11711
|
+
string;
|
|
11712
|
+
/** OAuth 2.0 token for the current user. */
|
|
11713
|
+
oauth_token?:
|
|
11714
|
+
string;
|
|
11715
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. */
|
|
11716
|
+
orderBy?:
|
|
11717
|
+
string;
|
|
11718
|
+
/** Optional. The standard list page size. */
|
|
11719
|
+
pageSize?:
|
|
11720
|
+
number;
|
|
11721
|
+
/** Optional. The standard list page token. */
|
|
11722
|
+
pageToken?:
|
|
11723
|
+
string;
|
|
11724
|
+
/** Required. The resource name of the Dataset to list DatasetVersions from. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
11725
|
+
parent:
|
|
11726
|
+
string;
|
|
11727
|
+
/** Returns response with indentations and line breaks. */
|
|
11728
|
+
prettyPrint?:
|
|
11729
|
+
boolean;
|
|
11730
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11731
|
+
quotaUser?:
|
|
11732
|
+
string;
|
|
11733
|
+
/** Optional. Mask specifying which fields to read. */
|
|
11734
|
+
readMask?:
|
|
11735
|
+
string;
|
|
11736
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11737
|
+
upload_protocol?:
|
|
11738
|
+
string;
|
|
11739
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11740
|
+
uploadType?:
|
|
11741
|
+
string;
|
|
11742
|
+
}): Request<GoogleCloudAiplatformV1ListDatasetVersionsResponse>;
|
|
11743
|
+
/** Restores a dataset version. */
|
|
11744
|
+
restore(request?: {
|
|
11745
|
+
/** V1 error format. */
|
|
11746
|
+
"$.xgafv"?:
|
|
11747
|
+
string;
|
|
11748
|
+
/** OAuth access token. */
|
|
11749
|
+
access_token?:
|
|
11750
|
+
string;
|
|
11751
|
+
/** Data format for response. */
|
|
11752
|
+
alt?:
|
|
11753
|
+
string;
|
|
11754
|
+
/** JSONP */
|
|
11755
|
+
callback?:
|
|
11756
|
+
string;
|
|
11757
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11758
|
+
fields?:
|
|
11759
|
+
string;
|
|
11760
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
11761
|
+
key?:
|
|
11762
|
+
string;
|
|
11763
|
+
/** Required. The name of the DatasetVersion resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
11764
|
+
name:
|
|
11765
|
+
string;
|
|
11766
|
+
/** OAuth 2.0 token for the current user. */
|
|
11767
|
+
oauth_token?:
|
|
11768
|
+
string;
|
|
11769
|
+
/** Returns response with indentations and line breaks. */
|
|
11770
|
+
prettyPrint?:
|
|
11771
|
+
boolean;
|
|
11772
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
11773
|
+
quotaUser?:
|
|
11774
|
+
string;
|
|
11775
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11776
|
+
upload_protocol?:
|
|
11777
|
+
string;
|
|
11778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11779
|
+
uploadType?:
|
|
11780
|
+
string;
|
|
11781
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11782
|
+
}
|
|
11442
11783
|
interface OperationsResource {
|
|
11443
11784
|
/**
|
|
11444
11785
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
@@ -12557,6 +12898,8 @@ declare namespace gapi.client {
|
|
|
12557
12898
|
AnnotationSpecsResource;
|
|
12558
12899
|
dataItems:
|
|
12559
12900
|
DataItemsResource;
|
|
12901
|
+
datasetVersions:
|
|
12902
|
+
DatasetVersionsResource;
|
|
12560
12903
|
operations:
|
|
12561
12904
|
OperationsResource;
|
|
12562
12905
|
savedQueries:
|
|
@@ -14249,7 +14592,7 @@ declare namespace gapi.client {
|
|
|
14249
14592
|
string;
|
|
14250
14593
|
/**
|
|
14251
14594
|
* Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are
|
|
14252
|
-
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType
|
|
14595
|
+
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.
|
|
14253
14596
|
*/
|
|
14254
14597
|
featureId?:
|
|
14255
14598
|
string;
|
|
@@ -14262,7 +14605,6 @@ declare namespace gapi.client {
|
|
|
14262
14605
|
/** OAuth 2.0 token for the current user. */
|
|
14263
14606
|
oauth_token?:
|
|
14264
14607
|
string;
|
|
14265
|
-
/** Required. The resource name of the EntityType to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` */
|
|
14266
14608
|
parent:
|
|
14267
14609
|
string;
|
|
14268
14610
|
/** Returns response with indentations and line breaks. */
|
|
@@ -14296,7 +14638,7 @@ declare namespace gapi.client {
|
|
|
14296
14638
|
string;
|
|
14297
14639
|
/**
|
|
14298
14640
|
* Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are
|
|
14299
|
-
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType
|
|
14641
|
+
* `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.
|
|
14300
14642
|
*/
|
|
14301
14643
|
featureId?:
|
|
14302
14644
|
string;
|
|
@@ -14309,7 +14651,6 @@ declare namespace gapi.client {
|
|
|
14309
14651
|
/** OAuth 2.0 token for the current user. */
|
|
14310
14652
|
oauth_token?:
|
|
14311
14653
|
string;
|
|
14312
|
-
/** Required. The resource name of the EntityType to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` */
|
|
14313
14654
|
parent:
|
|
14314
14655
|
string;
|
|
14315
14656
|
/** Returns response with indentations and line breaks. */
|
|
@@ -14346,7 +14687,10 @@ declare namespace gapi.client {
|
|
|
14346
14687
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14347
14688
|
key?:
|
|
14348
14689
|
string;
|
|
14349
|
-
/**
|
|
14690
|
+
/**
|
|
14691
|
+
* Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
|
14692
|
+
* `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
|
14693
|
+
*/
|
|
14350
14694
|
name:
|
|
14351
14695
|
string;
|
|
14352
14696
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -14385,7 +14729,10 @@ declare namespace gapi.client {
|
|
|
14385
14729
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14386
14730
|
key?:
|
|
14387
14731
|
string;
|
|
14388
|
-
/**
|
|
14732
|
+
/**
|
|
14733
|
+
* Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
|
14734
|
+
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
|
14735
|
+
*/
|
|
14389
14736
|
name:
|
|
14390
14737
|
string;
|
|
14391
14738
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -14460,7 +14807,10 @@ declare namespace gapi.client {
|
|
|
14460
14807
|
*/
|
|
14461
14808
|
pageToken?:
|
|
14462
14809
|
string;
|
|
14463
|
-
/**
|
|
14810
|
+
/**
|
|
14811
|
+
* Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
|
14812
|
+
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
|
14813
|
+
*/
|
|
14464
14814
|
parent:
|
|
14465
14815
|
string;
|
|
14466
14816
|
/** Returns response with indentations and line breaks. */
|
|
@@ -24391,9 +24741,9 @@ declare namespace gapi.client {
|
|
|
24391
24741
|
* name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum:
|
|
24392
24742
|
* [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports =
|
|
24393
24743
|
* and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
|
|
24394
|
-
* UI_RESOURCE_STATE_CREATION_FAILED].
|
|
24395
|
-
* `
|
|
24396
|
-
* `uiState=UI_RESOURCE_STATE_BEING_DELETED`
|
|
24744
|
+
* UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: *
|
|
24745
|
+
* `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` *
|
|
24746
|
+
* `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED`
|
|
24397
24747
|
*/
|
|
24398
24748
|
filter?:
|
|
24399
24749
|
string;
|
|
@@ -24760,7 +25110,8 @@ declare namespace gapi.client {
|
|
|
24760
25110
|
* Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=.
|
|
24761
25111
|
* `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != *
|
|
24762
25112
|
* `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be
|
|
24763
|
-
* quoted. `labels."a key"`.
|
|
25113
|
+
* quoted. `labels."a key"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: *
|
|
25114
|
+
* `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED`
|
|
24764
25115
|
*/
|
|
24765
25116
|
filter?:
|
|
24766
25117
|
string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20231005
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -629,6 +629,11 @@ gapi.load('client', async () => {
|
|
|
629
629
|
}, {
|
|
630
630
|
exportConfig: {
|
|
631
631
|
annotationsFilter: "Test string",
|
|
632
|
+
filterSplit: {
|
|
633
|
+
testFilter: "Test string",
|
|
634
|
+
trainingFilter: "Test string",
|
|
635
|
+
validationFilter: "Test string",
|
|
636
|
+
},
|
|
632
637
|
fractionSplit: {
|
|
633
638
|
testFraction: 42,
|
|
634
639
|
trainingFraction: 42,
|
|
@@ -861,6 +866,38 @@ gapi.load('client', async () => {
|
|
|
861
866
|
name: "Test string",
|
|
862
867
|
timeout: "Test string",
|
|
863
868
|
});
|
|
869
|
+
/** Create a version from a Dataset. */
|
|
870
|
+
await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.create({
|
|
871
|
+
parent: "Test string",
|
|
872
|
+
}, {
|
|
873
|
+
bigQueryDatasetName: "Test string",
|
|
874
|
+
createTime: "Test string",
|
|
875
|
+
etag: "Test string",
|
|
876
|
+
name: "Test string",
|
|
877
|
+
updateTime: "Test string",
|
|
878
|
+
});
|
|
879
|
+
/** Deletes a Dataset version. */
|
|
880
|
+
await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.delete({
|
|
881
|
+
name: "Test string",
|
|
882
|
+
});
|
|
883
|
+
/** Gets a Dataset version. */
|
|
884
|
+
await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.get({
|
|
885
|
+
name: "Test string",
|
|
886
|
+
readMask: "Test string",
|
|
887
|
+
});
|
|
888
|
+
/** Lists DatasetVersions in a Dataset. */
|
|
889
|
+
await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.list({
|
|
890
|
+
filter: "Test string",
|
|
891
|
+
orderBy: "Test string",
|
|
892
|
+
pageSize: 42,
|
|
893
|
+
pageToken: "Test string",
|
|
894
|
+
parent: "Test string",
|
|
895
|
+
readMask: "Test string",
|
|
896
|
+
});
|
|
897
|
+
/** Restores a dataset version. */
|
|
898
|
+
await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.restore({
|
|
899
|
+
name: "Test string",
|
|
900
|
+
});
|
|
864
901
|
/**
|
|
865
902
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
|
|
866
903
|
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|
|
@@ -3926,6 +3963,9 @@ gapi.load('client', async () => {
|
|
|
3926
3963
|
],
|
|
3927
3964
|
},
|
|
3928
3965
|
enableLogging: true,
|
|
3966
|
+
notificationChannels: [
|
|
3967
|
+
"Test string"
|
|
3968
|
+
],
|
|
3929
3969
|
},
|
|
3930
3970
|
name: "Test string",
|
|
3931
3971
|
nextScheduleTime: "Test string",
|
|
@@ -4082,6 +4122,9 @@ gapi.load('client', async () => {
|
|
|
4082
4122
|
],
|
|
4083
4123
|
},
|
|
4084
4124
|
enableLogging: true,
|
|
4125
|
+
notificationChannels: [
|
|
4126
|
+
"Test string"
|
|
4127
|
+
],
|
|
4085
4128
|
},
|
|
4086
4129
|
name: "Test string",
|
|
4087
4130
|
nextScheduleTime: "Test string",
|
|
@@ -5229,6 +5272,7 @@ gapi.load('client', async () => {
|
|
|
5229
5272
|
notebookRuntimeTemplateRef: {
|
|
5230
5273
|
notebookRuntimeTemplate: "Test string",
|
|
5231
5274
|
},
|
|
5275
|
+
notebookRuntimeType: "Test string",
|
|
5232
5276
|
proxyUri: "Test string",
|
|
5233
5277
|
runtimeState: "Test string",
|
|
5234
5278
|
runtimeUser: "Test string",
|
|
@@ -5297,6 +5341,7 @@ gapi.load('client', async () => {
|
|
|
5297
5341
|
network: "Test string",
|
|
5298
5342
|
subnetwork: "Test string",
|
|
5299
5343
|
},
|
|
5344
|
+
notebookRuntimeType: "Test string",
|
|
5300
5345
|
serviceAccount: "Test string",
|
|
5301
5346
|
updateTime: "Test string",
|
|
5302
5347
|
});
|