Skip to content

Commit 4e836c7

Browse files
Google APIscopybara-github
authored andcommitted
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: 385903722
1 parent 9a0b354 commit 4e836c7

File tree

72 files changed

+680
-33
lines changed

Some content is hidden

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

72 files changed

+680
-33
lines changed

google/cloud/aiplatform/v1beta1/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ proto_library(
9797
"//google/api:annotations_proto",
9898
"//google/api:client_proto",
9999
"//google/api:field_behavior_proto",
100+
"//google/api:httpbody_proto",
100101
"//google/api:resource_proto",
101102
"//google/longrunning:operations_proto",
102103
"//google/rpc:status_proto",
@@ -212,6 +213,7 @@ go_proto_library(
212213
protos = [":aiplatform_proto"],
213214
deps = [
214215
"//google/api:annotations_go_proto",
216+
"//google/api:httpbody_go_proto",
215217
"//google/longrunning:longrunning_go_proto",
216218
"//google/rpc:status_go_proto",
217219
"//google/type:money_go_proto",
@@ -223,9 +225,11 @@ go_gapic_library(
223225
srcs = [":aiplatform_proto_with_info"],
224226
grpc_service_config = "aiplatform_grpc_service_config.json",
225227
importpath = "cloud.google.com/go/aiplatform/apiv1beta1;aiplatform",
228+
metadata = True,
226229
service_yaml = "aiplatform_v1beta1.yaml",
227230
deps = [
228231
":aiplatform_go_proto",
232+
"//google/api:httpbody_go_proto",
229233
"//google/longrunning:longrunning_go_proto",
230234
"@com_google_cloud_go//longrunning:go_default_library",
231235
"@com_google_cloud_go//longrunning/autogen:go_default_library",
@@ -246,6 +250,7 @@ go_gapic_assembly_pkg(
246250
name = "gapi-cloud-aiplatform-v1beta1-go",
247251
deps = [
248252
":aiplatform_go_gapic",
253+
":aiplatform_go_gapic_srcjar-metadata.srcjar",
249254
":aiplatform_go_gapic_srcjar-test.srcjar",
250255
":aiplatform_go_proto",
251256
],

google/cloud/aiplatform/v1beta1/accelerator_type.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1;
1818

1919
import "google/api/annotations.proto";
2020

21+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2122
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2223
option java_multiple_files = true;
2324
option java_outer_classname = "AcceleratorTypeProto";
2425
option java_package = "com.google.cloud.aiplatform.v1beta1";
26+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
27+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
2528

2629
// Represents a hardware accelerator type.
2730
enum AcceleratorType {

google/cloud/aiplatform/v1beta1/annotation.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ package google.cloud.aiplatform.v1beta1;
1818

1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
21-
2221
import "google/cloud/aiplatform/v1beta1/user_action_reference.proto";
2322
import "google/protobuf/struct.proto";
2423
import "google/protobuf/timestamp.proto";
2524
import "google/api/annotations.proto";
2625

26+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2727
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2828
option java_multiple_files = true;
2929
option java_outer_classname = "AnnotationProto";
3030
option java_package = "com.google.cloud.aiplatform.v1beta1";
31+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
32+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3133

3234
// Used to assign specific AnnotationSpec to a particular area of a DataItem or
3335
// the whole part of the DataItem.

google/cloud/aiplatform/v1beta1/annotation_spec.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ import "google/api/resource.proto";
2121
import "google/protobuf/timestamp.proto";
2222
import "google/api/annotations.proto";
2323

24+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2425
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2526
option java_multiple_files = true;
2627
option java_outer_classname = "AnnotationSpecProto";
2728
option java_package = "com.google.cloud.aiplatform.v1beta1";
29+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
30+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
2831

2932
// Identifies a concept with which DataItems may be annotated with.
3033
message AnnotationSpec {

google/cloud/aiplatform/v1beta1/artifact.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ import "google/protobuf/struct.proto";
2323
import "google/protobuf/timestamp.proto";
2424
import "google/api/annotations.proto";
2525

26+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2627
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2728
option java_multiple_files = true;
2829
option java_outer_classname = "ArtifactProto";
2930
option java_package = "com.google.cloud.aiplatform.v1beta1";
31+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
32+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3033

3134
// Instance of a general artifact.
3235
message Artifact {

google/cloud/aiplatform/v1beta1/batch_prediction_job.proto

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ import "google/protobuf/timestamp.proto";
3131
import "google/rpc/status.proto";
3232
import "google/api/annotations.proto";
3333

34+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
3435
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
3536
option java_multiple_files = true;
3637
option java_outer_classname = "BatchPredictionJobProto";
3738
option java_package = "com.google.cloud.aiplatform.v1beta1";
39+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
40+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3841

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

@@ -114,7 +116,7 @@ message BatchPredictionJob {
114116
// prediction schemata. The `errors` table contains rows for which the
115117
// prediction has failed, it has instance columns, as per the
116118
// instance schema, followed by a single "errors" column, which as values
117-
// has [`google.rpc.Status`](Status)
119+
// has [google.rpc.Status][google.rpc.Status]
118120
// represented as a STRUCT, and containing only `code` and `message`.
119121
BigQueryDestination bigquery_destination = 3;
120122
}
@@ -139,6 +141,12 @@ message BatchPredictionJob {
139141
// format, into which the prediction output is written.
140142
string bigquery_output_dataset = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
141143
}
144+
145+
// Output only. The name of the BigQuery table created, in
146+
// `predictions_<timestamp>`
147+
// format, into which the prediction output is written.
148+
// Can be used by UI to generate the BigQuery output path, for example.
149+
string bigquery_output_table = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
142150
}
143151

144152
// Output only. Resource name of the BatchPredictionJob.

google/cloud/aiplatform/v1beta1/completion_stats.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ import "google/api/field_behavior.proto";
2020
import "google/rpc/status.proto";
2121
import "google/api/annotations.proto";
2222

23+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2324
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2425
option java_multiple_files = true;
2526
option java_outer_classname = "CompletionStatsProto";
2627
option java_package = "com.google.cloud.aiplatform.v1beta1";
28+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
29+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
2730

2831
// Success and error statistics of processing multiple entities
2932
// (for example, DataItems or structured data rows) in batch.

google/cloud/aiplatform/v1beta1/context.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ import "google/protobuf/struct.proto";
2323
import "google/protobuf/timestamp.proto";
2424
import "google/api/annotations.proto";
2525

26+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2627
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2728
option java_multiple_files = true;
2829
option java_outer_classname = "ContextProto";
2930
option java_package = "com.google.cloud.aiplatform.v1beta1";
31+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
32+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3033

3134
// Instance of a general context.
3235
message Context {

google/cloud/aiplatform/v1beta1/custom_job.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ import "google/protobuf/timestamp.proto";
2828
import "google/rpc/status.proto";
2929
import "google/api/annotations.proto";
3030

31+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
3132
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
3233
option java_multiple_files = true;
3334
option java_outer_classname = "CustomJobProto";
3435
option java_package = "com.google.cloud.aiplatform.v1beta1";
36+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
37+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3538

3639
// Represents a job that runs custom workloads such as a Docker container or a
3740
// Python package. A CustomJob can have multiple worker pools and each worker
@@ -88,6 +91,11 @@ message CustomJob {
8891
// then all resources created by the CustomJob will be encrypted with the
8992
// provided encryption key.
9093
EncryptionSpec encryption_spec = 12;
94+
95+
// Output only. The web access URIs for the training job.
96+
// The keys are the node names in the training jobs, e.g. workerpool0-0.
97+
// The values are the URIs for each node's web portal in the job.
98+
map<string, string> web_access_uris = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
9199
}
92100

93101
// Represents the spec of a CustomJob.
@@ -154,6 +162,10 @@ message CustomJobSpec {
154162
type: "aiplatform.googleapis.com/Tensorboard"
155163
}
156164
];
165+
166+
// Optional. Vertex AI will enable web portal access to the containers. The portals
167+
// can be accessed on web via the URLs given by [web_access_uris][].
168+
bool enable_web_access = 10 [(google.api.field_behavior) = OPTIONAL];
157169
}
158170

159171
// Represents the spec of a worker pool in a job.

google/cloud/aiplatform/v1beta1/data_item.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ package google.cloud.aiplatform.v1beta1;
1818

1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
21-
2221
import "google/protobuf/struct.proto";
2322
import "google/protobuf/timestamp.proto";
2423
import "google/api/annotations.proto";
2524

25+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2626
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
2727
option java_multiple_files = true;
2828
option java_outer_classname = "DataItemProto";
2929
option java_package = "com.google.cloud.aiplatform.v1beta1";
30+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
31+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
3032

3133
// A piece of data in a Dataset. Could be an image, a video, a document or plain
3234
// text.

0 commit comments

Comments
 (0)