Skip to content

Commit 9691f51

Browse files
Google APIscopybara-github
Google APIs
authored andcommitted
feat: add annotation_labels to ImportDataConfig in aiplatform v1 dataset.proto
feat: add start_time to BatchReadFeatureValuesRequest in aiplatform v1 featurestore_service.proto feat: add metadata_artifact to Model in aiplatform v1 model.proto feat: add failed_main_jobs and failed_pre_caching_check_jobs to ContainerDetail in aiplatform v1 pipeline_job.proto feat: add persist_ml_use_assignment to InputDataConfig in aiplatform v1 training_pipeline.proto PiperOrigin-RevId: 485963171
1 parent af14709 commit 9691f51

13 files changed

+61
-18
lines changed

google/cloud/aiplatform/v1/artifact.proto

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ message Artifact {
101101
string schema_version = 15;
102102

103103
// Properties of the Artifact.
104+
// Top level metadata keys' heading and trailing spaces will be trimmed.
104105
// The size of this field should not exceed 200KB.
105106
google.protobuf.Struct metadata = 16;
106107

google/cloud/aiplatform/v1/context.proto

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ message Context {
8686
string schema_version = 14;
8787

8888
// Properties of the Context.
89+
// Top level metadata keys' heading and trailing spaces will be trimmed.
8990
// The size of this field should not exceed 200KB.
9091
google.protobuf.Struct metadata = 15;
9192

google/cloud/aiplatform/v1/dataset.proto

+9
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ message ImportDataConfig {
112112
// file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
113113
map<string, string> data_item_labels = 2;
114114

115+
// Labels that will be applied to newly imported Annotations. If two
116+
// Annotations are identical, one of them will be deduped. Two Annotations are
117+
// considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload],
118+
// [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their
119+
// [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same.
120+
// These labels will be overridden by Annotation labels specified inside index
121+
// file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
122+
map<string, string> annotation_labels = 3;
123+
115124
// Required. Points to a YAML file stored on Google Cloud Storage describing the import
116125
// format. Validation will be done against the schema. The schema is defined
117126
// as an [OpenAPI 3.0.2 Schema

google/cloud/aiplatform/v1/execution.proto

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ message Execution {
107107
string schema_version = 14;
108108

109109
// Properties of the Execution.
110+
// Top level metadata keys' heading and trailing spaces will be trimmed.
110111
// The size of this field should not exceed 200KB.
111112
google.protobuf.Struct metadata = 15;
112113

google/cloud/aiplatform/v1/featurestore.proto

+4-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ message Featurestore {
116116
// and are immutable.
117117
map<string, string> labels = 6 [(google.api.field_behavior) = OPTIONAL];
118118

119-
// Optional. Config for online storage resources. If unset, the featurestore will
120-
// not have an online store and cannot be used for online serving.
119+
// Optional. Config for online storage resources. The field should not co-exist with the
120+
// field of `OnlineStoreReplicationConfig`. If both of it and
121+
// OnlineStoreReplicationConfig are unset, the feature store will not have an
122+
// online store and cannot be used for online serving.
121123
OnlineServingConfig online_serving_config = 7 [(google.api.field_behavior) = OPTIONAL];
122124

123125
// Output only. State of the featurestore.

google/cloud/aiplatform/v1/featurestore_service.proto

+6-1
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,11 @@ message BatchReadFeatureValuesRequest {
614614
// specifying entity IDs in the EntityType in
615615
// [BatchReadFeatureValuesRequest.request][] .
616616
repeated EntityTypeSpec entity_type_specs = 7 [(google.api.field_behavior) = REQUIRED];
617+
618+
// Optional. Excludes Feature values with feature generation timestamp before this
619+
// timestamp. If not set, retrieve oldest values kept in Feature Store.
620+
// Timestamp, if present, must not have higher than millisecond precision.
621+
google.protobuf.Timestamp start_time = 11 [(google.api.field_behavior) = OPTIONAL];
617622
}
618623

619624
// Request message for [FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues].
@@ -898,7 +903,7 @@ message CreateFeatureRequest {
898903
// Required. The ID to use for the Feature, which will become the final component of
899904
// the Feature's resource name.
900905
//
901-
// This value may be up to 60 characters, and valid characters are
906+
// This value may be up to 128 characters, and valid characters are
902907
// `[a-z0-9_]`. The first character cannot be a number.
903908
//
904909
// The value must be unique within an EntityType.

google/cloud/aiplatform/v1/index_endpoint.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ message IndexEndpoint {
8585
// are mutually exclusive.
8686
//
8787
// [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
88-
// projects/{project}/global/networks/{network}.
88+
// `projects/{project}/global/networks/{network}`.
8989
// Where {project} is a project number, as in '12345', and {network} is
9090
// network name.
9191
string network = 9 [(google.api.field_behavior) = OPTIONAL];

google/cloud/aiplatform/v1/metadata_service.proto

+9-4
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,8 @@ message ListArtifactsRequest {
556556
// `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
557557
//
558558
// Each of the above supported filter types can be combined together using
559-
// logical operators (`AND` & `OR`).
559+
// logical operators (`AND` & `OR`). Maximum nested expression depth allowed
560+
// is 5.
560561
//
561562
// For example: `display_name = "test" AND metadata.field1.bool_value = true`.
562563
string filter = 4;
@@ -750,7 +751,8 @@ message ListContextsRequest {
750751
// ```
751752
//
752753
// Each of the above supported filters can be combined together using
753-
// logical operators (`AND` & `OR`).
754+
// logical operators (`AND` & `OR`). Maximum nested expression depth allowed
755+
// is 5.
754756
//
755757
// For example: `display_name = "test" AND metadata.field1.bool_value = true`.
756758
string filter = 4;
@@ -1048,7 +1050,9 @@ message ListExecutionsRequest {
10481050
// `in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")`
10491051
//
10501052
// Each of the above supported filters can be combined together using
1051-
// logical operators (`AND` & `OR`).
1053+
// logical operators (`AND` & `OR`). Maximum nested expression depth allowed
1054+
// is 5.
1055+
//
10521056
// For example: `display_name = "test" AND metadata.field1.bool_value = true`.
10531057
string filter = 4;
10541058

@@ -1310,7 +1314,8 @@ message QueryArtifactLineageSubgraphRequest {
13101314
// For example: `metadata.field_1.number_value = 10.0`
13111315
//
13121316
// Each of the above supported filter types can be combined together using
1313-
// logical operators (`AND` & `OR`).
1317+
// logical operators (`AND` & `OR`). Maximum nested expression depth allowed
1318+
// is 5.
13141319
//
13151320
// For example: `display_name = "test" AND metadata.field1.bool_value = true`.
13161321
string filter = 3;

google/cloud/aiplatform/v1/model.proto

+7-2
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ message Model {
118118

119119
// User provided version aliases so that a model version can be referenced via
120120
// alias (i.e.
121-
// projects/{project}/locations/{location}/models/{model_id}@{version_alias}
121+
// `projects/{project}/locations/{location}/models/{model_id}@{version_alias}`
122122
// instead of auto-generated version id (i.e.
123-
// projects/{project}/locations/{location}/models/{model_id}@{version_id}).
123+
// `projects/{project}/locations/{location}/models/{model_id}@{version_id})`.
124124
// The format is [a-z][a-zA-Z0-9-]{0,126}[a-z0-9] to distinguish from
125125
// version_id. A default version alias will be created for the first version
126126
// of the model, and there must be exactly one default version alias for a
@@ -332,6 +332,11 @@ message Model {
332332
// Output only. Source of a model. It can either be automl training pipeline, custom
333333
// training pipeline, BigQuery ML, or existing Vertex AI Model.
334334
ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
335+
336+
// Output only. The resource name of the Artifact that was created in MetadataStore when
337+
// creating the Model. The Artifact resource name pattern is
338+
// `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
339+
string metadata_artifact = 44 [(google.api.field_behavior) = OUTPUT_ONLY];
335340
}
336341

337342
// Contains the schemata used in Model's predictions and explanations via

google/cloud/aiplatform/v1/pipeline_job.proto

+13-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ message PipelineJob {
5454
message InputArtifact {
5555
oneof kind {
5656
// Artifact resource id from MLMD. Which is the last portion of an
57-
// artifact resource
58-
// name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
57+
// artifact resource name:
58+
// `projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}`.
5959
// The artifact must stay within the same project, location and default
6060
// metadatastore as the pipeline.
6161
string artifact_id = 1;
@@ -337,6 +337,17 @@ message PipelineTaskExecutorDetail {
337337
type: "aiplatform.googleapis.com/CustomJob"
338338
}
339339
];
340+
341+
// Output only. The names of the previously failed [CustomJob][google.cloud.aiplatform.v1.CustomJob] for the main container
342+
// executions. The list includes the all attempts in chronological order.
343+
repeated string failed_main_jobs = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
344+
345+
// Output only. The names of the previously failed [CustomJob][google.cloud.aiplatform.v1.CustomJob] for the
346+
// pre-caching-check container executions. This job will be available if the
347+
// [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] specifies the `pre_caching_check` hook in
348+
// the lifecycle events.
349+
// The list includes the all attempts in chronological order.
350+
repeated string failed_pre_caching_check_jobs = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
340351
}
341352

342353
// The detailed info for a custom job executor.

google/cloud/aiplatform/v1/tensorboard_service.proto

+4-4
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ message GetTensorboardExperimentRequest {
467467
message ListTensorboardExperimentsRequest {
468468
// Required. The resource name of the Tensorboard to list TensorboardExperiments.
469469
// Format:
470-
// 'projects/{project}/locations/{location}/tensorboards/{tensorboard}'
470+
// `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
471471
string parent = 1 [
472472
(google.api.field_behavior) = REQUIRED,
473473
(google.api.resource_reference) = {
@@ -605,7 +605,7 @@ message GetTensorboardRunRequest {
605605
message ReadTensorboardBlobDataRequest {
606606
// Required. The resource name of the TensorboardTimeSeries to list Blobs.
607607
// Format:
608-
// 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}'
608+
// `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
609609
string time_series = 1 [
610610
(google.api.field_behavior) = REQUIRED,
611611
(google.api.resource_reference) = {
@@ -627,7 +627,7 @@ message ReadTensorboardBlobDataResponse {
627627
message ListTensorboardRunsRequest {
628628
// Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
629629
// Format:
630-
// 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}'
630+
// `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
631631
string parent = 1 [
632632
(google.api.field_behavior) = REQUIRED,
633633
(google.api.resource_reference) = {
@@ -767,7 +767,7 @@ message GetTensorboardTimeSeriesRequest {
767767
message ListTensorboardTimeSeriesRequest {
768768
// Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
769769
// Format:
770-
// 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}'
770+
// `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
771771
string parent = 1 [
772772
(google.api.field_behavior) = REQUIRED,
773773
(google.api.resource_reference) = {

google/cloud/aiplatform/v1/training_pipeline.proto

+3
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ message InputDataConfig {
290290
// Only one of [saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id] and [annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri] should be
291291
// specified as both of them represent the same thing: problem type.
292292
string saved_query_id = 7;
293+
294+
// Whether to persist the ML use assignment to data item system labels.
295+
bool persist_ml_use_assignment = 11;
293296
}
294297

295298
// Assigns the input data to training, validation, and test sets as per the

google/cloud/aiplatform/v1/user_action_reference.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ message UserActionReference {
3131
// For API calls that return a long running operation.
3232
// Resource name of the long running operation.
3333
// Format:
34-
// 'projects/{project}/locations/{location}/operations/{operation}'
34+
// `projects/{project}/locations/{location}/operations/{operation}`
3535
string operation = 1;
3636

3737
// For API calls that start a LabelingJob.
3838
// Resource name of the LabelingJob.
3939
// Format:
40-
// 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}'
40+
// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
4141
string data_labeling_job = 2;
4242
}
4343

0 commit comments

Comments
 (0)