Skip to content

Commit d077e59

Browse files
Google APIscopybara-github
authored andcommitted
docs: update documentation of .google.cloud.aiplatform.v1.DatasetService, .google.cloud.aiplatform.v1.Dataset, and .google.cloud.aiplatform.v1.DatasetVersion
feat: add resource_reference to the field `name` in message `.google.cloud.aiplatform.v1.Dataset` feat: add resource_reference to the field `name` in message `.google.cloud.aiplatform.v1.DatasetVersion` PiperOrigin-RevId: 865307574
1 parent 7a57066 commit d077e59

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

google/cloud/aiplatform/v1/dataset.proto

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,9 +40,14 @@ message Dataset {
4040
};
4141

4242
// Output only. Identifier. The resource name of the Dataset.
43+
// Format:
44+
// `projects/{project}/locations/{location}/datasets/{dataset}`
4345
string name = 1 [
4446
(google.api.field_behavior) = OUTPUT_ONLY,
45-
(google.api.field_behavior) = IDENTIFIER
47+
(google.api.field_behavior) = IDENTIFIER,
48+
(google.api.resource_reference) = {
49+
type: "aiplatform.googleapis.com/Dataset"
50+
}
4651
];
4752

4853
// Required. The user-defined name of the Dataset.

google/cloud/aiplatform/v1/dataset_service.proto

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -259,9 +259,7 @@ service DatasetService {
259259
option (google.api.method_signature) = "name";
260260
}
261261

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

297295
// Request message for
298296
// [DatasetService.GetDataset][google.cloud.aiplatform.v1.DatasetService.GetDataset].
299-
// Next ID: 4
300297
message GetDatasetRequest {
301298
// Required. The name of the Dataset resource.
302299
string name = 1 [
@@ -528,7 +525,6 @@ message DeleteDatasetVersionRequest {
528525

529526
// Request message for
530527
// [DatasetService.GetDatasetVersion][google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion].
531-
// Next ID: 4
532528
message GetDatasetVersionRequest {
533529
// Required. The resource name of the Dataset version to delete.
534530
// Format:

google/cloud/aiplatform/v1/dataset_version.proto

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -37,9 +37,14 @@ message DatasetVersion {
3737
};
3838

3939
// Output only. Identifier. The resource name of the DatasetVersion.
40+
// Format:
41+
// `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
4042
string name = 1 [
4143
(google.api.field_behavior) = OUTPUT_ONLY,
42-
(google.api.field_behavior) = IDENTIFIER
44+
(google.api.field_behavior) = IDENTIFIER,
45+
(google.api.resource_reference) = {
46+
type: "aiplatform.googleapis.com/DatasetVersion"
47+
}
4348
];
4449

4550
// Output only. Timestamp when this DatasetVersion was created.

0 commit comments

Comments
 (0)