aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/backup.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/mdb/mysql/v1/backup.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/mdb/mysql/v1/backup.proto')
-rw-r--r--contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/backup.proto56
1 files changed, 56 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/backup.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/backup.proto
new file mode 100644
index 0000000000..0e56cd6961
--- /dev/null
+++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/backup.proto
@@ -0,0 +1,56 @@
+syntax = "proto3";
+
+package yandex.cloud.mdb.mysql.v1;
+
+import "yandex/cloud/validation.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1;mysql";
+option java_package = "yandex.cloud.api.mdb.mysql.v1";
+
+// An object that represents MySQL backup.
+//
+// See [the documentation](/docs/managed-mysql/concepts/backup) for details.
+message Backup {
+ enum BackupCreationType {
+ BACKUP_CREATION_TYPE_UNSPECIFIED = 0;
+
+ // Backup created by automated daily schedule
+ AUTOMATED = 1;
+
+ // Backup created by user request
+ MANUAL = 2;
+ }
+ enum BackupStatus {
+ BACKUP_STATUS_UNSPECIFIED = 0;
+
+ // Backup is done
+ DONE = 1;
+
+ // Backup is creating
+ CREATING = 2;
+ }
+ // ID of the backup.
+ string id = 1 [(required) = true];
+
+ // ID of the folder that the backup belongs to.
+ string folder_id = 2;
+
+ // Creation timestamp (the time when the backup operation was completed).
+ google.protobuf.Timestamp created_at = 3;
+
+ // ID of the cluster that the backup was created for.
+ string source_cluster_id = 4;
+
+ // Start timestamp (the time when the backup operation was started).
+ google.protobuf.Timestamp started_at = 5;
+
+ // Size of backup, in bytes
+ int64 size = 6;
+
+ // How this backup was created (manual/automatic/etc...)
+ BackupCreationType type = 7;
+
+ // Status of backup
+ BackupStatus status = 8;
+}