Skip to content

Commit 8f3c701

Browse files
1 parent 12e7d74 commit 8f3c701

File tree

10 files changed

+270
-35
lines changed

10 files changed

+270
-35
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-rev20250925-2.0.0</version>
25+
<version>v1-rev20251006-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-rev20250925-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20251006-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4860,8 +4860,8 @@ public Failover set(String parameterName, Object value) {
48604860
* This request holds the parameters needed by the sqladmin server. After setting any optional
48614861
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
48624862
*
4863-
* @param project Project ID of the project that contains the instance.
4864-
* @param instance Database instance ID. This does not include the project ID.
4863+
* @param project Required. Project ID of the project that contains the instance.
4864+
* @param instance Required. Database instance ID. This does not include the project ID.
48654865
* @return the request
48664866
*/
48674867
public Get get(java.lang.String project, java.lang.String instance) throws java.io.IOException {
@@ -4884,8 +4884,8 @@ public class Get extends SQLAdminRequest<com.google.api.services.sqladmin.model.
48844884
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
48854885
* must be called to initialize this instance immediately after invoking the constructor. </p>
48864886
*
4887-
* @param project Project ID of the project that contains the instance.
4888-
* @param instance Database instance ID. This does not include the project ID.
4887+
* @param project Required. Project ID of the project that contains the instance.
4888+
* @param instance Required. Database instance ID. This does not include the project ID.
48894889
* @since 1.13
48904890
*/
48914891
protected Get(java.lang.String project, java.lang.String instance) {
@@ -4959,33 +4959,33 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
49594959
return (Get) super.setUploadProtocol(uploadProtocol);
49604960
}
49614961

4962-
/** Project ID of the project that contains the instance. */
4962+
/** Required. Project ID of the project that contains the instance. */
49634963
@com.google.api.client.util.Key
49644964
private java.lang.String project;
49654965

4966-
/** Project ID of the project that contains the instance.
4966+
/** Required. Project ID of the project that contains the instance.
49674967
*/
49684968
public java.lang.String getProject() {
49694969
return project;
49704970
}
49714971

4972-
/** Project ID of the project that contains the instance. */
4972+
/** Required. Project ID of the project that contains the instance. */
49734973
public Get setProject(java.lang.String project) {
49744974
this.project = project;
49754975
return this;
49764976
}
49774977

4978-
/** Database instance ID. This does not include the project ID. */
4978+
/** Required. Database instance ID. This does not include the project ID. */
49794979
@com.google.api.client.util.Key
49804980
private java.lang.String instance;
49814981

4982-
/** Database instance ID. This does not include the project ID.
4982+
/** Required. Database instance ID. This does not include the project ID.
49834983
*/
49844984
public java.lang.String getInstance() {
49854985
return instance;
49864986
}
49874987

4988-
/** Database instance ID. This does not include the project ID. */
4988+
/** Required. Database instance ID. This does not include the project ID. */
49894989
public Get setInstance(java.lang.String instance) {
49904990
this.instance = instance;
49914991
return this;
@@ -7917,8 +7917,8 @@ public Cancel set(String parameterName, Object value) {
79177917
* This request holds the parameters needed by the sqladmin server. After setting any optional
79187918
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
79197919
*
7920-
* @param project Project ID of the project that contains the instance.
7921-
* @param operation Instance operation ID.
7920+
* @param project Required. Project ID of the project that contains the instance.
7921+
* @param operation Required. Instance operation ID.
79227922
* @return the request
79237923
*/
79247924
public Get get(java.lang.String project, java.lang.String operation) throws java.io.IOException {
@@ -7941,8 +7941,8 @@ public class Get extends SQLAdminRequest<com.google.api.services.sqladmin.model.
79417941
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
79427942
* must be called to initialize this instance immediately after invoking the constructor. </p>
79437943
*
7944-
* @param project Project ID of the project that contains the instance.
7945-
* @param operation Instance operation ID.
7944+
* @param project Required. Project ID of the project that contains the instance.
7945+
* @param operation Required. Instance operation ID.
79467946
* @since 1.13
79477947
*/
79487948
protected Get(java.lang.String project, java.lang.String operation) {
@@ -8016,33 +8016,33 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
80168016
return (Get) super.setUploadProtocol(uploadProtocol);
80178017
}
80188018

8019-
/** Project ID of the project that contains the instance. */
8019+
/** Required. Project ID of the project that contains the instance. */
80208020
@com.google.api.client.util.Key
80218021
private java.lang.String project;
80228022

8023-
/** Project ID of the project that contains the instance.
8023+
/** Required. Project ID of the project that contains the instance.
80248024
*/
80258025
public java.lang.String getProject() {
80268026
return project;
80278027
}
80288028

8029-
/** Project ID of the project that contains the instance. */
8029+
/** Required. Project ID of the project that contains the instance. */
80308030
public Get setProject(java.lang.String project) {
80318031
this.project = project;
80328032
return this;
80338033
}
80348034

8035-
/** Instance operation ID. */
8035+
/** Required. Instance operation ID. */
80368036
@com.google.api.client.util.Key
80378037
private java.lang.String operation;
80388038

8039-
/** Instance operation ID.
8039+
/** Required. Instance operation ID.
80408040
*/
80418041
public java.lang.String getOperation() {
80428042
return operation;
80438043
}
80448044

8045-
/** Instance operation ID. */
8045+
/** Required. Instance operation ID. */
80468046
public Get setOperation(java.lang.String operation) {
80478047
this.operation = operation;
80488048
return this;

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public final class ExecuteSqlPayload extends com.google.api.client.json.GenericJ
4545
private java.lang.String database;
4646

4747
/**
48-
* Optional. Controls how the API should respond when the SQL execution result exceeds 10 MB. The
49-
* default mode is to throw an error.
48+
* Optional. Controls how the API should respond when the SQL execution result is incomplete due
49+
* to the size limit or another error. The default mode is to throw an error.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
@@ -112,17 +112,17 @@ public ExecuteSqlPayload setDatabase(java.lang.String database) {
112112
}
113113

114114
/**
115-
* Optional. Controls how the API should respond when the SQL execution result exceeds 10 MB. The
116-
* default mode is to throw an error.
115+
* Optional. Controls how the API should respond when the SQL execution result is incomplete due
116+
* to the size limit or another error. The default mode is to throw an error.
117117
* @return value or {@code null} for none
118118
*/
119119
public java.lang.String getPartialResultMode() {
120120
return partialResultMode;
121121
}
122122

123123
/**
124-
* Optional. Controls how the API should respond when the SQL execution result exceeds 10 MB. The
125-
* default mode is to throw an error.
124+
* Optional. Controls how the API should respond when the SQL execution result is incomplete due
125+
* to the size limit or another error. The default mode is to throw an error.
126126
* @param partialResultMode partialResultMode or {@code null} for none
127127
*/
128128
public ExecuteSqlPayload setPartialResultMode(java.lang.String partialResultMode) {

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

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public final class QueryResult extends com.google.api.client.json.GenericJson {
5050
private java.lang.String message;
5151

5252
/**
53-
* Set to true if the SQL execution's result is truncated due to size limits.
53+
* Set to true if the SQL execution's result is truncated due to size limits or an error
54+
* retrieving results.
5455
* The value may be {@code null}.
5556
*/
5657
@com.google.api.client.util.Key
@@ -63,6 +64,13 @@ public final class QueryResult extends com.google.api.client.json.GenericJson {
6364
@com.google.api.client.util.Key
6465
private java.util.List<Row> rows;
6566

67+
/**
68+
* If results were truncated due to an error, details of that error.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private Status status;
73+
6674
/**
6775
* List of columns included in the result. This also includes the data type of the column.
6876
* @return value or {@code null} for none
@@ -98,15 +106,17 @@ public QueryResult setMessage(java.lang.String message) {
98106
}
99107

100108
/**
101-
* Set to true if the SQL execution's result is truncated due to size limits.
109+
* Set to true if the SQL execution's result is truncated due to size limits or an error
110+
* retrieving results.
102111
* @return value or {@code null} for none
103112
*/
104113
public java.lang.Boolean getPartialResult() {
105114
return partialResult;
106115
}
107116

108117
/**
109-
* Set to true if the SQL execution's result is truncated due to size limits.
118+
* Set to true if the SQL execution's result is truncated due to size limits or an error
119+
* retrieving results.
110120
* @param partialResult partialResult or {@code null} for none
111121
*/
112122
public QueryResult setPartialResult(java.lang.Boolean partialResult) {
@@ -131,6 +141,23 @@ public QueryResult setRows(java.util.List<Row> rows) {
131141
return this;
132142
}
133143

144+
/**
145+
* If results were truncated due to an error, details of that error.
146+
* @return value or {@code null} for none
147+
*/
148+
public Status getStatus() {
149+
return status;
150+
}
151+
152+
/**
153+
* If results were truncated due to an error, details of that error.
154+
* @param status status or {@code null} for none
155+
*/
156+
public QueryResult setStatus(Status status) {
157+
this.status = status;
158+
return this;
159+
}
160+
134161
@Override
135162
public QueryResult set(String fieldName, Object value) {
136163
return (QueryResult) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ public final class Settings extends com.google.api.client.json.GenericJson {
6161
@com.google.api.client.util.Key
6262
private java.util.List<java.lang.String> authorizedGaeApplications;
6363

64+
/**
65+
* Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true,
66+
* auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or
67+
* higher.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.Boolean autoUpgradeEnabled;
72+
6473
/**
6574
* Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone.
6675
* Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from
@@ -439,6 +448,27 @@ public Settings setAuthorizedGaeApplications(java.util.List<java.lang.String> au
439448
return this;
440449
}
441450

451+
/**
452+
* Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true,
453+
* auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or
454+
* higher.
455+
* @return value or {@code null} for none
456+
*/
457+
public java.lang.Boolean getAutoUpgradeEnabled() {
458+
return autoUpgradeEnabled;
459+
}
460+
461+
/**
462+
* Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true,
463+
* auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or
464+
* higher.
465+
* @param autoUpgradeEnabled autoUpgradeEnabled or {@code null} for none
466+
*/
467+
public Settings setAutoUpgradeEnabled(java.lang.Boolean autoUpgradeEnabled) {
468+
this.autoUpgradeEnabled = autoUpgradeEnabled;
469+
return this;
470+
}
471+
442472
/**
443473
* Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone.
444474
* Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public final class SqlInstancesExecuteSqlResponse extends com.google.api.client.
6565
com.google.api.client.util.Data.nullOf(QueryResult.class);
6666
}
6767

68+
/**
69+
* Contains the error from the database if the SQL execution failed.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private Status status;
74+
6875
/**
6976
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes
7077
* all notices and warnings. For MySQL, this includes warnings generated by the last executed
@@ -122,6 +129,23 @@ public SqlInstancesExecuteSqlResponse setResults(java.util.List<QueryResult> res
122129
return this;
123130
}
124131

132+
/**
133+
* Contains the error from the database if the SQL execution failed.
134+
* @return value or {@code null} for none
135+
*/
136+
public Status getStatus() {
137+
return status;
138+
}
139+
140+
/**
141+
* Contains the error from the database if the SQL execution failed.
142+
* @param status status or {@code null} for none
143+
*/
144+
public SqlInstancesExecuteSqlResponse setStatus(Status status) {
145+
this.status = status;
146+
return this;
147+
}
148+
125149
@Override
126150
public SqlInstancesExecuteSqlResponse set(String fieldName, Object value) {
127151
return (SqlInstancesExecuteSqlResponse) super.set(fieldName, value);

0 commit comments

Comments
 (0)