Skip to content

Commit 7df0c61

Browse files
Google APIscopybara-github
authored andcommitted
docs: update documentation of .google.cloud.aiplatform.v1beta1.Dataset and .google.cloud.aiplatform.v1beta1.DatasetVersion
feat: add resource_reference to the field `name` in message `.google.cloud.aiplatform.v1beta1.Dataset` feat: add resource_reference to the field `name` in message `.google.cloud.aiplatform.v1beta1.DatasetVersion` PiperOrigin-RevId: 865593864
1 parent eb79455 commit 7df0c61

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

google/cloud/aiplatform/v1beta1/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/v1beta1/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)