Skip to content

Commit

Permalink
feat: A new field satisfies_pzs is added to message `.google.cloud.…
Browse files Browse the repository at this point in the history
…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 <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 15, 2024
1 parent aff05fb commit e4574ad
Show file tree
Hide file tree
Showing 145 changed files with 68,975 additions and 7,784 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ enum AcceleratorType {
// Unspecified accelerator type, which means no accelerator.
ACCELERATOR_TYPE_UNSPECIFIED = 0;

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

// Nvidia Tesla P100 GPU.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,4 +457,10 @@ message BatchPredictionJob {
//
// User can disable container logging by setting this flag to true.
bool disable_container_logging = 34;

// Output only. Reserved for future use.
bool satisfies_pzs = 36 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 37 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,48 @@ message VideoMetadata {

// Generation config.
message GenerationConfig {
// The configuration for routing the request to a specific model.
message RoutingConfig {
// When automated routing is specified, the routing will be determined by
// the pretrained routing model and customer provided model routing
// preference.
message AutoRoutingMode {
// The model routing preference.
enum ModelRoutingPreference {
// Unspecified model routing preference.
UNKNOWN = 0;

// Prefer higher quality over low cost.
PRIORITIZE_QUALITY = 1;

// Balanced model routing preference.
BALANCED = 2;

// Prefer lower cost over higher quality.
PRIORITIZE_COST = 3;
}

// The model routing preference.
optional ModelRoutingPreference model_routing_preference = 1;
}

// When manual routing is set, the specified model will be used directly.
message ManualRoutingMode {
// The model name to use. Only the public LLM models are accepted. e.g.
// 'gemini-1.5-pro-001'.
optional string model_name = 1;
}

// Routing mode.
oneof routing_config {
// Automated routing.
AutoRoutingMode auto_mode = 1;

// Manual routing.
ManualRoutingMode manual_mode = 2;
}
}

// Optional. Controls the randomness of predictions.
optional float temperature = 1 [(google.api.field_behavior) = OPTIONAL];

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

// Optional. Seed.
optional int32 seed = 12 [(google.api.field_behavior) = OPTIONAL];

// Optional. Output response mimetype of the generated candidate text.
// Supported mimetype:
// - `text/plain`: (default) Text output.
Expand All @@ -178,6 +223,10 @@ message GenerationConfig {
// Compatible mimetypes:
// `application/json`: Schema for JSON response.
optional Schema response_schema = 16 [(google.api.field_behavior) = OPTIONAL];

// Optional. Routing configuration.
optional RoutingConfig routing_config = 17
[(google.api.field_behavior) = OPTIONAL];
}

// Safety settings.
Expand Down Expand Up @@ -317,34 +366,34 @@ message Candidate {
// The finish reason is unspecified.
FINISH_REASON_UNSPECIFIED = 0;

// Natural stop point of the model or provided stop sequence.
// Token generation reached a natural stopping point or a configured stop
// sequence.
STOP = 1;

// The maximum number of tokens as specified in the request was reached.
// Token generation reached the configured maximum output tokens.
MAX_TOKENS = 2;

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

// The token generation was stopped as the response was flagged for
// unauthorized citations.
// Token generation stopped because the content potentially contains
// copyright violations.
RECITATION = 4;

// All other reasons that stopped the token generation
// All other reasons that stopped the token generation.
OTHER = 5;

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

// The token generation was stopped as the response was flagged for
// the prohibited contents.
// Token generation stopped for potentially containing prohibited content.
PROHIBITED_CONTENT = 7;

// The token generation was stopped as the response was flagged for
// Sensitive Personally Identifiable Information (SPII) contents.
// Token generation stopped because the content potentially contains
// Sensitive Personally Identifiable Information (SPII).
SPII = 8;

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

// Output only. Average log probability score of the candidate.
double avg_logprobs = 9 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The reason why the model stopped generating tokens.
// If empty, the model has not stopped generating the tokens.
FinishReason finish_reason = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ message CustomJob {
// The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzs = 18 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Represents the spec of a CustomJob.
Expand Down Expand Up @@ -352,19 +358,25 @@ message PythonPackageSpec {
// All parameters related to queuing and scheduling of custom jobs.
message Scheduling {
// Optional. This determines which type of scheduling strategy to use. Right
// now users have two options such as ON_DEMAND which will use regular on
// demand resources to schedule the job, the other is LOW_COST which would
// now users have two options such as STANDARD which will use regular on
// demand resources to schedule the job, the other is SPOT which would
// leverage spot resources alongwith regular resources to schedule
// the job.
enum Strategy {
// Strategy will default to ON_DEMAND.
// Strategy will default to STANDARD.
STRATEGY_UNSPECIFIED = 0;

// Regular on-demand provisioning strategy.
ON_DEMAND = 1;
ON_DEMAND = 1 [deprecated = true];

// Low cost by making potential use of spot resources.
LOW_COST = 2;
LOW_COST = 2 [deprecated = true];

// Standard provisioning strategy uses regular on-demand resources.
STANDARD = 3;

// Spot provisioning strategy uses spot resources.
SPOT = 4;
}

// The maximum job running time. The default is 7 days.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ message DataItem {
// Optional. Used to perform consistent read-modify-write updates. If not set,
// a blind "overwrite" update happens.
string etag = 7 [(google.api.field_behavior) = OPTIONAL];

// Output only. Reserved for future use.
bool satisfies_pzs = 10 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ message Dataset {
// Optional. Reference to the public base model last used by the dataset. Only
// set for prompt datasets.
string model_reference = 18 [(google.api.field_behavior) = OPTIONAL];

// Output only. Reserved for future use.
bool satisfies_pzs = 19 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Describes the location from where we import data into a Dataset, together
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ service DatasetService {
option (google.api.http) = {
post: "/v1/{parent=projects/*/locations/*}/datasets"
body: "dataset"
additional_bindings { post: "/v1/datasets" body: "dataset" }
};
option (google.api.method_signature) = "parent,dataset";
option (google.longrunning.operation_info) = {
Expand All @@ -64,6 +65,7 @@ service DatasetService {
rpc GetDataset(GetDatasetRequest) returns (Dataset) {
option (google.api.http) = {
get: "/v1/{name=projects/*/locations/*/datasets/*}"
additional_bindings { get: "/v1/{name=datasets/*}" }
};
option (google.api.method_signature) = "name";
}
Expand All @@ -73,6 +75,10 @@ service DatasetService {
option (google.api.http) = {
patch: "/v1/{dataset.name=projects/*/locations/*/datasets/*}"
body: "dataset"
additional_bindings {
patch: "/v1/{dataset.name=datasets/*}"
body: "dataset"
}
};
option (google.api.method_signature) = "dataset,update_mask";
}
Expand All @@ -81,6 +87,7 @@ service DatasetService {
rpc ListDatasets(ListDatasetsRequest) returns (ListDatasetsResponse) {
option (google.api.http) = {
get: "/v1/{parent=projects/*/locations/*}/datasets"
additional_bindings { get: "/v1/datasets" }
};
option (google.api.method_signature) = "parent";
}
Expand All @@ -90,6 +97,7 @@ service DatasetService {
returns (google.longrunning.Operation) {
option (google.api.http) = {
delete: "/v1/{name=projects/*/locations/*/datasets/*}"
additional_bindings { delete: "/v1/{name=datasets/*}" }
};
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
Expand Down Expand Up @@ -130,6 +138,10 @@ service DatasetService {
option (google.api.http) = {
post: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions"
body: "dataset_version"
additional_bindings {
post: "/v1/{parent=datasets/*}/datasetVersions"
body: "dataset_version"
}
};
option (google.api.method_signature) = "parent,dataset_version";
option (google.longrunning.operation_info) = {
Expand All @@ -144,6 +156,10 @@ service DatasetService {
option (google.api.http) = {
patch: "/v1/{dataset_version.name=projects/*/locations/*/datasets/*/datasetVersions/*}"
body: "dataset_version"
additional_bindings {
patch: "/v1/{dataset_version.name=datasets/*/datasetVersions/*}"
body: "dataset_version"
}
};
option (google.api.method_signature) = "dataset_version,update_mask";
}
Expand All @@ -153,6 +169,7 @@ service DatasetService {
returns (google.longrunning.Operation) {
option (google.api.http) = {
delete: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}"
additional_bindings { delete: "/v1/{name=datasets/*/datasetVersions/*}" }
};
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
Expand All @@ -165,6 +182,7 @@ service DatasetService {
rpc GetDatasetVersion(GetDatasetVersionRequest) returns (DatasetVersion) {
option (google.api.http) = {
get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}"
additional_bindings { get: "/v1/{name=datasets/*/datasetVersions/*}" }
};
option (google.api.method_signature) = "name";
}
Expand All @@ -174,6 +192,7 @@ service DatasetService {
returns (ListDatasetVersionsResponse) {
option (google.api.http) = {
get: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions"
additional_bindings { get: "/v1/{parent=datasets/*}/datasetVersions" }
};
option (google.api.method_signature) = "parent";
}
Expand All @@ -183,6 +202,9 @@ service DatasetService {
returns (google.longrunning.Operation) {
option (google.api.http) = {
get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore"
additional_bindings {
get: "/v1/{name=datasets/*/datasetVersions/*}:restore"
}
};
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,10 @@ message DatasetVersion {
// Output only. Reference to the public base model last used by the dataset
// version. Only set for prompt dataset versions.
string model_reference = 9 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzs = 10 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,10 @@ message DeploymentResourcePool {
// Output only. Timestamp when this DeploymentResourcePool was created.
google.protobuf.Timestamp create_time = 4
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,10 @@ message EntityType {
// values older than `offline_storage_ttl_days` since the feature generation
// time. If unset (or explicitly set to 0), default to 4000 days TTL.
int32 offline_storage_ttl_days = 10 [(google.api.field_behavior) = OPTIONAL];

// Output only. Reserved for future use.
bool satisfies_pzs = 11 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Loading

0 comments on commit e4574ad

Please sign in to comment.