Skip to content

Commit 058bff3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add latent_space_source to ExplanationMetadata in aiplatform v1 explanation_metadata.proto
feat: add scaling to OnlineServingConfig in aiplatform v1 featurestore.proto feat: add template_metadata to PipelineJob in aiplatform v1 pipeline_job.proto PiperOrigin-RevId: 450687287
1 parent 7a47b72 commit 058bff3

7 files changed

Lines changed: 48 additions & 4 deletions

File tree

google/cloud/aiplatform/v1/endpoint.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ message DeployedModel {
154154
// This value should be 1-10 characters, and valid characters are /[0-9]/.
155155
string id = 1 [(google.api.field_behavior) = IMMUTABLE];
156156

157-
// Required. The name of the Model that this is the deployment of. Note that the Model
158-
// may be in a different location than the DeployedModel's Endpoint.
157+
// Required. The resource name of the Model that this is the deployment of. Note that
158+
// the Model may be in a different location than the DeployedModel's Endpoint.
159159
string model = 2 [
160160
(google.api.field_behavior) = REQUIRED,
161161
(google.api.resource_reference) = {

google/cloud/aiplatform/v1/explanation_metadata.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,4 +392,7 @@ message ExplanationMetadata {
392392
// than the one given on input. The output URI will point to a location where
393393
// the user only has a read access.
394394
string feature_attributions_schema_uri = 3;
395+
396+
// Name of the source to generate embeddings for example based explanations.
397+
string latent_space_source = 5;
395398
}

google/cloud/aiplatform/v1/featurestore.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,29 @@ message Featurestore {
4141
// OnlineServingConfig specifies the details for provisioning online serving
4242
// resources.
4343
message OnlineServingConfig {
44+
// Online serving scaling configuration. If min_node_count and
45+
// max_node_count are set to the same value, the cluster will be configured
46+
// with the fixed number of node (no auto-scaling).
47+
message Scaling {
48+
// Required. The minimum number of nodes to scale down to. Must be greater than or
49+
// equal to 1.
50+
int32 min_node_count = 1 [(google.api.field_behavior) = REQUIRED];
51+
52+
// The maximum number of nodes to scale up to. Must be greater than
53+
// min_node_count, and less than or equal to 10 times of 'min_node_count'.
54+
int32 max_node_count = 2;
55+
}
56+
4457
// The number of nodes for the online store. The number of nodes doesn't
4558
// scale automatically, but you can manually update the number of
4659
// nodes. If set to 0, the featurestore will not have an
4760
// online store and cannot be used for online serving.
4861
int32 fixed_node_count = 2;
62+
63+
// Online serving scaling configuration.
64+
// Only one of `fixed_node_count` and `scaling` can be set. Setting one will
65+
// reset the other.
66+
Scaling scaling = 4;
4967
}
5068

5169
// Possible states a featurestore can have.

google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ message ManualBatchTuningParameters {
3434
// speeds up the batch operation's execution, but too high value will result
3535
// in a whole batch not fitting in a machine's memory, and the whole
3636
// operation will fail.
37-
// The default value is 4.
37+
// The default value is 64.
3838
int32 batch_size = 1 [(google.api.field_behavior) = IMMUTABLE];
3939
}

google/cloud/aiplatform/v1/model_monitoring.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ message ModelMonitoringObjectiveConfig {
5555
//
5656
// "csv"
5757
// The source file is a CSV file.
58+
// "jsonl"
59+
// The source file is a JSONL file.
5860
string data_format = 2;
5961

6062
// The target field name the model is to predict.

google/cloud/aiplatform/v1/pipeline_job.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,27 @@ message PipelineJob {
150150
string network = 18 [(google.api.resource_reference) = {
151151
type: "compute.googleapis.com/Network"
152152
}];
153+
154+
// A template uri from where the [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec], if empty, will
155+
// be downloaded.
156+
string template_uri = 19;
157+
158+
// Output only. Pipeline template metadata. Will fill up fields if
159+
// [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is from supported template registry.
160+
PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
161+
}
162+
163+
// Pipeline template metadata if [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is from supported
164+
// template registry. Currently, the only supported registry is Artifact
165+
// Registry.
166+
message PipelineTemplateMetadata {
167+
// The version_name in artifact registry.
168+
//
169+
// Will always be presented in output if the [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is
170+
// from supported template registry.
171+
//
172+
// Format is "sha256:abcdef123456...".
173+
string version = 3;
153174
}
154175

155176
// The runtime detail of PipelineJob.

google/cloud/aiplatform/v1/pipeline_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ message ListPipelineJobsRequest {
323323
// Values must be in RFC 3339 format.
324324
// * `labels`: Supports key-value equality and key presence.
325325
// * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
326-
// * `template_metadata.version_name`: Supports `=`, `!=` comparisons, and `:`
326+
// * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:`
327327
// wildcard.
328328
//
329329
// Filter expressions can be combined together using logical operators

0 commit comments

Comments
 (0)