Skip to content

Commit f583398

Browse files
Google APIscopybara-github
authored andcommitted
fix!: remove field max_wait_duration from message Scheduling
fix!: remove method `CountTokens` from service LlmUtilityService feat: add psc_automated_endpoints to IndexPrivateEndpoints feat: add update_mask to UpsertDatapointsRequest feat: add more RecordErrorType enum values feat: add request_response_logging_schema_version to ModelDeploymentMonitoringBigQueryTable feat: add resource_title, resource_use_case, resource_description to RegionalResourceReferences docs: deprecate use_case and description in ResourceReference feat: add deploy_gke, open_tine_tuning_pipelines, open_notebooks to CallToAction docs: minor changes to comments PiperOrigin-RevId: 605668103
1 parent 3b25a48 commit f583398

15 files changed

Lines changed: 195 additions & 39 deletions

google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ types:
7272
- name: google.cloud.aiplatform.v1beta1.DeployModelResponse
7373
- name: google.cloud.aiplatform.v1beta1.ExportDataOperationMetadata
7474
- name: google.cloud.aiplatform.v1beta1.ExportDataResponse
75-
- name: google.cloud.aiplatform.v1beta1.ExportEndpointOperationMetadata
76-
- name: google.cloud.aiplatform.v1beta1.ExportEndpointResponse
7775
- name: google.cloud.aiplatform.v1beta1.ExportFeatureValuesOperationMetadata
7876
- name: google.cloud.aiplatform.v1beta1.ExportFeatureValuesResponse
7977
- name: google.cloud.aiplatform.v1beta1.ExportModelOperationMetadata
@@ -357,6 +355,7 @@ http:
357355
- delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}'
358356
- delete: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}'
359357
- delete: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}'
358+
- delete: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}'
360359
- delete: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}'
361360
- delete: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}'
362361
- delete: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}'
@@ -444,6 +443,7 @@ http:
444443
- get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}'
445444
- get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}'
446445
- get: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}'
446+
- get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}'
447447
- get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}'
448448
- get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}'
449449
- get: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}'
@@ -535,6 +535,7 @@ http:
535535
- get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations'
536536
- get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*}/operations'
537537
- get: '/v1beta1/{name=projects/*/locations/*/endpoints/*}/operations'
538+
- get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*}/operations'
538539
- get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*}/operations'
539540
- get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*}/operations'
540541
- get: '/v1beta1/{name=projects/*/locations/*/extensions/*}/operations'
@@ -626,6 +627,7 @@ http:
626627
- post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait'
627628
- post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait'
628629
- post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait'
630+
- post: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}:wait'
629631
- post: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}:wait'
630632
- post: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait'
631633
- post: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}:wait'
@@ -723,10 +725,6 @@ authentication:
723725
oauth:
724726
canonical_scopes: |-
725727
https://www.googleapis.com/auth/cloud-platform
726-
- selector: google.cloud.aiplatform.v1beta1.LlmUtilityService.CountTokens
727-
oauth:
728-
canonical_scopes: |-
729-
https://www.googleapis.com/auth/cloud-platform
730728
- selector: google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors
731729
oauth:
732730
canonical_scopes: |-

google/cloud/aiplatform/v1beta1/custom_job.proto

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,4 @@ message Scheduling {
363363
// job starts running. If true, overrides
364364
// `Scheduling.restart_job_on_worker_restart` to false.
365365
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
366-
367-
// Optional. This is the maximum time a user will wait in the QRM queue for
368-
// resources. Default is 1 day
369-
google.protobuf.Duration max_wait_duration = 6
370-
[(google.api.field_behavior) = OPTIONAL];
371366
}

