Skip to content

Commit b7e0669

Browse files
1 parent db4634b commit b7e0669

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2456
-66
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-rev20250613-2.0.0</version>
25+
<version>v1-rev20250807-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-rev20250613-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20250807-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,6 +4431,143 @@ public DemoteMaster set(String parameterName, Object value) {
44314431
return (DemoteMaster) super.set(parameterName, value);
44324432
}
44334433
}
4434+
/**
4435+
* Execute SQL statements.
4436+
*
4437+
* Create a request for the method "instances.executeSql".
4438+
*
4439+
* This request holds the parameters needed by the sqladmin server. After setting any optional
4440+
* parameters, call the {@link ExecuteSql#execute()} method to invoke the remote operation.
4441+
*
4442+
* @param project Required. Project ID of the project that contains the instance.
4443+
* @param instance Required. Database instance ID. This does not include the project ID.
4444+
* @param content the {@link com.google.api.services.sqladmin.model.ExecuteSqlPayload}
4445+
* @return the request
4446+
*/
4447+
public ExecuteSql executeSql(java.lang.String project, java.lang.String instance, com.google.api.services.sqladmin.model.ExecuteSqlPayload content) throws java.io.IOException {
4448+
ExecuteSql result = new ExecuteSql(project, instance, content);
4449+
initialize(result);
4450+
return result;
4451+
}
4452+
4453+
public class ExecuteSql extends SQLAdminRequest<com.google.api.services.sqladmin.model.SqlInstancesExecuteSqlResponse> {
4454+
4455+
private static final String REST_PATH = "v1/projects/{project}/instances/{instance}/executeSql";
4456+
4457+
/**
4458+
* Execute SQL statements.
4459+
*
4460+
* Create a request for the method "instances.executeSql".
4461+
*
4462+
* This request holds the parameters needed by the the sqladmin server. After setting any
4463+
* optional parameters, call the {@link ExecuteSql#execute()} method to invoke the remote
4464+
* operation. <p> {@link
4465+
* ExecuteSql#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
4466+
* must be called to initialize this instance immediately after invoking the constructor. </p>
4467+
*
4468+
* @param project Required. Project ID of the project that contains the instance.
4469+
* @param instance Required. Database instance ID. This does not include the project ID.
4470+
* @param content the {@link com.google.api.services.sqladmin.model.ExecuteSqlPayload}
4471+
* @since 1.13
4472+
*/
4473+
protected ExecuteSql(java.lang.String project, java.lang.String instance, com.google.api.services.sqladmin.model.ExecuteSqlPayload content) {
4474+
super(SQLAdmin.this, "POST", REST_PATH, content, com.google.api.services.sqladmin.model.SqlInstancesExecuteSqlResponse.class);
4475+
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
4476+
this.instance = com.google.api.client.util.Preconditions.checkNotNull(instance, "Required parameter instance must be specified.");
4477+
}
4478+
4479+
@Override
4480+
public ExecuteSql set$Xgafv(java.lang.String $Xgafv) {
4481+
return (ExecuteSql) super.set$Xgafv($Xgafv);
4482+
}
4483+
4484+
@Override
4485+
public ExecuteSql setAccessToken(java.lang.String accessToken) {
4486+
return (ExecuteSql) super.setAccessToken(accessToken);
4487+
}
4488+
4489+
@Override
4490+
public ExecuteSql setAlt(java.lang.String alt) {
4491+
return (ExecuteSql) super.setAlt(alt);
4492+
}
4493+
4494+
@Override
4495+
public ExecuteSql setCallback(java.lang.String callback) {
4496+
return (ExecuteSql) super.setCallback(callback);
4497+
}
4498+
4499+
@Override
4500+
public ExecuteSql setFields(java.lang.String fields) {
4501+
return (ExecuteSql) super.setFields(fields);
4502+
}
4503+
4504+
@Override
4505+
public ExecuteSql setKey(java.lang.String key) {
4506+
return (ExecuteSql) super.setKey(key);
4507+
}
4508+
4509+
@Override
4510+
public ExecuteSql setOauthToken(java.lang.String oauthToken) {
4511+
return (ExecuteSql) super.setOauthToken(oauthToken);
4512+
}
4513+
4514+
@Override
4515+
public ExecuteSql setPrettyPrint(java.lang.Boolean prettyPrint) {
4516+
return (ExecuteSql) super.setPrettyPrint(prettyPrint);
4517+
}
4518+
4519+
@Override
4520+
public ExecuteSql setQuotaUser(java.lang.String quotaUser) {
4521+
return (ExecuteSql) super.setQuotaUser(quotaUser);
4522+
}
4523+
4524+
@Override
4525+
public ExecuteSql setUploadType(java.lang.String uploadType) {
4526+
return (ExecuteSql) super.setUploadType(uploadType);
4527+
}
4528+
4529+
@Override
4530+
public ExecuteSql setUploadProtocol(java.lang.String uploadProtocol) {
4531+
return (ExecuteSql) super.setUploadProtocol(uploadProtocol);
4532+
}
4533+
4534+
/** Required. Project ID of the project that contains the instance. */
4535+
@com.google.api.client.util.Key
4536+
private java.lang.String project;
4537+
4538+
/** Required. Project ID of the project that contains the instance.
4539+
*/
4540+
public java.lang.String getProject() {
4541+
return project;
4542+
}
4543+
4544+
/** Required. Project ID of the project that contains the instance. */
4545+
public ExecuteSql setProject(java.lang.String project) {
4546+
this.project = project;
4547+
return this;
4548+
}
4549+
4550+
/** Required. Database instance ID. This does not include the project ID. */
4551+
@com.google.api.client.util.Key
4552+
private java.lang.String instance;
4553+
4554+
/** Required. Database instance ID. This does not include the project ID.
4555+
*/
4556+
public java.lang.String getInstance() {
4557+
return instance;
4558+
}
4559+
4560+
/** Required. Database instance ID. This does not include the project ID. */
4561+
public ExecuteSql setInstance(java.lang.String instance) {
4562+
this.instance = instance;
4563+
return this;
4564+
}
4565+
4566+
@Override
4567+
public ExecuteSql set(String parameterName, Object value) {
4568+
return (ExecuteSql) super.set(parameterName, value);
4569+
}
4570+
}
44344571
/**
44354572
* Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
44364573
*
@@ -8270,6 +8407,29 @@ public GetLatestRecoveryTime setInstance(java.lang.String instance) {
82708407
return this;
82718408
}
82728409

8410+
/**
8411+
* The timestamp used to identify the time when the source instance is deleted. If this
8412+
* instance is deleted, then you must set the timestamp.
8413+
*/
8414+
@com.google.api.client.util.Key
8415+
private String sourceInstanceDeletionTime;
8416+
8417+
/** The timestamp used to identify the time when the source instance is deleted. If this instance is
8418+
deleted, then you must set the timestamp.
8419+
*/
8420+
public String getSourceInstanceDeletionTime() {
8421+
return sourceInstanceDeletionTime;
8422+
}
8423+
8424+
/**
8425+
* The timestamp used to identify the time when the source instance is deleted. If this
8426+
* instance is deleted, then you must set the timestamp.
8427+
*/
8428+
public GetLatestRecoveryTime setSourceInstanceDeletionTime(String sourceInstanceDeletionTime) {
8429+
this.sourceInstanceDeletionTime = sourceInstanceDeletionTime;
8430+
return this;
8431+
}
8432+
82738433
@Override
82748434
public GetLatestRecoveryTime set(String parameterName, Object value) {
82758435
return (GetLatestRecoveryTime) super.set(parameterName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ public final class CloneContext extends com.google.api.client.json.GenericJson {
103103
@com.google.api.client.util.Key
104104
private java.lang.String preferredZone;
105105

106+
/**
107+
* The timestamp used to identify the time when the source instance is deleted. If this instance
108+
* is deleted, then you must set the timestamp.
109+
* The value may be {@code null}.
110+
*/
111+
@com.google.api.client.util.Key
112+
private String sourceInstanceDeletionTime;
113+
106114
/**
107115
* The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-
108116
* managed-services-default". If set, the cloned instance ip will be created in the allocated
@@ -278,6 +286,25 @@ public CloneContext setPreferredZone(java.lang.String preferredZone) {
278286
return this;
279287
}
280288

289+
/**
290+
* The timestamp used to identify the time when the source instance is deleted. If this instance
291+
* is deleted, then you must set the timestamp.
292+
* @return value or {@code null} for none
293+
*/
294+
public String getSourceInstanceDeletionTime() {
295+
return sourceInstanceDeletionTime;
296+
}
297+
298+
/**
299+
* The timestamp used to identify the time when the source instance is deleted. If this instance
300+
* is deleted, then you must set the timestamp.
301+
* @param sourceInstanceDeletionTime sourceInstanceDeletionTime or {@code null} for none
302+
*/
303+
public CloneContext setSourceInstanceDeletionTime(String sourceInstanceDeletionTime) {
304+
this.sourceInstanceDeletionTime = sourceInstanceDeletionTime;
305+
return this;
306+
}
307+
281308
@Override
282309
public CloneContext set(String fieldName, Object value) {
283310
return (CloneContext) super.set(fieldName, value);
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.sqladmin.model;
18+
19+
/**
20+
* Contains the name and datatype of a column.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class Column extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Name of the column.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String name;
38+
39+
/**
40+
* Datatype of the column.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String type;
45+
46+
/**
47+
* Name of the column.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getName() {
51+
return name;
52+
}
53+
54+
/**
55+
* Name of the column.
56+
* @param name name or {@code null} for none
57+
*/
58+
public Column setName(java.lang.String name) {
59+
this.name = name;
60+
return this;
61+
}
62+
63+
/**
64+
* Datatype of the column.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getType() {
68+
return type;
69+
}
70+
71+
/**
72+
* Datatype of the column.
73+
* @param type type or {@code null} for none
74+
*/
75+
public Column setType(java.lang.String type) {
76+
this.type = type;
77+
return this;
78+
}
79+
80+
@Override
81+
public Column set(String fieldName, Object value) {
82+
return (Column) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public Column clone() {
87+
return (Column) super.clone();
88+
}
89+
90+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ public final class ConnectSettings extends com.google.api.client.json.GenericJso
8686
@com.google.api.client.util.Key
8787
private java.lang.String kind;
8888

89+
/**
90+
* Optional. Output only. mdx_protocol_support controls how the client uses metadata exchange when
91+
* connecting to the instance. The values in the list representing parts of the MDX protocol that
92+
* are supported by this instance. When the list is empty, the instance does not support MDX, so
93+
* the client must not send an MDX request. The default is empty.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private java.util.List<java.lang.String> mdxProtocolSupport;
98+
8999
/**
90100
* The number of read pool nodes in a read pool.
91101
* The value may be {@code null}.
@@ -270,6 +280,29 @@ public ConnectSettings setKind(java.lang.String kind) {
270280
return this;
271281
}
272282

283+
/**
284+
* Optional. Output only. mdx_protocol_support controls how the client uses metadata exchange when
285+
* connecting to the instance. The values in the list representing parts of the MDX protocol that
286+
* are supported by this instance. When the list is empty, the instance does not support MDX, so
287+
* the client must not send an MDX request. The default is empty.
288+
* @return value or {@code null} for none
289+
*/
290+
public java.util.List<java.lang.String> getMdxProtocolSupport() {
291+
return mdxProtocolSupport;
292+
}
293+
294+
/**
295+
* Optional. Output only. mdx_protocol_support controls how the client uses metadata exchange when
296+
* connecting to the instance. The values in the list representing parts of the MDX protocol that
297+
* are supported by this instance. When the list is empty, the instance does not support MDX, so
298+
* the client must not send an MDX request. The default is empty.
299+
* @param mdxProtocolSupport mdxProtocolSupport or {@code null} for none
300+
*/
301+
public ConnectSettings setMdxProtocolSupport(java.util.List<java.lang.String> mdxProtocolSupport) {
302+
this.mdxProtocolSupport = mdxProtocolSupport;
303+
return this;
304+
}
305+
273306
/**
274307
* The number of read pool nodes in a read pool.
275308
* @return value or {@code null} for none

0 commit comments

Comments
 (0)