30
30
@ SuppressWarnings ("javadoc" )
31
31
public final class DiskBackupProperties extends com .google .api .client .json .GenericJson {
32
32
33
+ /**
34
+ * The access mode of the source disk.
35
+ * The value may be {@code null}.
36
+ */
37
+ @ com .google .api .client .util .Key
38
+ private java .lang .String accessMode ;
39
+
33
40
/**
34
41
* The architecture of the source disk. Valid values are ARM64 or X86_64.
35
42
* The value may be {@code null}.
@@ -44,13 +51,27 @@ public final class DiskBackupProperties extends com.google.api.client.json.Gener
44
51
@ com .google .api .client .util .Key
45
52
private java .lang .String description ;
46
53
54
+ /**
55
+ * Indicates whether the source disk is using confidential compute mode.
56
+ * The value may be {@code null}.
57
+ */
58
+ @ com .google .api .client .util .Key
59
+ private java .lang .Boolean enableConfidentialCompute ;
60
+
47
61
/**
48
62
* A list of guest OS features that are applicable to this backup.
49
63
* The value may be {@code null}.
50
64
*/
51
65
@ com .google .api .client .util .Key
52
66
private java .util .List <GuestOsFeature > guestOsFeature ;
53
67
68
+ /**
69
+ * The labels of the source disk.
70
+ * The value may be {@code null}.
71
+ */
72
+ @ com .google .api .client .util .Key
73
+ private java .util .Map <String , java .lang .String > labels ;
74
+
54
75
/**
55
76
* A list of publicly available licenses that are applicable to this backup. This is applicable if
56
77
* the original image had licenses attached, e.g. Windows image.
@@ -59,6 +80,27 @@ public final class DiskBackupProperties extends com.google.api.client.json.Gener
59
80
@ com .google .api .client .util .Key
60
81
private java .util .List <java .lang .String > licenses ;
61
82
83
+ /**
84
+ * The physical block size of the source disk.
85
+ * The value may be {@code null}.
86
+ */
87
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
88
+ private java .lang .Long physicalBlockSizeBytes ;
89
+
90
+ /**
91
+ * The number of IOPS provisioned for the source disk.
92
+ * The value may be {@code null}.
93
+ */
94
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
95
+ private java .lang .Long provisionedIops ;
96
+
97
+ /**
98
+ * The number of throughput provisioned for the source disk.
99
+ * The value may be {@code null}.
100
+ */
101
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
102
+ private java .lang .Long provisionedThroughput ;
103
+
62
104
/**
63
105
* Region and zone are mutually exclusive fields. The URL of the region of the source disk.
64
106
* The value may be {@code null}.
@@ -87,6 +129,13 @@ public final class DiskBackupProperties extends com.google.api.client.json.Gener
87
129
@ com .google .api .client .util .Key
88
130
private java .lang .String sourceDisk ;
89
131
132
+ /**
133
+ * The storage pool of the source disk.
134
+ * The value may be {@code null}.
135
+ */
136
+ @ com .google .api .client .util .Key
137
+ private java .lang .String storagePool ;
138
+
90
139
/**
91
140
* The URL of the type of the disk.
92
141
* The value may be {@code null}.
@@ -101,6 +150,23 @@ public final class DiskBackupProperties extends com.google.api.client.json.Gener
101
150
@ com .google .api .client .util .Key
102
151
private java .lang .String zone ;
103
152
153
+ /**
154
+ * The access mode of the source disk.
155
+ * @return value or {@code null} for none
156
+ */
157
+ public java .lang .String getAccessMode () {
158
+ return accessMode ;
159
+ }
160
+
161
+ /**
162
+ * The access mode of the source disk.
163
+ * @param accessMode accessMode or {@code null} for none
164
+ */
165
+ public DiskBackupProperties setAccessMode (java .lang .String accessMode ) {
166
+ this .accessMode = accessMode ;
167
+ return this ;
168
+ }
169
+
104
170
/**
105
171
* The architecture of the source disk. Valid values are ARM64 or X86_64.
106
172
* @return value or {@code null} for none
@@ -135,6 +201,23 @@ public DiskBackupProperties setDescription(java.lang.String description) {
135
201
return this ;
136
202
}
137
203
204
+ /**
205
+ * Indicates whether the source disk is using confidential compute mode.
206
+ * @return value or {@code null} for none
207
+ */
208
+ public java .lang .Boolean getEnableConfidentialCompute () {
209
+ return enableConfidentialCompute ;
210
+ }
211
+
212
+ /**
213
+ * Indicates whether the source disk is using confidential compute mode.
214
+ * @param enableConfidentialCompute enableConfidentialCompute or {@code null} for none
215
+ */
216
+ public DiskBackupProperties setEnableConfidentialCompute (java .lang .Boolean enableConfidentialCompute ) {
217
+ this .enableConfidentialCompute = enableConfidentialCompute ;
218
+ return this ;
219
+ }
220
+
138
221
/**
139
222
* A list of guest OS features that are applicable to this backup.
140
223
* @return value or {@code null} for none
@@ -152,6 +235,23 @@ public DiskBackupProperties setGuestOsFeature(java.util.List<GuestOsFeature> gue
152
235
return this ;
153
236
}
154
237
238
+ /**
239
+ * The labels of the source disk.
240
+ * @return value or {@code null} for none
241
+ */
242
+ public java .util .Map <String , java .lang .String > getLabels () {
243
+ return labels ;
244
+ }
245
+
246
+ /**
247
+ * The labels of the source disk.
248
+ * @param labels labels or {@code null} for none
249
+ */
250
+ public DiskBackupProperties setLabels (java .util .Map <String , java .lang .String > labels ) {
251
+ this .labels = labels ;
252
+ return this ;
253
+ }
254
+
155
255
/**
156
256
* A list of publicly available licenses that are applicable to this backup. This is applicable if
157
257
* the original image had licenses attached, e.g. Windows image.
@@ -171,6 +271,57 @@ public DiskBackupProperties setLicenses(java.util.List<java.lang.String> license
171
271
return this ;
172
272
}
173
273
274
+ /**
275
+ * The physical block size of the source disk.
276
+ * @return value or {@code null} for none
277
+ */
278
+ public java .lang .Long getPhysicalBlockSizeBytes () {
279
+ return physicalBlockSizeBytes ;
280
+ }
281
+
282
+ /**
283
+ * The physical block size of the source disk.
284
+ * @param physicalBlockSizeBytes physicalBlockSizeBytes or {@code null} for none
285
+ */
286
+ public DiskBackupProperties setPhysicalBlockSizeBytes (java .lang .Long physicalBlockSizeBytes ) {
287
+ this .physicalBlockSizeBytes = physicalBlockSizeBytes ;
288
+ return this ;
289
+ }
290
+
291
+ /**
292
+ * The number of IOPS provisioned for the source disk.
293
+ * @return value or {@code null} for none
294
+ */
295
+ public java .lang .Long getProvisionedIops () {
296
+ return provisionedIops ;
297
+ }
298
+
299
+ /**
300
+ * The number of IOPS provisioned for the source disk.
301
+ * @param provisionedIops provisionedIops or {@code null} for none
302
+ */
303
+ public DiskBackupProperties setProvisionedIops (java .lang .Long provisionedIops ) {
304
+ this .provisionedIops = provisionedIops ;
305
+ return this ;
306
+ }
307
+
308
+ /**
309
+ * The number of throughput provisioned for the source disk.
310
+ * @return value or {@code null} for none
311
+ */
312
+ public java .lang .Long getProvisionedThroughput () {
313
+ return provisionedThroughput ;
314
+ }
315
+
316
+ /**
317
+ * The number of throughput provisioned for the source disk.
318
+ * @param provisionedThroughput provisionedThroughput or {@code null} for none
319
+ */
320
+ public DiskBackupProperties setProvisionedThroughput (java .lang .Long provisionedThroughput ) {
321
+ this .provisionedThroughput = provisionedThroughput ;
322
+ return this ;
323
+ }
324
+
174
325
/**
175
326
* Region and zone are mutually exclusive fields. The URL of the region of the source disk.
176
327
* @return value or {@code null} for none
@@ -239,6 +390,23 @@ public DiskBackupProperties setSourceDisk(java.lang.String sourceDisk) {
239
390
return this ;
240
391
}
241
392
393
+ /**
394
+ * The storage pool of the source disk.
395
+ * @return value or {@code null} for none
396
+ */
397
+ public java .lang .String getStoragePool () {
398
+ return storagePool ;
399
+ }
400
+
401
+ /**
402
+ * The storage pool of the source disk.
403
+ * @param storagePool storagePool or {@code null} for none
404
+ */
405
+ public DiskBackupProperties setStoragePool (java .lang .String storagePool ) {
406
+ this .storagePool = storagePool ;
407
+ return this ;
408
+ }
409
+
242
410
/**
243
411
* The URL of the type of the disk.
244
412
* @return value or {@code null} for none
0 commit comments