google/cloud/aiplatform/v1beta1/endpoint_service.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ message ListEndpointsRequest {
220220
// * A key including a space must be quoted. `labels."a key"`.
221221
//
222222
// Some examples:
223+
//
223224
// * `endpoint=1`
224225
// * `displayName="myDisplayName"`
225226
// * `labels.myKey="myValue"`

google/cloud/aiplatform/v1beta1/explanation.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ message Explanation {
4444
// [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index]
4545
// can be used to identify which output this attribution is explaining.
4646
//
47+
// By default, we provide Shapley values for the predicted class. However,
48+
// you can configure the explanation request to generate Shapley values for
49+
// any other classes too. For example, if a model predicts a probability of
50+
// `0.4` for approving a loan application, the model's decision is to reject
51+
// the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default
52+
// Shapley values would be computed for rejection decision and not approval,
53+
// even though the latter might be the positive class.
54+
//
4755
// If users set
4856
// [ExplanationParameters.top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k],
4957
// the attributions are sorted by

google/cloud/aiplatform/v1beta1/feature_online_store_admin_service.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ message UpdateFeatureOnlineStoreRequest {
319319
// Updatable fields:
320320
//
321321
// * `big_query_source`
322+
// * `bigtable`
322323
// * `labels`
323324
// * `sync_config`
324325
google.protobuf.FieldMask update_mask = 2;
@@ -480,6 +481,7 @@ message UpdateFeatureViewRequest {
480481
// Updatable fields:
481482
//
482483
// * `labels`
484+
// * `serviceAgentType`
483485
google.protobuf.FieldMask update_mask = 2;
484486
}
485487

google/cloud/aiplatform/v1beta1/feature_online_store_service.proto

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,13 @@ message NearestNeighborQuery {
169169
}
170170

171171
// String filter is used to search a subset of the entities by using boolean
172-
// rules. For example: if a query specifies string filter with 'name
173-
// = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that
174-
// query will match entities that are red or blue, but if those points are
175-
// also purple, then they will be excluded even if they are red/blue. Only
176-
// string filter is supported for now, numeric filter will be supported in the
177-
// near future.
172+
// rules on string columns.
173+
// For example: if a query specifies string filter
174+
// with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}','
175+
// then that query will match entities that are red or blue, but if those
176+
// points are also purple, then they will be excluded even if they are
177+
// red/blue. Only string filter is supported for now, numeric filter will be
178+
// supported in the near future.
178179
message StringFilter {
179180
// Required. Column names in BigQuery that used as filters.
180181
string name = 1 [(google.api.field_behavior) = REQUIRED];

google/cloud/aiplatform/v1beta1/index_endpoint.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,9 @@ message IndexPrivateEndpoints {
292292
// Output only. The name of the service attachment resource. Populated if
293293
// private service connect is enabled.
294294
string service_attachment = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
295+
296+
// Output only. PscAutomatedEndpoints is populated if private service connect
297+
// is enabled if PscAutomatedConfig is set.
298+
repeated PscAutomatedEndpoints psc_automated_endpoints = 3
299+
[(google.api.field_behavior) = OUTPUT_ONLY];
295300
}

google/cloud/aiplatform/v1beta1/index_service.proto

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,16 @@ message UpsertDatapointsRequest {
252252

253253
// A list of datapoints to be created/updated.
254254
repeated IndexDatapoint datapoints = 2;
255+
256+
// Optional. Update mask is used to specify the fields to be overwritten in
257+
// the datapoints by the update. The fields specified in the update_mask are
258+
// relative to each IndexDatapoint inside datapoints, not the full request.
259+
//
260+
// Updatable fields:
261+
//
262+
// * Use `all_restricts` to update both restricts and numeric_restricts.
263+
google.protobuf.FieldMask update_mask = 3
264+
[(google.api.field_behavior) = OPTIONAL];
255265
}
256266

257267
// Response message for
@@ -307,6 +317,25 @@ message NearestNeighborSearchOperationMetadata {
307317

308318
// The `namespace` field is missing.
309319
NAMESPACE_MISSING = 7;
320+
321+
// Generic catch-all error. Only used for validation failure where the
322+
// root cause cannot be easily retrieved programmatically.
323+
PARSING_ERROR = 8;
324+
325+
// There are multiple restricts with the same `namespace` value.
326+
DUPLICATE_NAMESPACE = 9;
327+
328+
// Numeric restrict has operator specified in datapoint.
329+
OP_IN_DATAPOINT = 10;
330+
331+
// Numeric restrict has multiple values specified.
332+
MULTIPLE_VALUES = 11;
333+
334+
// Numeric restrict has invalid numeric value specified.
335+
INVALID_NUMERIC_VALUE = 12;
336+
337+
// File is not in UTF_8 format.
338+
INVALID_ENCODING = 13;
310339
}
311340

312341
// The error type of this record.

google/cloud/aiplatform/v1beta1/llm_utility_service.proto

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import "google/api/annotations.proto";
2020
import "google/api/client.proto";
2121
import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
23-
import "google/cloud/aiplatform/v1beta1/prediction_service.proto";
2423
import "google/protobuf/struct.proto";
2524

2625
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
@@ -37,19 +36,6 @@ service LlmUtilityService {
3736
option (google.api.oauth_scopes) =
3837
"https://www.googleapis.com/auth/cloud-platform";
3938

40-
// Perform a token counting.
41-
rpc CountTokens(CountTokensRequest) returns (CountTokensResponse) {
42-
option (google.api.http) = {
43-
post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens"
44-
body: "*"
45-
additional_bindings {
46-
post: "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens"
47-
body: "*"
48-
}
49-
};
50-
option (google.api.method_signature) = "endpoint,instances";
51-
}
52-
5339
// Return a list of tokens based on the input text.
5440
rpc ComputeTokens(ComputeTokensRequest) returns (ComputeTokensResponse) {
5541
option (google.api.http) = {

google/cloud/aiplatform/v1beta1/model.proto

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ message Model {
211211
// deploying this Model. The specification is ingested upon
212212
// [ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel],
213213
// and all binaries it contains are copied and stored internally by Vertex AI.
214-
// Not present for AutoML Models or Large Models.
214+
// Not required for AutoML Models.
215215
ModelContainerSpec container_spec = 9
216216
[(google.api.field_behavior) = INPUT_ONLY];
217217

218218
// Immutable. The path to the directory containing the Model artifact and any
219-
// of its supporting files. Not present for AutoML Models or Large Models.
219+
// of its supporting files. Not required for AutoML Models.
220220
string artifact_uri = 26 [(google.api.field_behavior) = IMMUTABLE];
221221

222222
// Output only. When this Model is deployed, its prediction resources are
@@ -396,7 +396,8 @@ message Model {
396396
EncryptionSpec encryption_spec = 24;
397397

398398
// Output only. Source of a model. It can either be automl training pipeline,
399-
// custom training pipeline, BigQuery ML, or existing Vertex AI Model.
399+
// custom training pipeline, BigQuery ML, or saved and tuned from Genie or
400+
// Model Garden.
400401
ModelSourceInfo model_source_info = 38
401402
[(google.api.field_behavior) = OUTPUT_ONLY];
402403

@@ -732,6 +733,10 @@ message Port {
732733
// Detail description of the source information of the model.
733734
message ModelSourceInfo {
734735
// Source of the model.
736+
// Different from `objective` field, this `ModelSourceType` enum
737+
// indicates the source from which the model was accessed or obtained,
738+
// whereas the `objective` indicates the overall aim or function of this
739+
// model.
735740
enum ModelSourceType {
736741
// Should not be used.
737742
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;
@@ -753,6 +758,9 @@ message ModelSourceInfo {
753758

754759
// The Model is uploaded by text embedding finetuning pipeline.
755760
CUSTOM_TEXT_EMBEDDING = 6;
761+
762+
// The Model is saved or tuned from Marketplace.
763+
MARKETPLACE = 7;
756764
}
757765

758766
// Type of the model source.

0 commit comments

Comments
 (0)