Skip to content

Commit 23c768f

Browse files
feat(aiplatform): update the api
#### aiplatform:v1 The following keys were deleted: - schemas.GoogleCloudAiplatformV1ModelVersionCheckpoint.properties.name.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudAiplatformV1ModelVersionCheckpoint.deprecated (Total Keys: 1) #### aiplatform:v1beta1 The following keys were deleted: - resources.projects.resources.locations.resources.sessions.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.sessions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.sessions.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.sessions.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.sessions.methods.patch (Total Keys: 15) - schemas.GoogleCloudAiplatformV1beta1ModelVersionCheckpoint.properties.name.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudAiplatformV1beta1AssembleDataRequest.properties.geminiRequestReadConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1AssessDataRequest.properties.geminiRequestReadConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1DeployRequestDeployConfig.properties.systemLabels (Total Keys: 2) - schemas.GoogleCloudAiplatformV1beta1GeminiRequestReadConfig (Total Keys: 4) - schemas.GoogleCloudAiplatformV1beta1ModelVersionCheckpoint.deprecated (Total Keys: 1)
1 parent bece3b3 commit 23c768f

8 files changed

+772
-204
lines changed

docs/dyn/aiplatform_v1.projects.locations.models.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,6 @@ <h3>Method Details</h3>
10441044
{ # Describes the machine learning model version checkpoint.
10451045
&quot;checkpointId&quot;: &quot;A String&quot;, # The ID of the checkpoint.
10461046
&quot;epoch&quot;: &quot;A String&quot;, # The epoch of the checkpoint.
1047-
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}`
10481047
&quot;step&quot;: &quot;A String&quot;, # The step of the checkpoint.
10491048
},
10501049
],

docs/dyn/aiplatform_v1beta1.projects.locations.datasets.html

Lines changed: 676 additions & 2 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,6 @@ <h2>Instance Methods</h2>
259259
</p>
260260
<p class="firstline">Returns the schedules Resource.</p>
261261

262-
<p class="toc_element">
263-
<code><a href="aiplatform_v1beta1.projects.locations.sessions.html">sessions()</a></code>
264-
</p>
265-
<p class="firstline">Returns the sessions Resource.</p>
266-
267262
<p class="toc_element">
268263
<code><a href="aiplatform_v1beta1.projects.locations.solvers.html">solvers()</a></code>
269264
</p>
@@ -650,6 +645,9 @@ <h3>Method Details</h3>
650645
&quot;spot&quot;: True or False, # Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
651646
},
652647
&quot;fastTryoutEnabled&quot;: True or False, # Optional. If true, enable the QMT fast tryout feature for this model if possible.
648+
&quot;systemLabels&quot;: { # Optional. System labels for Model Garden deployments. These labels are managed by Google and for tracking purposes only.
649+
&quot;a_key&quot;: &quot;A String&quot;,
650+
},
653651
},
654652
&quot;endpointConfig&quot;: { # The endpoint config to use for the deployment. # Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
655653
&quot;dedicatedEndpointEnabled&quot;: True or False, # Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users&#x27; traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won&#x27;t be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.

docs/dyn/aiplatform_v1beta1.projects.locations.models.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,6 @@ <h3>Method Details</h3>
10351035
{ # Describes the machine learning model version checkpoint.
10361036
&quot;checkpointId&quot;: &quot;A String&quot;, # The ID of the checkpoint.
10371037
&quot;epoch&quot;: &quot;A String&quot;, # The epoch of the checkpoint.
1038-
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}`
10391038
&quot;step&quot;: &quot;A String&quot;, # The step of the checkpoint.
10401039
},
10411040
],

docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.events.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h3>Method Details</h3>
9595

