You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/backupdr-v1.json
+65-1Lines changed: 65 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2234,7 +2234,7 @@
2234
2234
}
2235
2235
}
2236
2236
},
2237
-
"revision": "20251029",
2237
+
"revision": "20251105",
2238
2238
"rootUrl": "https://backupdr.googleapis.com/",
2239
2239
"schemas": {
2240
2240
"AbandonBackupRequest": {
@@ -2646,6 +2646,21 @@
2646
2646
},
2647
2647
"type": "array"
2648
2648
},
2649
+
"backupRetentionInheritance": {
2650
+
"description": "Output only. Setting for how the enforced retention end time is inherited. This value is copied from this backup's BackupVault.",
2651
+
"enum": [
2652
+
"BACKUP_RETENTION_INHERITANCE_UNSPECIFIED",
2653
+
"INHERIT_VAULT_RETENTION",
2654
+
"MATCH_BACKUP_EXPIRE_TIME"
2655
+
],
2656
+
"enumDescriptions": [
2657
+
"Inheritance behavior not set. This will default to `INHERIT_VAULT_RETENTION`.",
2658
+
"The enforced retention end time of a backup will be inherited from the backup vault's `backup_minimum_enforced_retention_duration` field. This is the default behavior.",
2659
+
"The enforced retention end time of a backup will always match the expire time of the backup. If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server."
2660
+
],
2661
+
"readOnly": true,
2662
+
"type": "string"
2663
+
},
2649
2664
"backupType": {
2650
2665
"description": "Output only. Type of the backup, unspecified, scheduled or ondemand.",
2651
2666
"enum": [
@@ -2719,6 +2734,14 @@
2719
2734
"description": "Output only. Unique identifier of the GCP resource that is being backed up.",
2720
2735
"readOnly": true
2721
2736
},
2737
+
"kmsKeyVersions": {
2738
+
"description": "Optional. Output only. The list of KMS key versions used to encrypt the backup.",
2739
+
"items": {
2740
+
"type": "string"
2741
+
},
2742
+
"readOnly": true,
2743
+
"type": "array"
2744
+
},
2722
2745
"labels": {
2723
2746
"additionalProperties": {
2724
2747
"type": "string"
@@ -3435,6 +3458,20 @@
3435
3458
"format": "google-duration",
3436
3459
"type": "string"
3437
3460
},
3461
+
"backupRetentionInheritance": {
3462
+
"description": "Optional. Setting for how a backup's enforced retention end time is inherited.",
3463
+
"enum": [
3464
+
"BACKUP_RETENTION_INHERITANCE_UNSPECIFIED",
3465
+
"INHERIT_VAULT_RETENTION",
3466
+
"MATCH_BACKUP_EXPIRE_TIME"
3467
+
],
3468
+
"enumDescriptions": [
3469
+
"Inheritance behavior not set. This will default to `INHERIT_VAULT_RETENTION`.",
3470
+
"The enforced retention end time of a backup will be inherited from the backup vault's `backup_minimum_enforced_retention_duration` field. This is the default behavior.",
3471
+
"The enforced retention end time of a backup will always match the expire time of the backup. If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server."
3472
+
],
3473
+
"type": "string"
3474
+
},
3438
3475
"createTime": {
3439
3476
"description": "Output only. The time when the instance was created.",
3440
3477
"format": "google-datetime",
@@ -3455,6 +3492,10 @@
3455
3492
"format": "google-datetime",
3456
3493
"type": "string"
3457
3494
},
3495
+
"encryptionConfig": {
3496
+
"$ref": "EncryptionConfig",
3497
+
"description": "Optional. The encryption config of the backup vault."
3498
+
},
3458
3499
"etag": {
3459
3500
"description": "Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.",
3460
3501
"type": "string"
@@ -4566,6 +4607,17 @@
4566
4607
"properties": {},
4567
4608
"type": "object"
4568
4609
},
4610
+
"EncryptionConfig": {
4611
+
"description": "Message describing the EncryptionConfig of backup vault. This determines how data within the vault is encrypted at rest.",
4612
+
"id": "EncryptionConfig",
4613
+
"properties": {
4614
+
"kmsKeyName": {
4615
+
"description": "Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}",
4616
+
"type": "string"
4617
+
}
4618
+
},
4619
+
"type": "object"
4620
+
},
4569
4621
"Entry": {
4570
4622
"description": "A key/value pair to be used for storing metadata.",
4571
4623
"id": "Entry",
@@ -5879,6 +5931,11 @@
5879
5931
"description": "Request message for restoring from a Backup.",
5880
5932
"id": "RestoreBackupRequest",
5881
5933
"properties": {
5934
+
"clearOverridesFieldMask": {
5935
+
"description": "Optional. A field mask used to clear server-side default values for fields within the `instance_properties` oneof. When a field in this mask is cleared, the server will not apply its default logic (like inheriting a value from the source) for that field. The most common current use case is clearing default encryption keys. Examples of field mask paths: - Compute Instance Disks: `compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk: `disk_restore_properties.disk_encryption_key`",
5936
+
"format": "google-fieldmask",
5937
+
"type": "string"
5938
+
},
5882
5939
"computeInstanceRestoreProperties": {
5883
5940
"$ref": "ComputeInstanceRestoreProperties",
5884
5941
"description": "Compute Engine instance properties to be overridden during restore."
@@ -6402,6 +6459,13 @@
6402
6459
"format": "int32",
6403
6460
"type": "integer"
6404
6461
},
6462
+
"labels": {
6463
+
"additionalProperties": {
6464
+
"type": "string"
6465
+
},
6466
+
"description": "Optional. Labels to be applied on the backup.",
6467
+
"type": "object"
6468
+
},
6405
6469
"requestId": {
6406
6470
"description": "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).",
* Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. Note: Longer minimum enforced retention period impacts potential storage costs post introductory trial. We recommend starting with a short duration of 3 days or less.
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
1677
1693
*/
1678
1694
export interface Schema$Empty {}
1695
+
/**
1696
+
* Message describing the EncryptionConfig of backup vault. This determines how data within the vault is encrypted at rest.
1697
+
*/
1698
+
export interface Schema$EncryptionConfig {
1699
+
/**
1700
+
* Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project\}/locations/{location\}/keyRings/{ring\}/cryptoKeys/{key\}
1701
+
*/
1702
+
kmsKeyName?: string | null;
1703
+
}
1679
1704
/**
1680
1705
* A key/value pair to be used for storing metadata.
* Optional. A field mask used to clear server-side default values for fields within the `instance_properties` oneof. When a field in this mask is cleared, the server will not apply its default logic (like inheriting a value from the source) for that field. The most common current use case is clearing default encryption keys. Examples of field mask paths: - Compute Instance Disks: `compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk: `disk_restore_properties.disk_encryption_key`
2583
+
*/
2584
+
clearOverridesFieldMask?: string | null;
2556
2585
/**
2557
2586
* Compute Engine instance properties to be overridden during restore.
* Optional. The duration for which backup data will be kept, while taking an on-demand backup with custom retention. It is defined in "days". It is mutually exclusive with rule_id. This field is required if rule_id is not provided.
2842
2871
*/
2843
2872
customRetentionDays?: number | null;
2873
+
/**
2874
+
* Optional. Labels to be applied on the backup.
2875
+
*/
2876
+
labels?: {[key: string]: string} | null;
2844
2877
/**
2845
2878
* 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).
0 commit comments