xref: /aosp_15_r20/external/googleapis/google/cloud/securitycenter/v1/backup_disaster_recovery.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2024 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.securitycenter.v1;
18
19import "google/protobuf/timestamp.proto";
20
21option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
22option go_package = "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb";
23option java_multiple_files = true;
24option java_outer_classname = "BackupDisasterRecoveryProto";
25option java_package = "com.google.cloud.securitycenter.v1";
26option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
27option ruby_package = "Google::Cloud::SecurityCenter::V1";
28
29// Information related to Google Cloud Backup and DR Service findings.
30message BackupDisasterRecovery {
31  // The name of a Backup and DR template which comprises one or more backup
32  // policies. See the [Backup and DR
33  // documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp)
34  // for more information. For example, `snap-ov`.
35  string backup_template = 1;
36
37  // The names of Backup and DR policies that are associated with a template
38  // and that define when to run a backup, how frequently to run a backup, and
39  // how long to retain the backup image. For example, `onvaults`.
40  repeated string policies = 2;
41
42  // The name of a Backup and DR host, which is managed by the backup and
43  // recovery appliance and known to the management console. The host can be of
44  // type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file
45  // system, etc.), vCenter, or an ESX server. See the [Backup and DR
46  // documentation on
47  // hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications)
48  // for more information. For example, `centos7-01`.
49  string host = 3;
50
51  // The names of Backup and DR applications. An application is a VM, database,
52  // or file system on a managed host monitored by a backup and recovery
53  // appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`,
54  // `centos7-01-vol02`.
55  repeated string applications = 4;
56
57  // The name of the Backup and DR storage pool that the backup and recovery
58  // appliance is storing data in. The storage pool could be of type Cloud,
59  // Primary, Snapshot, or OnVault. See the [Backup and DR documentation on
60  // storage
61  // pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
62  // For example, `DiskPoolOne`.
63  string storage_pool = 5;
64
65  // The names of Backup and DR advanced policy options of a policy applying to
66  // an application. See the [Backup and DR documentation on policy
67  // options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
68  // For example, `skipofflineappsincongrp, nounmap`.
69  repeated string policy_options = 6;
70
71  // The name of the Backup and DR resource profile that specifies the storage
72  // media for backups of application and VM data. See the [Backup and DR
73  // documentation on
74  // profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile).
75  // For example, `GCP`.
76  string profile = 7;
77
78  // The name of the Backup and DR appliance that captures, moves, and manages
79  // the lifecycle of backup data. For example, `backup-server-57137`.
80  string appliance = 8;
81
82  // The backup type of the Backup and DR image.
83  // For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
84  string backup_type = 9;
85
86  // The timestamp at which the Backup and DR backup was created.
87  google.protobuf.Timestamp backup_create_time = 10;
88}
89