Skip to content

Commit a0676ab

Browse files
chore: regenerate sqladmin client
1 parent 38c1764 commit a0676ab

File tree

16 files changed

+337
-27
lines changed

16 files changed

+337
-27
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-rev20251201-2.0.0</version>
25+
<version>v1-rev20260204-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-rev20251201-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260204-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -11464,6 +11464,32 @@ public Update setName(java.lang.String name) {
1146411464
return this;
1146511465
}
1146611466

11467+
/**
11468+
* Optional. Specifies whether to revoke existing roles that are not present in the
11469+
* `database_roles` field. If `false` or unset, the database roles specified in
11470+
* `database_roles` are added to the user's existing roles.
11471+
*/
11472+
@com.google.api.client.util.Key
11473+
private java.lang.Boolean revokeExistingRoles;
11474+
11475+
/** Optional. Specifies whether to revoke existing roles that are not present in the `database_roles`
11476+
field. If `false` or unset, the database roles specified in `database_roles` are added to the
11477+
user's existing roles.
11478+
*/
11479+
public java.lang.Boolean getRevokeExistingRoles() {
11480+
return revokeExistingRoles;
11481+
}
11482+
11483+
/**
11484+
* Optional. Specifies whether to revoke existing roles that are not present in the
11485+
* `database_roles` field. If `false` or unset, the database roles specified in
11486+
* `database_roles` are added to the user's existing roles.
11487+
*/
11488+
public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) {
11489+
this.revokeExistingRoles = revokeExistingRoles;
11490+
return this;
11491+
}
11492+
1146711493
@Override
1146811494
public Update set(String parameterName, Object value) {
1146911495
return (Update) super.set(parameterName, value);
@@ -11504,8 +11530,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
1150411530
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
1150511531
* <li>Android: {@code newCompatibleTransport} from
1150611532
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
11507-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
11508-
* </li>
11533+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
1150911534
* </ul>
1151011535
* @param jsonFactory JSON factory, which may be:
1151111536
* <ul>

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,24 @@ public final class CloneContext extends com.google.api.client.json.GenericJson {
6464
@com.google.api.client.util.Key
6565
private java.lang.String destinationInstanceName;
6666

67+
/**
68+
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
69+
* connected via Private Services Access for private IP. For example:`projects/my-network-
70+
* project/global/networks/my-network`. This field is only required for cross-project cloning.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.lang.String destinationNetwork;
75+
76+
/**
77+
* Optional. The project ID of the destination project where the cloned instance will be created.
78+
* To perform a cross-project clone, this field is required. If not specified, the clone is
79+
* created in the same project as the source instance.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private java.lang.String destinationProject;
84+
6785
/**
6886
* This is always `sql#cloneContext`.
6987
* The value may be {@code null}.
@@ -193,6 +211,48 @@ public CloneContext setDestinationInstanceName(java.lang.String destinationInsta
193211
return this;
194212
}
195213

214+
/**
215+
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
216+
* connected via Private Services Access for private IP. For example:`projects/my-network-
217+
* project/global/networks/my-network`. This field is only required for cross-project cloning.
218+
* @return value or {@code null} for none
219+
*/
220+
public java.lang.String getDestinationNetwork() {
221+
return destinationNetwork;
222+
}
223+
224+
/**
225+
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
226+
* connected via Private Services Access for private IP. For example:`projects/my-network-
227+
* project/global/networks/my-network`. This field is only required for cross-project cloning.
228+
* @param destinationNetwork destinationNetwork or {@code null} for none
229+
*/
230+
public CloneContext setDestinationNetwork(java.lang.String destinationNetwork) {
231+
this.destinationNetwork = destinationNetwork;
232+
return this;
233+
}
234+
235+
/**
236+
* Optional. The project ID of the destination project where the cloned instance will be created.
237+
* To perform a cross-project clone, this field is required. If not specified, the clone is
238+
* created in the same project as the source instance.
239+
* @return value or {@code null} for none
240+
*/
241+
public java.lang.String getDestinationProject() {
242+
return destinationProject;
243+
}
244+
245+
/**
246+
* Optional. The project ID of the destination project where the cloned instance will be created.
247+
* To perform a cross-project clone, this field is required. If not specified, the clone is
248+
* created in the same project as the source instance.
249+
* @param destinationProject destinationProject or {@code null} for none
250+
*/
251+
public CloneContext setDestinationProject(java.lang.String destinationProject) {
252+
this.destinationProject = destinationProject;
253+
return this;
254+
}
255+
196256
/**
197257
* This is always `sql#cloneContext`.
198258
* @return value or {@code null} for none

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

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,19 @@ public final class DnsNameMapping extends com.google.api.client.json.GenericJson
4444
private java.lang.String dnsScope;
4545

4646
/**
47-
* The DNS name.
47+
* Output only. The DNS name.
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key
5151
private java.lang.String name;
5252

53+
/**
54+
* Output only. The manager for this DNS record.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String recordManager;
59+
5360
/**
5461
* Output only. The connection type of the DNS name.
5562
* @return value or {@code null} for none
@@ -85,22 +92,39 @@ public DnsNameMapping setDnsScope(java.lang.String dnsScope) {
8592
}
8693

8794
/**
88-
* The DNS name.
95+
* Output only. The DNS name.
8996
* @return value or {@code null} for none
9097
*/
9198
public java.lang.String getName() {
9299
return name;
93100
}
94101

95102
/**
96-
* The DNS name.
103+
* Output only. The DNS name.
97104
* @param name name or {@code null} for none
98105
*/
99106
public DnsNameMapping setName(java.lang.String name) {
100107
this.name = name;
101108
return this;
102109
}
103110

111+
/**
112+
* Output only. The manager for this DNS record.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.String getRecordManager() {
116+
return recordManager;
117+
}
118+
119+
/**
120+
* Output only. The manager for this DNS record.
121+
* @param recordManager recordManager or {@code null} for none
122+
*/
123+
public DnsNameMapping setRecordManager(java.lang.String recordManager) {
124+
this.recordManager = recordManager;
125+
return this;
126+
}
127+
104128
@Override
105129
public DnsNameMapping set(String fieldName, Object value) {
106130
return (DnsNameMapping) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
@SuppressWarnings("javadoc")
3030
public final class ExecuteSqlPayload extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Specifies the name of the application that is making the request. This field is used
34+
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
35+
* length is 32 characters.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String application;
40+
3241
/**
3342
* Optional. When set to true, the API caller identity associated with the request is used for
3443
* database authentication. The API caller must be an IAM user in the database.
@@ -75,6 +84,27 @@ public final class ExecuteSqlPayload extends com.google.api.client.json.GenericJ
7584
@com.google.api.client.util.Key
7685
private java.lang.String user;
7786

87+
/**
88+
* Optional. Specifies the name of the application that is making the request. This field is used
89+
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
90+
* length is 32 characters.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getApplication() {
94+
return application;
95+
}
96+
97+
/**
98+
* Optional. Specifies the name of the application that is making the request. This field is used
99+
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
100+
* length is 32 characters.
101+
* @param application application or {@code null} for none
102+
*/
103+
public ExecuteSqlPayload setApplication(java.lang.String application) {
104+
this.application = application;
105+
return this;
106+
}
107+
78108
/**
79109
* Optional. When set to true, the API caller identity associated with the request is used for
80110
* database authentication. The API caller must be an IAM user in the database.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class InsightsConfig extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. Whether enhanced query insights feature is enabled.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean enhancedQueryInsightsEnabled;
39+
3340
/**
3441
* Whether Query Insights feature is enabled.
3542
* The value may be {@code null}.
@@ -68,6 +75,23 @@ public final class InsightsConfig extends com.google.api.client.json.GenericJson
6875
@com.google.api.client.util.Key
6976
private java.lang.Boolean recordClientAddress;
7077

78+
/**
79+
* Optional. Whether enhanced query insights feature is enabled.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.Boolean getEnhancedQueryInsightsEnabled() {
83+
return enhancedQueryInsightsEnabled;
84+
}
85+
86+
/**
87+
* Optional. Whether enhanced query insights feature is enabled.
88+
* @param enhancedQueryInsightsEnabled enhancedQueryInsightsEnabled or {@code null} for none
89+
*/
90+
public InsightsConfig setEnhancedQueryInsightsEnabled(java.lang.Boolean enhancedQueryInsightsEnabled) {
91+
this.enhancedQueryInsightsEnabled = enhancedQueryInsightsEnabled;
92+
return this;
93+
}
94+
7195
/**
7296
* Whether Query Insights feature is enabled.
7397
* @return value or {@code null} for none

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-rev20251201-2.0.0</version>
12-
<name>Cloud SQL Admin API v1-rev20251201-2.0.0</name>
11+
<version>v1-rev20260204-2.0.0</version>
12+
<name>Cloud SQL Admin API v1-rev20260204-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-rev20251201-2.0.0</version>
25+
<version>v1-rev20260204-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-rev20251201-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260204-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-rev20251201-2.0.0</version>
25+
<version>v1beta4-rev20260204-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-rev20251201-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260204-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -11467,17 +11467,27 @@ public Update setName(java.lang.String name) {
1146711467
return this;
1146811468
}
1146911469

11470-
/** Optional. revoke the existing roles granted to the user. */
11470+
/**
11471+
* Optional. Specifies whether to revoke existing roles that are not present in the
11472+
* `database_roles` field. If `false` or unset, the database roles specified in
11473+
* `database_roles` are added to the user's existing roles.
11474+
*/
1147111475
@com.google.api.client.util.Key
1147211476
private java.lang.Boolean revokeExistingRoles;
1147311477

11474-
/** Optional. revoke the existing roles granted to the user.
11478+
/** Optional. Specifies whether to revoke existing roles that are not present in the `database_roles`
11479+
field. If `false` or unset, the database roles specified in `database_roles` are added to the
11480+
user's existing roles.
1147511481
*/
1147611482
public java.lang.Boolean getRevokeExistingRoles() {
1147711483
return revokeExistingRoles;
1147811484
}
1147911485

11480-
/** Optional. revoke the existing roles granted to the user. */
11486+
/**
11487+
* Optional. Specifies whether to revoke existing roles that are not present in the
11488+
* `database_roles` field. If `false` or unset, the database roles specified in
11489+
* `database_roles` are added to the user's existing roles.
11490+
*/
1148111491
public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) {
1148211492
this.revokeExistingRoles = revokeExistingRoles;
1148311493
return this;
@@ -11523,8 +11533,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
1152311533
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
1152411534
* <li>Android: {@code newCompatibleTransport} from
1152511535
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
11526-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
11527-
* </li>
11536+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
1152811537
* </ul>
1152911538
* @param jsonFactory JSON factory, which may be:
1153011539
* <ul>

0 commit comments

Comments
 (0)