Skip to content

Commit 13a9e2f

Browse files
feat(aiplatform): update the API
#### aiplatform:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.type - resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.description - resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.location - resources.reasoningEngines.resources.sessions.resources.events.methods.list.parameters.filter.type - schemas.GoogleCloudAiplatformV1beta1DedicatedResources.properties.flexStart.$ref - schemas.GoogleCloudAiplatformV1beta1DedicatedResources.properties.flexStart.description - schemas.GoogleCloudAiplatformV1beta1EventMetadata.properties.customMetadata.additionalProperties.description - schemas.GoogleCloudAiplatformV1beta1EventMetadata.properties.customMetadata.additionalProperties.type - schemas.GoogleCloudAiplatformV1beta1EventMetadata.properties.customMetadata.description - schemas.GoogleCloudAiplatformV1beta1EventMetadata.properties.customMetadata.type - schemas.GoogleCloudAiplatformV1beta1FlexStart.description - schemas.GoogleCloudAiplatformV1beta1FlexStart.id - schemas.GoogleCloudAiplatformV1beta1FlexStart.properties.maxRuntimeDuration.description - schemas.GoogleCloudAiplatformV1beta1FlexStart.properties.maxRuntimeDuration.format - schemas.GoogleCloudAiplatformV1beta1FlexStart.properties.maxRuntimeDuration.type - schemas.GoogleCloudAiplatformV1beta1FlexStart.type - schemas.GoogleCloudAiplatformV1beta1PipelineTaskDetail.properties.taskUniqueName.description - schemas.GoogleCloudAiplatformV1beta1PipelineTaskDetail.properties.taskUniqueName.readOnly - schemas.GoogleCloudAiplatformV1beta1PipelineTaskDetail.properties.taskUniqueName.type - schemas.GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig.properties.pscAutomationConfigs.description - schemas.GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig.properties.pscAutomationConfigs.items.$ref - schemas.GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig.properties.pscAutomationConfigs.type The following keys were changed: - endpoints - schemas.GoogleCloudAiplatformV1beta1FeatureValueMetadata.properties.generateTime.description - schemas.GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig.properties.thinkingBudget.description - schemas.GoogleCloudAiplatformV1beta1Metric.description - schemas.GoogleCloudAiplatformV1beta1ModelContainerSpec.properties.invokeRoutePrefix.description - schemas.GoogleCloudAiplatformV1beta1PSCAutomationConfig.description - schemas.GoogleCloudAiplatformV1beta1PSCAutomationConfig.properties.network.description - schemas.GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig.properties.model.description - schemas.GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig.properties.embeddingModel.description - schemas.GoogleCloudAiplatformV1beta1TunedModel.properties.model.description #### aiplatform:v1 The following keys were added: - schemas.GoogleCloudAiplatformV1PipelineTaskDetail.properties.taskUniqueName.description - schemas.GoogleCloudAiplatformV1PipelineTaskDetail.properties.taskUniqueName.readOnly - schemas.GoogleCloudAiplatformV1PipelineTaskDetail.properties.taskUniqueName.type - schemas.GoogleCloudAiplatformV1PrivateServiceConnectConfig.properties.pscAutomationConfigs.description - schemas.GoogleCloudAiplatformV1PrivateServiceConnectConfig.properties.pscAutomationConfigs.items.$ref - schemas.GoogleCloudAiplatformV1PrivateServiceConnectConfig.properties.pscAutomationConfigs.type The following keys were changed: - endpoints - schemas.GoogleCloudAiplatformV1FeatureValueMetadata.properties.generateTime.description - schemas.GoogleCloudAiplatformV1GenerationConfigThinkingConfig.properties.thinkingBudget.description - schemas.GoogleCloudAiplatformV1Metric.description - schemas.GoogleCloudAiplatformV1ModelContainerSpec.properties.invokeRoutePrefix.description - schemas.GoogleCloudAiplatformV1PSCAutomationConfig.description - schemas.GoogleCloudAiplatformV1PSCAutomationConfig.properties.network.description - schemas.GoogleCloudAiplatformV1TunedModel.properties.model.description
1 parent 89d6e75 commit 13a9e2f

File tree

5 files changed

+148
-35
lines changed

5 files changed

+148
-35
lines changed

