Skip to content

Commit

Permalink
chore: override API mixins when needed (#452)
Browse files Browse the repository at this point in the history
* feat: add model_source_info to Model in aiplatform v1 model.proto

PiperOrigin-RevId: 476193748

Source-Link: googleapis/googleapis@a7f3890

Source-Link: googleapis/googleapis-gen@5589b93
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU4OWI5MzEwYTZlZDI2YjU2ODE0NjFjNDc2ZDU3MzcyYWNkMTI2NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add model_source_info to Model in aiplatform v1beta1 model.proto

PiperOrigin-RevId: 476411826

Source-Link: googleapis/googleapis@72f0faa

Source-Link: googleapis/googleapis-gen@7909f5b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzkwOWY1YjFkNTEzNDlkY2VmYmUzNzBmNmE0ODg5ODFiODBjMWJmZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: override API mixins when needed

PiperOrigin-RevId: 477248447

Source-Link: googleapis/googleapis@4689c73

Source-Link: googleapis/googleapis-gen@c405978
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzQwNTk3ODZhNWNkODA1YTAxNTFkOTViNDc3ZmJjNDg2YmNiY2VkYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Yu-Han Liu <dizcology@hotmail.com>
  • Loading branch information
3 people authored Oct 11, 2022
1 parent faa59a9 commit 4717562
Show file tree
Hide file tree
Showing 5 changed files with 872 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ message Model {
// Customer-managed encryption key spec for a Model. If set, this
// Model and all sub-resources of this Model will be secured by this key.
EncryptionSpec encryption_spec = 24;

// Output only. Source of a model. It can either be automl training pipeline, custom
// training pipeline, BigQuery ML, or existing Vertex AI Model.
ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Contains the schemata used in Model's predictions and explanations via
Expand Down Expand Up @@ -590,3 +594,24 @@ message Port {
// Must be a valid port number, between 1 and 65535 inclusive.
int32 container_port = 3;
}

// Detail description of the source information of the model.
message ModelSourceInfo {
// Source of the model.
enum ModelSourceType {
// Should not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;

// The Model is uploaded by automl training pipeline.
AUTOML = 1;

// The Model is uploaded by user or custom training pipeline.
CUSTOM = 2;

// The Model is registered and sync'ed from BigQuery ML.
BQML = 3;
}

// Type of the model source.
ModelSourceType source_type = 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ message Model {
// Customer-managed encryption key spec for a Model. If set, this
// Model and all sub-resources of this Model will be secured by this key.
EncryptionSpec encryption_spec = 24;

// Output only. Source of a model. It can either be automl training pipeline, custom
// training pipeline, BigQuery ML, or existing Vertex AI Model.
ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Contains the schemata used in Model's predictions and explanations via
Expand Down Expand Up @@ -590,3 +594,24 @@ message Port {
// Must be a valid port number, between 1 and 65535 inclusive.
int32 container_port = 3;
}

// Detail description of the source information of the model.
message ModelSourceInfo {
// Source of the model.
enum ModelSourceType {
// Should not be used.
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;

// The Model is uploaded by automl training pipeline.
AUTOML = 1;

// The Model is uploaded by user or custom training pipeline.
CUSTOM = 2;

// The Model is registered and sync'ed from BigQuery ML.
BQML = 3;
}

// Type of the model source.
ModelSourceType source_type = 1;
}
228 changes: 228 additions & 0 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 4717562

Please sign in to comment.