Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: add PredictRequestResponseLoggingConfig to Endpoint in aiplatfo…
Browse files Browse the repository at this point in the history
…rm v1 endpoint.proto (#275)

* feat: add PredictRequestResponseLoggingConfig to Endpoint in aiplatform v1 endpoint.proto

PiperOrigin-RevId: 433794371

Source-Link: googleapis/googleapis@e0f0642

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3afc3ec18e795c859231a2c0f8ef172a65056e0d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2FmYzNlYzE4ZTc5NWM4NTkyMzFhMmMwZjhlZjE3MmE2NTA1NmUwZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 10, 2022
1 parent 7c8eac0 commit 3e5dc67
Show file tree
Hide file tree
Showing 62 changed files with 76,307 additions and 75,980 deletions.
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/annotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

import "google/cloud/aiplatform/v1/user_action_reference.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/annotation_spec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/artifact.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/value.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/batch_prediction_job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/completion_stats.proto";
Expand All @@ -26,7 +25,6 @@ import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
import "google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto";
import "google/cloud/aiplatform/v1/model_monitoring.proto";
import "google/cloud/aiplatform/v1/unmanaged_container_model.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/completion_stats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/context.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/value.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/custom_job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/data_item.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

Expand Down
3 changes: 0 additions & 3 deletions protos/google/cloud/aiplatform/v1/data_labeling_job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/accelerator_type.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
import "google/cloud/aiplatform/v1/specialist_pool.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/dataset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/dataset_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import "google/cloud/aiplatform/v1/annotation_spec.proto";
import "google/cloud/aiplatform/v1/data_item.proto";
import "google/cloud/aiplatform/v1/dataset.proto";
import "google/cloud/aiplatform/v1/operation.proto";
import "google/cloud/aiplatform/v1/training_pipeline.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";

Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/deployed_index_ref.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/deployed_model_ref.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/encryption_spec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
26 changes: 22 additions & 4 deletions protos/google/cloud/aiplatform/v1/endpoint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/explanation.proto";
import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
import "google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto";
import "google/cloud/aiplatform/v1/model_monitoring.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down Expand Up @@ -117,7 +114,7 @@ message Endpoint {
// Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or
// [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect],
// can be set.
bool enable_private_service_connect = 17;
bool enable_private_service_connect = 17 [deprecated = true];

// Output only. Resource name of the Model Monitoring job associated with this Endpoint
// if monitoring is enabled by [CreateModelDeploymentMonitoringJob][].
Expand All @@ -129,6 +126,9 @@ message Endpoint {
type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
}
];

// Configures the request-response logging for online prediction.
PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
}

// A deployment of a Model. Endpoints contain one or more DeployedModels.
Expand Down Expand Up @@ -232,3 +232,21 @@ message PrivateEndpoints {
// connect is enabled.
string service_attachment = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Configuration for logging request-response to a BigQuery table.
message PredictRequestResponseLoggingConfig {
// If logging is enabled or not.
bool enabled = 1;

// Percentage of requests to be logged, expressed as a fraction in
// range(0,1].
double sampling_rate = 2;

// BigQuery table for logging.
// If only given project, a new dataset will be created with name
// `logging_<endpoint-display-name>_<endpoint-id>` where
// <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
// most special characters will become underscores). If no table name is
// given, a new table will be created with name `request_response_logging`
BigQueryDestination bigquery_destination = 3;
}
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/entity_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/feature.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/env_var.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/value.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/explanation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/cloud/aiplatform/v1/explanation_metadata.proto";
import "google/cloud/aiplatform/v1/io.proto";
import "google/protobuf/struct.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/struct.proto";

Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/feature.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/feature_selector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/featurestore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/featurestore_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/entity_type.proto";
import "google/cloud/aiplatform/v1/feature.proto";
import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto";
import "google/cloud/aiplatform/v1/feature_selector.proto";
import "google/cloud/aiplatform/v1/featurestore.proto";
import "google/cloud/aiplatform/v1/featurestore_online_service.proto";
import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/operation.proto";
import "google/longrunning/operations.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/custom_job.proto";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/index.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/deployed_index_ref.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/index_endpoint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/index.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
import "google/protobuf/timestamp.proto";

Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/io.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
2 changes: 0 additions & 2 deletions protos/google/cloud/aiplatform/v1/job_state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
option java_multiple_files = true;
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/lineage_subgraph.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/cloud/aiplatform/v1/artifact.proto";
import "google/cloud/aiplatform/v1/event.proto";
import "google/cloud/aiplatform/v1/execution.proto";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/machine_resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/cloud/aiplatform/v1/accelerator_type.proto";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/metadata_schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
Expand Down
1 change: 0 additions & 1 deletion protos/google/cloud/aiplatform/v1/metadata_store.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.aiplatform.v1;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
Expand Down
Loading

0 comments on commit 3e5dc67

Please sign in to comment.