9696
Args:
9797
parent: string, Required. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` (required)
98-
pageSize: integer, 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.
98+
pageSize: integer, 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.
9999
pageToken: string, Optional. The next_page_token value returned from a previous list SessionService.ListEvents call.
100100
x__xgafv: string, V1 error format.
101101
Allowed values
@@ -107,7 +107,7 @@ <h3>Method Details</h3>
107107

108108
{ # Response message for SessionService.ListEvents.
109109
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
110-
&quot;sessionEvents&quot;: [ # A list of events matching the request.
110+
&quot;sessionEvents&quot;: [ # A list of events matching the request. Ordered by timestamp in ascending order.
111111
{ # An event represents a message from either the user or agent.
112112
&quot;actions&quot;: { # Actions are parts of events that are executed by the agent. # Optional. Actions executed by the agent.
113113
&quot;artifactDelta&quot;: { # Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

docs/dyn/aiplatform_v1beta1.projects.locations.reasoningEngines.sessions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<p class="firstline">Close httplib2 connections.</p>
8888
<p class="toc_element">
8989
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
90-
<p class="firstline">Creates a new Session in a given project and location.</p>
90+
<p class="firstline">Creates a new Session.</p>
9191
<p class="toc_element">
9292
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Deletes details of the specific Session.</p>
@@ -96,7 +96,7 @@ <h2>Instance Methods</h2>
9696
<p class="firstline">Gets details of the specific Session.</p>
9797
<p class="toc_element">
9898
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99-
<p class="firstline">Lists Sessions in a given project and location.</p>
99+
<p class="firstline">Lists Sessions in a given reasoning engine.</p>
100100
<p class="toc_element">
101101
<code><a href="#list_next">list_next()</a></code></p>
102102
<p class="firstline">Retrieves the next page of results.</p>
@@ -262,10 +262,10 @@ <h3>Method Details</h3>
262262

263263
<div class="method">
264264
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
265-
<pre>Creates a new Session in a given project and location.
265+
<pre>Creates a new Session.
266266

267267
Args:
268-
parent: string, Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
268+
parent: string, Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
269269
body: object, The request body.
270270
The object takes the form of:
271271

@@ -314,7 +314,7 @@ <h3>Method Details</h3>
314314
<pre>Deletes details of the specific Session.
315315

316316
Args:
317-
name: string, Required. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` (required)
317+
name: string, Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` (required)
318318
x__xgafv: string, V1 error format.
319319
Allowed values
320320
1 - v1 error format
@@ -372,7 +372,7 @@ <h3>Method Details</h3>
372372

373373
<div class="method">
374374
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
375-
<pre>Lists Sessions in a given project and location.
375+
<pre>Lists Sessions in a given reasoning engine.
376376

377377
Args:
378378
parent: string, Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)

googleapiclient/discovery_cache/documents/aiplatform.v1.json

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19841,7 +19841,7 @@
1984119841
}
1984219842
}
1984319843
},
19844-
"revision": "20250415",
19844+
"revision": "20250422",
1984519845
"rootUrl": "https://aiplatform.googleapis.com/",
1984619846
"schemas": {
1984719847
"CloudAiLargeModelsVisionGenerateVideoResponse": {
@@ -32080,6 +32080,7 @@ false
3208032080
"type": "object"
3208132081
},
3208232082
"GoogleCloudAiplatformV1ModelVersionCheckpoint": {
32083+
"deprecated": true,
3208332084
"description": "Describes the machine learning model version checkpoint.",
3208432085
"id": "GoogleCloudAiplatformV1ModelVersionCheckpoint",
3208532086
"properties": {
@@ -32092,10 +32093,6 @@ false
3209232093
"format": "int64",
3209332094
"type": "string"
3209432095
},
32095-
"name": {
32096-
"description": "Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}`",
32097-
"type": "string"
32098-
},
3209932096
"step": {
3210032097
"description": "The step of the checkpoint.",
3210132098
"format": "int64",
@@ -37196,13 +37193,21 @@ false
3719637193
"HARM_CATEGORY_SEXUALLY_EXPLICIT",
3719737194
"HARM_CATEGORY_CIVIC_INTEGRITY"
3719837195
],
37196+
"enumDeprecated": [
37197+
false,
37198+
false,
37199+
false,
37200+
false,
37201+
false,
37202+
true
37203+
],
3719937204
"enumDescriptions": [
3720037205
"The harm category is unspecified.",
3720137206
"The harm category is hate speech.",
3720237207
"The harm category is dangerous content.",
3720337208
"The harm category is harassment.",
3720437209
"The harm category is sexually explicit content.",
37205-
"The harm category is civic integrity."
37210+
"Deprecated: Election filter is not longer supported. The harm category is civic integrity."
3720637211
],
3720737212
"readOnly": true,
3720837213
"type": "string"
@@ -37298,13 +37303,21 @@ false
3729837303
"HARM_CATEGORY_SEXUALLY_EXPLICIT",
3729937304
"HARM_CATEGORY_CIVIC_INTEGRITY"
3730037305
],
37306+
"enumDeprecated": [
37307+
false,
37308+
false,
37309+
false,
37310+
false,
37311+
false,
37312+
true
37313+
],
3730137314
"enumDescriptions": [
3730237315
"The harm category is unspecified.",
3730337316
"The harm category is hate speech.",
3730437317
"The harm category is dangerous content.",
3730537318
"The harm category is harassment.",
3730637319
"The harm category is sexually explicit content.",
37307-
"The harm category is civic integrity."
37320+
"Deprecated: Election filter is not longer supported. The harm category is civic integrity."
3730837321
],
3730937322
"type": "string"
3731037323
},
@@ -37792,7 +37805,8 @@ false
3779237805
"INTEGER",
3779337806
"BOOLEAN",
3779437807
"ARRAY",
37795-
"OBJECT"
37808+
"OBJECT",
37809+
"NULL"
3779637810
],
3779737811
"enumDescriptions": [
3779837812
"Not specified, should not be used.",
@@ -37801,7 +37815,8 @@ false
3780137815
"OpenAPI integer type",
3780237816
"OpenAPI boolean type",
3780337817
"OpenAPI array type",
37804-
"OpenAPI object type"
37818+
"OpenAPI object type",
37819+
"Null type"
3780537820
],
3780637821
"type": "string"
3780737822
}

0 commit comments

Comments
 (0)