@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20231107 → 0.0.20231121
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 +56 -4
- package/package.json +1 -1
- package/tests.ts +85 -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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231121
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3036,6 +3036,11 @@ declare namespace gapi.client {
|
|
|
3036
3036
|
uri?:
|
|
3037
3037
|
string;
|
|
3038
3038
|
}
|
|
3039
|
+
interface GoogleCloudAiplatformV1beta1FeatureViewDataKey {
|
|
3040
|
+
/** String key to use for lookup. */
|
|
3041
|
+
key?:
|
|
3042
|
+
string;
|
|
3043
|
+
}
|
|
3039
3044
|
interface GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource {
|
|
3040
3045
|
/** Required. List of features that need to be synced to Online Store. */
|
|
3041
3046
|
featureGroups?:
|
|
@@ -3116,7 +3121,13 @@ declare namespace gapi.client {
|
|
|
3116
3121
|
string;
|
|
3117
3122
|
}
|
|
3118
3123
|
interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
|
|
3119
|
-
/**
|
|
3124
|
+
/** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
|
|
3125
|
+
dataFormat?:
|
|
3126
|
+
string;
|
|
3127
|
+
/** Optional. The request key to fetch feature values for. */
|
|
3128
|
+
dataKey?:
|
|
3129
|
+
GoogleCloudAiplatformV1beta1FeatureViewDataKey;
|
|
3130
|
+
/** Specify response data format. If not set, KeyValue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format. */
|
|
3120
3131
|
format?:
|
|
3121
3132
|
string;
|
|
3122
3133
|
/** Simple ID. The whole string will be used as is to identify Entity to fetch feature values for. */
|
|
@@ -4584,6 +4595,9 @@ declare namespace gapi.client {
|
|
|
4584
4595
|
*/
|
|
4585
4596
|
command?:
|
|
4586
4597
|
string[];
|
|
4598
|
+
/** Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before exposing. */
|
|
4599
|
+
deploymentTimeout?:
|
|
4600
|
+
string;
|
|
4587
4601
|
/**
|
|
4588
4602
|
* Immutable. List of environment variables to set in the container. After the container starts running, code running in the container can read these environment variables.
|
|
4589
4603
|
* Additionally, the command and args fields can reference these variables. Later entries in this list can also reference earlier entries. For example, the following example sets the
|
|
@@ -4593,6 +4607,9 @@ declare namespace gapi.client {
|
|
|
4593
4607
|
*/
|
|
4594
4608
|
env?:
|
|
4595
4609
|
GoogleCloudAiplatformV1beta1EnvVar[];
|
|
4610
|
+
/** Immutable. Specification for Kubernetes readiness probe. TODO (b/306244185): Revise documentation before exposing. */
|
|
4611
|
+
healthProbe?:
|
|
4612
|
+
GoogleCloudAiplatformV1beta1Probe;
|
|
4596
4613
|
/**
|
|
4597
4614
|
* Immutable. HTTP path on the container to send health checks to. Vertex AI intermittently sends GET requests to this path on the container's IP address and port to check that the
|
|
4598
4615
|
* container is healthy. Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). For example, if you set this field
|
|
@@ -4636,6 +4653,12 @@ declare namespace gapi.client {
|
|
|
4636
4653
|
*/
|
|
4637
4654
|
predictRoute?:
|
|
4638
4655
|
string;
|
|
4656
|
+
/** Immutable. The amount of the VM memory to reserve as the shared memory for the model in megabytes. TODO (b/306244185): Revise documentation before exposing. */
|
|
4657
|
+
sharedMemorySizeMb?:
|
|
4658
|
+
string;
|
|
4659
|
+
/** Immutable. Specification for Kubernetes startup probe. TODO (b/306244185): Revise documentation before exposing. */
|
|
4660
|
+
startupProbe?:
|
|
4661
|
+
GoogleCloudAiplatformV1beta1Probe;
|
|
4639
4662
|
}
|
|
4640
4663
|
interface GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringBigQueryTable {
|
|
4641
4664
|
/** The created BigQuery table to store logs. Customer could do their own query & analysis. Format: `bq://.model_deployment_monitoring_._` */
|
|
@@ -6009,6 +6032,29 @@ declare namespace gapi.client {
|
|
|
6009
6032
|
projectAllowlist?:
|
|
6010
6033
|
string[];
|
|
6011
6034
|
}
|
|
6035
|
+
interface GoogleCloudAiplatformV1beta1Probe {
|
|
6036
|
+
/** Exec specifies the action to take. */
|
|
6037
|
+
exec?:
|
|
6038
|
+
GoogleCloudAiplatformV1beta1ProbeExecAction;
|
|
6039
|
+
/** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. */
|
|
6040
|
+
periodSeconds?:
|
|
6041
|
+
number;
|
|
6042
|
+
/**
|
|
6043
|
+
* Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument
|
|
6044
|
+
* 'timeoutSeconds'.
|
|
6045
|
+
*/
|
|
6046
|
+
timeoutSeconds?:
|
|
6047
|
+
number;
|
|
6048
|
+
}
|
|
6049
|
+
interface GoogleCloudAiplatformV1beta1ProbeExecAction {
|
|
6050
|
+
/**
|
|
6051
|
+
* Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is
|
|
6052
|
+
* not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as
|
|
6053
|
+
* live/healthy and non-zero is unhealthy.
|
|
6054
|
+
*/
|
|
6055
|
+
command?:
|
|
6056
|
+
string[];
|
|
6057
|
+
}
|
|
6012
6058
|
interface GoogleCloudAiplatformV1beta1PublisherModel {
|
|
6013
6059
|
/** Optional. Additional information about the model's Frameworks. */
|
|
6014
6060
|
frameworks?:
|
|
@@ -6371,6 +6417,11 @@ declare namespace gapi.client {
|
|
|
6371
6417
|
viewCount?:
|
|
6372
6418
|
string;
|
|
6373
6419
|
}
|
|
6420
|
+
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata {
|
|
6421
|
+
/** Operation metadata for PersistentResource. */
|
|
6422
|
+
genericMetadata?:
|
|
6423
|
+
GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
6424
|
+
}
|
|
6374
6425
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
6375
6426
|
/** The resource names of the child Contexts. */
|
|
6376
6427
|
childContexts?:
|
|
@@ -9951,8 +10002,9 @@ declare namespace gapi.client {
|
|
|
9951
10002
|
string;
|
|
9952
10003
|
/**
|
|
9953
10004
|
* Optional. The user-provided custom service account to use to do the model upload. If empty, [Vertex AI Service
|
|
9954
|
-
* Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used
|
|
9955
|
-
*
|
|
10005
|
+
* Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used to access resources needed to upload the model. This account must belong to the
|
|
10006
|
+
* target project where the model is uploaded to, i.e., the project specified in the `parent` field of this request and have necessary read permissions (to Google Cloud Storage,
|
|
10007
|
+
* Artifact Registry, etc.).
|
|
9956
10008
|
*/
|
|
9957
10009
|
serviceAccount?:
|
|
9958
10010
|
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: 20231121
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -397,12 +397,22 @@ gapi.load('client', async () => {
|
|
|
397
397
|
command: [
|
|
398
398
|
"Test string"
|
|
399
399
|
],
|
|
400
|
+
deploymentTimeout: "Test string",
|
|
400
401
|
env: [
|
|
401
402
|
{
|
|
402
403
|
name: "Test string",
|
|
403
404
|
value: "Test string",
|
|
404
405
|
}
|
|
405
406
|
],
|
|
407
|
+
healthProbe: {
|
|
408
|
+
exec: {
|
|
409
|
+
command: [
|
|
410
|
+
"Test string"
|
|
411
|
+
],
|
|
412
|
+
},
|
|
413
|
+
periodSeconds: 42,
|
|
414
|
+
timeoutSeconds: 42,
|
|
415
|
+
},
|
|
406
416
|
healthRoute: "Test string",
|
|
407
417
|
imageUri: "Test string",
|
|
408
418
|
ports: [
|
|
@@ -411,6 +421,16 @@ gapi.load('client', async () => {
|
|
|
411
421
|
}
|
|
412
422
|
],
|
|
413
423
|
predictRoute: "Test string",
|
|
424
|
+
sharedMemorySizeMb: "Test string",
|
|
425
|
+
startupProbe: {
|
|
426
|
+
exec: {
|
|
427
|
+
command: [
|
|
428
|
+
"Test string"
|
|
429
|
+
],
|
|
430
|
+
},
|
|
431
|
+
periodSeconds: 42,
|
|
432
|
+
timeoutSeconds: 42,
|
|
433
|
+
},
|
|
414
434
|
},
|
|
415
435
|
predictSchemata: {
|
|
416
436
|
instanceSchemaUri: "Test string",
|
|
@@ -2853,6 +2873,10 @@ gapi.load('client', async () => {
|
|
|
2853
2873
|
await gapi.client.aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues({
|
|
2854
2874
|
featureView: "Test string",
|
|
2855
2875
|
}, {
|
|
2876
|
+
dataFormat: "Test string",
|
|
2877
|
+
dataKey: {
|
|
2878
|
+
key: "Test string",
|
|
2879
|
+
},
|
|
2856
2880
|
format: "Test string",
|
|
2857
2881
|
id: "Test string",
|
|
2858
2882
|
});
|
|
@@ -5546,12 +5570,22 @@ gapi.load('client', async () => {
|
|
|
5546
5570
|
command: [
|
|
5547
5571
|
"Test string"
|
|
5548
5572
|
],
|
|
5573
|
+
deploymentTimeout: "Test string",
|
|
5549
5574
|
env: [
|
|
5550
5575
|
{
|
|
5551
5576
|
name: "Test string",
|
|
5552
5577
|
value: "Test string",
|
|
5553
5578
|
}
|
|
5554
5579
|
],
|
|
5580
|
+
healthProbe: {
|
|
5581
|
+
exec: {
|
|
5582
|
+
command: [
|
|
5583
|
+
"Test string"
|
|
5584
|
+
],
|
|
5585
|
+
},
|
|
5586
|
+
periodSeconds: 42,
|
|
5587
|
+
timeoutSeconds: 42,
|
|
5588
|
+
},
|
|
5555
5589
|
healthRoute: "Test string",
|
|
5556
5590
|
imageUri: "Test string",
|
|
5557
5591
|
ports: [
|
|
@@ -5560,6 +5594,16 @@ gapi.load('client', async () => {
|
|
|
5560
5594
|
}
|
|
5561
5595
|
],
|
|
5562
5596
|
predictRoute: "Test string",
|
|
5597
|
+
sharedMemorySizeMb: "Test string",
|
|
5598
|
+
startupProbe: {
|
|
5599
|
+
exec: {
|
|
5600
|
+
command: [
|
|
5601
|
+
"Test string"
|
|
5602
|
+
],
|
|
5603
|
+
},
|
|
5604
|
+
periodSeconds: 42,
|
|
5605
|
+
timeoutSeconds: 42,
|
|
5606
|
+
},
|
|
5563
5607
|
},
|
|
5564
5608
|
createTime: "Test string",
|
|
5565
5609
|
deployedModels: [
|
|
@@ -5803,12 +5847,22 @@ gapi.load('client', async () => {
|
|
|
5803
5847
|
command: [
|
|
5804
5848
|
"Test string"
|
|
5805
5849
|
],
|
|
5850
|
+
deploymentTimeout: "Test string",
|
|
5806
5851
|
env: [
|
|
5807
5852
|
{
|
|
5808
5853
|
name: "Test string",
|
|
5809
5854
|
value: "Test string",
|
|
5810
5855
|
}
|
|
5811
5856
|
],
|
|
5857
|
+
healthProbe: {
|
|
5858
|
+
exec: {
|
|
5859
|
+
command: [
|
|
5860
|
+
"Test string"
|
|
5861
|
+
],
|
|
5862
|
+
},
|
|
5863
|
+
periodSeconds: 42,
|
|
5864
|
+
timeoutSeconds: 42,
|
|
5865
|
+
},
|
|
5812
5866
|
healthRoute: "Test string",
|
|
5813
5867
|
imageUri: "Test string",
|
|
5814
5868
|
ports: [
|
|
@@ -5817,6 +5871,16 @@ gapi.load('client', async () => {
|
|
|
5817
5871
|
}
|
|
5818
5872
|
],
|
|
5819
5873
|
predictRoute: "Test string",
|
|
5874
|
+
sharedMemorySizeMb: "Test string",
|
|
5875
|
+
startupProbe: {
|
|
5876
|
+
exec: {
|
|
5877
|
+
command: [
|
|
5878
|
+
"Test string"
|
|
5879
|
+
],
|
|
5880
|
+
},
|
|
5881
|
+
periodSeconds: 42,
|
|
5882
|
+
timeoutSeconds: 42,
|
|
5883
|
+
},
|
|
5820
5884
|
},
|
|
5821
5885
|
createTime: "Test string",
|
|
5822
5886
|
deployedModels: [
|
|
@@ -9014,12 +9078,22 @@ gapi.load('client', async () => {
|
|
|
9014
9078
|
command: [
|
|
9015
9079
|
"Test string"
|
|
9016
9080
|
],
|
|
9081
|
+
deploymentTimeout: "Test string",
|
|
9017
9082
|
env: [
|
|
9018
9083
|
{
|
|
9019
9084
|
name: "Test string",
|
|
9020
9085
|
value: "Test string",
|
|
9021
9086
|
}
|
|
9022
9087
|
],
|
|
9088
|
+
healthProbe: {
|
|
9089
|
+
exec: {
|
|
9090
|
+
command: [
|
|
9091
|
+
"Test string"
|
|
9092
|
+
],
|
|
9093
|
+
},
|
|
9094
|
+
periodSeconds: 42,
|
|
9095
|
+
timeoutSeconds: 42,
|
|
9096
|
+
},
|
|
9023
9097
|
healthRoute: "Test string",
|
|
9024
9098
|
imageUri: "Test string",
|
|
9025
9099
|
ports: [
|
|
@@ -9028,6 +9102,16 @@ gapi.load('client', async () => {
|
|
|
9028
9102
|
}
|
|
9029
9103
|
],
|
|
9030
9104
|
predictRoute: "Test string",
|
|
9105
|
+
sharedMemorySizeMb: "Test string",
|
|
9106
|
+
startupProbe: {
|
|
9107
|
+
exec: {
|
|
9108
|
+
command: [
|
|
9109
|
+
"Test string"
|
|
9110
|
+
],
|
|
9111
|
+
},
|
|
9112
|
+
periodSeconds: 42,
|
|
9113
|
+
timeoutSeconds: 42,
|
|
9114
|
+
},
|
|
9031
9115
|
},
|
|
9032
9116
|
createTime: "Test string",
|
|
9033
9117
|
deployedModels: [
|