Skip to content

Commit

Permalink
docs: fix typos (#178)
Browse files Browse the repository at this point in the history
feat: Adds BigQuery output table field to batch prediction job output config
feat: Adds Feature Store features
feat: Adds CustomJob.web_access_uris, CustomJob.enable_web_access fields
feat: Adds Endpoint.network, Endpoint.private_endpoints fields and PrivateEndpoints message
feat: Adds Execution.State constants: CACHED and CANCELLED
feat: Adds IndexEndpoint.private_ip_ranges field
feat: Adds IndexEndpointService.deployed_index_id field
feat: Adds MetadataService.DeleteArtifact and DeleteExecution methods
feat: Adds ModelMonitoringObjectConfig.explanation_config field and ModelMonitoringObjectConfig.ExplanationConfig message
feat: Adds ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.attribution_score_skew_thresholds and ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.attribution_score_drift_threshold fields
feat: Adds fields to Study message
PiperOrigin-RevId: 386417992
PiperOrigin-RevId: 385903722
feat: Removes breaking change from v1 version of AI Platform protos
PiperOrigin-RevId: 385812643
Source-Link: googleapis/googleapis@3744b86
Source-Link: googleapis/googleapis-gen@a3200c2
gcf-owl-bot[bot] authored Jul 23, 2021
1 parent 79eaf51 commit 376e192
Showing 82 changed files with 10,596 additions and 1,577 deletions.
Original file line number Diff line number Diff line change
@@ -41,12 +41,8 @@ service PredictionService {
option (google.api.http) = {
post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict"
body: "*"
additional_bindings {
post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:predictInternal"
body: "*"
}
};
option (google.api.method_signature) = "endpoint,parameters,instances";
option (google.api.method_signature) = "endpoint,instances,parameters";
}
}

Original file line number Diff line number Diff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1;

