Skip to content

Commit e2fc99f

Browse files
1 parent 33fcade commit e2fc99f

File tree

7 files changed

+27
-111
lines changed

7 files changed

+27
-111
lines changed

clients/google-api-services-migrationcenter/v1alpha1/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-migrationcenter</artifactId>
25-
<version>v1alpha1-rev20240411-2.0.0</version>
25+
<version>v1alpha1-rev20240421-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-migrationcenter:v1alpha1-rev20240411-2.0.0'
38+
implementation 'com.google.apis:google-api-services-migrationcenter:v1alpha1-rev20240421-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-migrationcenter/v1alpha1/2.0.0/com/google/api/services/migrationcenter/v1alpha1/model/DatabaseInstance.java

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

32-
/**
33-
* Optional. The instance's hosts.
34-
* The value may be {@code null}.
35-
*/
36-
@com.google.api.client.util.Key
37-
private java.util.List<DatabaseInstanceHost> hosts;
38-
3932
/**
4033
* The instance's name.
4134
* The value may be {@code null}.
@@ -50,23 +43,6 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs
5043
@com.google.api.client.util.Key
5144
private java.lang.String role;
5245

53-
/**
54-
* Optional. The instance's hosts.
55-
* @return value or {@code null} for none
56-
*/
57-
public java.util.List<DatabaseInstanceHost> getHosts() {
58-
return hosts;
59-
}
60-
61-
/**
62-
* Optional. The instance's hosts.
63-
* @param hosts hosts or {@code null} for none
64-
*/
65-
public DatabaseInstance setHosts(java.util.List<DatabaseInstanceHost> hosts) {
66-
this.hosts = hosts;
67-
return this;
68-
}
69-
7046
/**
7147
* The instance's name.
7248
* @return value or {@code null} for none

clients/google-api-services-migrationcenter/v1alpha1/2.0.0/com/google/api/services/migrationcenter/v1alpha1/model/DatabaseInstanceHost.java

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.migrationcenter.v1alpha1.model;
1818

1919
/**
20-
* Mysql plugin.
20+
* MySql plugin.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Migration Center API. For a detailed explanation see:
@@ -27,7 +27,7 @@
2727
* @author Google, Inc.
2828
*/
2929
@SuppressWarnings("javadoc")
30-
public final class MysqlPlugin extends com.google.api.client.json.GenericJson {
30+
public final class MySqlPlugin extends com.google.api.client.json.GenericJson {
3131

3232
/**
3333
* Required. The plugin is active.
@@ -62,7 +62,7 @@ public java.lang.Boolean getEnabled() {
6262
* Required. The plugin is active.
6363
* @param enabled enabled or {@code null} for none
6464
*/
65-
public MysqlPlugin setEnabled(java.lang.Boolean enabled) {
65+
public MySqlPlugin setEnabled(java.lang.Boolean enabled) {
6666
this.enabled = enabled;
6767
return this;
6868
}
@@ -79,7 +79,7 @@ public java.lang.String getPlugin() {
7979
* Required. The plugin name.
8080
* @param plugin plugin or {@code null} for none
8181
*/
82-
public MysqlPlugin setPlugin(java.lang.String plugin) {
82+
public MySqlPlugin setPlugin(java.lang.String plugin) {
8383
this.plugin = plugin;
8484
return this;
8585
}
@@ -96,19 +96,19 @@ public java.lang.String getVersion() {
9696
* Required. The plugin version.
9797
* @param version version or {@code null} for none
9898
*/
99-
public MysqlPlugin setVersion(java.lang.String version) {
99+
public MySqlPlugin setVersion(java.lang.String version) {
100100
this.version = version;
101101
return this;
102102
}
103103

104104
@Override
105-
public MysqlPlugin set(String fieldName, Object value) {
106-
return (MysqlPlugin) super.set(fieldName, value);
105+
public MySqlPlugin set(String fieldName, Object value) {
106+
return (MySqlPlugin) super.set(fieldName, value);
107107
}
108108

109109
@Override
110-
public MysqlPlugin clone() {
111-
return (MysqlPlugin) super.clone();
110+
public MySqlPlugin clone() {
111+
return (MySqlPlugin) super.clone();
112112
}
113113

114114
}

clients/google-api-services-migrationcenter/v1alpha1/2.0.0/com/google/api/services/migrationcenter/v1alpha1/model/MysqlDatabaseDeployment.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,31 @@
3030
public final class MysqlDatabaseDeployment extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Optional. List of Mysql plugins.
33+
* Optional. List of MySql plugins.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
37-
private java.util.List<MysqlPlugin> plugins;
37+
private java.util.List<MySqlPlugin> plugins;
38+
39+
static {
40+
// hack to force ProGuard to consider MySqlPlugin used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(MySqlPlugin.class);
43+
}
3844

3945
/**
40-
* Optional. List of Mysql plugins.
46+
* Optional. List of MySql plugins.
4147
* @return value or {@code null} for none
4248
*/
43-
public java.util.List<MysqlPlugin> getPlugins() {
49+
public java.util.List<MySqlPlugin> getPlugins() {
4450
return plugins;
4551
}
4652

4753
/**
48-
* Optional. List of Mysql plugins.
54+
* Optional. List of MySql plugins.
4955
* @param plugins plugins or {@code null} for none
5056
*/
51-
public MysqlDatabaseDeployment setPlugins(java.util.List<MysqlPlugin> plugins) {
57+
public MysqlDatabaseDeployment setPlugins(java.util.List<MySqlPlugin> plugins) {
5258
this.plugins = plugins;
5359
return this;
5460
}

clients/google-api-services-migrationcenter/v1alpha1/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-migrationcenter</artifactId>
11-
<version>v1alpha1-rev20240411-2.0.0</version>
12-
<name>Migration Center API v1alpha1-rev20240411-2.0.0</name>
11+
<version>v1alpha1-rev20240421-2.0.0</version>
12+
<name>Migration Center API v1alpha1-rev20240421-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-migrationcenter/v1alpha1/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-migrationcenter</artifactId>
25-
<version>v1alpha1-rev20240411-2.0.0</version>
25+
<version>v1alpha1-rev20240421-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-migrationcenter:v1alpha1-rev20240411-2.0.0'
38+
implementation 'com.google.apis:google-api-services-migrationcenter:v1alpha1-rev20240421-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)