Skip to content

Commit f9cd594

Browse files
Google APIscopybara-github
Google APIs
authored andcommitted
chore: updates prediction and training proto files to v1beta1 AI Platform client libraries.
feat!: removes unused protos from schema/ folders: schema/io_format.proto, schema/saved_query_metadata.proto feat!: ImageSegmentationPredictionResult.category_mask field changed to string data type feat: AutoMlImageSegmentationInputs.ModelType adds MOBILE_TF_LOW_LATENCY constant feat: AutoMlVideoClassificationInputs.ModelType adds MOBILE_JETSON_VERSATILE_1 constant Committer: @telpirion PiperOrigin-RevId: 357223795
1 parent 5a11760 commit f9cd594

15 files changed

+64
-580
lines changed

google/cloud/aiplatform/v1beta1/schema/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ proto_library(
1616
"data_item_payload.proto",
1717
"dataset_metadata.proto",
1818
"geometry.proto",
19-
"io_format.proto",
20-
"saved_query_metadata.proto",
2119
],
2220
deps = [
2321
"//google/api:annotations_proto",

google/cloud/aiplatform/v1beta1/schema/aiplatform_v1beta1.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,25 @@ name: aiplatform.googleapis.com
44
title: Cloud AI Platform API
55

66
types:
7-
- name: google.cloud.aiplatform.v1beta1.schema.ClassificationPredictionResult
87
- name: google.cloud.aiplatform.v1beta1.schema.ImageBoundingBoxAnnotation
98
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationAnnotation
10-
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionInstance
11-
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionParams
129
- name: google.cloud.aiplatform.v1beta1.schema.ImageDataItem
1310
- name: google.cloud.aiplatform.v1beta1.schema.ImageDatasetMetadata
14-
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionInstance
15-
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionParams
16-
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionResult
1711
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation
18-
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionInstance
19-
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionParams
2012
- name: google.cloud.aiplatform.v1beta1.schema.PredictionResult
2113
- name: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata
2214
- name: google.cloud.aiplatform.v1beta1.schema.TextClassificationAnnotation
23-
- name: google.cloud.aiplatform.v1beta1.schema.TextClassificationPredictionInstance
2415
- name: google.cloud.aiplatform.v1beta1.schema.TextDataItem
2516
- name: google.cloud.aiplatform.v1beta1.schema.TextDatasetMetadata
2617
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionAnnotation
27-
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionInstance
28-
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionResult
2918
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentAnnotation
30-
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionInstance
31-
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult
3219
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentSavedQueryMetadata
3320
- name: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata
3421
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionAnnotation
35-
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionInstance
36-
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionParams
3722
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationAnnotation
38-
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionInstance
39-
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionParams
40-
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult
4123
- name: google.cloud.aiplatform.v1beta1.schema.VideoDataItem
4224
- name: google.cloud.aiplatform.v1beta1.schema.VideoDatasetMetadata
4325
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingAnnotation
44-
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionInstance
45-
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionParams
46-
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult
4726
- name: google.cloud.aiplatform.v1beta1.schema.VisualInspectionClassificationLabelSavedQueryMetadata
4827
- name: google.cloud.aiplatform.v1beta1.schema.VisualInspectionMaskSavedQueryMetadata
4928
- name: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageClassificationPredictionInstance
@@ -103,8 +82,8 @@ types:
10382

10483
documentation:
10584
summary: |-
106-
Train high-quality custom machine learning models with minimum effort and
107-
machine learning expertise.
85+
Train high-quality custom machine learning models with minimal machine
86+
learning expertise and effort.
10887
overview: |-
10988
AI Platform (Unified) enables data scientists, developers, and AI newcomers
11089
to create custom machine learning models specific to their business needs

google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,17 @@ message TablesDatasetMetadata {
6969
}
7070

7171
message GcsSource {
72-
// Google Cloud Storage URI to a input file, only .csv file is supported.
72+
// Cloud Storage URI of one or more files. Only CSV files are supported.
73+
// The first line of the CSV file is used as the header.
74+
// If there are multiple files, the header is the first line of
75+
// the lexicographically first file, the other files must either
76+
// contain the exact same header or omit the header.
7377
repeated string uri = 1;
7478
}
7579

7680
message BigQuerySource {
7781
// The URI of a BigQuery table.
82+
// e.g. bq://projectId.bqDatasetId.bqTableId
7883
string uri = 1;
7984
}
8085

@@ -94,7 +99,11 @@ message TimeSeriesDatasetMetadata {
9499
}
95100

96101
message GcsSource {
97-
// Google Cloud Storage URI to a input file, only .csv file is supported.
102+
// Cloud Storage URI of one or more files. Only CSV files are supported.
103+
// The first line of the CSV file is used as the header.
104+
// If there are multiple files, the header is the first line of
105+
// the lexicographically first file, the other files must either
106+
// contain the exact same header or omit the header.
98107
repeated string uri = 1;
99108
}
100109

0 commit comments

Comments
 (0)