Skip to content

Commit 513380f

Browse files
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were added: - schemas.AvailableDatabaseVersion (Total Keys: 5) - schemas.DatabaseInstance.properties.upgradableDatabaseVersions (Total Keys: 3) #### sqladmin:v1beta4 The following keys were added: - schemas.AvailableDatabaseVersion (Total Keys: 5) - schemas.CloneContext.properties.preferredSecondaryZone.type (Total Keys: 1) - schemas.DatabaseInstance.properties.upgradableDatabaseVersions (Total Keys: 3)
1 parent e14d8f6 commit 513380f

File tree

4 files changed

+183
-18
lines changed

4 files changed

+183
-18
lines changed

docs/dyn/sqladmin_v1.instances.html

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ <h3>Method Details</h3>
340340
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#cloneContext`.
341341
&quot;pitrTimestampMs&quot;: &quot;A String&quot;, # Reserved for future use.
342342
&quot;pointInTime&quot;: &quot;A String&quot;, # Timestamp, if specified, identifies the time to which the source instance is cloned.
343-
&quot;preferredZone&quot;: &quot;A String&quot;, # Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
343+
&quot;preferredZone&quot;: &quot;A String&quot;, # Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.
344344
},
345345
}
346346

@@ -1308,7 +1308,7 @@ <h3>Method Details</h3>
13081308
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
13091309
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
13101310
},
1311-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
1311+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
13121312
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
13131313
},
13141314
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -1428,6 +1428,13 @@ <h3>Method Details</h3>
14281428
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
14291429
&quot;A String&quot;,
14301430
],
1431+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
1432+
{ # An available database version. It can be a major or a minor version.
1433+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
1434+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
1435+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
1436+
},
1437+
],
14311438
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
14321439
}</pre>
14331440
</div>
@@ -1729,7 +1736,7 @@ <h3>Method Details</h3>
17291736
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
17301737
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
17311738
},
1732-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
1739+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
17331740
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
17341741
},
17351742
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -1849,6 +1856,13 @@ <h3>Method Details</h3>
18491856
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
18501857
&quot;A String&quot;,
18511858
],
1859+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
1860+
{ # An available database version. It can be a major or a minor version.
1861+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
1862+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
1863+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
1864+
},
1865+
],
18521866
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
18531867
}
18541868

@@ -2112,7 +2126,7 @@ <h3>Method Details</h3>
21122126
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
21132127
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
21142128
},
2115-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
2129+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
21162130
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
21172131
},
21182132
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -2232,6 +2246,13 @@ <h3>Method Details</h3>
22322246
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
22332247
&quot;A String&quot;,
22342248
],
2249+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
2250+
{ # An available database version. It can be a major or a minor version.
2251+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
2252+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
2253+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
2254+
},
2255+
],
22352256
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
22362257
},
22372258
],
@@ -2429,7 +2450,7 @@ <h3>Method Details</h3>
24292450
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
24302451
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
24312452
},
2432-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
2453+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
24332454
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
24342455
},
24352456
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -2549,6 +2570,13 @@ <h3>Method Details</h3>
25492570
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
25502571
&quot;A String&quot;,
25512572
],
2573+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
2574+
{ # An available database version. It can be a major or a minor version.
2575+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
2576+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
2577+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
2578+
},
2579+
],
25522580
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
25532581
}
25542582

@@ -4107,7 +4135,7 @@ <h3>Method Details</h3>
41074135
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
41084136
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
41094137
},
4110-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
4138+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
41114139
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
41124140
},
41134141
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -4227,6 +4255,13 @@ <h3>Method Details</h3>
42274255
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
42284256
&quot;A String&quot;,
42294257
],
4258+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
4259+
{ # An available database version. It can be a major or a minor version.
4260+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
4261+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
4262+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
4263+
},
4264+
],
42304265
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
42314266
}
42324267

