Skip to content

Commit 0a543b3

Browse files
chore: regenerate sqladmin client
1 parent 5ec85f7 commit 0a543b3

File tree

14 files changed

+440
-18
lines changed

14 files changed

+440
-18
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-rev20260119-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-rev20260119-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7334,6 +7334,143 @@ public RestoreBackup set(String parameterName, Object value) {
73347334
return (RestoreBackup) super.set(parameterName, value);
73357335
}
73367336
}
7337+
/**
7338+
* Restores a backup of a Cloud SQL instance for Model Context Protocol (MCP) server.
7339+
*
7340+
* Create a request for the method "instances.restoreBackupMcp".
7341+
*
7342+
* This request holds the parameters needed by the sqladmin server. After setting any optional
7343+
* parameters, call the {@link RestoreBackupMcp#execute()} method to invoke the remote operation.
7344+
*
7345+
* @param targetProject Required. Project ID of the target project.
7346+
* @param targetInstance Required. Cloud SQL instance ID of the target. This does not include the project ID.
7347+
* @param content the {@link com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest}
7348+
* @return the request
7349+
*/
7350+
public RestoreBackupMcp restoreBackupMcp(java.lang.String targetProject, java.lang.String targetInstance, com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest content) throws java.io.IOException {
7351+
RestoreBackupMcp result = new RestoreBackupMcp(targetProject, targetInstance, content);
7352+
initialize(result);
7353+
return result;
7354+
}
7355+
7356+
public class RestoreBackupMcp extends SQLAdminRequest<com.google.api.services.sqladmin.model.Operation> {
7357+
7358+
private static final String REST_PATH = "v1/projects/{targetProject}/instances/{targetInstance}:restoreBackupMcp";
7359+
7360+
/**
7361+
* Restores a backup of a Cloud SQL instance for Model Context Protocol (MCP) server.
7362+
*
7363+
* Create a request for the method "instances.restoreBackupMcp".
7364+
*
7365+
* This request holds the parameters needed by the the sqladmin server. After setting any
7366+
* optional parameters, call the {@link RestoreBackupMcp#execute()} method to invoke the remote
7367+
* operation. <p> {@link RestoreBackupMcp#initialize(com.google.api.client.googleapis.services.Abs
7368+
* tractGoogleClientRequest)} must be called to initialize this instance immediately after
7369+
* invoking the constructor. </p>
7370+
*
7371+
* @param targetProject Required. Project ID of the target project.
7372+
* @param targetInstance Required. Cloud SQL instance ID of the target. This does not include the project ID.
7373+
* @param content the {@link com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest}
7374+
* @since 1.13
7375+
*/
7376+
protected RestoreBackupMcp(java.lang.String targetProject, java.lang.String targetInstance, com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest content) {
7377+
super(SQLAdmin.this, "POST", REST_PATH, content, com.google.api.services.sqladmin.model.Operation.class);
7378+
this.targetProject = com.google.api.client.util.Preconditions.checkNotNull(targetProject, "Required parameter targetProject must be specified.");
7379+
this.targetInstance = com.google.api.client.util.Preconditions.checkNotNull(targetInstance, "Required parameter targetInstance must be specified.");
7380+
}
7381+
7382+
@Override
7383+
public RestoreBackupMcp set$Xgafv(java.lang.String $Xgafv) {
7384+
return (RestoreBackupMcp) super.set$Xgafv($Xgafv);
7385+
}
7386+
7387+
@Override
7388+
public RestoreBackupMcp setAccessToken(java.lang.String accessToken) {
7389+
return (RestoreBackupMcp) super.setAccessToken(accessToken);
7390+
}
7391+
7392+
@Override
7393+
public RestoreBackupMcp setAlt(java.lang.String alt) {
7394+
return (RestoreBackupMcp) super.setAlt(alt);
7395+
}
7396+
7397+
@Override
7398+
public RestoreBackupMcp setCallback(java.lang.String callback) {
7399+
return (RestoreBackupMcp) super.setCallback(callback);
7400+
}
7401+
7402+
@Override
7403+
public RestoreBackupMcp setFields(java.lang.String fields) {
7404+
return (RestoreBackupMcp) super.setFields(fields);
7405+
}
7406+
7407+
@Override
7408+
public RestoreBackupMcp setKey(java.lang.String key) {
7409+
return (RestoreBackupMcp) super.setKey(key);
7410+
}
7411+
7412+
@Override
7413+
public RestoreBackupMcp setOauthToken(java.lang.String oauthToken) {
7414+
return (RestoreBackupMcp) super.setOauthToken(oauthToken);
7415+
}
7416+
7417+
@Override
7418+
public RestoreBackupMcp setPrettyPrint(java.lang.Boolean prettyPrint) {
7419+
return (RestoreBackupMcp) super.setPrettyPrint(prettyPrint);
7420+
}
7421+
7422+
@Override
7423+
public RestoreBackupMcp setQuotaUser(java.lang.String quotaUser) {
7424+
return (RestoreBackupMcp) super.setQuotaUser(quotaUser);
7425+
}
7426+
7427+
@Override
7428+
public RestoreBackupMcp setUploadType(java.lang.String uploadType) {
7429+
return (RestoreBackupMcp) super.setUploadType(uploadType);
7430+
}
7431+
7432+
@Override
7433+
public RestoreBackupMcp setUploadProtocol(java.lang.String uploadProtocol) {
7434+
return (RestoreBackupMcp) super.setUploadProtocol(uploadProtocol);
7435+
}
7436+
7437+
/** Required. Project ID of the target project. */
7438+
@com.google.api.client.util.Key
7439+
private java.lang.String targetProject;
7440+
7441+
/** Required. Project ID of the target project.
7442+
*/
7443+
public java.lang.String getTargetProject() {
7444+
return targetProject;
7445+
}
7446+
7447+
/** Required. Project ID of the target project. */
7448+
public RestoreBackupMcp setTargetProject(java.lang.String targetProject) {
7449+
this.targetProject = targetProject;
7450+
return this;
7451+
}
7452+
7453+
/** Required. Cloud SQL instance ID of the target. This does not include the project ID. */
7454+
@com.google.api.client.util.Key
7455+
private java.lang.String targetInstance;
7456+
7457+
/** Required. Cloud SQL instance ID of the target. This does not include the project ID.
7458+
*/
7459+
public java.lang.String getTargetInstance() {
7460+
return targetInstance;
7461+
}
7462+
7463+
/** Required. Cloud SQL instance ID of the target. This does not include the project ID. */
7464+
public RestoreBackupMcp setTargetInstance(java.lang.String targetInstance) {
7465+
this.targetInstance = targetInstance;
7466+
return this;
7467+
}
7468+
7469+
@Override
7470+
public RestoreBackupMcp set(String parameterName, Object value) {
7471+
return (RestoreBackupMcp) super.set(parameterName, value);
7472+
}
7473+
}
73377474
/**
73387475
* Rotates the server certificate to one signed by the Certificate Authority (CA) version previously
73397476
* added with the addServerCA method. For instances that have enabled Certificate Authority Service

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

0 commit comments

Comments
 (0)