diff --git a/clients/google-api-services-datamigration/v1/2.0.0/README.md b/clients/google-api-services-datamigration/v1/2.0.0/README.md index 2235de4d17b..0d7fa43df8e 100644 --- a/clients/google-api-services-datamigration/v1/2.0.0/README.md +++ b/clients/google-api-services-datamigration/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-datamigration - v1-rev20260718-2.0.0 + v1-rev20260802-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-datamigration:v1-rev20260718-2.0.0' + implementation 'com.google.apis:google-api-services-datamigration:v1-rev20260802-2.0.0' } ``` diff --git a/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/DatabaseMigrationService.java b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/DatabaseMigrationService.java index 0b112f23924..997b5ea54c7 100644 --- a/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/DatabaseMigrationService.java +++ b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/DatabaseMigrationService.java @@ -318,6 +318,32 @@ public FetchStaticIps setName(java.lang.String name) { return this; } + /** + * Optional. Indicates whether to fetch the reserved public IP addresses allocated for + * private connections in this location. If false or not set, fetches the shared external + * static IP addresses instead. + */ + @com.google.api.client.util.Key + private java.lang.Boolean fetchReservedPublicIps; + + /** Optional. Indicates whether to fetch the reserved public IP addresses allocated for private + connections in this location. If false or not set, fetches the shared external static IP addresses + instead. + */ + public java.lang.Boolean getFetchReservedPublicIps() { + return fetchReservedPublicIps; + } + + /** + * Optional. Indicates whether to fetch the reserved public IP addresses allocated for + * private connections in this location. If false or not set, fetches the shared external + * static IP addresses instead. + */ + public FetchStaticIps setFetchReservedPublicIps(java.lang.Boolean fetchReservedPublicIps) { + this.fetchReservedPublicIps = fetchReservedPublicIps; + return this; + } + /** Optional. Maximum number of IPs to return. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; diff --git a/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/PrivateConnection.java b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/PrivateConnection.java index 48aea602396..6561b4e71a6 100644 --- a/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/PrivateConnection.java +++ b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/PrivateConnection.java @@ -75,6 +75,13 @@ public final class PrivateConnection extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private PscInterfaceConfig pscInterfaceConfig; + /** + * Reserved Public IP configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ReservedPublicIpConfig reservedPublicIpConfig; + /** * Output only. Reserved for future use. * The value may be {@code null}. @@ -216,6 +223,23 @@ public PrivateConnection setPscInterfaceConfig(PscInterfaceConfig pscInterfaceCo return this; } + /** + * Reserved Public IP configuration. + * @return value or {@code null} for none + */ + public ReservedPublicIpConfig getReservedPublicIpConfig() { + return reservedPublicIpConfig; + } + + /** + * Reserved Public IP configuration. + * @param reservedPublicIpConfig reservedPublicIpConfig or {@code null} for none + */ + public PrivateConnection setReservedPublicIpConfig(ReservedPublicIpConfig reservedPublicIpConfig) { + this.reservedPublicIpConfig = reservedPublicIpConfig; + return this; + } + /** * Output only. Reserved for future use. * @return value or {@code null} for none diff --git a/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/ReservedPublicIpConfig.java b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/ReservedPublicIpConfig.java new file mode 100644 index 00000000000..a88a141ec79 --- /dev/null +++ b/clients/google-api-services-datamigration/v1/2.0.0/com/google/api/services/datamigration/v1/model/ReservedPublicIpConfig.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.datamigration.v1.model; + +/** + * Reserved Public IP configuration. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Database Migration API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ReservedPublicIpConfig extends com.google.api.client.json.GenericJson { + + /** + * Output only. The reserved public IPs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List egressPublicIps; + + /** + * Optional. Number of static public IP addresses to reserve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer natIpsCount; + + /** + * Output only. The reserved public IPs. + * @return value or {@code null} for none + */ + public java.util.List getEgressPublicIps() { + return egressPublicIps; + } + + /** + * Output only. The reserved public IPs. + * @param egressPublicIps egressPublicIps or {@code null} for none + */ + public ReservedPublicIpConfig setEgressPublicIps(java.util.List egressPublicIps) { + this.egressPublicIps = egressPublicIps; + return this; + } + + /** + * Optional. Number of static public IP addresses to reserve. + * @return value or {@code null} for none + */ + public java.lang.Integer getNatIpsCount() { + return natIpsCount; + } + + /** + * Optional. Number of static public IP addresses to reserve. + * @param natIpsCount natIpsCount or {@code null} for none + */ + public ReservedPublicIpConfig setNatIpsCount(java.lang.Integer natIpsCount) { + this.natIpsCount = natIpsCount; + return this; + } + + @Override + public ReservedPublicIpConfig set(String fieldName, Object value) { + return (ReservedPublicIpConfig) super.set(fieldName, value); + } + + @Override + public ReservedPublicIpConfig clone() { + return (ReservedPublicIpConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-datamigration/v1/2.0.0/pom.xml b/clients/google-api-services-datamigration/v1/2.0.0/pom.xml index df5e89b70cf..fba19688e9c 100644 --- a/clients/google-api-services-datamigration/v1/2.0.0/pom.xml +++ b/clients/google-api-services-datamigration/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-datamigration - v1-rev20260718-2.0.0 - Database Migration API v1-rev20260718-2.0.0 + v1-rev20260802-2.0.0 + Database Migration API v1-rev20260802-2.0.0 jar 2011 diff --git a/clients/google-api-services-datamigration/v1/README.md b/clients/google-api-services-datamigration/v1/README.md index 2235de4d17b..0d7fa43df8e 100644 --- a/clients/google-api-services-datamigration/v1/README.md +++ b/clients/google-api-services-datamigration/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-datamigration - v1-rev20260718-2.0.0 + v1-rev20260802-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-datamigration:v1-rev20260718-2.0.0' + implementation 'com.google.apis:google-api-services-datamigration:v1-rev20260802-2.0.0' } ```