Skip to content

Commit 8fb34dd

Browse files
1 parent 256b8aa commit 8fb34dd

File tree

7 files changed

+272
-9
lines changed

7 files changed

+272
-9
lines changed

clients/google-api-services-datamigration/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-datamigration</artifactId>
25-
<version>v1-rev20240902-2.0.0</version>
25+
<version>v1-rev20240914-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-datamigration:v1-rev20240902-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20240914-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.datamigration.v1.model;
18+
19+
/**
20+
* AuthorizedNetwork contains metadata for an authorized network.
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 Database Migration API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AuthorizedNetwork extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. CIDR range for one authorzied network of the instance.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String cidrRange;
39+
40+
/**
41+
* Optional. CIDR range for one authorzied network of the instance.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getCidrRange() {
45+
return cidrRange;
46+
}
47+
48+
/**
49+
* Optional. CIDR range for one authorzied network of the instance.
50+
* @param cidrRange cidrRange or {@code null} for none
51+
*/
52+
public AuthorizedNetwork setCidrRange(java.lang.String cidrRange) {
53+
this.cidrRange = cidrRange;
54+
return this;
55+
}
56+
57+
@Override
58+
public AuthorizedNetwork set(String fieldName, Object value) {
59+
return (AuthorizedNetwork) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AuthorizedNetwork clone() {
64+
return (AuthorizedNetwork) super.clone();
65+
}
66+
67+
}

clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/CloudSqlSettings.java

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,19 @@ public final class CloudSqlSettings extends com.google.api.client.json.GenericJs
105105
private java.util.Map<String, java.lang.String> databaseFlags;
106106

107107
/**
108-
* The database engine type and version.
108+
* The database engine type and version. Deprecated. Use database_version_name instead.
109109
* The value may be {@code null}.
110110
*/
111111
@com.google.api.client.util.Key
112112
private java.lang.String databaseVersion;
113113

114+
/**
115+
* Optional. The database engine type and version name.
116+
* The value may be {@code null}.
117+
*/
118+
@com.google.api.client.util.Key
119+
private java.lang.String databaseVersionName;
120+
114121
/**
115122
* Optional. The edition of the given Cloud SQL instance.
116123
* The value may be {@code null}.
@@ -366,22 +373,39 @@ public CloudSqlSettings setDatabaseFlags(java.util.Map<String, java.lang.String>
366373
}
367374

368375
/**
369-
* The database engine type and version.
376+
* The database engine type and version. Deprecated. Use database_version_name instead.
370377
* @return value or {@code null} for none
371378
*/
372379
public java.lang.String getDatabaseVersion() {
373380
return databaseVersion;
374381
}
375382

376383
/**
377-
* The database engine type and version.
384+
* The database engine type and version. Deprecated. Use database_version_name instead.
378385
* @param databaseVersion databaseVersion or {@code null} for none
379386
*/
380387
public CloudSqlSettings setDatabaseVersion(java.lang.String databaseVersion) {
381388
this.databaseVersion = databaseVersion;
382389
return this;
383390
}
384391

392+
/**
393+
* Optional. The database engine type and version name.
394+
* @return value or {@code null} for none
395+
*/
396+
public java.lang.String getDatabaseVersionName() {
397+
return databaseVersionName;
398+
}
399+
400+
/**
401+
* Optional. The database engine type and version name.
402+
* @param databaseVersionName databaseVersionName or {@code null} for none
403+
*/
404+
public CloudSqlSettings setDatabaseVersionName(java.lang.String databaseVersionName) {
405+
this.databaseVersionName = databaseVersionName;
406+
return this;
407+
}
408+
385409
/**
386410
* Optional. The edition of the given Cloud SQL instance.
387411
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.datamigration.v1.model;
18+
19+
/**
20+
* Metadata related to instance level network configuration.
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 Database Migration API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class InstanceNetworkConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. A list of external network authorized to access this instance.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<AuthorizedNetwork> authorizedExternalNetworks;
39+
40+
static {
41+
// hack to force ProGuard to consider AuthorizedNetwork used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(AuthorizedNetwork.class);
44+
}
45+
46+
/**
47+
* Optional. Enabling an outbound public IP address to support a database server sending requests
48+
* out into the internet.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Boolean enableOutboundPublicIp;
53+
54+
/**
55+
* Optional. Enabling public ip for the instance.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Boolean enablePublicIp;
60+
61+
/**
62+
* Optional. A list of external network authorized to access this instance.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.util.List<AuthorizedNetwork> getAuthorizedExternalNetworks() {
66+
return authorizedExternalNetworks;
67+
}
68+
69+
/**
70+
* Optional. A list of external network authorized to access this instance.
71+
* @param authorizedExternalNetworks authorizedExternalNetworks or {@code null} for none
72+
*/
73+
public InstanceNetworkConfig setAuthorizedExternalNetworks(java.util.List<AuthorizedNetwork> authorizedExternalNetworks) {
74+
this.authorizedExternalNetworks = authorizedExternalNetworks;
75+
return this;
76+
}
77+
78+
/**
79+
* Optional. Enabling an outbound public IP address to support a database server sending requests
80+
* out into the internet.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.Boolean getEnableOutboundPublicIp() {
84+
return enableOutboundPublicIp;
85+
}
86+
87+
/**
88+
* Optional. Enabling an outbound public IP address to support a database server sending requests
89+
* out into the internet.
90+
* @param enableOutboundPublicIp enableOutboundPublicIp or {@code null} for none
91+
*/
92+
public InstanceNetworkConfig setEnableOutboundPublicIp(java.lang.Boolean enableOutboundPublicIp) {
93+
this.enableOutboundPublicIp = enableOutboundPublicIp;
94+
return this;
95+
}
96+
97+
/**
98+
* Optional. Enabling public ip for the instance.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.Boolean getEnablePublicIp() {
102+
return enablePublicIp;
103+
}
104+
105+
/**
106+
* Optional. Enabling public ip for the instance.
107+
* @param enablePublicIp enablePublicIp or {@code null} for none
108+
*/
109+
public InstanceNetworkConfig setEnablePublicIp(java.lang.Boolean enablePublicIp) {
110+
this.enablePublicIp = enablePublicIp;
111+
return this;
112+
}
113+
114+
@Override
115+
public InstanceNetworkConfig set(String fieldName, Object value) {
116+
return (InstanceNetworkConfig) super.set(fieldName, value);
117+
}
118+
119+
@Override
120+
public InstanceNetworkConfig clone() {
121+
return (InstanceNetworkConfig) super.clone();
122+
}
123+
124+
}

clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/PrimaryInstanceSettings.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public final class PrimaryInstanceSettings extends com.google.api.client.json.Ge
4646
@com.google.api.client.util.Key
4747
private java.lang.String id;
4848

49+
/**
50+
* Optional. Metadata related to instance level network configuration.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private InstanceNetworkConfig instanceNetworkConfig;
55+
4956
/**
5057
* Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key',
5158
* 'value' pairs.
@@ -61,6 +68,13 @@ public final class PrimaryInstanceSettings extends com.google.api.client.json.Ge
6168
@com.google.api.client.util.Key
6269
private MachineConfig machineConfig;
6370

71+
/**
72+
* Output only. All outbound public IP addresses configured for the instance.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.util.List<java.lang.String> outboundPublicIpAddresses;
77+
6478
/**
6579
* Output only. The private IP address for the Instance. This is the connection endpoint for an
6680
* end-user application.
@@ -107,6 +121,23 @@ public PrimaryInstanceSettings setId(java.lang.String id) {
107121
return this;
108122
}
109123

124+
/**
125+
* Optional. Metadata related to instance level network configuration.
126+
* @return value or {@code null} for none
127+
*/
128+
public InstanceNetworkConfig getInstanceNetworkConfig() {
129+
return instanceNetworkConfig;
130+
}
131+
132+
/**
133+
* Optional. Metadata related to instance level network configuration.
134+
* @param instanceNetworkConfig instanceNetworkConfig or {@code null} for none
135+
*/
136+
public PrimaryInstanceSettings setInstanceNetworkConfig(InstanceNetworkConfig instanceNetworkConfig) {
137+
this.instanceNetworkConfig = instanceNetworkConfig;
138+
return this;
139+
}
140+
110141
/**
111142
* Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key',
112143
* 'value' pairs.
@@ -143,6 +174,23 @@ public PrimaryInstanceSettings setMachineConfig(MachineConfig machineConfig) {
143174
return this;
144175
}
145176

177+
/**
178+
* Output only. All outbound public IP addresses configured for the instance.
179+
* @return value or {@code null} for none
180+
*/
181+
public java.util.List<java.lang.String> getOutboundPublicIpAddresses() {
182+
return outboundPublicIpAddresses;
183+
}
184+
185+
/**
186+
* Output only. All outbound public IP addresses configured for the instance.
187+
* @param outboundPublicIpAddresses outboundPublicIpAddresses or {@code null} for none
188+
*/
189+
public PrimaryInstanceSettings setOutboundPublicIpAddresses(java.util.List<java.lang.String> outboundPublicIpAddresses) {
190+
this.outboundPublicIpAddresses = outboundPublicIpAddresses;
191+
return this;
192+
}
193+
146194
/**
147195
* Output only. The private IP address for the Instance. This is the connection endpoint for an
148196
* end-user application.

clients/google-api-services-datamigration/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-datamigration</artifactId>
11-
<version>v1-rev20240902-2.0.0</version>
12-
<name>Database Migration API v1-rev20240902-2.0.0</name>
11+
<version>v1-rev20240914-2.0.0</version>
12+
<name>Database Migration API v1-rev20240914-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-datamigration/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-datamigration</artifactId>
25-
<version>v1-rev20240902-2.0.0</version>
25+
<version>v1-rev20240914-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-datamigration:v1-rev20240902-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20240914-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)