Skip to content

Commit

Permalink
chore: updates prediction and training proto files to v1beta1 AI Plat…
Browse files Browse the repository at this point in the history
…form 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
  • Loading branch information
Google APIs authored and copybara-github committed Feb 12, 2021
1 parent 5a11760 commit f9cd594
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 580 deletions.
2 changes: 0 additions & 2 deletions google/cloud/aiplatform/v1beta1/schema/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ proto_library(
"data_item_payload.proto",
"dataset_metadata.proto",
"geometry.proto",
"io_format.proto",
"saved_query_metadata.proto",
],
deps = [
"//google/api:annotations_proto",
Expand Down
25 changes: 2 additions & 23 deletions google/cloud/aiplatform/v1beta1/schema/aiplatform_v1beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,25 @@ name: aiplatform.googleapis.com
title: Cloud AI Platform API

types:
- name: google.cloud.aiplatform.v1beta1.schema.ClassificationPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.ImageBoundingBoxAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.ImageDataItem
- name: google.cloud.aiplatform.v1beta1.schema.ImageDatasetMetadata
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.PredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata
- name: google.cloud.aiplatform.v1beta1.schema.TextClassificationAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.TextClassificationPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.TextDataItem
- name: google.cloud.aiplatform.v1beta1.schema.TextDatasetMetadata
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.TextSentimentSavedQueryMetadata
- name: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.VideoDataItem
- name: google.cloud.aiplatform.v1beta1.schema.VideoDatasetMetadata
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingAnnotation
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionInstance
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionParams
- name: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult
- name: google.cloud.aiplatform.v1beta1.schema.VisualInspectionClassificationLabelSavedQueryMetadata
- name: google.cloud.aiplatform.v1beta1.schema.VisualInspectionMaskSavedQueryMetadata
- name: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageClassificationPredictionInstance
Expand Down Expand Up @@ -103,8 +82,8 @@ types:

documentation:
summary: |-
Train high-quality custom machine learning models with minimum effort and
machine learning expertise.
Train high-quality custom machine learning models with minimal machine
learning expertise and effort.
overview: |-
AI Platform (Unified) enables data scientists, developers, and AI newcomers
to create custom machine learning models specific to their business needs
Expand Down
13 changes: 11 additions & 2 deletions google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,17 @@ message TablesDatasetMetadata {
}

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

message BigQuerySource {
// The URI of a BigQuery table.
// e.g. bq://projectId.bqDatasetId.bqTableId
string uri = 1;
}

Expand All @@ -94,7 +99,11 @@ message TimeSeriesDatasetMetadata {
}

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

Expand Down
Loading

0 comments on commit f9cd594

Please sign in to comment.