Skip to content

Commit fe2a4e3

Browse files
feat: A new field search_entry_point is added to message .google.cloud.aiplatform.v1beta1.GroundingMetadata (#5285)
* feat: add NotebookExecutionJob resource and APIs to public v1beta1 client library PiperOrigin-RevId: 628125855 Source-Link: googleapis/googleapis@f41b4bc Source-Link: googleapis/googleapis-gen@2d65169 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjJkNjUxNjlhZjczNjQ0OGViNWE2NjY0NjEzNGMxNDQwMTUyNzEzYTcifQ== * feat: A new value `TPU_V5_LITEPOD` is added to enum `AcceleratorType` feat: A new field `search_entry_point` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new message `SearchEntryPoint` is added feat: A new field `private_service_connect_config` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new value `INVALID_TOKEN_VALUE` is added to enum `RecordErrorType` feat: A new field `deploy_task_name` is added to message `.google.cloud.aiplatform.v1.PublisherModel` docs: A comment for field `parent` in message `.google.cloud.aiplatform.v1.CreateFeatureGroupRequest` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.NotebookRuntimeTemplate` is changed docs: A comment for field `base_model` in message `.google.cloud.aiplatform.v1.TuningJob` is changed docs: A comment for field `tuned_model_display_name` in message `.google.cloud.aiplatform.v1.TuningJob` is changed docs: A comment for field `epoch_count` in message `.google.cloud.aiplatform.v1.SupervisedHyperParameters` is changed docs: A comment for field `learning_rate_multiplier` in message `.google.cloud.aiplatform.v1.SupervisedHyperParameters` is changed docs: A comment for field `training_dataset_uri` in message `.google.cloud.aiplatform.v1.SupervisedTuningSpec` is changed docs: A comment for field `validation_dataset_uri` in message `.google.cloud.aiplatform.v1.SupervisedTuningSpec` is changed PiperOrigin-RevId: 629522152 Source-Link: googleapis/googleapis@f9767ca Source-Link: googleapis/googleapis-gen@95e3cf4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6Ijk1ZTNjZjRhNjUxODBlN2E4ZTI2ODUzYTAzYzMzNWM3N2E5OGQwYzUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: A new field `search_entry_point` is added to message `.google.cloud.aiplatform.v1beta1.GroundingMetadata` feat: A new message `SearchEntryPoint` is added feat: A new method `UpdateDatasetVersion` is added to service `DatasetService` feat: A new message `UpdateDatasetVersionRequest` is added feat: A new field `private_service_connect_config` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new field `app_id` is added to message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` feat: A new value `INVALID_TOKEN_VALUE` is added to enum `RecordErrorType` feat: A new field `valid_sparse_record_count` is added to message `.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata` feat: A new field `invalid_sparse_record_count` is added to message `.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata` feat: A new message `DirectNotebookSource` is added feat: A new message `CustomEnvironmentSpec` is added feat: A new field `direct_notebook_source` is added to message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` feat: A new field `custom_environment_spec` is added to message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` feat: A new message `CreateNotebookExecutionJobRequest` is added feat: A new field `deploy_task_name` is added to message `.google.cloud.aiplatform.v1beta1.PublisherModel` feat: A new field `fine_tune` is added to message `.google.cloud.aiplatform.v1beta1.PublisherModel` feat: A new field `create_notebook_execution_job_request` is added to message `.google.cloud.aiplatform.v1beta1.Schedule` feat: A new message `RagResource` is added feat: A new field `rag_resources` is added to message `.google.cloud.aiplatform.v1beta1.VertexRagStore` feat: A new field `vector_distance_threshold` is added to message `.google.cloud.aiplatform.v1beta1.VertexRagStore` feat: A new field `failed_rag_files_count` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesResponse` feat: A new field `skipped_rag_files_count` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesResponse` feat: A new field `import_rag_files_config` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesOperationMetadata` feat: A new message `RagResource` is added feat: A new field `rag_resources` is added to message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` feat: A new field `vector_distance_threshold` is added to message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` fix!: An existing method `ChatCompletions` is removed from service `PredictionService` fix!: An existing message `ChatCompletionsRequest` is removed docs: A comment for field `rouge_type` in message `.google.cloud.aiplatform.v1beta1.RougeSpec` is changed docs: A comment for field `file_input_gcs_bucket` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `file_output_gcs_bucket` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `serving_config_name` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `big_query` in message `.google.cloud.aiplatform.v1beta1.FeatureGroup` is changed docs: A comment for field `parent` in message `.google.cloud.aiplatform.v1beta1.CreateFeatureGroupRequest` is changed docs: A comment for field `feature_vector` in message `.google.cloud.aiplatform.v1beta1.IndexDatapoint` is changed docs: A comment for field `vectors_count` in message `.google.cloud.aiplatform.v1beta1.IndexStats` is changed docs: A comment for enum value `EMBEDDING_SIZE_MISMATCH` in enum `RecordErrorType` is changed docs: A comment for field `distance` in message `.google.cloud.aiplatform.v1beta1.FindNeighborsResponse` is changed docs: A comment for field `gcs_notebook_source` in message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` is changed docs: A comment for field `gcs_output_uri` in message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate` is changed docs: A comment for field `rag_corpora` in message `.google.cloud.aiplatform.v1beta1.VertexRagStore` is changed docs: A comment for field `gcs_source` in message `.google.cloud.aiplatform.v1beta1.RagFile` is changed docs: A comment for field `rag_corpora` in message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` is changed PiperOrigin-RevId: 629842300 Source-Link: googleapis/googleapis@f86c175 Source-Link: googleapis/googleapis-gen@281af7a Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjI4MWFmN2E0ODViZmRkMmU5ZWIyODBjZDg4ZjhkNjYwYTYxMzU3ODEifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent 5e14553 commit fe2a4e3

File tree

247 files changed

+16102
-3134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+16102
-3134
lines changed

packages/google-cloud-aiplatform/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
409409
| Dataset_service.restore_dataset_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.restore_dataset_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.restore_dataset_version.js,packages/google-cloud-aiplatform/samples/README.md) |
410410
| Dataset_service.search_data_items | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.search_data_items.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.search_data_items.js,packages/google-cloud-aiplatform/samples/README.md) |
411411
| Dataset_service.update_dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.update_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.update_dataset.js,packages/google-cloud-aiplatform/samples/README.md) |
412+
| Dataset_service.update_dataset_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.update_dataset_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/dataset_service.update_dataset_version.js,packages/google-cloud-aiplatform/samples/README.md) |
412413
| Deployment_resource_pool_service.create_deployment_resource_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.create_deployment_resource_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.create_deployment_resource_pool.js,packages/google-cloud-aiplatform/samples/README.md) |
413414
| Deployment_resource_pool_service.delete_deployment_resource_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.delete_deployment_resource_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.delete_deployment_resource_pool.js,packages/google-cloud-aiplatform/samples/README.md) |
414415
| Deployment_resource_pool_service.get_deployment_resource_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.get_deployment_resource_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/deployment_resource_pool_service.get_deployment_resource_pool.js,packages/google-cloud-aiplatform/samples/README.md) |
@@ -601,10 +602,13 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
601602
| Model_service.upload_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.upload_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.upload_model.js,packages/google-cloud-aiplatform/samples/README.md) |
602603
| Notebook_service.assign_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.assign_notebook_runtime.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.assign_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
603604
| Notebook_service.create_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.create_notebook_runtime_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.create_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
605+
| Notebook_service.delete_notebook_execution_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_execution_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_execution_job.js,packages/google-cloud-aiplatform/samples/README.md) |
604606
| Notebook_service.delete_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_runtime.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
605607
| Notebook_service.delete_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_runtime_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.delete_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
608+
| Notebook_service.get_notebook_execution_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_execution_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_execution_job.js,packages/google-cloud-aiplatform/samples/README.md) |
606609
| Notebook_service.get_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_runtime.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
607610
| Notebook_service.get_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_runtime_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.get_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
611+
| Notebook_service.list_notebook_execution_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_execution_jobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_execution_jobs.js,packages/google-cloud-aiplatform/samples/README.md) |
608612
| Notebook_service.list_notebook_runtime_templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_runtime_templates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_runtime_templates.js,packages/google-cloud-aiplatform/samples/README.md) |
609613
| Notebook_service.list_notebook_runtimes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_runtimes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.list_notebook_runtimes.js,packages/google-cloud-aiplatform/samples/README.md) |
610614
| Notebook_service.start_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.start_notebook_runtime.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1beta1/notebook_service.start_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto

+3
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,7 @@ enum AcceleratorType {
6464

6565
// TPU v4.
6666
TPU_V4_POD = 10;
67+
68+
// TPU v5.
69+
TPU_V5_LITEPOD = 12;
6770
}

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/content.proto

+15
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,19 @@ message GroundingMetadata {
418418
// Optional. List of grounding attributions.
419419
repeated GroundingAttribution grounding_attributions = 2
420420
[(google.api.field_behavior) = OPTIONAL];
421+
422+
// Optional. Google search entry for the following-up web searches.
423+
optional SearchEntryPoint search_entry_point = 4
424+
[(google.api.field_behavior) = OPTIONAL];
425+
}
426+
427+
// Google search entry point.
428+
message SearchEntryPoint {
429+
// Optional. Web content snippet that can be embedded in a web page or an app
430+
// webview.
431+
string rendered_content = 1 [(google.api.field_behavior) = OPTIONAL];
432+
433+
// Optional. Base64 encoded JSON representing array of <search term, search
434+
// url> tuple.
435+
bytes sdk_blob = 2 [(google.api.field_behavior) = OPTIONAL];
421436
}

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/endpoint.proto

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import "google/cloud/aiplatform/v1/encryption_spec.proto";
2222
import "google/cloud/aiplatform/v1/explanation.proto";
2323
import "google/cloud/aiplatform/v1/io.proto";
2424
import "google/cloud/aiplatform/v1/machine_resources.proto";
25+
import "google/cloud/aiplatform/v1/service_networking.proto";
2526
import "google/protobuf/timestamp.proto";
2627

