File: backupdr_v1.projects.locations.backupVaults.dataSources.backups.html

package info (click to toggle)
python-googleapi 2.180.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 527,124 kB
  • sloc: python: 11,076; javascript: 249; sh: 114; makefile: 59
file content (1236 lines) | stat: -rw-r--r-- 126,571 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="backupdr_v1.html">Backup and DR Service API</a> . <a href="backupdr_v1.projects.html">projects</a> . <a href="backupdr_v1.projects.locations.html">locations</a> . <a href="backupdr_v1.projects.locations.backupVaults.html">backupVaults</a> . <a href="backupdr_v1.projects.locations.backupVaults.dataSources.html">dataSources</a> . <a href="backupdr_v1.projects.locations.backupVaults.dataSources.backups.html">backups</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a Backup.</p>
<p class="toc_element">
  <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets details of a Backup.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists Backups in a given project and location.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the settings of a Backup.</p>
<p class="toc_element">
  <code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Restore from a Backup</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
  <pre>Deletes a Backup.

Args:
  name: string, Required. Name of the resource. (required)
  requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # This resource represents a long-running operation that is the result of a network API call.
  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
      {
        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
      },
    ],
    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  },
  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
  &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
}</pre>
</div>

<div class="method">
    <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
  <pre>Gets details of a Backup.

