Skip to content

Commit a53f700

Browse files
1 parent 593ebdf commit a53f700

File tree

7 files changed

+222
-6
lines changed

7 files changed

+222
-6
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-rev20241011-2.0.0</version>
25+
<version>v1-rev20241108-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-rev20241011-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20241108-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* The selected object that Cloud SQL migrates.
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 ExternalSyncSelectedObject extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The name of the database that Cloud SQL migrates.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String database;
38+
39+
/**
40+
* The name of the database that Cloud SQL migrates.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getDatabase() {
44+
return database;
45+
}
46+
47+
/**
48+
* The name of the database that Cloud SQL migrates.
49+
* @param database database or {@code null} for none
50+
*/
51+
public ExternalSyncSelectedObject setDatabase(java.lang.String database) {
52+
this.database = database;
53+
return this;
54+
}
55+
56+
@Override
57+
public ExternalSyncSelectedObject set(String fieldName, Object value) {
58+
return (ExternalSyncSelectedObject) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public ExternalSyncSelectedObject clone() {
63+
return (ExternalSyncSelectedObject) super.clone();
64+
}
65+
66+
}

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,28 @@ public final class OnPremisesConfiguration extends com.google.api.client.json.Ge
7979
@com.google.api.client.util.Key
8080
private java.lang.String password;
8181

82+
/**
83+
* Optional. A list of objects that the user selects for replication from an external source
84+
* instance.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.util.List<SelectedObjects> selectedObjects;
89+
8290
/**
8391
* The reference to Cloud SQL instance if the source is Cloud SQL.
8492
* The value may be {@code null}.
8593
*/
8694
@com.google.api.client.util.Key
8795
private InstanceReference sourceInstance;
8896

97+
/**
98+
* Optional. SSL option for replica connection to the on-premises source.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private java.lang.String sslOption;
103+
89104
/**
90105
* The username for connecting to on-premises instance.
91106
* The value may be {@code null}.
@@ -214,6 +229,25 @@ public OnPremisesConfiguration setPassword(java.lang.String password) {
214229
return this;
215230
}
216231

232+
/**
233+
* Optional. A list of objects that the user selects for replication from an external source
234+
* instance.
235+
* @return value or {@code null} for none
236+
*/
237+
public java.util.List<SelectedObjects> getSelectedObjects() {
238+
return selectedObjects;
239+
}
240+
241+
/**
242+
* Optional. A list of objects that the user selects for replication from an external source
243+
* instance.
244+
* @param selectedObjects selectedObjects or {@code null} for none
245+
*/
246+
public OnPremisesConfiguration setSelectedObjects(java.util.List<SelectedObjects> selectedObjects) {
247+
this.selectedObjects = selectedObjects;
248+
return this;
249+
}
250+
217251
/**
218252
* The reference to Cloud SQL instance if the source is Cloud SQL.
219253
* @return value or {@code null} for none
@@ -231,6 +265,23 @@ public OnPremisesConfiguration setSourceInstance(InstanceReference sourceInstanc
231265
return this;
232266
}
233267

268+
/**
269+
* Optional. SSL option for replica connection to the on-premises source.
270+
* @return value or {@code null} for none
271+
*/
272+
public java.lang.String getSslOption() {
273+
return sslOption;
274+
}
275+
276+
/**
277+
* Optional. SSL option for replica connection to the on-premises source.
278+
* @param sslOption sslOption or {@code null} for none
279+
*/
280+
public OnPremisesConfiguration setSslOption(java.lang.String sslOption) {
281+
this.sslOption = sslOption;
282+
return this;
283+
}
284+
234285
/**
235286
* The username for connecting to on-premises instance.
236287
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* A list of objects that the user selects for replication from an external source instance.
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 SelectedObjects extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The name of the database to migrate.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String database;
38+
39+
/**
40+
* Required. The name of the database to migrate.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getDatabase() {
44+
return database;
45+
}
46+
47+
/**
48+
* Required. The name of the database to migrate.
49+
* @param database database or {@code null} for none
50+
*/
51+
public SelectedObjects setDatabase(java.lang.String database) {
52+
this.database = database;
53+
return this;
54+
}
55+
56+
@Override
57+
public SelectedObjects set(String fieldName, Object value) {
58+
return (SelectedObjects) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public SelectedObjects clone() {
63+
return (SelectedObjects) super.clone();
64+
}
65+
66+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ public final class SqlInstancesVerifyExternalSyncSettingsRequest extends com.goo
4545
@com.google.api.client.util.Key
4646
private MySqlSyncConfig mysqlSyncConfig;
4747

48+
/**
49+
* Optional. Migrate only the specified objects from the source instance. If this field is empty,
50+
* then migrate all objects.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<ExternalSyncSelectedObject> selectedObjects;
55+
56+
static {
57+
// hack to force ProGuard to consider ExternalSyncSelectedObject used, since otherwise it would be stripped out
58+
// see https://github.com/google/google-api-java-client/issues/543
59+
com.google.api.client.util.Data.nullOf(ExternalSyncSelectedObject.class);
60+
}
61+
4862
/**
4963
* External sync mode
5064
* The value may be {@code null}.
@@ -111,6 +125,25 @@ public SqlInstancesVerifyExternalSyncSettingsRequest setMysqlSyncConfig(MySqlSyn
111125
return this;
112126
}
113127

128+
/**
129+
* Optional. Migrate only the specified objects from the source instance. If this field is empty,
130+
* then migrate all objects.
131+
* @return value or {@code null} for none
132+
*/
133+
public java.util.List<ExternalSyncSelectedObject> getSelectedObjects() {
134+
return selectedObjects;
135+
}
136+
137+
/**
138+
* Optional. Migrate only the specified objects from the source instance. If this field is empty,
139+
* then migrate all objects.
140+
* @param selectedObjects selectedObjects or {@code null} for none
141+
*/
142+
public SqlInstancesVerifyExternalSyncSettingsRequest setSelectedObjects(java.util.List<ExternalSyncSelectedObject> selectedObjects) {
143+
this.selectedObjects = selectedObjects;
144+
return this;
145+
}
146+
114147
/**
115148
* External sync mode
116149
* @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-rev20241011-2.0.0</version>
12-
<name>Cloud SQL Admin API v1-rev20241011-2.0.0</name>
11+
<version>v1-rev20241108-2.0.0</version>
12+
<name>Cloud SQL Admin API v1-rev20241108-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-rev20241011-2.0.0</version>
25+
<version>v1-rev20241108-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-rev20241011-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20241108-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)