Skip to content

Commit 63c562b

Browse files
Google APIscopybara-github
authored andcommitted
feat: Reasoning Engine v1beta1 subresource updates
docs: Clarify that the names for sessions and session_events are no longer required. PiperOrigin-RevId: 773116135
1 parent 8ee3aad commit 63c562b

9 files changed

Lines changed: 660 additions & 29 deletions

google/cloud/aiplatform/v1beta1/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ proto_library(
100100
"machine_resources.proto",
101101
"manual_batch_tuning_parameters.proto",
102102
"match_service.proto",
103+
"memory_bank.proto",
104+
"memory_bank_service.proto",
103105
"metadata_schema.proto",
104106
"metadata_service.proto",
105107
"metadata_store.proto",

google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ apis:
2222
- name: google.cloud.aiplatform.v1beta1.JobService
2323
- name: google.cloud.aiplatform.v1beta1.LlmUtilityService
2424
- name: google.cloud.aiplatform.v1beta1.MatchService
25+
- name: google.cloud.aiplatform.v1beta1.MemoryBankService
2526
- name: google.cloud.aiplatform.v1beta1.MetadataService
2627
- name: google.cloud.aiplatform.v1beta1.MigrationService
2728
- name: google.cloud.aiplatform.v1beta1.ModelGardenService
@@ -355,6 +356,8 @@ http:
355356
- post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel'
356357
- post: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel'
357358
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel'
359+
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}:cancel'
360+
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel'
358361
- post: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel'
359362
- post: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel'
360363
- post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel'
@@ -453,6 +456,8 @@ http:
453456
- delete: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}'
454457
- delete: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}'
455458
- delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}'
459+
- delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}'
460+
- delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}'
456461
- delete: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}'
457462
- delete: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}'
458463
- delete: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}'
@@ -563,6 +568,8 @@ http:
563568
- get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}'
564569
- get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}'
565570
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}'
571+
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}'
572+
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}'
566573
- get: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}'
567574
- get: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}'
568575
- get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}'
@@ -672,6 +679,8 @@ http:
672679
- get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations'
673680
- get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations'
674681
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations'
682+
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*}/operations'
683+
- get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations'
675684
- get: '/v1beta1/{name=projects/*/locations/*/solvers/*}/operations'
676685
- get: '/v1beta1/{name=projects/*/locations/*/studies/*}/operations'
677686
- get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}/operations'
@@ -781,6 +790,8 @@ http:
781790
- post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait'
782791
- post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait'
783792
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait'
793+
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}:wait'
794+
- post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait'
784795
- post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:wait'
785796
- post: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait'
786797
- post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait'
@@ -888,6 +899,10 @@ authentication:
888899
oauth:
889900
canonical_scopes: |-
890901
https://www.googleapis.com/auth/cloud-platform
902+
- selector: 'google.cloud.aiplatform.v1beta1.MemoryBankService.*'
903+
oauth:
904+
canonical_scopes: |-
905+
https://www.googleapis.com/auth/cloud-platform
891906
- selector: 'google.cloud.aiplatform.v1beta1.MetadataService.*'
892907
oauth:
893908
canonical_scopes: |-
@@ -993,25 +1008,11 @@ publishing:
9931008
organization: CLOUD
9941009
library_settings:
9951010
- version: google.cloud.aiplatform.v1beta1
996-
java_settings:
997-
common: {}
998-
cpp_settings:
999-
common: {}
1000-
php_settings:
1001-
common: {}
10021011
python_settings:
1003-
common: {}
10041012
experimental_features:
10051013
rest_async_io_enabled: true
1006-
node_settings:
1007-
common: {}
10081014
dotnet_settings:
1009-
common: {}
10101015
renamed_resources:
10111016
datalabeling.googleapis.com/Dataset: DataLabelingDataset
10121017
automl.googleapis.com/Dataset: AutoMLDataset
10131018
automl.googleapis.com/Model: AutoMLModel
1014-
ruby_settings:
1015-
common: {}
1016-
go_settings:
1017-
common: {}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Copyright 2025 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.aiplatform.v1beta1;
18+
19+
import "google/api/field_behavior.proto";
20+
import "google/api/resource.proto";
21+
import "google/protobuf/timestamp.proto";
22+
23+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
24+
option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
25+
option java_multiple_files = true;
26+
option java_outer_classname = "MemoryBankProto";
27+
option java_package = "com.google.cloud.aiplatform.v1beta1";
28+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
29+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
30+
31+
// A memory.
32+
message Memory {
33+
option (google.api.resource) = {
34+
type: "aiplatform.googleapis.com/Memory"
35+
pattern: "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}"
36+
plural: "memories"
37+
singular: "memory"
38+
};
39+
40+
// Identifier. The resource name of the Memory.
41+
// Format:
42+
// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
43+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
44+
45+
// Optional. Display name of the Memory.
46+
string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
47+
48+
// Optional. Description of the Memory.
49+
string description = 3 [(google.api.field_behavior) = OPTIONAL];
50+
51+
// Output only. Timestamp when this Memory was created.
52+
google.protobuf.Timestamp create_time = 4
53+
[(google.api.field_behavior) = OUTPUT_ONLY];
54+
55+
// Output only. Timestamp when this Memory was most recently updated.
56+
google.protobuf.Timestamp update_time = 5
57+
[(google.api.field_behavior) = OUTPUT_ONLY];
58+
59+
// Required. Semantic knowledge extracted from the source content.
60+
string fact = 10 [(google.api.field_behavior) = REQUIRED];
61+
62+
// Required. Immutable. The scope of the Memory. Memories are isolated
63+
// within their scope. The scope is defined when creating or generating
64+
// memories. Scope values cannot contain the wildcard character '*'.
65+
map<string, string> scope = 11 [(google.api.field_behavior) = REQUIRED];
66+
}

0 commit comments

Comments
 (0)