Args:
  name: string, Required. Name of the data source resource name, in the format &#x27;projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}&#x27; (required)
  view: string, Optional. Reserved for future use to provide a BASIC &amp; FULL view of Backup resource.
    Allowed values
      BACKUP_VIEW_UNSPECIFIED - If the value is not set, the default &#x27;FULL&#x27; view is used.
      BACKUP_VIEW_BASIC - Includes basic data about the Backup, but not the full contents.
      BACKUP_VIEW_FULL - Includes all data about the Backup. This is the default value (for both ListBackups and GetBackup).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message describing a Backup object.
  &quot;backupApplianceBackupProperties&quot;: { # BackupApplianceBackupProperties represents BackupDR backup appliance&#x27;s properties. # Output only. Backup Appliance specific backup properties.
    &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time when this backup object was finalized (if none, backup is not finalized).
    &quot;generationId&quot;: 42, # Output only. The numeric generation ID of the backup (monotonically increasing).
    &quot;recoveryRangeEndTime&quot;: &quot;A String&quot;, # Optional. The latest timestamp of data available in this Backup.
    &quot;recoveryRangeStartTime&quot;: &quot;A String&quot;, # Optional. The earliest timestamp of data available in this Backup.
  },
  &quot;backupApplianceLocks&quot;: [ # Optional. The list of BackupLocks taken by the accessor Backup Appliance.
    { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
      &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
        &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
        &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
        &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
        &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
        &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
        &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
      },
      &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
      &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
        &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
      },
    },
  ],
  &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of the backup, unspecified, scheduled or ondemand.
  &quot;cloudSqlInstanceBackupProperties&quot;: { # CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties. # Output only. Cloud SQL specific backup properties.
    &quot;databaseInstalledVersion&quot;: &quot;A String&quot;, # Output only. The installed database version of the Cloud SQL instance when the backup was taken.
    &quot;finalBackup&quot;: True or False, # Output only. Whether the backup is a final backup.
    &quot;instanceTier&quot;: &quot;A String&quot;, # Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
    &quot;sourceInstance&quot;: &quot;A String&quot;, # Output only. The source instance of the backup. Format: projects/{project}/instances/{instance}
  },
  &quot;computeInstanceBackupProperties&quot;: { # ComputeInstanceBackupProperties represents Compute Engine instance backup properties. # Output only. Compute Engine specific backup properties.
    &quot;canIpForward&quot;: True or False, # Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.
    &quot;description&quot;: &quot;A String&quot;, # An optional text description for the instances that are created from these properties.
    &quot;disk&quot;: [ # An array of disks that are associated with the instances that are created from these properties.
      { # An instance-attached disk resource.
        &quot;autoDelete&quot;: True or False, # Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
        &quot;boot&quot;: True or False, # Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
        &quot;deviceName&quot;: &quot;A String&quot;, # Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)
        &quot;diskEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
          &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
          &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
          &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
          &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
        },
        &quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
        &quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
        &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
        &quot;diskTypeDeprecated&quot;: &quot;A String&quot;, # Specifies the type of the disk.
        &quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
          { # Feature type of the Guest OS.
            &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
          },
        ],
        &quot;index&quot;: &quot;A String&quot;, # Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
        &quot;initializeParams&quot;: { # Specifies the parameters to initialize this disk. # Optional. Specifies the parameters to initialize this disk.
          &quot;diskName&quot;: &quot;A String&quot;, # Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
          &quot;replicaZones&quot;: [ # Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
            &quot;A String&quot;,
          ],
        },
        &quot;kind&quot;: &quot;A String&quot;, # Optional. Type of the resource.
        &quot;license&quot;: [ # Optional. Any valid publicly visible licenses.
          &quot;A String&quot;,
        ],
        &quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which to attach this disk.
        &quot;savedState&quot;: &quot;A String&quot;, # Optional. Output only. The state of the disk.
        &quot;source&quot;: &quot;A String&quot;, # Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.
        &quot;type&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
      },
    ],
    &quot;guestAccelerator&quot;: [ # A list of guest accelerator cards&#x27; type and count to use for instances created from these properties.
      { # A specification of the type and number of accelerator cards attached to the instance.
        &quot;acceleratorCount&quot;: 42, # Optional. The number of the guest accelerator cards exposed to this instance.
        &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. Full or partial URL of the accelerator type resource to attach to this instance.
      },
    ],
    &quot;keyRevocationActionType&quot;: &quot;A String&quot;, # KeyRevocationActionType of the instance. Supported options are &quot;STOP&quot; and &quot;NONE&quot;. The default value is &quot;NONE&quot; if it is not specified.
    &quot;labels&quot;: { # Labels to apply to instances that are created from these properties.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;machineType&quot;: &quot;A String&quot;, # The machine type to use for instances that are created from these properties.
    &quot;metadata&quot;: { # A metadata key/value entry. # The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
      &quot;items&quot;: [ # Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
        { # A key/value pair to be used for storing metadata.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Key for the metadata entry.
          &quot;value&quot;: &quot;A String&quot;, # Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
        },
      ],
    },
    &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
    &quot;networkInterface&quot;: [ # An array of network access configurations for this interface.
      { # A network interface resource attached to an instance. s
        &quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;aliasIpRanges&quot;: [ # Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
          { # An alias IP range attached to an instance&#x27;s network interface.
            &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The IP alias ranges to allocate for this interface.
            &quot;subnetworkRangeName&quot;: &quot;A String&quot;, # Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
          },
        ],
        &quot;internalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the primary internal IPv6 range.
        &quot;ipv6AccessConfigs&quot;: [ # Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
        &quot;ipv6Address&quot;: &quot;A String&quot;, # Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance&#x27;s zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance&#x27;s subnetwork.
        &quot;name&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the network interface, which is generated by the server.
        &quot;network&quot;: &quot;A String&quot;, # Optional. URL of the VPC network resource for this instance.
        &quot;networkAttachment&quot;: &quot;A String&quot;, # Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
        &quot;networkIP&quot;: &quot;A String&quot;, # Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
        &quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
        &quot;queueCount&quot;: 42, # Optional. The networking queue count that&#x27;s specified by users for the network interface. Both Rx and Tx queues will be set to this number. It&#x27;ll be empty if not specified by the users.
        &quot;stackType&quot;: &quot;A String&quot;, # The stack type for this network interface.
        &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The URL of the Subnetwork resource for this instance.
      },
    ],
    &quot;scheduling&quot;: { # Sets the scheduling options for an Instance. # Specifies the scheduling options for the instances that are created from these properties.
      &quot;automaticRestart&quot;: True or False, # Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
      &quot;instanceTerminationAction&quot;: &quot;A String&quot;, # Optional. Specifies the termination action for the instance.
      &quot;localSsdRecoveryTimeout&quot;: { # A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years. # Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
        &quot;nanos&quot;: 42, # Optional. Span of time that&#x27;s a fraction of a second at nanosecond resolution.
        &quot;seconds&quot;: &quot;A String&quot;, # Optional. Span of time at a resolution of a second.
      },
      &quot;minNodeCpus&quot;: 42, # Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
      &quot;nodeAffinities&quot;: [ # Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
        { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Corresponds to the label key of Node resource.
          &quot;operator&quot;: &quot;A String&quot;, # Optional. Defines the operation of node selection.
          &quot;values&quot;: [ # Optional. Corresponds to the label values of Node resource.
            &quot;A String&quot;,
          ],
        },
      ],
      &quot;onHostMaintenance&quot;: &quot;A String&quot;, # Optional. Defines the maintenance behavior for this instance.
      &quot;preemptible&quot;: True or False, # Optional. Defines whether the instance is preemptible.
      &quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Specifies the provisioning model of the instance.
    },
    &quot;serviceAccount&quot;: [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
      { # A service account.
        &quot;email&quot;: &quot;A String&quot;, # Optional. Email address of the service account.
        &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
          &quot;A String&quot;,
        ],
      },
    ],
    &quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
    &quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
      &quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
        &quot;A String&quot;,
      ],
    },
  },
  &quot;consistencyTime&quot;: &quot;A String&quot;, # Output only. The point in time when this backup was captured from the source.
  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
  &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Backup instance (2048 characters or less).
  &quot;diskBackupProperties&quot;: { # DiskBackupProperties represents the properties of a Disk backup. # Output only. Disk specific backup properties.
    &quot;accessMode&quot;: &quot;A String&quot;, # The access mode of the source disk.
    &quot;architecture&quot;: &quot;A String&quot;, # The architecture of the source disk. Valid values are ARM64 or X86_64.
    &quot;description&quot;: &quot;A String&quot;, # A description of the source disk.
    &quot;enableConfidentialCompute&quot;: True or False, # Indicates whether the source disk is using confidential compute mode.
    &quot;guestOsFeature&quot;: [ # A list of guest OS features that are applicable to this backup.
      { # Feature type of the Guest OS.
        &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
      },
    ],
    &quot;labels&quot;: { # The labels of the source disk.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;licenses&quot;: [ # A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
      &quot;A String&quot;,
    ],
    &quot;physicalBlockSizeBytes&quot;: &quot;A String&quot;, # The physical block size of the source disk.
    &quot;provisionedIops&quot;: &quot;A String&quot;, # The number of IOPS provisioned for the source disk.
    &quot;provisionedThroughput&quot;: &quot;A String&quot;, # The number of throughput provisioned for the source disk.
    &quot;region&quot;: &quot;A String&quot;, # Region and zone are mutually exclusive fields. The URL of the region of the source disk.
    &quot;replicaZones&quot;: [ # The URL of the Zones where the source disk should be replicated.
      &quot;A String&quot;,
    ],
    &quot;sizeGb&quot;: &quot;A String&quot;, # Size(in GB) of the source disk.
    &quot;sourceDisk&quot;: &quot;A String&quot;, # The source disk used to create this backup.
    &quot;storagePool&quot;: &quot;A String&quot;, # The storage pool of the source disk.
    &quot;type&quot;: &quot;A String&quot;, # The URL of the type of the disk.
    &quot;zone&quot;: &quot;A String&quot;, # The URL of the Zone where the source disk.
  },
  &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Optional. The backup can not be deleted before this time.
  &quot;etag&quot;: &quot;A String&quot;, # Optional. Server specified ETag to prevent updates from overwriting each other.
  &quot;expireTime&quot;: &quot;A String&quot;, # Optional. When this backup is automatically expired.
  &quot;gcpBackupPlanInfo&quot;: { # GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup. # Output only. Configuration for a Google Cloud resource.
    &quot;backupPlan&quot;: &quot;A String&quot;, # Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
    &quot;backupPlanRevisionId&quot;: &quot;A String&quot;, # The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
    &quot;backupPlanRevisionName&quot;: &quot;A String&quot;, # Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
    &quot;backupPlanRuleId&quot;: &quot;A String&quot;, # The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
  },
  &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata. No labels currently defined.
    &quot;a_key&quot;: &quot;A String&quot;,
  },
  &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the backup to create. It must have the format`&quot;projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}&quot;`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
  &quot;resourceSizeBytes&quot;: &quot;A String&quot;, # Output only. source resource size in bytes at the time of the backup.
  &quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
  &quot;satisfiesPzs&quot;: True or False, # Optional. Output only. Reserved for future use.
  &quot;serviceLocks&quot;: [ # Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
    { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
      &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
        &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
        &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
        &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
        &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
        &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
        &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
      },
      &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
      &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
        &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
      },
    },
  ],
  &quot;state&quot;: &quot;A String&quot;, # Output only. The Backup resource instance state.
  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was updated.
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
  <pre>Lists Backups in a given project and location.

