Skip to content

Commit a36fc2a

Browse files
1 parent 31fc90b commit a36fc2a

File tree

6 files changed

+178
-6
lines changed

6 files changed

+178
-6
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-rev20250815-2.0.0</version>
25+
<version>v1-rev20250826-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-rev20250815-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20250826-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,28 @@ public final class SqlServerConnectionProfile extends com.google.api.client.json
4545
@com.google.api.client.util.Key
4646
private java.lang.String cloudSqlId;
4747

48+
/**
49+
* Optional. The project id of the Cloud SQL instance. If not provided, the project id of the
50+
* connection profile will be used.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String cloudSqlProjectId;
55+
4856
/**
4957
* Required. The name of the specific database within the host.
5058
* The value may be {@code null}.
5159
*/
5260
@com.google.api.client.util.Key
5361
private java.lang.String database;
5462

63+
/**
64+
* Optional. The Database Mirroring (DBM) port of the source SQL Server instance.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.Integer dbmPort;
69+
5570
/**
5671
* Forward SSH tunnel connectivity.
5772
* The value may be {@code null}.
@@ -161,6 +176,25 @@ public SqlServerConnectionProfile setCloudSqlId(java.lang.String cloudSqlId) {
161176
return this;
162177
}
163178

179+
/**
180+
* Optional. The project id of the Cloud SQL instance. If not provided, the project id of the
181+
* connection profile will be used.
182+
* @return value or {@code null} for none
183+
*/
184+
public java.lang.String getCloudSqlProjectId() {
185+
return cloudSqlProjectId;
186+
}
187+
188+
/**
189+
* Optional. The project id of the Cloud SQL instance. If not provided, the project id of the
190+
* connection profile will be used.
191+
* @param cloudSqlProjectId cloudSqlProjectId or {@code null} for none
192+
*/
193+
public SqlServerConnectionProfile setCloudSqlProjectId(java.lang.String cloudSqlProjectId) {
194+
this.cloudSqlProjectId = cloudSqlProjectId;
195+
return this;
196+
}
197+
164198
/**
165199
* Required. The name of the specific database within the host.
166200
* @return value or {@code null} for none
@@ -178,6 +212,23 @@ public SqlServerConnectionProfile setDatabase(java.lang.String database) {
178212
return this;
179213
}
180214

215+
/**
216+
* Optional. The Database Mirroring (DBM) port of the source SQL Server instance.
217+
* @return value or {@code null} for none
218+
*/
219+
public java.lang.Integer getDbmPort() {
220+
return dbmPort;
221+
}
222+
223+
/**
224+
* Optional. The Database Mirroring (DBM) port of the source SQL Server instance.
225+
* @param dbmPort dbmPort or {@code null} for none
226+
*/
227+
public SqlServerConnectionProfile setDbmPort(java.lang.Integer dbmPort) {
228+
this.dbmPort = dbmPort;
229+
return this;
230+
}
231+
181232
/**
182233
* Forward SSH tunnel connectivity.
183234
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* Configuration for distributed availability group (DAG) for the SQL Server homogeneous migration.
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 SqlServerDagConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The name of the linked server that points to the source SQL Server instance. Only
35+
* used by DAG migrations.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String linkedServer;
40+
41+
/**
42+
* Required. The name of the source availability group. Only used by DAG migrations.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String sourceAg;
47+
48+
/**
49+
* Required. The name of the linked server that points to the source SQL Server instance. Only
50+
* used by DAG migrations.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getLinkedServer() {
54+
return linkedServer;
55+
}
56+
57+
/**
58+
* Required. The name of the linked server that points to the source SQL Server instance. Only
59+
* used by DAG migrations.
60+
* @param linkedServer linkedServer or {@code null} for none
61+
*/
62+
public SqlServerDagConfig setLinkedServer(java.lang.String linkedServer) {
63+
this.linkedServer = linkedServer;
64+
return this;
65+
}
66+
67+
/**
68+
* Required. The name of the source availability group. Only used by DAG migrations.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getSourceAg() {
72+
return sourceAg;
73+
}
74+
75+
/**
76+
* Required. The name of the source availability group. Only used by DAG migrations.
77+
* @param sourceAg sourceAg or {@code null} for none
78+
*/
79+
public SqlServerDagConfig setSourceAg(java.lang.String sourceAg) {
80+
this.sourceAg = sourceAg;
81+
return this;
82+
}
83+
84+
@Override
85+
public SqlServerDagConfig set(String fieldName, Object value) {
86+
return (SqlServerDagConfig) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public SqlServerDagConfig clone() {
91+
return (SqlServerDagConfig) super.clone();
92+
}
93+
94+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class SqlServerHomogeneousMigrationJobConfig extends com.google.api
4444
@com.google.api.client.util.Key
4545
private java.lang.String backupFilePattern;
4646

47+
/**
48+
* Optional. Configuration for distributed availability group (DAG) for the SQL Server homogeneous
49+
* migration.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private SqlServerDagConfig dagConfig;
54+
4755
/**
4856
* Required. Backup details per database in Cloud Storage.
4957
* The value may be {@code null}.
@@ -102,6 +110,25 @@ public SqlServerHomogeneousMigrationJobConfig setBackupFilePattern(java.lang.Str
102110
return this;
103111
}
104112

113+
/**
114+
* Optional. Configuration for distributed availability group (DAG) for the SQL Server homogeneous
115+
* migration.
116+
* @return value or {@code null} for none
117+
*/
118+
public SqlServerDagConfig getDagConfig() {
119+
return dagConfig;
120+
}
121+
122+
/**
123+
* Optional. Configuration for distributed availability group (DAG) for the SQL Server homogeneous
124+
* migration.
125+
* @param dagConfig dagConfig or {@code null} for none
126+
*/
127+
public SqlServerHomogeneousMigrationJobConfig setDagConfig(SqlServerDagConfig dagConfig) {
128+
this.dagConfig = dagConfig;
129+
return this;
130+
}
131+
105132
/**
106133
* Required. Backup details per database in Cloud Storage.
107134
* @return value or {@code null} for none

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-rev20250815-2.0.0</version>
12-
<name>Database Migration API v1-rev20250815-2.0.0</name>
11+
<version>v1-rev20250826-2.0.0</version>
12+
<name>Database Migration API v1-rev20250826-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-rev20250815-2.0.0</version>
25+
<version>v1-rev20250826-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-rev20250815-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20250826-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)