Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/google-cloud-aiplatform/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
22 changes: 22 additions & 0 deletions packages/google-cloud-aiplatform/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **


module.exports = {
...require('gts/.prettierrc.json')
}
3 changes: 3 additions & 0 deletions packages/google-cloud-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,9 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
| async query reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_execution_service.async_query_reasoning_engine.js) |
| query reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_execution_service.query_reasoning_engine.js) |
| stream query reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_execution_service.stream_query_reasoning_engine.js) |
| delete reasoning engine runtime revision | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_runtime_revision_service.delete_reasoning_engine_runtime_revision.js) |
| get reasoning engine runtime revision | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_runtime_revision_service.get_reasoning_engine_runtime_revision.js) |
| list reasoning engine runtime revisions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_runtime_revision_service.list_reasoning_engine_runtime_revisions.js) |
| create reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_service.create_reasoning_engine.js) |
| delete reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_service.delete_reasoning_engine.js) |
| get reasoning engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/reasoning_engine_service.get_reasoning_engine.js) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,37 @@ message Tool {
[(google.api.field_behavior) = OPTIONAL];
}

// ParallelAiSearch tool type.
// A tool that uses the Parallel.ai search engine for grounding.
message ParallelAiSearch {
// Optional. The API key for ParallelAiSearch.
// If an API key is not provided, the system will attempt to verify access
// by checking for an active Parallel.ai subscription through the Google
// Cloud Marketplace.
// See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(google.api.field_behavior) = OPTIONAL];

// Optional. Custom configs for ParallelAiSearch.
// This field can be used to pass any parameter from the Parallel.ai
// Search API.
// See the Parallel.ai documentation for the full list of available
// parameters and their usage:
// https://docs.parallel.ai/api-reference/search-beta/search
// Currently only `source_policy`, `excerpts`, `max_results`, `mode`,
// `fetch_policy` can be set via this field. For example:
// {
// "source_policy": {
// "include_domains": ["google.com", "wikipedia.org"],
// "exclude_domains": ["example.com"]
// },
// "fetch_policy": {
// "max_age_seconds": 3600
// }
// }
google.protobuf.Struct custom_configs = 3
[(google.api.field_behavior) = OPTIONAL];
}

// Tool that executes code generated by the model, and automatically returns
// the result to the model.
//
Expand Down Expand Up @@ -146,6 +177,12 @@ message Tool {
EnterpriseWebSearch enterprise_web_search = 6
[(google.api.field_behavior) = OPTIONAL];

// Optional. If specified, Vertex AI will use Parallel.ai to search for
// information to answer user queries. The search results will be grounded on
// Parallel.ai and presented to the model for response generation
ParallelAiSearch parallel_ai_search = 13
[(google.api.field_behavior) = OPTIONAL];

// Optional. CodeExecution tool type.
// Enables the model to execute code as part of generation.
CodeExecution code_execution = 4 [(google.api.field_behavior) = OPTIONAL];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1beta1;
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
option java_multiple_files = true;
option java_outer_classname = "EvaluationRubricProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,51 @@ message ReasoningEngine {
singular: "reasoningEngine"
};

// Traffic distribution configuration.
message TrafficConfig {
// Manual traffic distribution configuration, where the user specifies the
// Runtime Revision IDs and the percentage of traffic to send to each.
message TrafficSplitManual {
// A single target for the traffic split, specifying a Runtime Revision
// and the percentage of traffic to send to it.
message Target {
// Required. The Runtime Revision name to which to send this portion of
// traffic, if traffic allocation is by Runtime Revision.
string runtime_revision_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "aiplatform.googleapis.com/ReasoningEngineRuntimeRevision"
}
];

// Required. Specifies percent of the traffic to this Runtime Revision.
int32 percent = 2 [(google.api.field_behavior) = REQUIRED];
}

// A list of traffic targets for the Runtimes Revisions. The sum of
// percentages must equal to 100.
repeated Target targets = 1;
}

// Traffic distribution configuration, where all traffic is sent to the
// latest Runtime Revision.
message TrafficSplitAlwaysLatest {}

// Traffic distribution configuration.
oneof traffic_split {
// Optional. Manual traffic distribution configuration, where the user
// specifies the Runtime Revision IDs and the percentage of traffic to
// send to each.
TrafficSplitManual traffic_split_manual = 18
[(google.api.field_behavior) = OPTIONAL];

// Optional. Traffic distribution configuration, where all traffic is sent
// to the latest Runtime Revision.
TrafficSplitAlwaysLatest traffic_split_always_latest = 19
[(google.api.field_behavior) = OPTIONAL];
}
}

// Identifier. The resource name of the ReasoningEngine.
// Format:
// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
Expand Down Expand Up @@ -300,6 +345,9 @@ message ReasoningEngine {

// Labels for the ReasoningEngine.
map<string, string> labels = 17;

// Optional. Traffic distribution configuration for the Reasoning Engine.
TrafficConfig traffic_config = 20 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration for how Agent Engine sub-resources should manage context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ service ReasoningEngineExecutionService {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}:query"
body: "*"
additional_bindings {
post: "/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/runtimeRevisions/*}:query"
body: "*"
}
additional_bindings {
post: "/v1beta1/{name=reasoningEngines/*}:query"
body: "*"
Expand All @@ -58,6 +62,10 @@ service ReasoningEngineExecutionService {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}:streamQuery"
body: "*"
additional_bindings {
post: "/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/runtimeRevisions/*}:streamQuery"
body: "*"
}
additional_bindings {
post: "/v1beta1/{name=reasoningEngines/*}:streamQuery"
body: "*"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.cloud.aiplatform.v1beta1;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1beta1/reasoning_engine.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
option java_multiple_files = true;
option java_outer_classname = "ReasoningEngineRuntimeRevisionProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// ReasoningEngineRuntimeRevision is a specific version of the runtime related
// part of ReasoningEngine. Contains only the fields that are revision specific.
message ReasoningEngineRuntimeRevision {
option (google.api.resource) = {
type: "aiplatform.googleapis.com/ReasoningEngineRuntimeRevision"
pattern: "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/runtimeRevisions/{runtime_revision}"
plural: "reasoningEngineRuntimeRevisions"
singular: "reasoningEngineRuntimeRevision"
};

// Possible values of the state of the revision.
enum State {
// The unspecified state.
STATE_UNSPECIFIED = 0;

// Is deployed and ready to be used.
ACTIVE = 1;

// Is deprecated, may not be used, only preserved for historical
// purposes.
DEPRECATED = 2;
}

// Identifier. The resource name of the ReasoningEngineRuntimeRevision.
// Format:
// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/runtimeRevisions/{runtime_revision}`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Immutable. Configurations of the ReasoningEngineRuntimeRevision. Contains
// only revision specific fields.
ReasoningEngineSpec spec = 3 [(google.api.field_behavior) = IMMUTABLE];

// Output only. Timestamp when this ReasoningEngineRuntimeRevision was
// created.
google.protobuf.Timestamp create_time = 4
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The state of the revision.
State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Loading
Loading