xref: /aosp_15_r20/external/googleapis/google/cloud/aiplatform/v1/dataset_version.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.aiplatform.v1;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21import "google/protobuf/struct.proto";
22import "google/protobuf/timestamp.proto";
23
24option csharp_namespace = "Google.Cloud.AIPlatform.V1";
25option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb";
26option java_multiple_files = true;
27option java_outer_classname = "DatasetVersionProto";
28option java_package = "com.google.cloud.aiplatform.v1";
29option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
30option ruby_package = "Google::Cloud::AIPlatform::V1";
31
32// Describes the dataset version.
33message DatasetVersion {
34  option (google.api.resource) = {
35    type: "aiplatform.googleapis.com/DatasetVersion"
36    pattern: "projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}"
37  };
38
39  // Output only. The resource name of the DatasetVersion.
40  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
41
42  // Output only. Timestamp when this DatasetVersion was created.
43  google.protobuf.Timestamp create_time = 2
44      [(google.api.field_behavior) = OUTPUT_ONLY];
45
46  // Output only. Timestamp when this DatasetVersion was last updated.
47  google.protobuf.Timestamp update_time = 6
48      [(google.api.field_behavior) = OUTPUT_ONLY];
49
50  // Used to perform consistent read-modify-write updates. If not set, a blind
51  // "overwrite" update happens.
52  string etag = 3;
53
54  // Output only. Name of the associated BigQuery dataset.
55  string big_query_dataset_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
56
57  // The user-defined name of the DatasetVersion.
58  // The name can be up to 128 characters long and can consist of any UTF-8
59  // characters.
60  string display_name = 7;
61
62  // Required. Output only. Additional information about the DatasetVersion.
63  google.protobuf.Value metadata = 8 [
64    (google.api.field_behavior) = OUTPUT_ONLY,
65    (google.api.field_behavior) = REQUIRED
66  ];
67}
68