Skip to content

Commit 286fc64

Browse files
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were deleted: - schemas.User.properties.iamStatus.type (Total Keys: 1) The following keys were added: - resources.instances.methods.pointInTimeRestore (Total Keys: 12) - schemas.BackupConfiguration.properties.backupTier (Total Keys: 2) - schemas.InstancesRestoreBackupRequest.properties.backupdrBackup.type (Total Keys: 1) - schemas.PointInTimeRestoreContext (Total Keys: 10) #### sqladmin:v1beta4 The following keys were deleted: - schemas.User.properties.iamStatus.type (Total Keys: 1) The following keys were added: - resources.instances.methods.pointInTimeRestore (Total Keys: 12) - schemas.BackupConfiguration.properties.backupTier (Total Keys: 2) - schemas.InstancesRestoreBackupRequest.properties.backupdrBackup.type (Total Keys: 1) - schemas.PointInTimeRestoreContext (Total Keys: 10)
1 parent 1fe0820 commit 286fc64

File tree

8 files changed

+565
-60
lines changed

8 files changed

+565
-60
lines changed

docs/dyn/sqladmin_v1.Backups.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<p class="toc_element">
9393
<code><a href="#UpdateBackup">UpdateBackup(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Updates the retention period and description of the backup. You can use this API to update final backups only.</p>
94+
<p class="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>
9595
<p class="toc_element">
9696
<code><a href="#close">close()</a></code></p>
9797
<p class="firstline">Close httplib2 connections.</p>
@@ -105,7 +105,7 @@ <h3>Method Details</h3>
105105
body: object, The request body.
106106
The object takes the form of:
107107

108-
{ # A backup resource.
108+
{ # A backup resource. Next ID: 30
109109
&quot;backupInterval&quot;: { # 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&#x27;t available.
110110
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
111111
&quot;startTime&quot;: &quot;A String&quot;, # 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>
296296
&quot;retainedBackups&quot;: 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is &#x27;COUNT&#x27;, we will retain this many backups.
297297
&quot;retentionUnit&quot;: &quot;A String&quot;, # The unit that &#x27;retained_backups&#x27; represents.
298298
},
299+
&quot;backupTier&quot;: &quot;A String&quot;, # Output only. Backup tier that manages the backups for the instance.
299300
&quot;binaryLogEnabled&quot;: True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
300301
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
301302
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
@@ -768,7 +769,7 @@ <h3>Method Details</h3>
768769
Returns:
769770
An object of the form:
770771

771-
{ # A backup resource.
772+
{ # A backup resource. Next ID: 30
772773
&quot;backupInterval&quot;: { # 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&#x27;t available.
773774
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
774775
&quot;startTime&quot;: &quot;A String&quot;, # 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>
959960
&quot;retainedBackups&quot;: 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is &#x27;COUNT&#x27;, we will retain this many backups.
960961
&quot;retentionUnit&quot;: &quot;A String&quot;, # The unit that &#x27;retained_backups&#x27; represents.
961962
},
963+
&quot;backupTier&quot;: &quot;A String&quot;, # Output only. Backup tier that manages the backups for the instance.
962964
&quot;binaryLogEnabled&quot;: True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
963965
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
964966
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
@@ -1143,7 +1145,7 @@ <h3>Method Details</h3>
11431145

11441146
{ # The response payload containing a list of the backups.
11451147
&quot;backups&quot;: [ # A list of backups.
1146-
{ # A backup resource.
1148+
{ # A backup resource. Next ID: 30
11471149
&quot;backupInterval&quot;: { # 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&#x27;t available.
11481150
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
11491151
&quot;startTime&quot;: &quot;A String&quot;, # 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>
13341336
&quot;retainedBackups&quot;: 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is &#x27;COUNT&#x27;, we will retain this many backups.
13351337
&quot;retentionUnit&quot;: &quot;A String&quot;, # The unit that &#x27;retained_backups&#x27; represents.
13361338
},
1339+
&quot;backupTier&quot;: &quot;A String&quot;, # Output only. Backup tier that manages the backups for the instance.
13371340
&quot;binaryLogEnabled&quot;: True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
13381341
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
13391342
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
@@ -1525,14 +1528,14 @@ <h3>Method Details</h3>
15251528

15261529
<div class="method">
15271530
<code class="details" id="UpdateBackup">UpdateBackup(name, body=None, updateMask=None, x__xgafv=None)</code>
1528-
<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.
15291532

15301533
Args:
15311534
name: string, Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}. (required)
15321535
body: object, The request body.
15331536
The object takes the form of:
15341537

1535-
{ # A backup resource.
1538+
{ # A backup resource. Next ID: 30
15361539
&quot;backupInterval&quot;: { # 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&#x27;t available.
15371540
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
15381541
&quot;startTime&quot;: &quot;A String&quot;, # 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>
17231726
&quot;retainedBackups&quot;: 42, # Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is &#x27;COUNT&#x27;, we will retain this many backups.
17241727
&quot;retentionUnit&quot;: &quot;A String&quot;, # The unit that &#x27;retained_backups&#x27; represents.
17251728
},
1729+
&quot;backupTier&quot;: &quot;A String&quot;, # Output only. Backup tier that manages the backups for the instance.
17261730
&quot;binaryLogEnabled&quot;: True or False, # (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
17271731
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
17281732
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
@@ -1887,7 +1891,7 @@ <h3>Method Details</h3>
18871891
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of this backup. The type can be &quot;AUTOMATED&quot;, &quot;ON_DEMAND&quot; or “FINAL”.
18881892
}
18891893

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.
18911895
x__xgafv: string, V1 error format.
18921896
Allowed values
18931897
1 - v1 error format

0 commit comments

Comments
 (0)