docs/dyn/sqladmin_v1beta4.instances.html

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@ <h3>Method Details</h3>
340340
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#cloneContext`.
341341
&quot;pitrTimestampMs&quot;: &quot;A String&quot;, # Reserved for future use.
342342
&quot;pointInTime&quot;: &quot;A String&quot;, # Timestamp, if specified, identifies the time to which the source instance is cloned.
343-
&quot;preferredZone&quot;: &quot;A String&quot;, # Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
343+
&quot;preferredSecondaryZone&quot;: &quot;A String&quot;, # Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.
344+
&quot;preferredZone&quot;: &quot;A String&quot;, # Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.
344345
},
345346
}
346347

@@ -1308,7 +1309,7 @@ <h3>Method Details</h3>
13081309
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
13091310
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
13101311
},
1311-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
1312+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
13121313
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
13131314
},
13141315
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -1428,6 +1429,13 @@ <h3>Method Details</h3>
14281429
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
14291430
&quot;A String&quot;,
14301431
],
1432+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
1433+
{ # An available database version. It can be a major or a minor version.
1434+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
1435+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
1436+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
1437+
},
1438+
],
14311439
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
14321440
}</pre>
14331441
</div>
@@ -1729,7 +1737,7 @@ <h3>Method Details</h3>
17291737
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
17301738
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
17311739
},
1732-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
1740+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
17331741
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
17341742
},
17351743
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -1849,6 +1857,13 @@ <h3>Method Details</h3>
18491857
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
18501858
&quot;A String&quot;,
18511859
],
1860+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
1861+
{ # An available database version. It can be a major or a minor version.
1862+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
1863+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
1864+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
1865+
},
1866+
],
18521867
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
18531868
}
18541869

@@ -2112,7 +2127,7 @@ <h3>Method Details</h3>
21122127
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
21132128
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
21142129
},
2115-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
2130+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
21162131
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
21172132
},
21182133
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -2232,6 +2247,13 @@ <h3>Method Details</h3>
22322247
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
22332248
&quot;A String&quot;,
22342249
],
2250+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
2251+
{ # An available database version. It can be a major or a minor version.
2252+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
2253+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
2254+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
2255+
},
2256+
],
22352257
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
22362258
},
22372259
],
@@ -2429,7 +2451,7 @@ <h3>Method Details</h3>
24292451
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
24302452
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
24312453
},
2432-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
2454+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
24332455
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
24342456
},
24352457
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -2549,6 +2571,13 @@ <h3>Method Details</h3>
25492571
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
25502572
&quot;A String&quot;,
25512573
],
2574+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
2575+
{ # An available database version. It can be a major or a minor version.
2576+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
2577+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
2578+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
2579+
},
2580+
],
25522581
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
25532582
}
25542583

@@ -4107,7 +4136,7 @@ <h3>Method Details</h3>
41074136
&quot;domain&quot;: &quot;A String&quot;, # The name of the domain (e.g., mydomain.com).
41084137
&quot;kind&quot;: &quot;A String&quot;, # This is always sql#activeDirectoryConfig.
41094138
},
4110-
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advance machine configuration for the instance relevant only for SQL Server.
4139+
&quot;advancedMachineFeatures&quot;: { # Specifies options for controlling advanced machine features. # Specifies advanced machine configuration for the instances relevant only for SQL Server.
41114140
&quot;threadsPerCore&quot;: 42, # The number of threads per physical core.
41124141
},
41134142
&quot;authorizedGaeApplications&quot;: [ # The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
@@ -4227,6 +4256,13 @@ <h3>Method Details</h3>
42274256
&quot;suspensionReason&quot;: [ # If the instance state is SUSPENDED, the reason for the suspension.
42284257
&quot;A String&quot;,
42294258
],
4259+
&quot;upgradableDatabaseVersions&quot;: [ # Output only. All database versions that are available for upgrade.
4260+
{ # An available database version. It can be a major or a minor version.
4261+
&quot;displayName&quot;: &quot;A String&quot;, # The database version&#x27;s display name.
4262+
&quot;majorVersion&quot;: &quot;A String&quot;, # The version&#x27;s major version name.
4263+
&quot;name&quot;: &quot;A String&quot;, # The database version name. For MySQL 8.0, this string provides the database major and minor version.
4264+
},
4265+
],
42304266
&quot;writeEndpoint&quot;: &quot;A String&quot;, # Output only. The dns name of the primary instance in a replication group.
42314267
}
42324268

0 commit comments

Comments
 (0)