Args:
  parent: string, Required. The project and location for which to retrieve backup information, in the format &#x27;projects/{project_id}/locations/{location}&#x27;. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve data sources for all locations, use &quot;-&quot; for the &#x27;{location}&#x27; value. (required)
  filter: string, Optional. Filtering results.
  orderBy: string, Optional. Hint for how to order the results.
  pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, Optional. A token identifying a page of results the server should return.
  view: string, Optional. Reserved for future use to provide a BASIC &amp; FULL view of Backup resource.
    Allowed values
      BACKUP_VIEW_UNSPECIFIED - If the value is not set, the default &#x27;FULL&#x27; view is used.
      BACKUP_VIEW_BASIC - Includes basic data about the Backup, but not the full contents.
      BACKUP_VIEW_FULL - Includes all data about the Backup. This is the default value (for both ListBackups and GetBackup).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for listing Backups.
  &quot;backups&quot;: [ # The list of Backup instances in the project for the specified location. If the &#x27;{location}&#x27; value in the request is &quot;-&quot;, the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the &#x27;unreachable&#x27; field will be populated with a list of unreachable locations.
    { # Message describing a Backup object.
      &quot;backupApplianceBackupProperties&quot;: { # BackupApplianceBackupProperties represents BackupDR backup appliance&#x27;s properties. # Output only. Backup Appliance specific backup properties.
        &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time when this backup object was finalized (if none, backup is not finalized).
        &quot;generationId&quot;: 42, # Output only. The numeric generation ID of the backup (monotonically increasing).
        &quot;recoveryRangeEndTime&quot;: &quot;A String&quot;, # Optional. The latest timestamp of data available in this Backup.
        &quot;recoveryRangeStartTime&quot;: &quot;A String&quot;, # Optional. The earliest timestamp of data available in this Backup.
      },
      &quot;backupApplianceLocks&quot;: [ # Optional. The list of BackupLocks taken by the accessor Backup Appliance.
        { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
          &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
            &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
            &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
            &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
            &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
            &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
            &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
          },
          &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
          &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
            &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
          },
        },
      ],
      &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of the backup, unspecified, scheduled or ondemand.
      &quot;cloudSqlInstanceBackupProperties&quot;: { # CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties. # Output only. Cloud SQL specific backup properties.
        &quot;databaseInstalledVersion&quot;: &quot;A String&quot;, # Output only. The installed database version of the Cloud SQL instance when the backup was taken.
        &quot;finalBackup&quot;: True or False, # Output only. Whether the backup is a final backup.
        &quot;instanceTier&quot;: &quot;A String&quot;, # Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
        &quot;sourceInstance&quot;: &quot;A String&quot;, # Output only. The source instance of the backup. Format: projects/{project}/instances/{instance}
      },
      &quot;computeInstanceBackupProperties&quot;: { # ComputeInstanceBackupProperties represents Compute Engine instance backup properties. # Output only. Compute Engine specific backup properties.
        &quot;canIpForward&quot;: True or False, # Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.
        &quot;description&quot;: &quot;A String&quot;, # An optional text description for the instances that are created from these properties.
        &quot;disk&quot;: [ # An array of disks that are associated with the instances that are created from these properties.
          { # An instance-attached disk resource.
            &quot;autoDelete&quot;: True or False, # Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
            &quot;boot&quot;: True or False, # Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
            &quot;deviceName&quot;: &quot;A String&quot;, # Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)
            &quot;diskEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
              &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
              &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
              &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
              &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
            },
            &quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
            &quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
            &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
            &quot;diskTypeDeprecated&quot;: &quot;A String&quot;, # Specifies the type of the disk.
            &quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
              { # Feature type of the Guest OS.
                &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
              },
            ],
            &quot;index&quot;: &quot;A String&quot;, # Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
            &quot;initializeParams&quot;: { # Specifies the parameters to initialize this disk. # Optional. Specifies the parameters to initialize this disk.
              &quot;diskName&quot;: &quot;A String&quot;, # Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
              &quot;replicaZones&quot;: [ # Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
                &quot;A String&quot;,
              ],
            },
            &quot;kind&quot;: &quot;A String&quot;, # Optional. Type of the resource.
            &quot;license&quot;: [ # Optional. Any valid publicly visible licenses.
              &quot;A String&quot;,
            ],
            &quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which to attach this disk.
            &quot;savedState&quot;: &quot;A String&quot;, # Optional. Output only. The state of the disk.
            &quot;source&quot;: &quot;A String&quot;, # Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.
            &quot;type&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
          },
        ],
        &quot;guestAccelerator&quot;: [ # A list of guest accelerator cards&#x27; type and count to use for instances created from these properties.
          { # A specification of the type and number of accelerator cards attached to the instance.
            &quot;acceleratorCount&quot;: 42, # Optional. The number of the guest accelerator cards exposed to this instance.
            &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. Full or partial URL of the accelerator type resource to attach to this instance.
          },
        ],
        &quot;keyRevocationActionType&quot;: &quot;A String&quot;, # KeyRevocationActionType of the instance. Supported options are &quot;STOP&quot; and &quot;NONE&quot;. The default value is &quot;NONE&quot; if it is not specified.
        &quot;labels&quot;: { # Labels to apply to instances that are created from these properties.
          &quot;a_key&quot;: &quot;A String&quot;,
        },
        &quot;machineType&quot;: &quot;A String&quot;, # The machine type to use for instances that are created from these properties.
        &quot;metadata&quot;: { # A metadata key/value entry. # The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
          &quot;items&quot;: [ # Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
            { # A key/value pair to be used for storing metadata.
              &quot;key&quot;: &quot;A String&quot;, # Optional. Key for the metadata entry.
              &quot;value&quot;: &quot;A String&quot;, # Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
            },
          ],
        },
        &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
        &quot;networkInterface&quot;: [ # An array of network access configurations for this interface.
          { # A network interface resource attached to an instance. s
            &quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
              { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
                &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
                &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
                &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
                &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
                &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
                &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
                &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
                &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
              },
            ],
            &quot;aliasIpRanges&quot;: [ # Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
              { # An alias IP range attached to an instance&#x27;s network interface.
                &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The IP alias ranges to allocate for this interface.
                &quot;subnetworkRangeName&quot;: &quot;A String&quot;, # Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
              },
            ],
            &quot;internalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the primary internal IPv6 range.
            &quot;ipv6AccessConfigs&quot;: [ # Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
              { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
                &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
                &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
                &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
                &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
                &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
                &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
                &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
                &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
              },
            ],
            &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
            &quot;ipv6Address&quot;: &quot;A String&quot;, # Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance&#x27;s zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance&#x27;s subnetwork.
            &quot;name&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the network interface, which is generated by the server.
            &quot;network&quot;: &quot;A String&quot;, # Optional. URL of the VPC network resource for this instance.
            &quot;networkAttachment&quot;: &quot;A String&quot;, # Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
            &quot;networkIP&quot;: &quot;A String&quot;, # Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
            &quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
            &quot;queueCount&quot;: 42, # Optional. The networking queue count that&#x27;s specified by users for the network interface. Both Rx and Tx queues will be set to this number. It&#x27;ll be empty if not specified by the users.
            &quot;stackType&quot;: &quot;A String&quot;, # The stack type for this network interface.
            &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The URL of the Subnetwork resource for this instance.
          },
        ],
        &quot;scheduling&quot;: { # Sets the scheduling options for an Instance. # Specifies the scheduling options for the instances that are created from these properties.
          &quot;automaticRestart&quot;: True or False, # Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
          &quot;instanceTerminationAction&quot;: &quot;A String&quot;, # Optional. Specifies the termination action for the instance.
          &quot;localSsdRecoveryTimeout&quot;: { # A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years. # Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
            &quot;nanos&quot;: 42, # Optional. Span of time that&#x27;s a fraction of a second at nanosecond resolution.
            &quot;seconds&quot;: &quot;A String&quot;, # Optional. Span of time at a resolution of a second.
          },
          &quot;minNodeCpus&quot;: 42, # Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
          &quot;nodeAffinities&quot;: [ # Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
            { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
              &quot;key&quot;: &quot;A String&quot;, # Optional. Corresponds to the label key of Node resource.
              &quot;operator&quot;: &quot;A String&quot;, # Optional. Defines the operation of node selection.
              &quot;values&quot;: [ # Optional. Corresponds to the label values of Node resource.
                &quot;A String&quot;,
              ],
            },
          ],
          &quot;onHostMaintenance&quot;: &quot;A String&quot;, # Optional. Defines the maintenance behavior for this instance.
          &quot;preemptible&quot;: True or False, # Optional. Defines whether the instance is preemptible.
          &quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Specifies the provisioning model of the instance.
        },
        &quot;serviceAccount&quot;: [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
          { # A service account.
            &quot;email&quot;: &quot;A String&quot;, # Optional. Email address of the service account.
            &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
              &quot;A String&quot;,
            ],
          },
        ],
        &quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
        &quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
          &quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
            &quot;A String&quot;,
          ],
        },
      },
      &quot;consistencyTime&quot;: &quot;A String&quot;, # Output only. The point in time when this backup was captured from the source.
      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
      &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Backup instance (2048 characters or less).
      &quot;diskBackupProperties&quot;: { # DiskBackupProperties represents the properties of a Disk backup. # Output only. Disk specific backup properties.
        &quot;accessMode&quot;: &quot;A String&quot;, # The access mode of the source disk.
        &quot;architecture&quot;: &quot;A String&quot;, # The architecture of the source disk. Valid values are ARM64 or X86_64.
        &quot;description&quot;: &quot;A String&quot;, # A description of the source disk.
        &quot;enableConfidentialCompute&quot;: True or False, # Indicates whether the source disk is using confidential compute mode.
        &quot;guestOsFeature&quot;: [ # A list of guest OS features that are applicable to this backup.
          { # Feature type of the Guest OS.
            &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
          },
        ],
        &quot;labels&quot;: { # The labels of the source disk.
          &quot;a_key&quot;: &quot;A String&quot;,
        },
        &quot;licenses&quot;: [ # A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
          &quot;A String&quot;,
        ],
        &quot;physicalBlockSizeBytes&quot;: &quot;A String&quot;, # The physical block size of the source disk.
        &quot;provisionedIops&quot;: &quot;A String&quot;, # The number of IOPS provisioned for the source disk.
        &quot;provisionedThroughput&quot;: &quot;A String&quot;, # The number of throughput provisioned for the source disk.
        &quot;region&quot;: &quot;A String&quot;, # Region and zone are mutually exclusive fields. The URL of the region of the source disk.
        &quot;replicaZones&quot;: [ # The URL of the Zones where the source disk should be replicated.
          &quot;A String&quot;,
        ],
        &quot;sizeGb&quot;: &quot;A String&quot;, # Size(in GB) of the source disk.
        &quot;sourceDisk&quot;: &quot;A String&quot;, # The source disk used to create this backup.
        &quot;storagePool&quot;: &quot;A String&quot;, # The storage pool of the source disk.
        &quot;type&quot;: &quot;A String&quot;, # The URL of the type of the disk.
        &quot;zone&quot;: &quot;A String&quot;, # The URL of the Zone where the source disk.
      },
      &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Optional. The backup can not be deleted before this time.
      &quot;etag&quot;: &quot;A String&quot;, # Optional. Server specified ETag to prevent updates from overwriting each other.
      &quot;expireTime&quot;: &quot;A String&quot;, # Optional. When this backup is automatically expired.
      &quot;gcpBackupPlanInfo&quot;: { # GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup. # Output only. Configuration for a Google Cloud resource.
        &quot;backupPlan&quot;: &quot;A String&quot;, # Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
        &quot;backupPlanRevisionId&quot;: &quot;A String&quot;, # The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
        &quot;backupPlanRevisionName&quot;: &quot;A String&quot;, # Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
        &quot;backupPlanRuleId&quot;: &quot;A String&quot;, # The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
      },
      &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata. No labels currently defined.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
      &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the backup to create. It must have the format`&quot;projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}&quot;`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
      &quot;resourceSizeBytes&quot;: &quot;A String&quot;, # Output only. source resource size in bytes at the time of the backup.
      &quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
      &quot;satisfiesPzs&quot;: True or False, # Optional. Output only. Reserved for future use.
      &quot;serviceLocks&quot;: [ # Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
        { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
          &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
            &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
            &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
            &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
            &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
            &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
            &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
          },
          &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
          &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
            &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
          },
        },
      ],
      &quot;state&quot;: &quot;A String&quot;, # Output only. The Backup resource instance state.
      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was updated.
    },
  ],
  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
  &quot;unreachable&quot;: [ # Locations that could not be reached.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
  <pre>Updates the settings of a Backup.

Args:
  name: string, Output only. Identifier. Name of the backup to create. It must have the format`&quot;projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}&quot;`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource. (required)
  body: object, The request body.
    The object takes the form of:

{ # Message describing a Backup object.
  &quot;backupApplianceBackupProperties&quot;: { # BackupApplianceBackupProperties represents BackupDR backup appliance&#x27;s properties. # Output only. Backup Appliance specific backup properties.
    &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time when this backup object was finalized (if none, backup is not finalized).
    &quot;generationId&quot;: 42, # Output only. The numeric generation ID of the backup (monotonically increasing).
    &quot;recoveryRangeEndTime&quot;: &quot;A String&quot;, # Optional. The latest timestamp of data available in this Backup.
    &quot;recoveryRangeStartTime&quot;: &quot;A String&quot;, # Optional. The earliest timestamp of data available in this Backup.
  },
  &quot;backupApplianceLocks&quot;: [ # Optional. The list of BackupLocks taken by the accessor Backup Appliance.
    { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
      &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
        &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
        &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
        &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
        &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
        &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
        &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
      },
      &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
      &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
        &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
      },
    },
  ],
  &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of the backup, unspecified, scheduled or ondemand.
  &quot;cloudSqlInstanceBackupProperties&quot;: { # CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties. # Output only. Cloud SQL specific backup properties.
    &quot;databaseInstalledVersion&quot;: &quot;A String&quot;, # Output only. The installed database version of the Cloud SQL instance when the backup was taken.
    &quot;finalBackup&quot;: True or False, # Output only. Whether the backup is a final backup.
    &quot;instanceTier&quot;: &quot;A String&quot;, # Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
    &quot;sourceInstance&quot;: &quot;A String&quot;, # Output only. The source instance of the backup. Format: projects/{project}/instances/{instance}
  },
  &quot;computeInstanceBackupProperties&quot;: { # ComputeInstanceBackupProperties represents Compute Engine instance backup properties. # Output only. Compute Engine specific backup properties.
    &quot;canIpForward&quot;: True or False, # Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.
    &quot;description&quot;: &quot;A String&quot;, # An optional text description for the instances that are created from these properties.
    &quot;disk&quot;: [ # An array of disks that are associated with the instances that are created from these properties.
      { # An instance-attached disk resource.
        &quot;autoDelete&quot;: True or False, # Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
        &quot;boot&quot;: True or False, # Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
        &quot;deviceName&quot;: &quot;A String&quot;, # Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)
        &quot;diskEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
          &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
          &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
          &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
          &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
        },
        &quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
        &quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
        &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
        &quot;diskTypeDeprecated&quot;: &quot;A String&quot;, # Specifies the type of the disk.
        &quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
          { # Feature type of the Guest OS.
            &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
          },
        ],
        &quot;index&quot;: &quot;A String&quot;, # Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
        &quot;initializeParams&quot;: { # Specifies the parameters to initialize this disk. # Optional. Specifies the parameters to initialize this disk.
          &quot;diskName&quot;: &quot;A String&quot;, # Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
          &quot;replicaZones&quot;: [ # Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
            &quot;A String&quot;,
          ],
        },
        &quot;kind&quot;: &quot;A String&quot;, # Optional. Type of the resource.
        &quot;license&quot;: [ # Optional. Any valid publicly visible licenses.
          &quot;A String&quot;,
        ],
        &quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which to attach this disk.
        &quot;savedState&quot;: &quot;A String&quot;, # Optional. Output only. The state of the disk.
        &quot;source&quot;: &quot;A String&quot;, # Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.
        &quot;type&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
      },
    ],
    &quot;guestAccelerator&quot;: [ # A list of guest accelerator cards&#x27; type and count to use for instances created from these properties.
      { # A specification of the type and number of accelerator cards attached to the instance.
        &quot;acceleratorCount&quot;: 42, # Optional. The number of the guest accelerator cards exposed to this instance.
        &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. Full or partial URL of the accelerator type resource to attach to this instance.
      },
    ],
    &quot;keyRevocationActionType&quot;: &quot;A String&quot;, # KeyRevocationActionType of the instance. Supported options are &quot;STOP&quot; and &quot;NONE&quot;. The default value is &quot;NONE&quot; if it is not specified.
    &quot;labels&quot;: { # Labels to apply to instances that are created from these properties.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;machineType&quot;: &quot;A String&quot;, # The machine type to use for instances that are created from these properties.
    &quot;metadata&quot;: { # A metadata key/value entry. # The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
      &quot;items&quot;: [ # Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
        { # A key/value pair to be used for storing metadata.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Key for the metadata entry.
          &quot;value&quot;: &quot;A String&quot;, # Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
        },
      ],
    },
    &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
    &quot;networkInterface&quot;: [ # An array of network access configurations for this interface.
      { # A network interface resource attached to an instance. s
        &quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;aliasIpRanges&quot;: [ # Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
          { # An alias IP range attached to an instance&#x27;s network interface.
            &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The IP alias ranges to allocate for this interface.
            &quot;subnetworkRangeName&quot;: &quot;A String&quot;, # Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
          },
        ],
        &quot;internalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the primary internal IPv6 range.
        &quot;ipv6AccessConfigs&quot;: [ # Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
        &quot;ipv6Address&quot;: &quot;A String&quot;, # Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance&#x27;s zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance&#x27;s subnetwork.
        &quot;name&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the network interface, which is generated by the server.
        &quot;network&quot;: &quot;A String&quot;, # Optional. URL of the VPC network resource for this instance.
        &quot;networkAttachment&quot;: &quot;A String&quot;, # Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
        &quot;networkIP&quot;: &quot;A String&quot;, # Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
        &quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
        &quot;queueCount&quot;: 42, # Optional. The networking queue count that&#x27;s specified by users for the network interface. Both Rx and Tx queues will be set to this number. It&#x27;ll be empty if not specified by the users.
        &quot;stackType&quot;: &quot;A String&quot;, # The stack type for this network interface.
        &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The URL of the Subnetwork resource for this instance.
      },
    ],
    &quot;scheduling&quot;: { # Sets the scheduling options for an Instance. # Specifies the scheduling options for the instances that are created from these properties.
      &quot;automaticRestart&quot;: True or False, # Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
      &quot;instanceTerminationAction&quot;: &quot;A String&quot;, # Optional. Specifies the termination action for the instance.
      &quot;localSsdRecoveryTimeout&quot;: { # A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years. # Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
        &quot;nanos&quot;: 42, # Optional. Span of time that&#x27;s a fraction of a second at nanosecond resolution.
        &quot;seconds&quot;: &quot;A String&quot;, # Optional. Span of time at a resolution of a second.
      },
      &quot;minNodeCpus&quot;: 42, # Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
      &quot;nodeAffinities&quot;: [ # Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
        { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Corresponds to the label key of Node resource.
          &quot;operator&quot;: &quot;A String&quot;, # Optional. Defines the operation of node selection.
          &quot;values&quot;: [ # Optional. Corresponds to the label values of Node resource.
            &quot;A String&quot;,
          ],
        },
      ],
      &quot;onHostMaintenance&quot;: &quot;A String&quot;, # Optional. Defines the maintenance behavior for this instance.
      &quot;preemptible&quot;: True or False, # Optional. Defines whether the instance is preemptible.
      &quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Specifies the provisioning model of the instance.
    },
    &quot;serviceAccount&quot;: [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
      { # A service account.
        &quot;email&quot;: &quot;A String&quot;, # Optional. Email address of the service account.
        &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
          &quot;A String&quot;,
        ],
      },
    ],
    &quot;sourceInstance&quot;: &quot;A String&quot;, # The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
    &quot;tags&quot;: { # A set of instance tags. # A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
      &quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
        &quot;A String&quot;,
      ],
    },
  },
  &quot;consistencyTime&quot;: &quot;A String&quot;, # Output only. The point in time when this backup was captured from the source.
  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
  &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Backup instance (2048 characters or less).
  &quot;diskBackupProperties&quot;: { # DiskBackupProperties represents the properties of a Disk backup. # Output only. Disk specific backup properties.
    &quot;accessMode&quot;: &quot;A String&quot;, # The access mode of the source disk.
    &quot;architecture&quot;: &quot;A String&quot;, # The architecture of the source disk. Valid values are ARM64 or X86_64.
    &quot;description&quot;: &quot;A String&quot;, # A description of the source disk.
    &quot;enableConfidentialCompute&quot;: True or False, # Indicates whether the source disk is using confidential compute mode.
    &quot;guestOsFeature&quot;: [ # A list of guest OS features that are applicable to this backup.
      { # Feature type of the Guest OS.
        &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
      },
    ],
    &quot;labels&quot;: { # The labels of the source disk.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;licenses&quot;: [ # A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
      &quot;A String&quot;,
    ],
    &quot;physicalBlockSizeBytes&quot;: &quot;A String&quot;, # The physical block size of the source disk.
    &quot;provisionedIops&quot;: &quot;A String&quot;, # The number of IOPS provisioned for the source disk.
    &quot;provisionedThroughput&quot;: &quot;A String&quot;, # The number of throughput provisioned for the source disk.
    &quot;region&quot;: &quot;A String&quot;, # Region and zone are mutually exclusive fields. The URL of the region of the source disk.
    &quot;replicaZones&quot;: [ # The URL of the Zones where the source disk should be replicated.
      &quot;A String&quot;,
    ],
    &quot;sizeGb&quot;: &quot;A String&quot;, # Size(in GB) of the source disk.
    &quot;sourceDisk&quot;: &quot;A String&quot;, # The source disk used to create this backup.
    &quot;storagePool&quot;: &quot;A String&quot;, # The storage pool of the source disk.
    &quot;type&quot;: &quot;A String&quot;, # The URL of the type of the disk.
    &quot;zone&quot;: &quot;A String&quot;, # The URL of the Zone where the source disk.
  },
  &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Optional. The backup can not be deleted before this time.
  &quot;etag&quot;: &quot;A String&quot;, # Optional. Server specified ETag to prevent updates from overwriting each other.
  &quot;expireTime&quot;: &quot;A String&quot;, # Optional. When this backup is automatically expired.
  &quot;gcpBackupPlanInfo&quot;: { # GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup. # Output only. Configuration for a Google Cloud resource.
    &quot;backupPlan&quot;: &quot;A String&quot;, # Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
    &quot;backupPlanRevisionId&quot;: &quot;A String&quot;, # The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
    &quot;backupPlanRevisionName&quot;: &quot;A String&quot;, # Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
    &quot;backupPlanRuleId&quot;: &quot;A String&quot;, # The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
  },
  &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata. No labels currently defined.
    &quot;a_key&quot;: &quot;A String&quot;,
  },
  &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the backup to create. It must have the format`&quot;projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}&quot;`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
  &quot;resourceSizeBytes&quot;: &quot;A String&quot;, # Output only. source resource size in bytes at the time of the backup.
  &quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
  &quot;satisfiesPzs&quot;: True or False, # Optional. Output only. Reserved for future use.
  &quot;serviceLocks&quot;: [ # Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
    { # BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
      &quot;backupApplianceLockInfo&quot;: { # BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. # If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
        &quot;backupApplianceId&quot;: &quot;A String&quot;, # Required. The ID of the backup/recovery appliance that created this lock.
        &quot;backupApplianceName&quot;: &quot;A String&quot;, # Required. The name of the backup/recovery appliance that created this lock.
        &quot;backupImage&quot;: &quot;A String&quot;, # The image name that depends on this Backup.
        &quot;jobName&quot;: &quot;A String&quot;, # The job name on the backup/recovery appliance that created this lock.
        &quot;lockReason&quot;: &quot;A String&quot;, # Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.
        &quot;slaId&quot;: &quot;A String&quot;, # The SLA on the backup/recovery appliance that owns the lock.
      },
      &quot;lockUntilTime&quot;: &quot;A String&quot;, # Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
      &quot;serviceLockInfo&quot;: { # ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. # Output only. Contains metadata about the lock exist for Google Cloud native backups.
        &quot;operation&quot;: &quot;A String&quot;, # Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.
      },
    },
  ],
  &quot;state&quot;: &quot;A String&quot;, # Output only. The Backup resource instance state.
  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was updated.
}

  requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
  updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # This resource represents a long-running operation that is the result of a network API call.
  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
      {
        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
      },
    ],
    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  },
  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
  &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
}</pre>
</div>