2728
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
@@ -126,6 +127,14 @@ message Endpoint {
126127
// can be set.
127128
bool enable_private_service_connect = 17 [deprecated = true];
128129

130+
// Optional. Configuration for private service connect.
131+
//
132+
// [network][google.cloud.aiplatform.v1.Endpoint.network] and
133+
// [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config]
134+
// are mutually exclusive.
135+
PrivateServiceConnectConfig private_service_connect_config = 21
136+
[(google.api.field_behavior) = OPTIONAL];
137+
129138
// Output only. Resource name of the Model Monitoring job associated with this
130139
// Endpoint if monitoring is enabled by
131140
// [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob].

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_registry_service.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ service FeatureRegistryService {
165165
message CreateFeatureGroupRequest {
166166
// Required. The resource name of the Location to create FeatureGroups.
167167
// Format:
168-
// `projects/{project}/locations/{location}'`
168+
// `projects/{project}/locations/{location}`
169169
string parent = 1 [
170170
(google.api.field_behavior) = REQUIRED,
171171
(google.api.resource_reference) = {

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/genai_tuning_service.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/index_service.proto

+3
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ message NearestNeighborSearchOperationMetadata {
336336

337337
// File is not in UTF_8 format.
338338
INVALID_ENCODING = 13;
339+
340+
// Token restrict value is invalid.
341+
INVALID_TOKEN_VALUE = 15;
339342
}
340343

341344
// The error type of this record.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/notebook_runtime.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ message NotebookRuntimeTemplate {
5555
pattern: "projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}"
5656
};
5757

58-
// Output only. The resource name of the NotebookRuntimeTemplate.
59-
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
58+
// The resource name of the NotebookRuntimeTemplate.
59+
string name = 1;
6060

6161
// Required. The display name of the NotebookRuntimeTemplate.
6262
// The name can be up to 128 characters long and can consist of any UTF-8

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/publisher_model.proto

+5
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ message PublisherModel {
149149
// any of its supporting files.
150150
string artifact_uri = 4 [(google.api.field_behavior) = OPTIONAL];
151151

152+
// Optional. The name of the deploy task (e.g., "text to image
153+
// generation").
154+
optional string deploy_task_name = 10
155+
[(google.api.field_behavior) = OPTIONAL];
156+
152157
// Required. The title of the regional resource reference.
153158
string title = 8 [(google.api.field_behavior) = REQUIRED];
154159

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tool.proto

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ message FunctionResponse {
121121

122122
// Defines a retrieval tool that model can call to access external knowledge.
123123
message Retrieval {
124+
// The source of the retrieval.
124125
oneof source {
125126
// Set to use data source powered by Vertex AI Search.
126127
VertexAISearch vertex_ai_search = 2;

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tuning_job.proto

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ message TuningJob {
4141
};
4242

4343
oneof source_model {
44-
// Model name for tuning, e.g., "gemini-1.0-pro-002".
44+
// The base model that is being tuned, e.g., "gemini-1.0-pro-002".
4545
string base_model = 4;
4646
}
4747

@@ -58,8 +58,8 @@ message TuningJob {
5858
];
5959

6060
// Optional. The display name of the
61-
// [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to
62-
// 128 characters long and can consist of any UTF-8 characters.
61+
// [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
62+
// characters long and can consist of any UTF-8 characters.
6363
string tuned_model_display_name = 2 [(google.api.field_behavior) = OPTIONAL];
6464

6565
// Optional. The description of the
@@ -253,10 +253,11 @@ message SupervisedHyperParameters {
253253
ADAPTER_SIZE_SIXTEEN = 4;
254254
}
255255

256-
// Optional. Number of training epoches for this tuning job.
256+
// Optional. Number of complete passes the model makes over the entire
257+
// training dataset during training.
257258
int64 epoch_count = 1 [(google.api.field_behavior) = OPTIONAL];
258259

259-
// Optional. Learning rate multiplier for tuning.
260+
// Optional. Multiplier for adjusting the default learning rate.
260261
double learning_rate_multiplier = 2 [(google.api.field_behavior) = OPTIONAL];
261262

262263
// Optional. Adapter size for tuning.
@@ -266,11 +267,11 @@ message SupervisedHyperParameters {
266267
// Tuning Spec for Supervised Tuning.
267268
message SupervisedTuningSpec {
268269
// Required. Cloud Storage path to file containing training dataset for
269-
// tuning.
270+
// tuning. The dataset must be formatted as a JSONL file.
270271
string training_dataset_uri = 1 [(google.api.field_behavior) = REQUIRED];
271272

272273
// Optional. Cloud Storage path to file containing validation dataset for
273-
// tuning.
274+
// tuning. The dataset must be formatted as a JSONL file.
274275
string validation_dataset_uri = 2 [(google.api.field_behavior) = OPTIONAL];
275276

276277
// Optional. Hyperparameters for SFT.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/annotation.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/annotation_spec.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/artifact.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/completion_stats.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/content.proto

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 Google LLC
1+
// Copyright 2024 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -428,6 +428,10 @@ message GroundingMetadata {
428428
repeated string web_search_queries = 1
429429
[(google.api.field_behavior) = OPTIONAL];
430430

431+
// Optional. Google search entry for the following-up web searches.
432+
optional SearchEntryPoint search_entry_point = 4
433+
[(google.api.field_behavior) = OPTIONAL];
434+
431435
// Optional. Queries executed by the retrieval tools.
432436
repeated string retrieval_queries = 3
433437
[(google.api.field_behavior) = OPTIONAL];
@@ -436,3 +440,14 @@ message GroundingMetadata {
436440
repeated GroundingAttribution grounding_attributions = 2
437441
[(google.api.field_behavior) = OPTIONAL];
438442
}
443+
444+
// Google search entry point.
445+
message SearchEntryPoint {
446+
// Optional. Web content snippet that can be embedded in a web page or an app
447+
// webview.
448+
string rendered_content = 1 [(google.api.field_behavior) = OPTIONAL];
449+
450+
// Optional. Base64 encoded JSON representing array of <search term, search
451+
// url> tuple.
452+
bytes sdk_blob = 2 [(google.api.field_behavior) = OPTIONAL];
453+
}

0 commit comments

Comments
 (0)