aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto
diff options
context:
space:
mode:
authoriddqd <iddqd@yandex-team.com>2024-06-11 10:12:13 +0300
committeriddqd <iddqd@yandex-team.com>2024-06-11 10:22:43 +0300
commit07f57e35443ab7f09471caf2dbf1afbcced4d9f7 (patch)
treea4a7b66ead62e83fa988a2ec2ce6576311c1f4b1 /contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto
parent6db3b8ca95e44179e48306a58656fb1f9317d9c3 (diff)
downloadydb-07f57e35443ab7f09471caf2dbf1afbcced4d9f7.tar.gz
add contrib/python/yandexcloud to import
03b7d3cad2237366b55b393e18d4dc5eb222798c
Diffstat (limited to 'contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto')
-rw-r--r--contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto118
1 files changed, 118 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto
new file mode 100644
index 0000000000..e005e68009
--- /dev/null
+++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/project.proto
@@ -0,0 +1,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;
+}