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
<pclass="firstline">Updates the retention period and description of the backup. You can use this API to update final backups only.</p>
94
+
<pclass="firstline">This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.</p>
"backupInterval": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.
110
110
"endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
111
111
"startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
@@ -296,6 +296,7 @@ <h3>Method Details</h3>
296
296
"retainedBackups": 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
297
297
"retentionUnit": "A String", # The unit that 'retained_backups' represents.
298
298
},
299
+
"backupTier": "A String", # Output only. Backup tier that manages the backups for the instance.
299
300
"binaryLogEnabled": True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
300
301
"enabled": True or False, # Whether this configuration is enabled.
301
302
"kind": "A String", # This is always `sql#backupConfiguration`.
@@ -768,7 +769,7 @@ <h3>Method Details</h3>
768
769
Returns:
769
770
An object of the form:
770
771
771
-
{ # A backup resource.
772
+
{ # A backup resource. Next ID: 30
772
773
"backupInterval": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.
773
774
"endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
774
775
"startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
@@ -959,6 +960,7 @@ <h3>Method Details</h3>
959
960
"retainedBackups": 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
960
961
"retentionUnit": "A String", # The unit that 'retained_backups' represents.
961
962
},
963
+
"backupTier": "A String", # Output only. Backup tier that manages the backups for the instance.
962
964
"binaryLogEnabled": True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
963
965
"enabled": True or False, # Whether this configuration is enabled.
964
966
"kind": "A String", # This is always `sql#backupConfiguration`.
@@ -1143,7 +1145,7 @@ <h3>Method Details</h3>
1143
1145
1144
1146
{ # The response payload containing a list of the backups.
1145
1147
"backups": [ # A list of backups.
1146
-
{ # A backup resource.
1148
+
{ # A backup resource. Next ID: 30
1147
1149
"backupInterval": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.
1148
1150
"endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
1149
1151
"startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
@@ -1334,6 +1336,7 @@ <h3>Method Details</h3>
1334
1336
"retainedBackups": 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
1335
1337
"retentionUnit": "A String", # The unit that 'retained_backups' represents.
1336
1338
},
1339
+
"backupTier": "A String", # Output only. Backup tier that manages the backups for the instance.
1337
1340
"binaryLogEnabled": True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
1338
1341
"enabled": True or False, # Whether this configuration is enabled.
1339
1342
"kind": "A String", # This is always `sql#backupConfiguration`.
<pre>Updates the retention period and description of the backup. You can use this API to update final backups only.
1531
+
<pre>This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.
1529
1532
1530
1533
Args:
1531
1534
name: string, Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}. (required)
1532
1535
body: object, The request body.
1533
1536
The object takes the form of:
1534
1537
1535
-
{ # A backup resource.
1538
+
{ # A backup resource. Next ID: 30
1536
1539
"backupInterval": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.
1537
1540
"endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
1538
1541
"startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
@@ -1723,6 +1726,7 @@ <h3>Method Details</h3>
1723
1726
"retainedBackups": 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
1724
1727
"retentionUnit": "A String", # The unit that 'retained_backups' represents.
1725
1728
},
1729
+
"backupTier": "A String", # Output only. Backup tier that manages the backups for the instance.
1726
1730
"binaryLogEnabled": True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
1727
1731
"enabled": True or False, # Whether this configuration is enabled.
1728
1732
"kind": "A String", # This is always `sql#backupConfiguration`.
@@ -1887,7 +1891,7 @@ <h3>Method Details</h3>
1887
1891
"type": "A String", # Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND" or “FINAL”.
1888
1892
}
1889
1893
1890
-
updateMask: string, The list of fields that you can update. You can update only the description and retention period of the final backup.
1894
+
updateMask: string, The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.
0 commit comments