aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/backup.proto
blob: dd9d3b5f7fb15c272530f7ebaabd599253c5b85d (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
syntax = "proto3";

package yandex.cloud.mdb.greenplum.v1;

import "google/protobuf/timestamp.proto";

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

message Backup {
  enum BackupMethod {
    BACKUP_METHOD_UNSPECIFIED = 0;

    // Base backup
    BASE = 1;

    // Delta (incremental) Greenplum backup
    INCREMENTAL = 2;
  }
  enum BackupCreationType {
    BACKUP_CREATION_TYPE_UNSPECIFIED = 0;

    // Backup created by automated daily schedule
    AUTOMATED = 1;

    // Backup created by user request
    MANUAL = 2;
  }

  // Required. ID of the backup.
  string id = 1;

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

  // Time when the backup operation was completed.
  google.protobuf.Timestamp created_at = 3;

  // ID of the Greenplum® 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;

  // Size of the backup in bytes.
  int64 size = 6;

  // How this backup was created (manual/automatic/etc...)
  BackupCreationType type = 7;

  // Method of backup creation
  BackupMethod method = 8;

  // Size of the journal associated with backup, in bytes
  int64 journal_size = 9;
}