Debian Codegraph @

securitycenter/apiv1/securitycenterpb/backup_disaster_recovery.pb.go

raw
1 // Copyright 2025 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
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1/backup_disaster_recovery.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Information related to Google Cloud Backup and DR Service findings.
39 type BackupDisasterRecovery struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The name of a Backup and DR template which comprises one or more backup
45 // policies. See the [Backup and DR
46 // documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp)
47 // for more information. For example, `snap-ov`.
48 BackupTemplate string `protobuf:"bytes,1,opt,name=backup_template,json=backupTemplate,proto3" json:"backup_template,omitempty"`
49 // The names of Backup and DR policies that are associated with a template
50 // and that define when to run a backup, how frequently to run a backup, and
51 // how long to retain the backup image. For example, `onvaults`.
52 Policies []string `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
53 // The name of a Backup and DR host, which is managed by the backup and
54 // recovery appliance and known to the management console. The host can be of
55 // type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file
56 // system, etc.), vCenter, or an ESX server. See the [Backup and DR
57 // documentation on
58 // hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications)
59 // for more information. For example, `centos7-01`.
60 Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
61 // The names of Backup and DR applications. An application is a VM, database,
62 // or file system on a managed host monitored by a backup and recovery
63 // appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`,
64 // `centos7-01-vol02`.
65 Applications []string `protobuf:"bytes,4,rep,name=applications,proto3" json:"applications,omitempty"`
66 // The name of the Backup and DR storage pool that the backup and recovery
67 // appliance is storing data in. The storage pool could be of type Cloud,
68 // Primary, Snapshot, or OnVault. See the [Backup and DR documentation on
69 // storage
70 // pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
71 // For example, `DiskPoolOne`.
72 StoragePool string `protobuf:"bytes,5,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
73 // The names of Backup and DR advanced policy options of a policy applying to
74 // an application. See the [Backup and DR documentation on policy
75 // options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
76 // For example, `skipofflineappsincongrp, nounmap`.
77 PolicyOptions []string `protobuf:"bytes,6,rep,name=policy_options,json=policyOptions,proto3" json:"policy_options,omitempty"`
78 // The name of the Backup and DR resource profile that specifies the storage
79 // media for backups of application and VM data. See the [Backup and DR
80 // documentation on
81 // profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile).
82 // For example, `GCP`.
83 Profile string `protobuf:"bytes,7,opt,name=profile,proto3" json:"profile,omitempty"`
84 // The name of the Backup and DR appliance that captures, moves, and manages
85 // the lifecycle of backup data. For example, `backup-server-57137`.
86 Appliance string `protobuf:"bytes,8,opt,name=appliance,proto3" json:"appliance,omitempty"`
87 // The backup type of the Backup and DR image.
88 // For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
89 BackupType string `protobuf:"bytes,9,opt,name=backup_type,json=backupType,proto3" json:"backup_type,omitempty"`
90 // The timestamp at which the Backup and DR backup was created.
91 BackupCreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=backup_create_time,json=backupCreateTime,proto3" json:"backup_create_time,omitempty"`
92 }
93
94 func (x *BackupDisasterRecovery) Reset() {
95 *x = BackupDisasterRecovery{}
96 mi := &file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_msgTypes[0]
97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98 ms.StoreMessageInfo(mi)
99 }
100
101 func (x *BackupDisasterRecovery) String() string {
102 return protoimpl.X.MessageStringOf(x)
103 }
104
105 func (*BackupDisasterRecovery) ProtoMessage() {}
106
107 func (x *BackupDisasterRecovery) ProtoReflect() protoreflect.Message {
108 mi := &file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_msgTypes[0]
109 if x != nil {
110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111 if ms.LoadMessageInfo() == nil {
112 ms.StoreMessageInfo(mi)
113 }
114 return ms
115 }
116 return mi.MessageOf(x)
117 }
118
119 // Deprecated: Use BackupDisasterRecovery.ProtoReflect.Descriptor instead.
120 func (*BackupDisasterRecovery) Descriptor() ([]byte, []int) {
121 return file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescGZIP(), []int{0}
122 }
123
124 func (x *BackupDisasterRecovery) GetBackupTemplate() string {
125 if x != nil {
126 return x.BackupTemplate
127 }
128 return ""
129 }
130
131 func (x *BackupDisasterRecovery) GetPolicies() []string {
132 if x != nil {
133 return x.Policies
134 }
135 return nil
136 }
137
138 func (x *BackupDisasterRecovery) GetHost() string {
139 if x != nil {
140 return x.Host
141 }
142 return ""
143 }
144
145 func (x *BackupDisasterRecovery) GetApplications() []string {
146 if x != nil {
147 return x.Applications
148 }
149 return nil
150 }
151
152 func (x *BackupDisasterRecovery) GetStoragePool() string {
153 if x != nil {
154 return x.StoragePool
155 }
156 return ""
157 }
158
159 func (x *BackupDisasterRecovery) GetPolicyOptions() []string {
160 if x != nil {
161 return x.PolicyOptions
162 }
163 return nil
164 }
165
166 func (x *BackupDisasterRecovery) GetProfile() string {
167 if x != nil {
168 return x.Profile
169 }
170 return ""
171 }
172
173 func (x *BackupDisasterRecovery) GetAppliance() string {
174 if x != nil {
175 return x.Appliance
176 }
177 return ""
178 }
179
180 func (x *BackupDisasterRecovery) GetBackupType() string {
181 if x != nil {
182 return x.BackupType
183 }
184 return ""
185 }
186
187 func (x *BackupDisasterRecovery) GetBackupCreateTime() *timestamppb.Timestamp {
188 if x != nil {
189 return x.BackupCreateTime
190 }
191 return nil
192 }
193
194 var File_google_cloud_securitycenter_v1_backup_disaster_recovery_proto protoreflect.FileDescriptor
195
196 var file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDesc = []byte{
197 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
198 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
199 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72,
200 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
201 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
202 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a,
203 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
204 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
205 0x22, 0x82, 0x03, 0x0a, 0x16, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x73, 0x61, 0x73,
206 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x62,
207 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01,
208 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x65, 0x6d, 0x70,
209 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
210 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
211 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
212 0x68, 0x6f, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
213 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c,
214 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72,
215 0x61, 0x67, 0x65, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
216 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70,
217 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20,
218 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f,
219 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20,
220 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09,
221 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
222 0x09, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61,
223 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
224 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x62,
225 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
226 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
227 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
228 0x61, 0x6d, 0x70, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74,
229 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xf5, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
230 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
231 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x1b, 0x42, 0x61,
232 0x63, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f,
233 0x76, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
234 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
235 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
236 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
237 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
238 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
239 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
240 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
241 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
242 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
243 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
244 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
245 0x72, 0x6f, 0x74, 0x6f, 0x33,
246 }
247
248 var (
249 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescOnce sync.Once
250 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescData = file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDesc
251 )
252
253 func file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescGZIP() []byte {
254 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescOnce.Do(func() {
255 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescData)
256 })
257 return file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDescData
258 }
259
260 var file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
261 var file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_goTypes = []any{
262 (*BackupDisasterRecovery)(nil), // 0: google.cloud.securitycenter.v1.BackupDisasterRecovery
263 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
264 }
265 var file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_depIdxs = []int32{
266 1, // 0: google.cloud.securitycenter.v1.BackupDisasterRecovery.backup_create_time:type_name -> google.protobuf.Timestamp
267 1, // [1:1] is the sub-list for method output_type
268 1, // [1:1] is the sub-list for method input_type
269 1, // [1:1] is the sub-list for extension type_name
270 1, // [1:1] is the sub-list for extension extendee
271 0, // [0:1] is the sub-list for field type_name
272 }
273
274 func init() { file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_init() }
275 func file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_init() {
276 if File_google_cloud_securitycenter_v1_backup_disaster_recovery_proto != nil {
277 return
278 }
279 type x struct{}
280 out := protoimpl.TypeBuilder{
281 File: protoimpl.DescBuilder{
282 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
283 RawDescriptor: file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDesc,
284 NumEnums: 0,
285 NumMessages: 1,
286 NumExtensions: 0,
287 NumServices: 0,
288 },
289 GoTypes: file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_goTypes,
290 DependencyIndexes: file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_depIdxs,
291 MessageInfos: file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_msgTypes,
292 }.Build()
293 File_google_cloud_securitycenter_v1_backup_disaster_recovery_proto = out.File
294 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_rawDesc = nil
295 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_goTypes = nil
296 file_google_cloud_securitycenter_v1_backup_disaster_recovery_proto_depIdxs = nil
297 }