aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/dataset.proto
blob: 06da2f214954fabee66a95e236d03e9cf865178b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
syntax = "proto3";

package yandex.cloud.datasphere.v2;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2;datasphere";
option java_package = "yandex.cloud.api.datasphere.v2";

message Dataset {
  // ID of the dataset.
  string id = 1;

  // ID of the project.
  string project_id = 2;

  // Time the dataset was created.
  google.protobuf.Timestamp created_at = 3;

  // Name of the dataset.
  string name = 4;

  // Description of the dataset.
  string description = 5;

  // Labels of the dataset.
  map<string, string> labels = 6;

  // ID of the user who created the dataset.
  string created_by_id = 7;

  // Code used to create dataset.
  string code = 8;

  // Size of the dataset, Gb.
  int64 size_gb = 9;

  // Zone IDs where dataset is available.
  repeated string zone_ids = 10;

  // Dataset mount path.
  string mount_path = 11;

  // ID of the data capsule object, storing information about dataset storage.
  string data_capsule_id = 12;
}

message DatasetStatus {
  oneof status {
    // Dataset is activated.
    StatusActive status_active = 1;

    // Dataset is inactive.
    StatusInactive status_inactive = 2;

    // Error while activating dataset.
    StatusError status_error = 3;
  }

  message StatusActive {}
  message StatusInactive {}
  message StatusError {
    // Text of the error.
    string error = 1;
  }
}