‎discovery/aiplatform-v1.json

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
"endpointUrl": "https://europe-west1-aiplatform.googleapis.com/",
100100
"location": "europe-west1"
101101
},
102+
{
103+
"description": "Locational Endpoint",
104+
"endpointUrl": "https://europe-west10-aiplatform.googleapis.com/",
105+
"location": "europe-west10"
106+
},
102107
{
103108
"description": "Locational Endpoint",
104109
"endpointUrl": "https://europe-west2-aiplatform.googleapis.com/",
@@ -20248,7 +20253,7 @@
2024820253
}
2024920254
}
2025020255
},
20251-
"revision": "20250613",
20256+
"revision": "20250701",
2025220257
"rootUrl": "https://aiplatform.googleapis.com/",
2025320258
"schemas": {
2025420259
"CloudAiLargeModelsVisionGenerateVideoResponse": {
@@ -27256,7 +27261,7 @@
2725627261
"id": "GoogleCloudAiplatformV1FeatureValueMetadata",
2725727262
"properties": {
2725827263
"generateTime": {
27259-
"description": "Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.",
27264+
"description": "Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. Legacy Feature Store: For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.",
2726027265
"format": "google-datetime",
2726127266
"type": "string"
2726227267
}
@@ -28847,7 +28852,7 @@
2884728852
"type": "boolean"
2884828853
},
2884928854
"thinkingBudget": {
28850-
"description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.",
28855+
"description": "Optional. Indicates the thinking budget in tokens.",
2885128856
"format": "int32",
2885228857
"type": "integer"
2885328858
}
@@ -31396,7 +31401,7 @@
3139631401
"type": "object"
3139731402
},
3139831403
"GoogleCloudAiplatformV1Metric": {
31399-
"description": "The metric used for dataset level evaluation.",
31404+
"description": "The metric used for running evaluations.",
3140031405
"id": "GoogleCloudAiplatformV1Metric",
3140131406
"properties": {
3140231407
"aggregationMetrics": {
@@ -32079,7 +32084,7 @@
3207932084
"type": "string"
3208032085
},
3208132086
"invokeRoutePrefix": {
32082-
"description": "Immutable. Invoke route prefix for the custom container. \"/*\" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with [PredictionService.Invoke] eg: \"/invoke/foo/bar\". Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint.",
32087+
"description": "Immutable. Invoke route prefix for the custom container. \"/*\" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with invoke http call eg: \"/invoke/foo/bar\", however the [PredictionService.Invoke] RPC is not supported yet. Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint.",
3208332088
"type": "string"
3208432089
},
3208532090
"livenessProbe": {
@@ -34372,7 +34377,7 @@
3437234377
"type": "object"
3437334378
},
3437434379
"GoogleCloudAiplatformV1PSCAutomationConfig": {
34375-
"description": "PSC config that is used to automatically create forwarding rule via ServiceConnectionMap.",
34380+
"description": "PSC config that is used to automatically create PSC endpoints in the user projects.",
3437634381
"id": "GoogleCloudAiplatformV1PSCAutomationConfig",
3437734382
"properties": {
3437834383
"errorMessage": {
@@ -34391,7 +34396,7 @@
3439134396
"type": "string"
3439234397
},
3439334398
"network": {
34394-
"description": "Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name.",
34399+
"description": "Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.",
3439534400
"type": "string"
3439634401
},
3439734402
"projectId": {
@@ -35208,6 +35213,11 @@
3520835213
"description": "Output only. The user specified name of the task that is defined in pipeline_spec.",
3520935214
"readOnly": true,
3521035215
"type": "string"
35216+
},
35217+
"taskUniqueName": {
35218+
"description": "Output only. The unique name of a task. This field is used by rerun pipeline job. Console UI and Vertex AI SDK will support triggering pipeline job reruns. The name is constructed by concatenating all the parent tasks name with the task name. For example, if a task named \"child_task\" has a parent task named \"parent_task_1\" and parent task 1 has a parent task named \"parent_task_2\", the task unique name will be \"parent_task_2.parent_task_1.child_task\".",
35219+
"readOnly": true,
35220+
"type": "string"
3521135221
}
3521235222
},
3521335223
"type": "object"
@@ -35682,6 +35692,13 @@
3568235692
},
3568335693
"type": "array"
3568435694
},
35695+
"pscAutomationConfigs": {
35696+
"description": "Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.",
35697+
"items": {
35698+
"$ref": "GoogleCloudAiplatformV1PSCAutomationConfig"
35699+
},
35700+
"type": "array"
35701+
},
3568535702
"serviceAttachment": {
3568635703
"description": "Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.",
3568735704
"readOnly": true,
@@ -46467,7 +46484,7 @@
4646746484
"type": "string"
4646846485
},
4646946486
"model": {
46470-
"description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}`.",
46487+
"description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`",
4647146488
"readOnly": true,
4647246489
"type": "string"
4647346490
}

‎discovery/aiplatform-v1beta1.json

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
"endpointUrl": "https://europe-west1-aiplatform.googleapis.com/",
100100
"location": "europe-west1"
101101
},
102+
{
103+
"description": "Locational Endpoint",
104+
"endpointUrl": "https://europe-west10-aiplatform.googleapis.com/",
105+
"location": "europe-west10"
106+
},
102107
{
103108
"description": "Locational Endpoint",
104109
"endpointUrl": "https://europe-west2-aiplatform.googleapis.com/",
@@ -20390,6 +20395,11 @@
2039020395
"parent"
2039120396
],
2039220397
"parameters": {
20398+
"filter": {
20399+
"description": "Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>=\"2025-01-31T11:30:00-04:00\"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160).",
20400+
"location": "query",
20401+
"type": "string"
20402+
},
2039320403
"pageSize": {
2039420404
"description": "Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.",
2039520405
"format": "int32",
@@ -25213,6 +25223,11 @@
2521325223
"parent"
2521425224
],
2521525225
"parameters": {
25226+
"filter": {
25227+
"description": "Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>=\"2025-01-31T11:30:00-04:00\"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160).",
25228+
"location": "query",
25229+
"type": "string"
25230+
},
2521625231
"pageSize": {
2521725232
"description": "Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.",
2521825233
"format": "int32",
@@ -25247,7 +25262,7 @@
2524725262
}
2524825263
}
2524925264
},
25250-
"revision": "20250613",
25265+
"revision": "20250701",
2525125266
"rootUrl": "https://aiplatform.googleapis.com/",
2525225267
"schemas": {
2525325268
"CloudAiLargeModelsVisionGenerateVideoResponse": {
@@ -29477,6 +29492,10 @@
2947729492
},
2947829493
"type": "array"
2947929494
},
29495+
"flexStart": {
29496+
"$ref": "GoogleCloudAiplatformV1beta1FlexStart",
29497+
"description": "Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler)"
29498+
},
2948029499
"machineSpec": {
2948129500
"$ref": "GoogleCloudAiplatformV1beta1MachineSpec",
2948229501
"description": "Required. Immutable. The specification of a single machine being used."
@@ -31162,6 +31181,14 @@
3116231181
"description": "Optional. The branch of the event. The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3. Branch is used when multiple child agents shouldn't see their siblings' conversation history.",
3116331182
"type": "string"
3116431183
},
31184+
"customMetadata": {
31185+
"additionalProperties": {
31186+
"description": "Properties of the object.",
31187+
"type": "any"
31188+
},
31189+
"description": "The custom metadata of the LlmResponse.",
31190+
"type": "object"
31191+
},
3116531192
"groundingMetadata": {
3116631193
"$ref": "GoogleCloudAiplatformV1beta1GroundingMetadata",
3116731194
"description": "Optional. Metadata returned to client when grounding is enabled."
@@ -33386,7 +33413,7 @@
3338633413
"id": "GoogleCloudAiplatformV1beta1FeatureValueMetadata",
3338733414
"properties": {
3338833415
"generateTime": {
33389-
"description": "Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.",
33416+
"description": "Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. Legacy Feature Store: For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.",
3339033417
"format": "google-datetime",
3339133418
"type": "string"
3339233419
}
@@ -34462,6 +34489,18 @@
3446234489
},
3446334490
"type": "object"
3446434491
},
34492+
"GoogleCloudAiplatformV1beta1FlexStart": {
34493+
"description": "FlexStart is used to schedule the deployment workload on DWS resource. It contains the max duration of the deployment.",
34494+
"id": "GoogleCloudAiplatformV1beta1FlexStart",
34495+
"properties": {
34496+
"maxRuntimeDuration": {
34497+
"description": "The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days.",
34498+
"format": "google-duration",
34499+
"type": "string"
34500+
}
34501+
},
34502+
"type": "object"
34503+
},
3446534504
"GoogleCloudAiplatformV1beta1FluencyInput": {
3446634505
"description": "Input for fluency metric.",
3446734506
"id": "GoogleCloudAiplatformV1beta1FluencyInput",
@@ -35448,7 +35487,7 @@
3544835487
"type": "boolean"
3544935488
},
3545035489
"thinkingBudget": {
35451-
"description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.",
35490+
"description": "Optional. Indicates the thinking budget in tokens.",
3545235491
"format": "int32",
3545335492
"type": "integer"
3545435493
}
@@ -38442,7 +38481,7 @@
3844238481
"type": "object"
3844338482
},
3844438483
"GoogleCloudAiplatformV1beta1Metric": {
38445-
"description": "The metric used for dataset level evaluation.",
38484+
"description": "The metric used for running evaluations.",
3844638485
"id": "GoogleCloudAiplatformV1beta1Metric",
3844738486
"properties": {
3844838487
"aggregationMetrics": {
@@ -39117,7 +39156,7 @@
3911739156
"type": "string"
3911839157
},
3911939158
"invokeRoutePrefix": {
39120-
"description": "Immutable. Invoke route prefix for the custom container. \"/*\" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with [PredictionService.Invoke] eg: \"/invoke/foo/bar\". Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint.",
39159+
"description": "Immutable. Invoke route prefix for the custom container. \"/*\" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with invoke http call eg: \"/invoke/foo/bar\", however the [PredictionService.Invoke] RPC is not supported yet. Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint.",
3912139160
"type": "string"
3912239161
},
3912339162
"livenessProbe": {
@@ -42189,7 +42228,7 @@
4218942228
"type": "object"
4219042229
},
4219142230
"GoogleCloudAiplatformV1beta1PSCAutomationConfig": {
42192-
"description": "PSC config that is used to automatically create forwarding rule via ServiceConnectionMap.",
42231+
"description": "PSC config that is used to automatically create PSC endpoints in the user projects.",
4219342232
"id": "GoogleCloudAiplatformV1beta1PSCAutomationConfig",
4219442233
"properties": {
4219542234
"errorMessage": {
@@ -42208,7 +42247,7 @@
4220842247
"type": "string"
4220942248
},
4221042249
"network": {
42211-
"description": "Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name.",
42250+
"description": "Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.",
4221242251
"type": "string"
4221342252
},
4221442253
"projectId": {
@@ -43114,6 +43153,11 @@
4311443153
"description": "Output only. The user specified name of the task that is defined in pipeline_spec.",
4311543154
"readOnly": true,
4311643155
"type": "string"
43156+
},
43157+
"taskUniqueName": {
43158+
"description": "Output only. The unique name of a task. This field is used by rerun pipeline job. Console UI and Vertex AI SDK will support triggering pipeline job reruns. The name is constructed by concatenating all the parent tasks name with the task name. For example, if a task named \"child_task\" has a parent task named \"parent_task_1\" and parent task 1 has a parent task named \"parent_task_2\", the task unique name will be \"parent_task_2.parent_task_1.child_task\".",
43159+
"readOnly": true,
43160+
"type": "string"
4311743161
}
4311843162
},
4311943163
"type": "object"
@@ -43681,6 +43725,13 @@
4368143725
},
4368243726
"type": "array"
4368343727
},
43728+
"pscAutomationConfigs": {
43729+
"description": "Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.",
43730+
"items": {
43731+
"$ref": "GoogleCloudAiplatformV1beta1PSCAutomationConfig"
43732+
},
43733+
"type": "array"
43734+
},
4368443735
"serviceAttachment": {
4368543736
"description": "Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.",
4368643737
"readOnly": true,
@@ -46074,7 +46125,7 @@
4607446125
"id": "GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig",
4607546126
"properties": {
4607646127
"model": {
46077-
"description": "Required. The model used to generate memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}`.",
46128+
"description": "Required. The model used to generate memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`.",
4607846129
"type": "string"
4607946130
}
4608046131
},
@@ -46085,7 +46136,7 @@
4608546136
"id": "GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig",
4608646137
"properties": {
4608746138
"embeddingModel": {
46088-
"description": "Required. The model used to generate embeddings to lookup similar memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}`.",
46139+
"description": "Required. The model used to generate embeddings to lookup similar memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`.",
4608946140
"type": "string"
4609046141
}
4609146142
},
@@ -55809,7 +55860,7 @@
5580955860
"type": "string"
5581055861
},
5581155862
"model": {
55812-
"description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}`.",
55863+
"description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`",
5581355864
"readOnly": true,
5581455865
"type": "string"
5581555866
}

‎src/apis/aiplatform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^8.0.0"
31+
"googleapis-common": "^8.0.2-rc.0"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

0 commit comments

Comments
 (0)