<div class="method">
    <code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
  <pre>Restore from a Backup

Args:
  name: string, Required. The resource name of the Backup instance, in the format &#x27;projects/*/locations/*/backupVaults/*/dataSources/*/backups/&#x27;. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for restoring from a Backup.
  &quot;computeInstanceRestoreProperties&quot;: { # ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore. # Compute Engine instance properties to be overridden during restore.
    &quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Optional. Controls for advanced machine-related behavior features.
      &quot;enableNestedVirtualization&quot;: True or False, # Optional. Whether to enable nested virtualization or not (default is false).
      &quot;enableUefiNetworking&quot;: True or False, # Optional. Whether to enable UEFI networking for instance creation.
      &quot;threadsPerCore&quot;: 42, # Optional. The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
      &quot;visibleCoreCount&quot;: 42, # Optional. The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance&#x27;s nominal CPU count and the underlying platform&#x27;s SMT width.
    },
    &quot;canIpForward&quot;: True or False, # Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
    &quot;confidentialInstanceConfig&quot;: { # A set of Confidential Instance options. # Optional. Controls Confidential compute options on the instance
      &quot;enableConfidentialCompute&quot;: True or False, # Optional. Defines whether the instance should have confidential compute enabled.
    },
    &quot;deletionProtection&quot;: True or False, # Optional. Whether the resource should be protected against deletion.
    &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of this resource. Provide this property when you create the resource.
    &quot;disks&quot;: [ # Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
      { # An instance-attached disk resource.
        &quot;autoDelete&quot;: True or False, # Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
        &quot;boot&quot;: True or False, # Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
        &quot;deviceName&quot;: &quot;A String&quot;, # Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)
        &quot;diskEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
          &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
          &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
          &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
          &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
        },
        &quot;diskInterface&quot;: &quot;A String&quot;, # Optional. Specifies the disk interface to use for attaching this disk.
        &quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The size of the disk in GB.
        &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
        &quot;diskTypeDeprecated&quot;: &quot;A String&quot;, # Specifies the type of the disk.
        &quot;guestOsFeature&quot;: [ # Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
          { # Feature type of the Guest OS.
            &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
          },
        ],
        &quot;index&quot;: &quot;A String&quot;, # Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
        &quot;initializeParams&quot;: { # Specifies the parameters to initialize this disk. # Optional. Specifies the parameters to initialize this disk.
          &quot;diskName&quot;: &quot;A String&quot;, # Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.
          &quot;replicaZones&quot;: [ # Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.
            &quot;A String&quot;,
          ],
        },
        &quot;kind&quot;: &quot;A String&quot;, # Optional. Type of the resource.
        &quot;license&quot;: [ # Optional. Any valid publicly visible licenses.
          &quot;A String&quot;,
        ],
        &quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which to attach this disk.
        &quot;savedState&quot;: &quot;A String&quot;, # Optional. Output only. The state of the disk.
        &quot;source&quot;: &quot;A String&quot;, # Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.
        &quot;type&quot;: &quot;A String&quot;, # Optional. Specifies the type of the disk.
      },
    ],
    &quot;displayDevice&quot;: { # A set of Display Device options # Optional. Enables display device for the instance.
      &quot;enableDisplay&quot;: True or False, # Optional. Enables display for the Compute Engine VM
    },
    &quot;guestAccelerators&quot;: [ # Optional. A list of the type and count of accelerator cards attached to the instance.
      { # A specification of the type and number of accelerator cards attached to the instance.
        &quot;acceleratorCount&quot;: 42, # Optional. The number of the guest accelerator cards exposed to this instance.
        &quot;acceleratorType&quot;: &quot;A String&quot;, # Optional. Full or partial URL of the accelerator type resource to attach to this instance.
      },
    ],
    &quot;hostname&quot;: &quot;A String&quot;, # Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
    &quot;instanceEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
      &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
      &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
      &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
      &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
    },
    &quot;keyRevocationActionType&quot;: &quot;A String&quot;, # Optional. KeyRevocationActionType of the instance.
    &quot;labels&quot;: { # Optional. Labels to apply to this instance.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;machineType&quot;: &quot;A String&quot;, # Optional. Full or partial URL of the machine type resource to use for this instance.
    &quot;metadata&quot;: { # A metadata key/value entry. # Optional. This includes custom metadata and predefined keys.
      &quot;items&quot;: [ # Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
        { # A key/value pair to be used for storing metadata.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Key for the metadata entry.
          &quot;value&quot;: &quot;A String&quot;, # Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).
        },
      ],
    },
    &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Optional. Minimum CPU platform to use for this instance.
    &quot;name&quot;: &quot;A String&quot;, # Required. Name of the compute instance.
    &quot;networkInterfaces&quot;: [ # Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
      { # A network interface resource attached to an instance. s
        &quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;aliasIpRanges&quot;: [ # Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
          { # An alias IP range attached to an instance&#x27;s network interface.
            &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The IP alias ranges to allocate for this interface.
            &quot;subnetworkRangeName&quot;: &quot;A String&quot;, # Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
          },
        ],
        &quot;internalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the primary internal IPv6 range.
        &quot;ipv6AccessConfigs&quot;: [ # Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
          { # An access configuration attached to an instance&#x27;s network interface. Only one access config per instance is supported.
            &quot;externalIpv6&quot;: &quot;A String&quot;, # Optional. The external IPv6 address of this access configuration.
            &quot;externalIpv6PrefixLength&quot;: 42, # Optional. The prefix length of the external IPv6 range.
            &quot;name&quot;: &quot;A String&quot;, # Optional. The name of this access configuration.
            &quot;natIP&quot;: &quot;A String&quot;, # Optional. The external IP address of this access configuration.
            &quot;networkTier&quot;: &quot;A String&quot;, # Optional. This signifies the networking tier used for configuring this access
            &quot;publicPtrDomainName&quot;: &quot;A String&quot;, # Optional. The DNS domain name for the public PTR record.
            &quot;setPublicPtr&quot;: True or False, # Optional. Specifies whether a public DNS &#x27;PTR&#x27; record should be created to map the external IP address of the instance to a DNS domain name.
            &quot;type&quot;: &quot;A String&quot;, # Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
          },
        ],
        &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
        &quot;ipv6Address&quot;: &quot;A String&quot;, # Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance&#x27;s zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance&#x27;s subnetwork.
        &quot;name&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the network interface, which is generated by the server.
        &quot;network&quot;: &quot;A String&quot;, # Optional. URL of the VPC network resource for this instance.
        &quot;networkAttachment&quot;: &quot;A String&quot;, # Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
        &quot;networkIP&quot;: &quot;A String&quot;, # Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
        &quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
        &quot;queueCount&quot;: 42, # Optional. The networking queue count that&#x27;s specified by users for the network interface. Both Rx and Tx queues will be set to this number. It&#x27;ll be empty if not specified by the users.
        &quot;stackType&quot;: &quot;A String&quot;, # The stack type for this network interface.
        &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The URL of the Subnetwork resource for this instance.
      },
    ],
    &quot;networkPerformanceConfig&quot;: { # Network performance configuration. # Optional. Configure network performance such as egress bandwidth tier.
      &quot;totalEgressBandwidthTier&quot;: &quot;A String&quot;, # Optional. The tier of the total egress bandwidth.
    },
    &quot;params&quot;: { # Additional instance params. # Input only. Additional params passed with the request, but not persisted as part of resource payload.
      &quot;resourceManagerTags&quot;: { # Optional. Resource manager tags to be bound to the instance.
        &quot;a_key&quot;: &quot;A String&quot;,
      },
    },
    &quot;privateIpv6GoogleAccess&quot;: &quot;A String&quot;, # Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
    &quot;reservationAffinity&quot;: { # Specifies the reservations that this instance can consume from. # Optional. Specifies the reservations that this instance can consume from.
      &quot;consumeReservationType&quot;: &quot;A String&quot;, # Optional. Specifies the type of reservation from which this instance can consume
      &quot;key&quot;: &quot;A String&quot;, # Optional. Corresponds to the label key of a reservation resource.
      &quot;values&quot;: [ # Optional. Corresponds to the label values of a reservation resource.
        &quot;A String&quot;,
      ],
    },
    &quot;resourcePolicies&quot;: [ # Optional. Resource policies applied to this instance. By default, no resource policies will be applied.
      &quot;A String&quot;,
    ],
    &quot;scheduling&quot;: { # Sets the scheduling options for an Instance. # Optional. Sets the scheduling options for this instance.
      &quot;automaticRestart&quot;: True or False, # Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
      &quot;instanceTerminationAction&quot;: &quot;A String&quot;, # Optional. Specifies the termination action for the instance.
      &quot;localSsdRecoveryTimeout&quot;: { # A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years. # Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
        &quot;nanos&quot;: 42, # Optional. Span of time that&#x27;s a fraction of a second at nanosecond resolution.
        &quot;seconds&quot;: &quot;A String&quot;, # Optional. Span of time at a resolution of a second.
      },
      &quot;minNodeCpus&quot;: 42, # Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
      &quot;nodeAffinities&quot;: [ # Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
        { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
          &quot;key&quot;: &quot;A String&quot;, # Optional. Corresponds to the label key of Node resource.
          &quot;operator&quot;: &quot;A String&quot;, # Optional. Defines the operation of node selection.
          &quot;values&quot;: [ # Optional. Corresponds to the label values of Node resource.
            &quot;A String&quot;,
          ],
        },
      ],
      &quot;onHostMaintenance&quot;: &quot;A String&quot;, # Optional. Defines the maintenance behavior for this instance.
      &quot;preemptible&quot;: True or False, # Optional. Defines whether the instance is preemptible.
      &quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Specifies the provisioning model of the instance.
    },
    &quot;serviceAccounts&quot;: [ # Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
      { # A service account.
        &quot;email&quot;: &quot;A String&quot;, # Optional. Email address of the service account.
        &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
          &quot;A String&quot;,
        ],
      },
    ],
    &quot;tags&quot;: { # A set of instance tags. # Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
      &quot;items&quot;: [ # Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
        &quot;A String&quot;,
      ],
    },
  },
  &quot;computeInstanceTargetEnvironment&quot;: { # ComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore. # Compute Engine target environment to be used during restore.
    &quot;project&quot;: &quot;A String&quot;, # Required. Target project for the Compute Engine instance.
    &quot;zone&quot;: &quot;A String&quot;, # Required. The zone of the Compute Engine instance.
  },
  &quot;diskRestoreProperties&quot;: { # DiskRestoreProperties represents the properties of a Disk restore. # Disk properties to be overridden during restore.
    &quot;accessMode&quot;: &quot;A String&quot;, # Optional. The access mode of the disk.
    &quot;architecture&quot;: &quot;A String&quot;, # Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
    &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of this resource. Provide this property when you create the resource.
    &quot;diskEncryptionKey&quot;: { # A customer-supplied encryption key. # Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
      &quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The name of the encryption key that is stored in Google Cloud KMS.
      &quot;kmsKeyServiceAccount&quot;: &quot;A String&quot;, # Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
      &quot;rawKey&quot;: &quot;A String&quot;, # Optional. Specifies a 256-bit customer-supplied encryption key.
      &quot;rsaEncryptedKey&quot;: &quot;A String&quot;, # Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
    },
    &quot;enableConfidentialCompute&quot;: True or False, # Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
    &quot;guestOsFeature&quot;: [ # Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
      { # Feature type of the Guest OS.
        &quot;type&quot;: &quot;A String&quot;, # The ID of a supported feature.
      },
    ],
    &quot;labels&quot;: { # Optional. Labels to apply to this disk. These can be modified later using setLabels method. Label values can be empty.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;licenses&quot;: [ # Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
      &quot;A String&quot;,
    ],
    &quot;name&quot;: &quot;A String&quot;, # Required. Name of the disk.
    &quot;physicalBlockSizeBytes&quot;: &quot;A String&quot;, # Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.
    &quot;provisionedIops&quot;: &quot;A String&quot;, # Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
    &quot;provisionedThroughput&quot;: &quot;A String&quot;, # Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
    &quot;resourceManagerTags&quot;: { # Optional. Resource manager tags to be bound to the disk.
      &quot;a_key&quot;: &quot;A String&quot;,
    },
    &quot;resourcePolicy&quot;: [ # Optional. Resource policies applied to this disk.
      &quot;A String&quot;,
    ],
    &quot;sizeGb&quot;: &quot;A String&quot;, # Required. The size of the disk in GB.
    &quot;storagePool&quot;: &quot;A String&quot;, # Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
    &quot;type&quot;: &quot;A String&quot;, # Required. URL of the disk type resource describing which disk type to use to create the disk.
  },
  &quot;diskTargetEnvironment&quot;: { # DiskTargetEnvironment represents the target environment for the disk. # Disk target environment to be used during restore.
    &quot;project&quot;: &quot;A String&quot;, # Required. Target project for the disk.
    &quot;zone&quot;: &quot;A String&quot;, # Required. Target zone for the disk.
  },
  &quot;regionDiskTargetEnvironment&quot;: { # RegionDiskTargetEnvironment represents the target environment for the disk. # Region disk target environment to be used during restore.
    &quot;project&quot;: &quot;A String&quot;, # Required. Target project for the disk.
    &quot;region&quot;: &quot;A String&quot;, # Required. Target region for the disk.
    &quot;replicaZones&quot;: [ # Required. Target URLs of the replica zones for the disk.
      &quot;A String&quot;,
    ],
  },
  &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # This resource represents a long-running operation that is the result of a network API call.
  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
      {
        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
      },
    ],
    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  },
  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
  &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
  },
}</pre>
</div>

</body></html>