Skip to content

Commit 3b4dc32

Browse files
1 parent 2b0e4fe commit 3b4dc32

File tree

14 files changed

+180
-20
lines changed

14 files changed

+180
-20
lines changed

clients/google-api-services-sqladmin/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sqladmin</artifactId>
25-
<version>v1-rev20240622-2.0.0</version>
25+
<version>v1-rev20240711-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20240622-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20240711-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,8 @@ public AcquireSsrsLease set(String parameterName, Object value) {
23902390
* Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to
23912391
* prepare for a certificate rotation. If a CA version was previously added but never used in a
23922392
* certificate rotation, this operation replaces that version. There cannot be more than one CA
2393-
* version waiting to be rotated in.
2393+
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2394+
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
23942395
*
23952396
* Create a request for the method "instances.addServerCa".
23962397
*
@@ -2415,7 +2416,8 @@ public class AddServerCa extends SQLAdminRequest<com.google.api.services.sqladmi
24152416
* Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to
24162417
* prepare for a certificate rotation. If a CA version was previously added but never used in a
24172418
* certificate rotation, this operation replaces that version. There cannot be more than one CA
2418-
* version waiting to be rotated in.
2419+
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2420+
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
24192421
*
24202422
* Create a request for the method "instances.addServerCa".
24212423
*
@@ -5132,7 +5134,8 @@ public RestoreBackup set(String parameterName, Object value) {
51325134
}
51335135
/**
51345136
* Rotates the server certificate to one signed by the Certificate Authority (CA) version previously
5135-
* added with the addServerCA method.
5137+
* added with the addServerCA method. For instances that have enabled Certificate Authority Service
5138+
* (CAS) based server CA, please use RotateServerCertificate to rotate the server certificate.
51365139
*
51375140
* Create a request for the method "instances.rotateServerCa".
51385141
*
@@ -5156,7 +5159,9 @@ public class RotateServerCa extends SQLAdminRequest<com.google.api.services.sqla
51565159

51575160
/**
51585161
* Rotates the server certificate to one signed by the Certificate Authority (CA) version
5159-
* previously added with the addServerCA method.
5162+
* previously added with the addServerCA method. For instances that have enabled Certificate
5163+
* Authority Service (CAS) based server CA, please use RotateServerCertificate to rotate the
5164+
* server certificate.
51605165
*
51615166
* Create a request for the method "instances.rotateServerCa".
51625167
*

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/ConnectSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ public final class ConnectSettings extends com.google.api.client.json.GenericJso
9494
@com.google.api.client.util.Key
9595
private SslCert serverCaCert;
9696

97+
/**
98+
* Specify what type of CA is used for the server certificate.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private java.lang.String serverCaMode;
103+
97104
/**
98105
* `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by
99106
* Google. This property is read-only; use the `tier` property in the `settings` object to
@@ -248,6 +255,23 @@ public ConnectSettings setServerCaCert(SslCert serverCaCert) {
248255
return this;
249256
}
250257

258+
/**
259+
* Specify what type of CA is used for the server certificate.
260+
* @return value or {@code null} for none
261+
*/
262+
public java.lang.String getServerCaMode() {
263+
return serverCaMode;
264+
}
265+
266+
/**
267+
* Specify what type of CA is used for the server certificate.
268+
* @param serverCaMode serverCaMode or {@code null} for none
269+
*/
270+
public ConnectSettings setServerCaMode(java.lang.String serverCaMode) {
271+
this.serverCaMode = serverCaMode;
272+
return this;
273+
}
274+
251275
@Override
252276
public ConnectSettings set(String fieldName, Object value) {
253277
return (ConnectSettings) super.set(fieldName, value);

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,14 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs
346346
@com.google.api.client.util.Key
347347
private java.util.List<java.lang.String> suspensionReason;
348348

349+
/**
350+
* Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files
351+
* from a data disk to Cloud Storage.
352+
* The value may be {@code null}.
353+
*/
354+
@com.google.api.client.util.Key
355+
private java.lang.Boolean switchTransactionLogsToCloudStorageEnabled;
356+
349357
/**
350358
* Output only. All database versions that are available for upgrade.
351359
* The value may be {@code null}.
@@ -1126,6 +1134,25 @@ public DatabaseInstance setSuspensionReason(java.util.List<java.lang.String> sus
11261134
return this;
11271135
}
11281136

1137+
/**
1138+
* Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files
1139+
* from a data disk to Cloud Storage.
1140+
* @return value or {@code null} for none
1141+
*/
1142+
public java.lang.Boolean getSwitchTransactionLogsToCloudStorageEnabled() {
1143+
return switchTransactionLogsToCloudStorageEnabled;
1144+
}
1145+
1146+
/**
1147+
* Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files
1148+
* from a data disk to Cloud Storage.
1149+
* @param switchTransactionLogsToCloudStorageEnabled switchTransactionLogsToCloudStorageEnabled or {@code null} for none
1150+
*/
1151+
public DatabaseInstance setSwitchTransactionLogsToCloudStorageEnabled(java.lang.Boolean switchTransactionLogsToCloudStorageEnabled) {
1152+
this.switchTransactionLogsToCloudStorageEnabled = switchTransactionLogsToCloudStorageEnabled;
1153+
return this;
1154+
}
1155+
11291156
/**
11301157
* Output only. All database versions that are available for upgrade.
11311158
* @return value or {@code null} for none

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/IpConfiguration.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ public final class IpConfiguration extends com.google.api.client.json.GenericJso
9696
@com.google.api.client.util.Key
9797
private java.lang.Boolean requireSsl;
9898

99+
/**
100+
* Specify what type of CA is used for the server certificate.
101+
* The value may be {@code null}.
102+
*/
103+
@com.google.api.client.util.Key
104+
private java.lang.String serverCaMode;
105+
99106
/**
100107
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag
101108
* for backward compatibility, then only the following value pairs are valid: For PostgreSQL and
@@ -256,6 +263,23 @@ public IpConfiguration setRequireSsl(java.lang.Boolean requireSsl) {
256263
return this;
257264
}
258265

266+
/**
267+
* Specify what type of CA is used for the server certificate.
268+
* @return value or {@code null} for none
269+
*/
270+
public java.lang.String getServerCaMode() {
271+
return serverCaMode;
272+
}
273+
274+
/**
275+
* Specify what type of CA is used for the server certificate.
276+
* @param serverCaMode serverCaMode or {@code null} for none
277+
*/
278+
public IpConfiguration setServerCaMode(java.lang.String serverCaMode) {
279+
this.serverCaMode = serverCaMode;
280+
return this;
281+
}
282+
259283
/**
260284
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag
261285
* for backward compatibility, then only the following value pairs are valid: For PostgreSQL and

clients/google-api-services-sqladmin/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-sqladmin</artifactId>
11-
<version>v1-rev20240622-2.0.0</version>
12-
<name>Cloud SQL Admin API v1-rev20240622-2.0.0</name>
11+
<version>v1-rev20240711-2.0.0</version>
12+
<name>Cloud SQL Admin API v1-rev20240711-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-sqladmin/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sqladmin</artifactId>
25-
<version>v1-rev20240622-2.0.0</version>
25+
<version>v1-rev20240711-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20240622-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20240711-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sqladmin</artifactId>
25-
<version>v1beta4-rev20240622-2.0.0</version>
25+
<version>v1beta4-rev20240711-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20240622-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20240711-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,7 +2394,8 @@ public AcquireSsrsLease set(String parameterName, Object value) {
23942394
* Add a new trusted Certificate Authority (CA) version for the specified instance. Required to
23952395
* prepare for a certificate rotation. If a CA version was previously added but never used in a
23962396
* certificate rotation, this operation replaces that version. There cannot be more than one CA
2397-
* version waiting to be rotated in.
2397+
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2398+
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
23982399
*
23992400
* Create a request for the method "instances.addServerCa".
24002401
*
@@ -2419,7 +2420,8 @@ public class AddServerCa extends SQLAdminRequest<com.google.api.services.sqladmi
24192420
* Add a new trusted Certificate Authority (CA) version for the specified instance. Required to
24202421
* prepare for a certificate rotation. If a CA version was previously added but never used in a
24212422
* certificate rotation, this operation replaces that version. There cannot be more than one CA
2422-
* version waiting to be rotated in.
2423+
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2424+
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
24232425
*
24242426
* Create a request for the method "instances.addServerCa".
24252427
*
@@ -5136,7 +5138,8 @@ public RestoreBackup set(String parameterName, Object value) {
51365138
}
51375139
/**
51385140
* Rotates the server certificate to one signed by the Certificate Authority (CA) version previously
5139-
* added with the addServerCA method.
5141+
* added with the addServerCA method. For instances that have enabled Certificate Authority Service
5142+
* (CAS) based server CA, please use RotateServerCertificate to rotate the server certificate.
51405143
*
51415144
* Create a request for the method "instances.rotateServerCa".
51425145
*
@@ -5160,7 +5163,9 @@ public class RotateServerCa extends SQLAdminRequest<com.google.api.services.sqla
51605163

51615164
/**
51625165
* Rotates the server certificate to one signed by the Certificate Authority (CA) version
5163-
* previously added with the addServerCA method.
5166+
* previously added with the addServerCA method. For instances that have enabled Certificate
5167+
* Authority Service (CAS) based server CA, please use RotateServerCertificate to rotate the
5168+
* server certificate.
51645169
*
51655170
* Create a request for the method "instances.rotateServerCa".
51665171
*

clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/ConnectSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ public final class ConnectSettings extends com.google.api.client.json.GenericJso
9494
@com.google.api.client.util.Key
9595
private SslCert serverCaCert;
9696

97+
/**
98+
* Specify what type of CA is used for the server certificate.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private java.lang.String serverCaMode;
103+
97104
/**
98105
* `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by
99106
* Google. This property is read-only; use the `tier` property in the `settings` object to
@@ -248,6 +255,23 @@ public ConnectSettings setServerCaCert(SslCert serverCaCert) {
248255
return this;
249256
}
250257

258+
/**
259+
* Specify what type of CA is used for the server certificate.
260+
* @return value or {@code null} for none
261+
*/
262+
public java.lang.String getServerCaMode() {
263+
return serverCaMode;
264+
}
265+
266+
/**
267+
* Specify what type of CA is used for the server certificate.
268+
* @param serverCaMode serverCaMode or {@code null} for none
269+
*/
270+
public ConnectSettings setServerCaMode(java.lang.String serverCaMode) {
271+
this.serverCaMode = serverCaMode;
272+
return this;
273+
}
274+
251275
@Override
252276
public ConnectSettings set(String fieldName, Object value) {
253277
return (ConnectSettings) super.set(fieldName, value);

0 commit comments

Comments
 (0)