Skip to content

Commit

Permalink
feat: add fast_tryout_enabled to FasterDeploymentConfig v1 proto (#5781)
Browse files Browse the repository at this point in the history
* feat: add StopNotebookRuntime method

PiperOrigin-RevId: 691931542

Source-Link: googleapis/googleapis@c7ce97e

Source-Link: googleapis/googleapis-gen@f004bcc
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImYwMDRiY2MwY2UxNDhlNzBiOGNiYjdjMDMzZGE5ZmZkNzlkOTU1MzcifQ==

* feat: add system labels field to model garden deployments

PiperOrigin-RevId: 692254608

Source-Link: googleapis/googleapis@cac70e2

Source-Link: googleapis/googleapis-gen@4e5dda3
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjRlNWRkYTNiN2M2MzU5MTIyMjFiMjA0YTA4YTI2MWQ3NDRhNTgyZWUifQ==

* feat: added support for specifying function response type in `FunctionDeclaration`
docs: updated the maximum number of function declarations from 64 to 128

PiperOrigin-RevId: 692287251

Source-Link: googleapis/googleapis@d54f4e9

Source-Link: googleapis/googleapis-gen@14376d3
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjE0Mzc2ZDMzMTM2OWM1ZGQwNGU0MTk0MjFkYmYzMDc2ZjVkNDJmYzQifQ==

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* feat: Add Feature Monitoring API to Feature Store

docs: update feature creation message commentary
PiperOrigin-RevId: 692336095

Source-Link: googleapis/googleapis@9b94dba

Source-Link: googleapis/googleapis-gen@cd2ad6c
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImNkMmFkNmNjYzcyMjliZDkzNzMxZjE0MGFjYjFiZWQyYTRjMDQ0ZGMifQ==

* chore: remove body selector from http rule

PiperOrigin-RevId: 693215877

Source-Link: googleapis/googleapis@bb6b53e

Source-Link: googleapis/googleapis-gen@db8b5a9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImRiOGI1YTkzNDg0YWQ0NDA1NWIyYmFjYzRjN2NmODdlOTcwZmUwZWQifQ==

* feat: add BatchCreateFeatures rpc to feature_registry_service.proto
feat: add OptimizedConfig for feature_view

PiperOrigin-RevId: 694245585

Source-Link: googleapis/googleapis@234f715

Source-Link: googleapis/googleapis-gen@47c0b04
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjQ3YzBiMDQyODU1ODZhNzdhMzliMmIwNmVkYWM1ZGQ2YTUyMDI3MjAifQ==

* chore: run post processor

* 🦉 Updates from OwlBot post-processor

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

* feat: add BYOSA field to tuning_job

PiperOrigin-RevId: 695386844

Source-Link: googleapis/googleapis@e5a3787

Source-Link: googleapis/googleapis-gen@25a5672
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjI1YTU2NzJlNWViMWRkNDZkYThmYjE4OWEyZTQ0ODNhYjg4ZDkxYmQifQ==

* feat: add BYOSA field to tuning_job

PiperOrigin-RevId: 695458857

Source-Link: googleapis/googleapis@c809d35

Source-Link: googleapis/googleapis-gen@b3fbafe
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImIzZmJhZmUxNjQwNDU5YTUzN2UyNmNkNDAwYTQ2MjA3ZGY1NWY1ZDAifQ==

* feat: metricX added to evaluation service proto
docs: A comment for field `timeout` in message `.google.cloud.aiplatform.v1.Scheduling` is changed
docs: A comment for field `restart_job_on_worker_restart` in message `.google.cloud.aiplatform.v1.Scheduling` is changed
docs: A comment for method `ListAnnotations` in service `DatasetService` is changed
docs: A comment for message `GetDatasetRequest` is changed
docs: A comment for message `GetDatasetVersionRequest` is changed
docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureViewRequest` is changed
docs: A comment for method `RebaseTunedModel` in service `GenAiTuningService` is changed

PiperOrigin-RevId: 695757711

Source-Link: googleapis/googleapis@424d085

Source-Link: googleapis/googleapis-gen@7b81629
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjdiODE2Mjk2OWE5NWVkNzA5OGQ1ZGYyYWFlZjAxYTU4MzcxY2JhMjYifQ==

* run post processor locally

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* feat: COMET added to evaluation service proto
docs: A comment for field `saved_query_id` in message `.google.cloud.aiplatform.v1.ExportDataConfig` is changed
docs: A comment for field `annotation_schema_uri` in message `.google.cloud.aiplatform.v1.ExportDataConfig` is changed
docs: A comment for field `predictions` in message `.google.cloud.aiplatform.v1.EvaluatedAnnotation` is changed
docs: A comment for field `attributions` in message `.google.cloud.aiplatform.v1.Explanation` is changed
docs: A comment for message `DeleteFeatureViewRequest` is changed
docs: A comment for field `page_token` in message `.google.cloud.aiplatform.v1.ListFeatureGroupsRequest` is changed
docs: A comment for message `StreamingReadFeatureValuesRequest` is changed
docs: A comment for message `DeleteEntityTypeRequest` is changed
docs: A comment for field `page_token` in message `.google.cloud.aiplatform.v1.ListTuningJobsRequest` is changed
docs: A comment for field `deployed_index` in message `.google.cloud.aiplatform.v1.MutateDeployedIndexRequest` is changed
docs: A comment for field `request` in message `.google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata` is changed
docs: A comment for field `data_stats` in message `.google.cloud.aiplatform.v1.Model` is changed
docs: A comment for field `enable_logging` in message `.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig` is changed
docs: A comment for field `page_token` in message `.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest` is changed
docs: A comment for field `next_page_token` in message `.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse` is changed
docs: A comment for message `ListPersistentResourcesRequest` is changed
docs: A comment for field `page_token` in message `.google.cloud.aiplatform.v1.ListPersistentResourcesRequest` is changed
docs: A comment for method `ResumeSchedule` in service `ScheduleService` is changed
docs: A comment for field `bool_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `string_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `bytes_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `float_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `double_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `int_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `int64_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `uint_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed
docs: A comment for field `uint64_val` in message `.google.cloud.aiplatform.v1.Tensor` is changed

PiperOrigin-RevId: 695815755

Source-Link: googleapis/googleapis@d8cfde0

Source-Link: googleapis/googleapis-gen@243e9d2
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjI0M2U5ZDI3ODg3YmMxMDFiNjgxNTE1YWZhOTA1MTk4MjVhOGU2ZmMifQ==

* feat: add fast_tryout_enabled to FasterDeploymentConfig v1 proto

PiperOrigin-RevId: 695856863

Source-Link: googleapis/googleapis@caa3e6d

Source-Link: googleapis/googleapis-gen@685fa1d
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjY4NWZhMWQ3MTEwMzZlMjIwM2RmYmJlMGE4OTA1NGUyODcyZjNiOGQifQ==

* run post processor locally

* 🦉 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: Sofia Leon <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent cec01d2 commit 3cc221d
Show file tree
Hide file tree
Showing 184 changed files with 33,255 additions and 1,048 deletions.
10 changes: 10 additions & 0 deletions packages/google-cloud-aiplatform/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,10 @@ message Scheduling {
FLEX_START = 6;
}

// The maximum job running time. The default is 7 days.
// Optional. The maximum job running time. The default is 7 days.
google.protobuf.Duration timeout = 1;

// Restarts the entire CustomJob if a worker gets restarted.
// Optional. Restarts the entire CustomJob if a worker gets restarted.
// This feature can be used by distributed training jobs that are not
// resilient to workers leaving and joining a job.
bool restart_job_on_worker_restart = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ message ExportDataConfig {
string annotations_filter = 2;

// The ID of a SavedQuery (annotation set) under the Dataset specified by
// [dataset_id][] used for filtering Annotations for training.
// [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name]
// used for filtering Annotations for training.
//
// Only used for custom training data export use cases.
// Only applicable to Datasets that have SavedQueries.
Expand All @@ -242,7 +243,8 @@ message ExportDataConfig {
// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the
// chosen schema must be consistent with
// [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the
// Dataset specified by [dataset_id][].
// Dataset specified by
// [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name].
//
// Only used for custom training data export use cases.
// Only applicable to Datasets that have DataItems and Annotations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ service DatasetService {
}

// Lists Annotations belongs to a dataitem
// This RPC is only available in InternalDatasetService. It is only used for
// exporting conversation data to CCAI Insights.
rpc ListAnnotations(ListAnnotationsRequest)
returns (ListAnnotationsResponse) {
option (google.api.http) = {
Expand Down Expand Up @@ -294,6 +296,7 @@ message CreateDatasetOperationMetadata {

// Request message for
// [DatasetService.GetDataset][google.cloud.aiplatform.v1.DatasetService.GetDataset].
// Next ID: 4
message GetDatasetRequest {
// Required. The name of the Dataset resource.
string name = 1 [
Expand Down Expand Up @@ -525,6 +528,7 @@ message DeleteDatasetVersionRequest {

// Request message for
// [DatasetService.GetDatasetVersion][google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion].
// Next ID: 4
message GetDatasetVersionRequest {
// Required. The resource name of the Dataset version to delete.
// Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ message DeployedModel {
// [network][google.cloud.aiplatform.v1.Endpoint.network] is configured.
PrivateEndpoints private_endpoints = 14
[(google.api.field_behavior) = OUTPUT_ONLY];

// System labels to apply to Model Garden deployments.
// System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;
}

// PrivateEndpoints proto is used to provide paths for users to send
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";

option csharp_namespace = "Google.Cloud.AIPlatform.V1";
option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ message EvaluatedAnnotation {
//
// For false positive, there is one and only one prediction, which doesn't
// match any ground truth annotation of the corresponding
// [data_item_view_id][EvaluatedAnnotation.data_item_view_id].
// [data_item_view_id][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_data_item_view_id].
//
// For false negative, there are zero or more predictions which are similar to
// the only ground truth annotation in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ message EvaluateInstancesRequest {

// Input for tool parameter key value match metric.
ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

// Translation metrics.
// Input for Comet metric.
CometInput comet_input = 31;

// Input for Metricx metric.
MetricxInput metricx_input = 32;
}

// Required. The resource name of the Location to evaluate the instances.
Expand Down Expand Up @@ -235,6 +242,13 @@ message EvaluateInstancesResponse {

// Results for tool parameter key value match metric.
ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

// Translation metrics.
// Result for Comet metric.
CometResult comet_result = 29;

// Result for Metricx metric.
MetricxResult metricx_result = 30;
}
}

Expand Down Expand Up @@ -1165,7 +1179,7 @@ message ToolParameterKVMatchInput {

// Spec for tool parameter key value match metric.
message ToolParameterKVMatchSpec {
// Optional. Whether to use STRCIT string match on parameter values.
// Optional. Whether to use STRICT string match on parameter values.
bool use_strict_string_match = 1 [(google.api.field_behavior) = OPTIONAL];
}

Expand All @@ -1191,3 +1205,113 @@ message ToolParameterKVMatchMetricValue {
// Output only. Tool parameter key value match score.
optional float score = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Input for Comet metric.
message CometInput {
// Required. Spec for comet metric.
CometSpec metric_spec = 1 [(google.api.field_behavior) = REQUIRED];

// Required. Comet instance.
CometInstance instance = 2 [(google.api.field_behavior) = REQUIRED];
}

// Spec for Comet metric.
message CometSpec {
// Comet version options.
enum CometVersion {
// Comet version unspecified.
COMET_VERSION_UNSPECIFIED = 0;

// Comet 22 for translation + source + reference
// (source-reference-combined).
COMET_22_SRC_REF = 2;
}

// Required. Which version to use for evaluation.
optional CometVersion version = 1 [(google.api.field_behavior) = REQUIRED];

// Optional. Source language in BCP-47 format.
string source_language = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Target language in BCP-47 format. Covers both prediction and
// reference.
string target_language = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Spec for Comet instance - The fields used for evaluation are dependent on the
// comet version.
message CometInstance {
// Required. Output of the evaluated model.
optional string prediction = 1 [(google.api.field_behavior) = REQUIRED];

// Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Source text in original language.
optional string source = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Spec for Comet result - calculates the comet score for the given instance
// using the version specified in the spec.
message CometResult {
// Output only. Comet score. Range depends on version.
optional float score = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Input for MetricX metric.
message MetricxInput {
// Required. Spec for Metricx metric.
MetricxSpec metric_spec = 1 [(google.api.field_behavior) = REQUIRED];

// Required. Metricx instance.
MetricxInstance instance = 2 [(google.api.field_behavior) = REQUIRED];
}

// Spec for MetricX metric.
message MetricxSpec {
// MetricX Version options.
enum MetricxVersion {
// MetricX version unspecified.
METRICX_VERSION_UNSPECIFIED = 0;

// MetricX 2024 (2.6) for translation + reference (reference-based).
METRICX_24_REF = 1;

// MetricX 2024 (2.6) for translation + source (QE).
METRICX_24_SRC = 2;

// MetricX 2024 (2.6) for translation + source + reference
// (source-reference-combined).
METRICX_24_SRC_REF = 3;
}

// Required. Which version to use for evaluation.
optional MetricxVersion version = 1 [(google.api.field_behavior) = REQUIRED];

// Optional. Source language in BCP-47 format.
string source_language = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Target language in BCP-47 format. Covers both prediction and
// reference.
string target_language = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Spec for MetricX instance - The fields used for evaluation are dependent on
// the MetricX version.
message MetricxInstance {
// Required. Output of the evaluated model.
optional string prediction = 1 [(google.api.field_behavior) = REQUIRED];

// Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Source text in original language.
optional string source = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Spec for MetricX result - calculates the MetricX score for the given instance
// using the version specified in the spec.
message MetricxResult {
// Output only. MetricX score. Range depends on version.
optional float score = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ message Explanation {
// If users set
// [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k],
// the attributions are sorted by
// [instance_output_value][Attributions.instance_output_value] in descending
// order. If
// [instance_output_value][google.cloud.aiplatform.v1.Attribution.instance_output_value]
// in descending order. If
// [ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices]
// is specified, the attributions are stored by
// [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,12 @@ message UpdateFeatureViewRequest {
// * `feature_registry_source.feature_groups`
// * `sync_config`
// * `sync_config.cron`
// * `optimized_config.automatic_resources`
google.protobuf.FieldMask update_mask = 2;
}

// Request message for [FeatureOnlineStoreAdminService.DeleteFeatureViews][].
// Request message for
// [FeatureOnlineStoreAdminService.DeleteFeatureView][google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureView].
message DeleteFeatureViewRequest {
// Required. The name of the FeatureView to be deleted.
// Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,20 @@ service FeatureRegistryService {
};
}

// Creates a batch of Features in a given FeatureGroup.
rpc BatchCreateFeatures(BatchCreateFeaturesRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/locations/*/featureGroups/*}/features:batchCreate"
body: "*"
};
option (google.api.method_signature) = "parent,requests";
option (google.longrunning.operation_info) = {
response_type: "BatchCreateFeaturesResponse"
metadata_type: "BatchCreateFeaturesOperationMetadata"
};
}

// Gets details of a single Feature.
rpc GetFeature(GetFeatureRequest) returns (Feature) {
option (google.api.http) = {
Expand Down Expand Up @@ -179,7 +193,7 @@ message CreateFeatureGroupRequest {
// Required. The ID to use for this FeatureGroup, which will become the final
// component of the FeatureGroup's resource name.
//
// This value may be up to 60 characters, and valid characters are
// This value may be up to 128 characters, and valid characters are
// `[a-z0-9_]`. The first character cannot be a number.
//
// The value must be unique within the project and location.
Expand Down Expand Up @@ -237,12 +251,12 @@ message ListFeatureGroupsRequest {
int32 page_size = 3;

// A page token, received from a previous
// [FeatureGroupAdminService.ListFeatureGroups][] call.
// Provide this to retrieve the subsequent page.
// [FeatureRegistryService.ListFeatureGroups][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups]
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// [FeatureGroupAdminService.ListFeatureGroups][] must
// match the call that provided the page token.
// [FeatureRegistryService.ListFeatureGroups][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups]
// must match the call that provided the page token.
string page_token = 4;

// A comma-separated list of fields to order by, sorted in ascending order.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ message ReadFeatureValuesResponse {
}

// Request message for
// [FeaturestoreOnlineServingService.StreamingFeatureValuesRead][].
// [FeaturestoreOnlineServingService.StreamingReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.StreamingReadFeatureValues].
message StreamingReadFeatureValuesRequest {
// Required. The resource name of the entities' type.
// Value format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,8 @@ message UpdateEntityTypeRequest {
google.protobuf.FieldMask update_mask = 2;
}

// Request message for [FeaturestoreService.DeleteEntityTypes][].
// Request message for
// [FeaturestoreService.DeleteEntityType][google.cloud.aiplatform.v1.FeaturestoreService.DeleteEntityType].
message DeleteEntityTypeRequest {
// Required. The name of the EntityType to be deleted.
// Format:
Expand Down Expand Up @@ -980,22 +981,25 @@ message CreateFeatureRequest {

// Request message for
// [FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures].
// Request message for
// [FeatureRegistryService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.BatchCreateFeatures].
message BatchCreateFeaturesRequest {
// Required. The resource name of the EntityType to create the batch of
// Features under. Format:
// Required. The resource name of the EntityType/FeatureGroup to create the
// batch of Features under. Format:
// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
// `projects/{project}/locations/{location}/featureGroups/{feature_group}`
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "aiplatform.googleapis.com/EntityType"
child_type: "aiplatform.googleapis.com/Feature"
}
];

// Required. The request message specifying the Features to create. All
// Features must be created under the same parent EntityType. The `parent`
// field in each child request message can be omitted. If `parent` is set in a
// child request, then the value must match the `parent` value in this request
// message.
// Features must be created under the same parent EntityType / FeatureGroup.
// The `parent` field in each child request message can be omitted. If
// `parent` is set in a child request, then the value must match the `parent`
// value in this request message.
repeated CreateFeatureRequest requests = 2
[(google.api.field_behavior) = REQUIRED];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ service GenAiTuningService {
}

// Rebase a TunedModel.
// Creates a LongRunningOperation that takes a legacy Tuned GenAI model
// Reference and creates a TuningJob based on newly available model.
rpc RebaseTunedModel(RebaseTunedModelRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
Expand Down Expand Up @@ -151,8 +149,9 @@ message ListTuningJobsRequest {
int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. The standard list page token.
// Typically obtained via [ListTuningJob.next_page_token][] of the
// previous GenAiTuningService.ListTuningJob][] call.
// Typically obtained via
// [ListTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListTuningJobsResponse.next_page_token]
// of the previous GenAiTuningService.ListTuningJob][] call.
string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@ message MutateDeployedIndexRequest {
];

// Required. The DeployedIndex to be updated within the IndexEndpoint.
// Currently, the updatable fields are [DeployedIndex][automatic_resources]
// and [DeployedIndex][dedicated_resources]
// Currently, the updatable fields are
// [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
// and
// [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
DeployedIndex deployed_index = 2 [(google.api.field_behavior) = REQUIRED];
}

Expand Down
Loading

0 comments on commit 3cc221d

Please sign in to comment.