syntax = "proto3";

package yandex.cloud.mdb.mysql.v1alpha;

import "yandex/cloud/validation.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1alpha;mysql";
option java_package = "yandex.cloud.api.mdb.mysql.v1alpha";

// A MySQL backup. For more information, see
// the [documentation](/docs/managed-mysql/concepts/backup).
message Backup {
  // ID of the backup.
  string id = 1 [(required) = true];

  // ID of the folder that the backup belongs to.
  string folder_id = 2;

  google.protobuf.Timestamp created_at = 3; // Comment for API reference generated automatically.

  // ID of the MySQL cluster that the backup was created for.
  string source_cluster_id = 4;

  // Time when the backup operation was started.
  google.protobuf.Timestamp started_at = 5;
}
