Skip to content

Commit 1abd9a7

Browse files
feat: A new field score is added to message .google.cloud.aiplatform.v1.Candidate (#5577)
* feat: A new message `ApiAuth` is added feat: A new field `display_name` is added to message `.google.cloud.aiplatform.v1beta1.CachedContent` feat: A new field `score` is added to message `.google.cloud.aiplatform.v1beta1.Candidate` feat: A new enum `Strategy` is added feat: A new field `strategy` is added to message `.google.cloud.aiplatform.v1beta1.Scheduling` feat: A new field `dedicated_endpoint_enabled` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new field `dedicated_endpoint_dns` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new message `NumericFilter` is added feat: A new field `numeric_filters` is added to message `.google.cloud.aiplatform.v1beta1.NearestNeighborQuery` feat: A new message `SlackSource` is added feat: A new message `JiraSource` is added feat: A new field `is_hugging_face_model` is added to message `.google.cloud.aiplatform.v1beta1.GetPublisherModelRequest` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.ModelMonitor` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.ModelMonitor` feat: A new field `psc_interface_config` is added to message `.google.cloud.aiplatform.v1beta1.PersistentResource` feat: A new field `ray_logs_spec` is added to message `.google.cloud.aiplatform.v1beta1.RaySpec` feat: A new message `RayLogsSpec` is added feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.PipelineJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.PipelineJob` feat: A new field `system_instruction` is added to message `.google.cloud.aiplatform.v1beta1.CountTokensRequest` feat: A new field `tools` is added to message `.google.cloud.aiplatform.v1beta1.CountTokensRequest` feat: A new resource_definition `compute.googleapis.com/NetworkAttachment` is added feat: A new message `PscInterfaceConfig` is added feat: A new field `billable_sum` is added to message `.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution` feat: A new field `total_billable_token_count` is added to message `.google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats` feat: A new value `ADAPTER_SIZE_THIRTY_TWO` is added to enum `AdapterSize` feat: A new field `slack_source` is added to message `.google.cloud.aiplatform.v1beta1.RagFile` feat: A new field `jira_source` is added to message `.google.cloud.aiplatform.v1beta1.RagFile` feat: A new field `slack_source` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig` feat: A new field `jira_source` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig` docs: A comment for field `name` in message `.google.cloud.aiplatform.v1beta1.Dataset` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1beta1.DatasetVersion` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1beta1.UpdateFeatureOnlineStoreRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1beta1.UpdateFeatureViewRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1beta1.UpdateFeatureGroupRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1beta1.UpdateFeatureRequest` is changed docs: A comment for field `language_code` in message `.google.cloud.aiplatform.v1beta1.GetPublisherModelRequest` is changed docs: A comment for field `language_code` in message `.google.cloud.aiplatform.v1beta1.ListPublisherModelsRequest` is changed docs: A comment for field `model` in message `.google.cloud.aiplatform.v1beta1.CountTokensRequest` is changed docs: A comment for field `instances` in message `.google.cloud.aiplatform.v1beta1.CountTokensRequest` is changed docs: A comment for field `contents` in message `.google.cloud.aiplatform.v1beta1.CountTokensRequest` is changed docs: A comment for message `TrialContext` is changed docs: A comment for field `disable_attribution` in message `.google.cloud.aiplatform.v1beta1.Retrieval` is changed PiperOrigin-RevId: 655643950 Source-Link: googleapis/googleapis@6cabb8b Source-Link: googleapis/googleapis-gen@35f815d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjM1ZjgxNWQ5N2Y1Mjk4NjYyOWYwMDBiZDA5NGQ2MzYzYjc5YWRjZjQifQ== * feat: A new field `score` is added to message `.google.cloud.aiplatform.v1.Candidate` feat: A new message `Segment` is added feat: A new message `GroundingChunk` is added feat: A new message `GroundingSupport` is added feat: A new field `grounding_chunks` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new field `grounding_supports` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new enum `Strategy` is added feat: A new field `strategy` is added to message `.google.cloud.aiplatform.v1.Scheduling` feat: A new field `dedicated_endpoint_enabled` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `dedicated_endpoint_dns` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new message `NumericFilter` is added feat: A new field `numeric_filters` is added to message `.google.cloud.aiplatform.v1.NearestNeighborQuery` feat: A new field `is_hugging_face_model` is added to message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` feat: A new message `NotebookExecutionJob` is added feat: A new resource_definition `aiplatform.googleapis.com/NotebookExecutionJob` is added feat: A new method `CreateNotebookExecutionJob` is added to service `NotebookService` feat: A new method `GetNotebookExecutionJob` is added to service `NotebookService` feat: A new method `ListNotebookExecutionJobs` is added to service `NotebookService` feat: A new method `DeleteNotebookExecutionJob` is added to service `NotebookService` feat: A new enum `NotebookExecutionJobView` is added feat: A new message `CreateNotebookExecutionJobRequest` is added feat: A new message `CreateNotebookExecutionJobOperationMetadata` is added feat: A new message `GetNotebookExecutionJobRequest` is added feat: A new message `ListNotebookExecutionJobsRequest` is added feat: A new message `ListNotebookExecutionJobsResponse` is added feat: A new message `DeleteNotebookExecutionJobRequest` is added feat: A new field `ray_logs_spec` is added to message `.google.cloud.aiplatform.v1.RaySpec` feat: A new message `RayLogsSpec` is added feat: A new field `system_instruction` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `tools` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `billable_sum` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution` feat: A new field `total_billable_token_count` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDataStats` feat: A new value `ADAPTER_SIZE_THIRTY_TWO` is added to enum `AdapterSize` docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.Dataset` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.DatasetVersion` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureViewRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureRequest` is changed docs: A comment for field `language_code` in message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` is changed docs: A comment for field `model` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `instances` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `contents` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for message `TrialContext` is changed docs: A comment for field `disable_attribution` in message `.google.cloud.aiplatform.v1.Retrieval` is changed PiperOrigin-RevId: 656538560 Source-Link: googleapis/googleapis@0fa9ce8 Source-Link: googleapis/googleapis-gen@5c99c52 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjVjOTljNTI3MzZlNDkwNTYxMmVjYTY1NWE2OWM3NDY0Mjc3OWVjOWEifQ== * 🦉 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>
1 parent 2d39b8a commit 1abd9a7

File tree

189 files changed

+26394
-1210
lines changed

Some content is hidden

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

189 files changed

+26394
-1210
lines changed

packages/google-cloud-aiplatform/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,15 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
296296
| Model_service.update_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/model_service.update_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/v1/model_service.update_model.js,packages/google-cloud-aiplatform/samples/README.md) |
297297
| Model_service.upload_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/model_service.upload_model.js,packages/google-cloud-aiplatform/samples/README.md) |
298298
| Notebook_service.assign_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.assign_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
299+
| Notebook_service.create_notebook_execution_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/notebook_service.create_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/v1/notebook_service.create_notebook_execution_job.js,packages/google-cloud-aiplatform/samples/README.md) |
299300
| Notebook_service.create_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.create_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
301+
| Notebook_service.delete_notebook_execution_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.delete_notebook_execution_job.js,packages/google-cloud-aiplatform/samples/README.md) |
300302
| Notebook_service.delete_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.delete_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
301303
| Notebook_service.delete_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.delete_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
304+
| Notebook_service.get_notebook_execution_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.get_notebook_execution_job.js,packages/google-cloud-aiplatform/samples/README.md) |
302305
| Notebook_service.get_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.get_notebook_runtime.js,packages/google-cloud-aiplatform/samples/README.md) |
303306
| Notebook_service.get_notebook_runtime_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.get_notebook_runtime_template.js,packages/google-cloud-aiplatform/samples/README.md) |
307+
| Notebook_service.list_notebook_execution_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.list_notebook_execution_jobs.js,packages/google-cloud-aiplatform/samples/README.md) |
304308
| Notebook_service.list_notebook_runtime_templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.list_notebook_runtime_templates.js,packages/google-cloud-aiplatform/samples/README.md) |
305309
| Notebook_service.list_notebook_runtimes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/notebook_service.list_notebook_runtimes.js,packages/google-cloud-aiplatform/samples/README.md) |
306310
| Notebook_service.start_notebook_runtime | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/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/v1/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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ enum AcceleratorType {
3030
ACCELERATOR_TYPE_UNSPECIFIED = 0;
3131

3232
// Nvidia Tesla K80 GPU.
33-
NVIDIA_TESLA_K80 = 1;
33+
NVIDIA_TESLA_K80 = 1 [deprecated = true];
3434

3535
// Nvidia Tesla P100 GPU.
3636
NVIDIA_TESLA_P100 = 2;

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

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ message Candidate {
357357
// Output only. Content parts of the candidate.
358358
Content content = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
359359

360+
// Output only. Confidence score of the candidate.
361+
double score = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
362+
360363
// Output only. The reason why the model stopped generating tokens.
361364
// If empty, the model has not stopped generating the tokens.
362365
FinishReason finish_reason = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -381,6 +384,70 @@ message Candidate {
381384
[(google.api.field_behavior) = OUTPUT_ONLY];
382385
}
383386

387+
// Segment of the content.
388+
message Segment {
389+
// Output only. The index of a Part object within its parent Content object.
390+
int32 part_index = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
391+
392+
// Output only. Start index in the given Part, measured in bytes. Offset from
393+
// the start of the Part, inclusive, starting at zero.
394+
int32 start_index = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
395+
396+
// Output only. End index in the given Part, measured in bytes. Offset from
397+
// the start of the Part, exclusive, starting at zero.
398+
int32 end_index = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
399+
400+
// Output only. The text corresponding to the segment from the response.
401+
string text = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
402+
}
403+
404+
// Grounding chunk.
405+
message GroundingChunk {
406+
// Chunk from the web.
407+
message Web {
408+
// URI reference of the chunk.
409+
optional string uri = 1;
410+
411+
// Title of the chunk.
412+
optional string title = 2;
413+
}
414+
415+
// Chunk from context retrieved by the retrieval tools.
416+
message RetrievedContext {
417+
// URI reference of the attribution.
418+
optional string uri = 1;
419+
420+
// Title of the attribution.
421+
optional string title = 2;
422+
}
423+
424+
// Chunk type.
425+
oneof chunk_type {
426+
// Grounding chunk from the web.
427+
Web web = 1;
428+
429+
// Grounding chunk from context retrieved by the retrieval tools.
430+
RetrievedContext retrieved_context = 2;
431+
}
432+
}
433+
434+
// Grounding support.
435+
message GroundingSupport {
436+
// Segment of the content this support belongs to.
437+
optional Segment segment = 1;
438+
439+
// A list of indices (into 'grounding_chunk') specifying the
440+
// citations associated with the claim. For instance [1,3,4] means
441+
// that grounding_chunk[1], grounding_chunk[3],
442+
// grounding_chunk[4] are the retrieved content attributed to the claim.
443+
repeated int32 grounding_chunk_indices = 2;
444+
445+
// Confidence score of the support references. Ranges from 0 to 1. 1 is the
446+
// most confident. This list must have the same size as the
447+
// grounding_chunk_indices.
448+
repeated float confidence_scores = 3;
449+
}
450+
384451
// Metadata returned to client when grounding is enabled.
385452
message GroundingMetadata {
386453
// Optional. Web search queries for the following-up web search.
@@ -390,6 +457,13 @@ message GroundingMetadata {
390457
// Optional. Google search entry for the following-up web searches.
391458
optional SearchEntryPoint search_entry_point = 4
392459
[(google.api.field_behavior) = OPTIONAL];
460+
461+
// List of supporting references retrieved from specified grounding source.
462+
repeated GroundingChunk grounding_chunks = 5;
463+
464+
// Optional. List of grounding support.
465+
repeated GroundingSupport grounding_supports = 6
466+
[(google.api.field_behavior) = OPTIONAL];
393467
}
394468

395469
// Google search entry point.

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,22 @@ message PythonPackageSpec {
351351

352352
// All parameters related to queuing and scheduling of custom jobs.
353353
message Scheduling {
354+
// Optional. This determines which type of scheduling strategy to use. Right
355+
// now users have two options such as ON_DEMAND which will use regular on
356+
// demand resources to schedule the job, the other is LOW_COST which would
357+
// leverage spot resources alongwith regular resources to schedule
358+
// the job.
359+
enum Strategy {
360+
// Strategy will default to ON_DEMAND.
361+
STRATEGY_UNSPECIFIED = 0;
362+
363+
// Regular on-demand provisioning strategy.
364+
ON_DEMAND = 1;
365+
366+
// Low cost by making potential use of spot resources.
367+
LOW_COST = 2;
368+
}
369+
354370
// The maximum job running time. The default is 7 days.
355371
google.protobuf.Duration timeout = 1;
356372

@@ -359,6 +375,9 @@ message Scheduling {
359375
// resilient to workers leaving and joining a job.
360376
bool restart_job_on_worker_restart = 3;
361377

378+
// Optional. This determines which type of scheduling strategy to use.
379+
Strategy strategy = 4 [(google.api.field_behavior) = OPTIONAL];
380+
362381
// Optional. Indicates if the job should retry for internal errors after the
363382
// job starts running. If true, overrides
364383
// `Scheduling.restart_job_on_worker_restart` to false.

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ message Dataset {
3939
pattern: "projects/{project}/locations/{location}/datasets/{dataset}"
4040
};
4141

42-
// Output only. The resource name of the Dataset.
43-
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
42+
// Output only. Identifier. The resource name of the Dataset.
43+
string name = 1 [
44+
(google.api.field_behavior) = OUTPUT_ONLY,
45+
(google.api.field_behavior) = IDENTIFIER
46+
];
4447

4548
// Required. The user-defined name of the Dataset.
4649
// 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/dataset_version.proto

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ message DatasetVersion {
3636
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}"
3737
};
3838

39-
// Output only. The resource name of the DatasetVersion.
40-
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
39+
// Output only. Identifier. The resource name of the DatasetVersion.
40+
string name = 1 [
41+
(google.api.field_behavior) = OUTPUT_ONLY,
42+
(google.api.field_behavior) = IDENTIFIER
43+
];
4144

4245
// Output only. Timestamp when this DatasetVersion was created.
4346
google.protobuf.Timestamp create_time = 2

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,28 @@ message Endpoint {
150150
// Configures the request-response logging for online prediction.
151151
PredictRequestResponseLoggingConfig predict_request_response_logging_config =
152152
18;
153+
154+
// If true, the endpoint will be exposed through a dedicated
155+
// DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS
156+
// will be isolated from other users' traffic and will have better performance
157+
// and reliability.
158+
// Note: Once you enabled dedicated endpoint, you won't be able to send
159+
// request to the shared DNS {region}-aiplatform.googleapis.com. The
160+
// limitation will be removed soon.
161+
bool dedicated_endpoint_enabled = 24;
162+
163+
// Output only. DNS of the dedicated endpoint. Will only be populated if
164+
// dedicated_endpoint_enabled is true.
165+
// Format:
166+
// `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`.
167+
string dedicated_endpoint_dns = 25
168+
[(google.api.field_behavior) = OUTPUT_ONLY];
169+
170+
// Output only. Reserved for future use.
171+
bool satisfies_pzs = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
172+
173+
// Output only. Reserved for future use.
174+
bool satisfies_pzi = 28 [(google.api.field_behavior) = OUTPUT_ONLY];
153175
}
154176

155177
// A deployment of a Model. Endpoints contain one or more DeployedModels.

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,11 @@ message UpdateFeatureOnlineStoreRequest {
318318
//
319319
// Updatable fields:
320320
//
321-
// * `big_query_source`
322-
// * `bigtable`
323321
// * `labels`
324-
// * `sync_config`
322+
// * `description`
323+
// * `bigtable`
324+
// * `bigtable.auto_scaling`
325+
// * `bigtable.enable_multi_region_replica`
325326
google.protobuf.FieldMask update_mask = 2;
326327
}
327328

@@ -481,7 +482,14 @@ message UpdateFeatureViewRequest {
481482
// Updatable fields:
482483
//
483484
// * `labels`
484-
// * `serviceAgentType`
485+
// * `service_agent_type`
486+
// * `big_query_source`
487+
// * `big_query_source.uri`
488+
// * `big_query_source.entity_id_columns`
489+
// * `feature_registry_source`
490+
// * `feature_registry_source.feature_groups`
491+
// * `sync_config`
492+
// * `sync_config.cron`
485493
google.protobuf.FieldMask update_mask = 2;
486494
}
487495

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

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,61 @@ message NearestNeighborQuery {
175175
repeated string deny_tokens = 3 [(google.api.field_behavior) = OPTIONAL];
176176
}
177177

178+
// Numeric filter is used to search a subset of the entities by using boolean
179+
// rules on numeric columns.
180+
// For example:
181+
// Database Point 0: {name: “a” value_int: 42} {name: “b” value_float: 1.0}
182+
// Database Point 1: {name: “a” value_int: 10} {name: “b” value_float: 2.0}
183+
// Database Point 2: {name: “a” value_int: -1} {name: “b” value_float: 3.0}
184+
// Query: {name: “a” value_int: 12 operator: LESS} // Matches Point 1, 2
185+
// {name: “b” value_float: 2.0 operator: EQUAL} // Matches Point 1
186+
message NumericFilter {
187+
// Datapoints for which Operator is true relative to the query’s Value
188+
// field will be allowlisted.
189+
enum Operator {
190+
// Unspecified operator.
191+
OPERATOR_UNSPECIFIED = 0;
192+
193+
// Entities are eligible if their value is < the query's.
194+
LESS = 1;
195+
196+
// Entities are eligible if their value is <= the query's.
197+
LESS_EQUAL = 2;
198+
199+
// Entities are eligible if their value is == the query's.
200+
EQUAL = 3;
201+
202+
// Entities are eligible if their value is >= the query's.
203+
GREATER_EQUAL = 4;
204+
205+
// Entities are eligible if their value is > the query's.
206+
GREATER = 5;
207+
208+
// Entities are eligible if their value is != the query's.
209+
NOT_EQUAL = 6;
210+
}
211+
212+
// The type of Value must be consistent for all datapoints with a given
213+
// name. This is verified at runtime.
214+
oneof Value {
215+
// int value type.
216+
int64 value_int = 2;
217+
218+
// float value type.
219+
float value_float = 3;
220+
221+
// double value type.
222+
double value_double = 4;
223+
}
224+
225+
// Required. Column name in BigQuery that used as filters.
226+
string name = 1 [(google.api.field_behavior) = REQUIRED];
227+
228+
// Optional. This MUST be specified for queries and must NOT be specified
229+
// for database points.
230+
optional Operator op = 5 [(google.api.field_behavior) = OPTIONAL];
231+
}
232+
178233
// Parameters that can be overrided in each query to tune query latency and
179234
// recall.
180235
message Parameters {
@@ -210,6 +265,10 @@ message NearestNeighborQuery {
210265
repeated StringFilter string_filters = 4
211266
[(google.api.field_behavior) = OPTIONAL];
212267

268+
// Optional. The list of numeric filters.
269+
repeated NumericFilter numeric_filters = 8
270+
[(google.api.field_behavior) = OPTIONAL];
271+
213272
// Optional. Crowding is a constraint on a neighbor list produced by nearest
214273
// neighbor search requiring that no more than
215274
// sper_crowding_attribute_neighbor_count of the k neighbors returned have the

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ message UpdateFeatureGroupRequest {
286286
// Updatable fields:
287287
//
288288
// * `labels`
289+
// * `description`
290+
// * `big_query`
291+
// * `big_query.entity_id_columns`
289292
google.protobuf.FieldMask update_mask = 2;
290293
}
291294

0 commit comments

Comments
 (0)