blob: e005e68009c9e931abdfd84fe0b5931495f27ca6 (
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
syntax = "proto3";
package yandex.cloud.datasphere.v2;
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2;datasphere";
option java_package = "yandex.cloud.api.datasphere.v2";
// A Project resource.
message Project {
reserved 10;
message Settings {
enum CommitMode {
COMMIT_MODE_UNSPECIFIED = 0;
// Commit happens after the execution of a cell or group of cells or after completion with an error.
STANDARD = 1;
// Commit happens periodically.
// Also, automatic saving of state occurs when switching to another type of computing resource.
AUTO = 2;
}
enum Ide {
IDE_UNSPECIFIED = 0;
// Project running on JupyterLab IDE.
JUPYTER_LAB = 1;
}
enum StaleExecutionTimeoutMode {
STALE_EXECUTION_TIMEOUT_MODE_UNSPECIFIED = 0;
// Setting to automatically stop stale execution after one hour with low consumption.
ONE_HOUR = 1;
// Setting to automatically stop stale execution after three hours with low consumption.
THREE_HOURS = 2;
// Setting to never automatically stop stale executions.
NO_TIMEOUT = 3;
}
enum IdeExecutionMode {
IDE_EXECUTION_MODE_UNSPECIFIED = 0;
// VM is allocated for specific execution and deallocated after the execution ends.
SERVERLESS = 1;
// VM is allocated at the first execution and stays allocated until manually deallocated.
// Or until timeout exceeded.
DEDICATED = 2;
}
// ID of the service account, on whose behalf all operations with clusters will be performed.
string service_account_id = 1;
// ID of the subnet where the DataProc cluster resides.
// Currently only subnets created in the availability zone ru-central1-a are supported.
string subnet_id = 2;
// ID of the DataProc cluster.
string data_proc_cluster_id = 3;
// Commit mode that is assigned to the project.
CommitMode commit_mode = 4;
// Network interfaces security groups.
repeated string security_group_ids = 5;
// Is early access preview enabled for the project.
bool early_access = 6;
// Project IDE.
Ide ide = 7;
// Default project folder ID.
string default_folder_id = 8;
// Timeout to automatically stop stale executions.
StaleExecutionTimeoutMode stale_exec_timeout_mode = 9;
// VM allocation mode.
IdeExecutionMode ide_execution_mode = 10;
// Timeout for VM deallocation.
google.protobuf.Duration vm_inactivity_timeout = 11;
// Default VM configuration for DEDICATED mode.
string default_dedicated_spec = 12;
}
message Limits {
// The number of units that can be spent per hour.
google.protobuf.Int64Value max_units_per_hour = 1;
// The number of units that can be spent on the one execution.
google.protobuf.Int64Value max_units_per_execution = 2;
}
// ID of the project.
string id = 1;
google.protobuf.Timestamp created_at = 2;
// Name of the project. 1-63 characters long.
string name = 3;
// Description of the project. 0-256 characters long.
string description = 4;
map<string, string> labels = 5;
string created_by_id = 6;
// Settings of the project.
Settings settings = 7;
// Limits of the project.
Limits limits = 8;
reserved 9;
// ID of the community that the project belongs to.
string community_id = 11;
}
|