import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "AcceleratorTypeProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Represents a hardware accelerator type.
enum AcceleratorType {
Original file line number Diff line number Diff line change
@@ -18,16 +18,18 @@ package google.cloud.aiplatform.v1beta1;

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

import "google/cloud/aiplatform/v1beta1/user_action_reference.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "AnnotationProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Used to assign specific AnnotationSpec to a particular area of a DataItem or
// the whole part of the DataItem.
Original file line number Diff line number Diff line change
@@ -21,10 +21,13 @@ import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "AnnotationSpecProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Identifies a concept with which DataItems may be annotated with.
message AnnotationSpec {
Original file line number Diff line number Diff line change
@@ -23,10 +23,13 @@ import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "ArtifactProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Instance of a general artifact.
message Artifact {
Original file line number Diff line number Diff line change
@@ -31,10 +31,13 @@ import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "BatchPredictionJobProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// A job that uses a [Model][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model] to produce predictions
// on multiple [input instances][google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config]. If
@@ -93,8 +96,7 @@ message BatchPredictionJob {
// `errors_N.<extension>` files are created (N depends on total number
// of failed predictions). These files contain the failed instances,
// as per their schema, followed by an additional `error` field which as
// value has
// [`google.rpc.Status`](Status)
// value has [google.rpc.Status][google.rpc.Status]
// containing only `code` and `message` fields.
GcsDestination gcs_destination = 2;

@@ -114,7 +116,7 @@ message BatchPredictionJob {
// prediction schemata. The `errors` table contains rows for which the
// prediction has failed, it has instance columns, as per the
// instance schema, followed by a single "errors" column, which as values
// has [`google.rpc.Status`](Status)
// has [google.rpc.Status][google.rpc.Status]
// represented as a STRUCT, and containing only `code` and `message`.
BigQueryDestination bigquery_destination = 3;
}
@@ -139,6 +141,12 @@ message BatchPredictionJob {
// format, into which the prediction output is written.
string bigquery_output_dataset = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Output only. The name of the BigQuery table created, in
// `predictions_<timestamp>`
// format, into which the prediction output is written.
// Can be used by UI to generate the BigQuery output path, for example.
string bigquery_output_table = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Output only. Resource name of the BatchPredictionJob.
Original file line number Diff line number Diff line change
@@ -20,10 +20,13 @@ import "google/api/field_behavior.proto";
import "google/rpc/status.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "CompletionStatsProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Success and error statistics of processing multiple entities
// (for example, DataItems or structured data rows) in batch.
Original file line number Diff line number Diff line change
@@ -23,10 +23,13 @@ import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "ContextProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Instance of a general context.
message Context {
Original file line number Diff line number Diff line change
@@ -28,10 +28,13 @@ import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "CustomJobProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Represents a job that runs custom workloads such as a Docker container or a
// Python package. A CustomJob can have multiple worker pools and each worker
@@ -88,6 +91,11 @@ message CustomJob {
// then all resources created by the CustomJob will be encrypted with the
// provided encryption key.
EncryptionSpec encryption_spec = 12;

// Output only. The web access URIs for the training job.
// The keys are the node names in the training jobs, e.g. workerpool0-0.
// The values are the URIs for each node's web portal in the job.
map<string, string> web_access_uris = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Represents the spec of a CustomJob.
@@ -154,6 +162,10 @@ message CustomJobSpec {
type: "aiplatform.googleapis.com/Tensorboard"
}
];

// Optional. Vertex AI will enable web portal access to the containers. The portals
// can be accessed on web via the URLs given by [web_access_uris][].
bool enable_web_access = 10 [(google.api.field_behavior) = OPTIONAL];
}

// Represents the spec of a worker pool in a job.
Original file line number Diff line number Diff line change
@@ -18,15 +18,17 @@ package google.cloud.aiplatform.v1beta1;

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

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

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DataItemProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// A piece of data in a Dataset. Could be an image, a video, a document or plain
// text.
Original file line number Diff line number Diff line change
@@ -28,10 +28,13 @@ import "google/rpc/status.proto";
import "google/type/money.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DataLabelingJobProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// DataLabelingJob is used to trigger a human labeling job on unlabeled data
// from the following Dataset:
Original file line number Diff line number Diff line change
@@ -24,10 +24,13 @@ import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DatasetProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// A collection of DataItems and Annotations on them.
message Dataset {
Original file line number Diff line number Diff line change
@@ -29,10 +29,13 @@ import "google/cloud/aiplatform/v1beta1/training_pipeline.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DatasetServiceProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

service DatasetService {
option (google.api.default_host) = "aiplatform.googleapis.com";
Original file line number Diff line number Diff line change
@@ -20,10 +20,13 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DeployedIndexRefProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Points to a DeployedIndex.
message DeployedIndexRef {
Original file line number Diff line number Diff line change
@@ -20,10 +20,13 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "DeployedModelNameProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Points to a DeployedModel.
message DeployedModelRef {
Original file line number Diff line number Diff line change
@@ -19,10 +19,13 @@ package google.cloud.aiplatform.v1beta1;
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "EncryptionSpecProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Represents a customer-managed encryption key spec that can be applied to
// a top-level resource.
Original file line number Diff line number Diff line change
@@ -25,10 +25,13 @@ import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "EndpointProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Models are deployed into it, and afterwards Endpoint is called to obtain
// predictions and explanations.
@@ -87,6 +90,21 @@ message Endpoint {
// Endpoint and all sub-resources of this Endpoint will be secured by
// this key.
EncryptionSpec encryption_spec = 10;

// The full name of the Google Compute Engine
// [network](/compute/docs/networks-and-firewalls#networks) to which the
// Endpoint should be peered.
//
// Private services access must already be configured for the network. If left
// unspecified, the Endpoint is not peered with any network.
//
// [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
// projects/{project}/global/networks/{network}.
// Where {project} is a project number, as in '12345', and {network} is
// network name.
string network = 13 [(google.api.resource_reference) = {
type: "compute.googleapis.com/Network"
}];
}

// A deployment of a Model. Endpoints contain one or more DeployedModels.
@@ -158,4 +176,22 @@ message DeployedModel {
// receives prediction requests at a high queries per second rate (QPS).
// Estimate your costs before enabling this option.
bool enable_access_logging = 13;

// Output only. Provide paths for users to send predict/explain/health requests directly to
// the deployed model services running on Cloud via private services access.
// This field is populated if [network][google.cloud.aiplatform.v1beta1.Endpoint.network] is configured.
PrivateEndpoints private_endpoints = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// PrivateEndpoints is used to provide paths for users to send
// requests via private services access.
message PrivateEndpoints {
// Output only. Http(s) path to send prediction requests.
string predict_http_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Http(s) path to send explain requests.
string explain_http_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Http(s) path to send health check requests.
string health_http_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
@@ -25,10 +25,13 @@ import "google/cloud/aiplatform/v1beta1/operation.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "EndpointServiceProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

service EndpointService {
option (google.api.default_host) = "aiplatform.googleapis.com";
Original file line number Diff line number Diff line change
@@ -23,10 +23,13 @@ import "google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "EntityTypeProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// An entity type is a type of object in a system that needs to be modeled and
// have stored information about. For example, driver is an entity type, and
Original file line number Diff line number Diff line change
@@ -19,10 +19,13 @@ package google.cloud.aiplatform.v1beta1;
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "EnvVarProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";

// Represents an environment variable present in a Container or Python Module.
message EnvVar {
Loading

0 comments on commit 376e192

Please sign in to comment.