Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-datamigration</artifactId>
<version>v1-rev20260718-2.0.0</version>
<version>v1-rev20260802-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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<java.lang.String> 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<java.lang.String> getEgressPublicIps() {
return egressPublicIps;
}

/**
* Output only. The reserved public IPs.
* @param egressPublicIps egressPublicIps or {@code null} for none
*/
public ReservedPublicIpConfig setEgressPublicIps(java.util.List<java.lang.String> 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();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-datamigration/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-datamigration</artifactId>
<version>v1-rev20260718-2.0.0</version>
<name>Database Migration API v1-rev20260718-2.0.0</name>
<version>v1-rev20260802-2.0.0</version>
<name>Database Migration API v1-rev20260802-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-datamigration/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-datamigration</artifactId>
<version>v1-rev20260718-2.0.0</version>
<version>v1-rev20260802-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading