Skip to content

Commit

Permalink
fix!: BREAKING_CHANGE: remove display_name from FeatureStore feat: ad…
Browse files Browse the repository at this point in the history
…d invalid_row_count to ImportFeatureValuesResponse and ImportFeatureValuesOperationMetadata (#124)

PiperOrigin-RevId: 372952726
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <[email protected]>
Release-As: 1.7.0
  • Loading branch information
3 people authored May 11, 2021
1 parent e2d8b82 commit b00d32f
Show file tree
Hide file tree
Showing 9 changed files with 125 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ enum AcceleratorType {

// Nvidia Tesla T4 GPU.
NVIDIA_TESLA_T4 = 5;

// Nvidia Tesla A100 GPU.
NVIDIA_TESLA_A100 = 8;
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ message Featurestore {
// `projects/{project}/locations/{location}/featurestores/{featurestore}`
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// Required. The user-defined name of the Featurestore.
// The name can be up to 128 characters long and can consist of any UTF-8
// characters.
// Display name of a Featurestore must be unique within a single Project and
// Location Pair.
string display_name = 2 [(google.api.field_behavior) = REQUIRED];

// Output only. Timestamp when this Featurestore was created.
google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ message UpdateFeaturestoreRequest {
// * `display_name`
// * `labels`
// * `online_serving_config.fixed_node_count`
// * `online_serving_config.max_online_serving_size`
// * `retention_policy.online_storage_ttl_days`
google.protobuf.FieldMask update_mask = 2;
}

Expand Down Expand Up @@ -510,6 +510,13 @@ message ImportFeatureValuesResponse {

// Number of Feature values that have been imported by the operation.
int64 imported_feature_value_count = 2;

// The number of rows in input source that weren't imported due to either
// * Not having any featureValues.
// * Having a null entityId.
// * Having a null timestamp.
// * Not being parsable (applicable for CSV sources).
int64 invalid_row_count = 6;
}

// Request message for [FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues].
Expand Down Expand Up @@ -1124,6 +1131,13 @@ message ImportFeatureValuesOperationMetadata {

// Number of feature values that have been imported by the operation.
int64 imported_feature_value_count = 3;

// The number of rows in input source that weren't imported due to either
// * Not having any featureValues.
// * Having a null entityId.
// * Having a null timestamp.
// * Not being parsable (applicable for CSV sources).
int64 invalid_row_count = 6;
}

// Details of operations that exports Features values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ message NearestNeighborSearchOperationMetadata {
// should check against error_type as the source of truth.
string error_message = 2;

// GCS uri pointing to the original file in user's bucket.
// Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;

// Empty if the embedding id is failed to parse.
Expand All @@ -248,7 +248,7 @@ message NearestNeighborSearchOperationMetadata {
}

message ContentValidationStats {
// GCS uri pointing to the original file in user's bucket.
// Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 1;

// Number of records in this file that were successfully processed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ option java_multiple_files = true;
option java_outer_classname = "TensorboardProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";

// Tensorboard is a physical database that stores users training metrics.
// Tensorboard is a physical database that stores users' training metrics.
// A default Tensorboard is provided in each region of a GCP project.
// If needed users can also create extra Tensorboards in their projects.
message Tensorboard {
Expand Down
21 changes: 14 additions & 7 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b00d32f

Please sign in to comment.