Skip to content

Commit e4574ad

Browse files
feat: A new field satisfies_pzs is added to message .google.cloud.aiplatform.v1.BatchPredictionJob (#5605)
* feat: add reservation affinity proto feat: add spot field to Vertex Prediction's Dedicated Resources and Custom Training's Scheduling Strategy docs: update the description for the deprecated GPU (K80) PiperOrigin-RevId: 659688229 Source-Link: googleapis/googleapis@333c1ec Source-Link: googleapis/googleapis-gen@523afc9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjUyM2FmYzliYjI1OWE3NTliMWVlZjVmNjk5NGY0M2I1MmIwMGI5OGMifQ== * feat: add reservation affinity proto feat: add spot field to Vertex Prediction's Dedicated Resources and Custom Training's Scheduling Strategy docs: update the description for the deprecated GPU (K80) PiperOrigin-RevId: 659693494 Source-Link: googleapis/googleapis@f907e15 Source-Link: googleapis/googleapis-gen@9ad32e0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjlhZDMyZTA3ODdlOThlMGNjNjJlYTRhYzcxZjliNjEwNjYzZmU3ZTUifQ== * feat: add pointwise and pairwise metrics to evaluation service PiperOrigin-RevId: 659984672 Source-Link: googleapis/googleapis@634d59e Source-Link: googleapis/googleapis-gen@05b8c47 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjA1YjhjNDc3MjlhZDZmZjNjMTg4NDU5NWI0ODNjOGZjOTgyOTllOGYifQ== * feat: add evaluation service proto to v1 PiperOrigin-RevId: 660115183 Source-Link: googleapis/googleapis@9d6389c Source-Link: googleapis/googleapis-gen@aa9597b Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImFhOTU5N2JlYTkwMjc5N2MwNDZiOGU4NjAwZDk4M2E1MDdiMTdiYjIifQ== * feat: Allow v1beta1 api calls for some dataset_service, llm_utility_service, and prediction_service apis without project and location PiperOrigin-RevId: 660146060 Source-Link: googleapis/googleapis@dba0d79 Source-Link: googleapis/googleapis-gen@2fe4f9a Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjJmZTRmOWE4NDQ5OTM2MTY4MWM5ZDNlMDJlMmE5YmZlYjc1OWIwY2EifQ== * feat: Allow v1 api calls for some dataset_service, llm_utility_service, and prediction_service apis without project and location PiperOrigin-RevId: 660169876 Source-Link: googleapis/googleapis@1f17bca Source-Link: googleapis/googleapis-gen@2394698 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjIzOTQ2OTg2ZjVhNmY0ZDQxY2FhZDk4MzFjNDI1OTIxMDQ3ZDQ4NGIifQ== * feat: release advanced parsing options for rag files PiperOrigin-RevId: 660965686 Source-Link: googleapis/googleapis@a353d25 Source-Link: googleapis/googleapis-gen@02ac8bc Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjAyYWM4YmM1ZDFhYzI0YTQxNzM0MGYwMDYwNGYxNzg5MzM2YmRiYmYifQ== * feat: A new message `RoutingConfig` is added feat: A new field `seed` is added to message `.google.cloud.aiplatform.v1beta1.GenerationConfig` feat: A new field `routing_config` is added to message `.google.cloud.aiplatform.v1beta1.GenerationConfig` feat: A new field `avg_logprobs` is added to message `.google.cloud.aiplatform.v1beta1.Candidate` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.CustomJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.CustomJob` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.EntityType` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.EntityType` feat: A new message `TimeSeries` is added feat: A new field `time_series` is added to message `.google.cloud.aiplatform.v1beta1.FeatureGroup` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.FeatureOnlineStore` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.FeatureOnlineStore` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.FeatureView` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.FeatureView` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.FeatureViewSync` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.FeatureViewSync` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.Featurestore` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.Featurestore` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.HyperparameterTuningJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.HyperparameterTuningJob` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.Index` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.Index` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.IndexEndpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.IndexEndpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob` feat: A new field `hugging_face_token` is added to message `.google.cloud.aiplatform.v1beta1.GetPublisherModelRequest` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1beta1.NasJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1beta1.NasJob` feat: A new field `encryption_spec` is added to message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` feat: A new field `sample_request` is added to message `.google.cloud.aiplatform.v1beta1.PublisherModel` feat: A new field `service_attachment` is added to message `.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig` feat: A new field `total_truncated_example_count` is added to message `.google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats` feat: A new field `truncated_example_indices` is added to message `.google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats` fix!: An existing message `GroundingAttribution` is removed fix!: An existing field `grounding_attributions` is removed from message `.google.cloud.aiplatform.v1beta1.GroundingMetadata` fix!: An existing field `disable_attribution` is removed from message `.google.cloud.aiplatform.v1beta1.GoogleSearchRetrieval` docs: A comment for enum value `STOP` in enum `FinishReason` is changed docs: A comment for enum value `MAX_TOKENS` in enum `FinishReason` is changed docs: A comment for enum value `SAFETY` in enum `FinishReason` is changed docs: A comment for enum value `RECITATION` in enum `FinishReason` is changed docs: A comment for enum value `OTHER` in enum `FinishReason` is changed docs: A comment for enum value `BLOCKLIST` in enum `FinishReason` is changed docs: A comment for enum value `PROHIBITED_CONTENT` in enum `FinishReason` is changed docs: A comment for enum value `SPII` in enum `FinishReason` is changed docs: A comment for enum `Strategy` is changed docs: A comment for enum value `STRATEGY_UNSPECIFIED` in enum `Strategy` is changed docs: A comment for enum value `AUTO` in enum `Mode` is changed docs: A comment for field `distance` in message `.google.cloud.aiplatform.v1beta1.RagContexts` is changed PiperOrigin-RevId: 661167484 Source-Link: googleapis/googleapis@3c0b84d Source-Link: googleapis/googleapis-gen@a478f34 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImE0NzhmMzRmMzhjNzEyNzI5MmQ3YzM2N2RiMTFiY2JjZjZlOTRhN2YifQ== * feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.BatchPredictionJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.BatchPredictionJob` feat: A new message `RoutingConfig` is added feat: A new field `seed` is added to message `.google.cloud.aiplatform.v1.GenerationConfig` feat: A new field `routing_config` is added to message `.google.cloud.aiplatform.v1.GenerationConfig` feat: A new field `avg_logprobs` is added to message `.google.cloud.aiplatform.v1.Candidate` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.CustomJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.CustomJob` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.DataItem` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.DataItem` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Dataset` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Dataset` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.DatasetVersion` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.DatasetVersion` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.DeploymentResourcePool` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.DeploymentResourcePool` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.EntityType` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.EntityType` feat: A new message `TimeSeries` is added feat: A new field `time_series` is added to message `.google.cloud.aiplatform.v1.FeatureGroup` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.FeatureOnlineStore` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.FeatureOnlineStore` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.FeatureView` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.FeatureView` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.FeatureViewSync` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.FeatureViewSync` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Featurestore` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Featurestore` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.HyperparameterTuningJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.HyperparameterTuningJob` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Index` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Index` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.IndexEndpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.IndexEndpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob` feat: A new field `hugging_face_token` is added to message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.NasJob` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.NasJob` feat: A new field `encryption_spec` is added to message `.google.cloud.aiplatform.v1.NotebookExecutionJob` feat: A new field `sample_request` is added to message `.google.cloud.aiplatform.v1.PublisherModel` feat: A new resource_definition `compute.googleapis.com/NetworkAttachment` is added feat: A new field `service_attachment` is added to message `.google.cloud.aiplatform.v1.PrivateServiceConnectConfig` feat: A new field `total_truncated_example_count` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDataStats` feat: A new field `truncated_example_indices` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDataStats` docs: A comment for enum value `STOP` in enum `FinishReason` is changed docs: A comment for enum value `MAX_TOKENS` in enum `FinishReason` is changed docs: A comment for enum value `SAFETY` in enum `FinishReason` is changed docs: A comment for enum value `RECITATION` in enum `FinishReason` is changed docs: A comment for enum value `OTHER` in enum `FinishReason` is changed docs: A comment for enum value `BLOCKLIST` in enum `FinishReason` is changed docs: A comment for enum value `PROHIBITED_CONTENT` in enum `FinishReason` is changed docs: A comment for enum value `SPII` in enum `FinishReason` is changed docs: A comment for enum `Strategy` is changed docs: A comment for enum value `STRATEGY_UNSPECIFIED` in enum `Strategy` is changed docs: A comment for field `model` in message `.google.cloud.aiplatform.v1.GenerateContentRequest` is changed docs: A comment for enum value `AUTO` in enum `Mode` is changed PiperOrigin-RevId: 661337164 Source-Link: googleapis/googleapis@a5c87fe Source-Link: googleapis/googleapis-gen@e59dd78 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImU1OWRkNzg2YzEyY2QxZWExM2VkNWUxYjZiMDZlY2U4ODc0ZDVmM2IifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update index.ts --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent aff05fb commit e4574ad

145 files changed

Lines changed: 68975 additions & 7784 deletions

File tree

Some content is hidden

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

packages/google-cloud-aiplatform/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
135135
| Endpoint_service.mutate_deployed_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.mutate_deployed_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/endpoint_service.mutate_deployed_model.js,packages/google-cloud-aiplatform/samples/README.md) |
136136
| Endpoint_service.undeploy_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.undeploy_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/endpoint_service.undeploy_model.js,packages/google-cloud-aiplatform/samples/README.md) |
137137
| Endpoint_service.update_endpoint | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.update_endpoint.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/endpoint_service.update_endpoint.js,packages/google-cloud-aiplatform/samples/README.md) |
138+
| Evaluation_service.evaluate_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/evaluation_service.evaluate_instances.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/evaluation_service.evaluate_instances.js,packages/google-cloud-aiplatform/samples/README.md) |
138139
| Feature_online_store_admin_service.create_feature_online_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/feature_online_store_admin_service.create_feature_online_store.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/feature_online_store_admin_service.create_feature_online_store.js,packages/google-cloud-aiplatform/samples/README.md) |
139140
| Feature_online_store_admin_service.create_feature_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/feature_online_store_admin_service.create_feature_view.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/feature_online_store_admin_service.create_feature_view.js,packages/google-cloud-aiplatform/samples/README.md) |
140141
| Feature_online_store_admin_service.delete_feature_online_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/feature_online_store_admin_service.delete_feature_online_store.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/feature_online_store_admin_service.delete_feature_online_store.js,packages/google-cloud-aiplatform/samples/README.md) |

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ enum AcceleratorType {
2929
// Unspecified accelerator type, which means no accelerator.
3030
ACCELERATOR_TYPE_UNSPECIFIED = 0;
3131

32-
// Nvidia Tesla K80 GPU.
32+
// Deprecated: Nvidia Tesla K80 GPU has reached end of support,
33+
// see https://cloud.google.com/compute/docs/eol/k80-eol.
3334
NVIDIA_TESLA_K80 = 1 [deprecated = true];
3435

3536
// Nvidia Tesla P100 GPU.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,4 +457,10 @@ message BatchPredictionJob {
457457
//
458458
// User can disable container logging by setting this flag to true.
459459
bool disable_container_logging = 34;
460+
461+
// Output only. Reserved for future use.
462+
bool satisfies_pzs = 36 [(google.api.field_behavior) = OUTPUT_ONLY];
463+
464+
// Output only. Reserved for future use.
465+
bool satisfies_pzi = 37 [(google.api.field_behavior) = OUTPUT_ONLY];
460466
}

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

Lines changed: 66 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,48 @@ message VideoMetadata {
137137

138138
// Generation config.
139139
message GenerationConfig {
140+
// The configuration for routing the request to a specific model.
141+
message RoutingConfig {
142+
// When automated routing is specified, the routing will be determined by
143+
// the pretrained routing model and customer provided model routing
144+
// preference.
145+
message AutoRoutingMode {
146+
// The model routing preference.
147+
enum ModelRoutingPreference {
148+
// Unspecified model routing preference.
149+
UNKNOWN = 0;
150+
151+
// Prefer higher quality over low cost.
152+
PRIORITIZE_QUALITY = 1;
153+
154+
// Balanced model routing preference.
155+
BALANCED = 2;
156+
157+
// Prefer lower cost over higher quality.
158+
PRIORITIZE_COST = 3;
159+
}
160+
161+
// The model routing preference.
162+
optional ModelRoutingPreference model_routing_preference = 1;
163+
}
164+
165+
// When manual routing is set, the specified model will be used directly.
166+
message ManualRoutingMode {
167+
// The model name to use. Only the public LLM models are accepted. e.g.
168+
// 'gemini-1.5-pro-001'.
169+
optional string model_name = 1;
170+
}
171+
172+
// Routing mode.
173+
oneof routing_config {
174+
// Automated routing.
175+
AutoRoutingMode auto_mode = 1;
176+
177+
// Manual routing.
178+
ManualRoutingMode manual_mode = 2;
179+
}
180+
}
181+
140182
// Optional. Controls the randomness of predictions.
141183
optional float temperature = 1 [(google.api.field_behavior) = OPTIONAL];
142184

@@ -161,6 +203,9 @@ message GenerationConfig {
161203
// Optional. Frequency penalties.
162204
optional float frequency_penalty = 9 [(google.api.field_behavior) = OPTIONAL];
163205

206+
// Optional. Seed.
207+
optional int32 seed = 12 [(google.api.field_behavior) = OPTIONAL];
208+
164209
// Optional. Output response mimetype of the generated candidate text.
165210
// Supported mimetype:
166211
// - `text/plain`: (default) Text output.
@@ -178,6 +223,10 @@ message GenerationConfig {
178223
// Compatible mimetypes:
179224
// `application/json`: Schema for JSON response.
180225
optional Schema response_schema = 16 [(google.api.field_behavior) = OPTIONAL];
226+
227+
// Optional. Routing configuration.
228+
optional RoutingConfig routing_config = 17
229+
[(google.api.field_behavior) = OPTIONAL];
181230
}
182231

183232
// Safety settings.
@@ -317,34 +366,34 @@ message Candidate {
317366
// The finish reason is unspecified.
318367
FINISH_REASON_UNSPECIFIED = 0;
319368

320-
// Natural stop point of the model or provided stop sequence.
369+
// Token generation reached a natural stopping point or a configured stop
370+
// sequence.
321371
STOP = 1;
322372

323-
// The maximum number of tokens as specified in the request was reached.
373+
// Token generation reached the configured maximum output tokens.
324374
MAX_TOKENS = 2;
325375

326-
// The token generation was stopped as the response was flagged for safety
327-
// reasons. NOTE: When streaming the Candidate.content will be empty if
328-
// content filters blocked the output.
376+
// Token generation stopped because the content potentially contains safety
377+
// violations. NOTE: When streaming,
378+
// [content][google.cloud.aiplatform.v1.Candidate.content] is empty if
379+
// content filters blocks the output.
329380
SAFETY = 3;
330381

331-
// The token generation was stopped as the response was flagged for
332-
// unauthorized citations.
382+
// Token generation stopped because the content potentially contains
383+
// copyright violations.
333384
RECITATION = 4;
334385

335-
// All other reasons that stopped the token generation
386+
// All other reasons that stopped the token generation.
336387
OTHER = 5;
337388

338-
// The token generation was stopped as the response was flagged for the
339-
// terms which are included from the terminology blocklist.
389+
// Token generation stopped because the content contains forbidden terms.
340390
BLOCKLIST = 6;
341391

342-
// The token generation was stopped as the response was flagged for
343-
// the prohibited contents.
392+
// Token generation stopped for potentially containing prohibited content.
344393
PROHIBITED_CONTENT = 7;
345394

346-
// The token generation was stopped as the response was flagged for
347-
// Sensitive Personally Identifiable Information (SPII) contents.
395+
// Token generation stopped because the content potentially contains
396+
// Sensitive Personally Identifiable Information (SPII).
348397
SPII = 8;
349398

350399
// The function call generated by the model is invalid.
@@ -360,6 +409,9 @@ message Candidate {
360409
// Output only. Confidence score of the candidate.
361410
double score = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
362411

412+
// Output only. Average log probability score of the candidate.
413+
double avg_logprobs = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
414+
363415
// Output only. The reason why the model stopped generating tokens.
364416
// If empty, the model has not stopped generating the tokens.
365417
FinishReason finish_reason = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

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

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ message CustomJob {
109109
// The values are the URIs for each node's interactive shell.
110110
map<string, string> web_access_uris = 16
111111
[(google.api.field_behavior) = OUTPUT_ONLY];
112+
113+
// Output only. Reserved for future use.
114+
bool satisfies_pzs = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
115+
116+
// Output only. Reserved for future use.
117+
bool satisfies_pzi = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
112118
}
113119

114120
// Represents the spec of a CustomJob.
@@ -352,19 +358,25 @@ message PythonPackageSpec {
352358
// All parameters related to queuing and scheduling of custom jobs.
353359
message Scheduling {
354360
// 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
361+
// now users have two options such as STANDARD which will use regular on
362+
// demand resources to schedule the job, the other is SPOT which would
357363
// leverage spot resources alongwith regular resources to schedule
358364
// the job.
359365
enum Strategy {
360-
// Strategy will default to ON_DEMAND.
366+
// Strategy will default to STANDARD.
361367
STRATEGY_UNSPECIFIED = 0;
362368

363369
// Regular on-demand provisioning strategy.
364-
ON_DEMAND = 1;
370+
ON_DEMAND = 1 [deprecated = true];
365371

366372
// Low cost by making potential use of spot resources.
367-
LOW_COST = 2;
373+
LOW_COST = 2 [deprecated = true];
374+
375+
// Standard provisioning strategy uses regular on-demand resources.
376+
STANDARD = 3;
377+
378+
// Spot provisioning strategy uses spot resources.
379+
SPOT = 4;
368380
}
369381

370382
// The maximum job running time. The default is 7 days.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,10 @@ message DataItem {
7070
// Optional. Used to perform consistent read-modify-write updates. If not set,
7171
// a blind "overwrite" update happens.
7272
string etag = 7 [(google.api.field_behavior) = OPTIONAL];
73+
74+
// Output only. Reserved for future use.
75+
bool satisfies_pzs = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
76+
77+
// Output only. Reserved for future use.
78+
bool satisfies_pzi = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
7379
}

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ message Dataset {
118118
// Optional. Reference to the public base model last used by the dataset. Only
119119
// set for prompt datasets.
120120
string model_reference = 18 [(google.api.field_behavior) = OPTIONAL];
121+
122+
// Output only. Reserved for future use.
123+
bool satisfies_pzs = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
124+
125+
// Output only. Reserved for future use.
126+
bool satisfies_pzi = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
121127
}
122128

123129
// Describes the location from where we import data into a Dataset, together

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ service DatasetService {
5252
option (google.api.http) = {
5353
post: "/v1/{parent=projects/*/locations/*}/datasets"
5454
body: "dataset"
55+
additional_bindings { post: "/v1/datasets" body: "dataset" }
5556
};
5657
option (google.api.method_signature) = "parent,dataset";
5758
option (google.longrunning.operation_info) = {
@@ -64,6 +65,7 @@ service DatasetService {
6465
rpc GetDataset(GetDatasetRequest) returns (Dataset) {
6566
option (google.api.http) = {
6667
get: "/v1/{name=projects/*/locations/*/datasets/*}"
68+
additional_bindings { get: "/v1/{name=datasets/*}" }
6769
};
6870
option (google.api.method_signature) = "name";
6971
}
@@ -73,6 +75,10 @@ service DatasetService {
7375
option (google.api.http) = {
7476
patch: "/v1/{dataset.name=projects/*/locations/*/datasets/*}"
7577
body: "dataset"
78+
additional_bindings {
79+
patch: "/v1/{dataset.name=datasets/*}"
80+
body: "dataset"
81+
}
7682
};
7783
option (google.api.method_signature) = "dataset,update_mask";
7884
}
@@ -81,6 +87,7 @@ service DatasetService {
8187
rpc ListDatasets(ListDatasetsRequest) returns (ListDatasetsResponse) {
8288
option (google.api.http) = {
8389
get: "/v1/{parent=projects/*/locations/*}/datasets"
90+
additional_bindings { get: "/v1/datasets" }
8491
};
8592
option (google.api.method_signature) = "parent";
8693
}
@@ -90,6 +97,7 @@ service DatasetService {
9097
returns (google.longrunning.Operation) {
9198
option (google.api.http) = {
9299
delete: "/v1/{name=projects/*/locations/*/datasets/*}"
100+
additional_bindings { delete: "/v1/{name=datasets/*}" }
93101
};
94102
option (google.api.method_signature) = "name";
95103
option (google.longrunning.operation_info) = {
@@ -130,6 +138,10 @@ service DatasetService {
130138
option (google.api.http) = {
131139
post: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions"
132140
body: "dataset_version"
141+
additional_bindings {
142+
post: "/v1/{parent=datasets/*}/datasetVersions"
143+
body: "dataset_version"
144+
}
133145
};
134146
option (google.api.method_signature) = "parent,dataset_version";
135147
option (google.longrunning.operation_info) = {
@@ -144,6 +156,10 @@ service DatasetService {
144156
option (google.api.http) = {
145157
patch: "/v1/{dataset_version.name=projects/*/locations/*/datasets/*/datasetVersions/*}"
146158
body: "dataset_version"
159+
additional_bindings {
160+
patch: "/v1/{dataset_version.name=datasets/*/datasetVersions/*}"
161+
body: "dataset_version"
162+
}
147163
};
148164
option (google.api.method_signature) = "dataset_version,update_mask";
149165
}
@@ -153,6 +169,7 @@ service DatasetService {
153169
returns (google.longrunning.Operation) {
154170
option (google.api.http) = {
155171
delete: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}"
172+
additional_bindings { delete: "/v1/{name=datasets/*/datasetVersions/*}" }
156173
};
157174
option (google.api.method_signature) = "name";
158175
option (google.longrunning.operation_info) = {
@@ -165,6 +182,7 @@ service DatasetService {
165182
rpc GetDatasetVersion(GetDatasetVersionRequest) returns (DatasetVersion) {
166183
option (google.api.http) = {
167184
get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}"
185+
additional_bindings { get: "/v1/{name=datasets/*/datasetVersions/*}" }
168186
};
169187
option (google.api.method_signature) = "name";
170188
}
@@ -174,6 +192,7 @@ service DatasetService {
174192
returns (ListDatasetVersionsResponse) {
175193
option (google.api.http) = {
176194
get: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions"
195+
additional_bindings { get: "/v1/{parent=datasets/*}/datasetVersions" }
177196
};
178197
option (google.api.method_signature) = "parent";
179198
}
@@ -183,6 +202,9 @@ service DatasetService {
183202
returns (google.longrunning.Operation) {
184203
option (google.api.http) = {
185204
get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore"
205+
additional_bindings {
206+
get: "/v1/{name=datasets/*/datasetVersions/*}:restore"
207+
}
186208
};
187209
option (google.api.method_signature) = "name";
188210
option (google.longrunning.operation_info) = {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,10 @@ message DatasetVersion {
7171
// Output only. Reference to the public base model last used by the dataset
7272
// version. Only set for prompt dataset versions.
7373
string model_reference = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
74+
75+
// Output only. Reserved for future use.
76+
bool satisfies_pzs = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
77+
78+
// Output only. Reserved for future use.
79+
bool satisfies_pzi = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
7480
}

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,10 @@ message DeploymentResourcePool {
7474
// Output only. Timestamp when this DeploymentResourcePool was created.
7575
google.protobuf.Timestamp create_time = 4
7676
[(google.api.field_behavior) = OUTPUT_ONLY];
77+
78+
// Output only. Reserved for future use.
79+
bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
80+
81+
// Output only. Reserved for future use.
82+
bool satisfies_pzi = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
7783
}

0 commit comments

Comments
 (0)