Skip to content

Commit ace4199

Browse files
1 parent 2a5377f commit ace4199

File tree

11 files changed

+680
-6
lines changed

11 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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 to use Binary Log Parser CDC technique.
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 BinaryLogParser extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Use Oracle directories.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private LogFileDirectories logFileDirectories;
39+
40+
/**
41+
* Use Oracle ASM.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private OracleAsmLogFileAccess oracleAsmLogFileAccess;
46+
47+
/**
48+
* Use Oracle directories.
49+
* @return value or {@code null} for none
50+
*/
51+
public LogFileDirectories getLogFileDirectories() {
52+
return logFileDirectories;
53+
}
54+
55+
/**
56+
* Use Oracle directories.
57+
* @param logFileDirectories logFileDirectories or {@code null} for none
58+
*/
59+
public BinaryLogParser setLogFileDirectories(LogFileDirectories logFileDirectories) {
60+
this.logFileDirectories = logFileDirectories;
61+
return this;
62+
}
63+
64+
/**
65+
* Use Oracle ASM.
66+
* @return value or {@code null} for none
67+
*/
68+
public OracleAsmLogFileAccess getOracleAsmLogFileAccess() {
69+
return oracleAsmLogFileAccess;
70+
}
71+
72+
/**
73+
* Use Oracle ASM.
74+
* @param oracleAsmLogFileAccess oracleAsmLogFileAccess or {@code null} for none
75+
*/
76+
public BinaryLogParser setOracleAsmLogFileAccess(OracleAsmLogFileAccess oracleAsmLogFileAccess) {
77+
this.oracleAsmLogFileAccess = oracleAsmLogFileAccess;
78+
return this;
79+
}
80+
81+
@Override
82+
public BinaryLogParser set(String fieldName, Object value) {
83+
return (BinaryLogParser) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public BinaryLogParser clone() {
88+
return (BinaryLogParser) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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 to specify the Oracle directories to access the log files.
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 LogFileDirectories extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Oracle directory for archived logs.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String archivedLogDirectory;
39+
40+
/**
41+
* Required. Oracle directory for online logs.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String onlineLogDirectory;
46+
47+
/**
48+
* Required. Oracle directory for archived logs.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getArchivedLogDirectory() {
52+
return archivedLogDirectory;
53+
}
54+
55+
/**
56+
* Required. Oracle directory for archived logs.
57+
* @param archivedLogDirectory archivedLogDirectory or {@code null} for none
58+
*/
59+
public LogFileDirectories setArchivedLogDirectory(java.lang.String archivedLogDirectory) {
60+
this.archivedLogDirectory = archivedLogDirectory;
61+
return this;
62+
}
63+
64+
/**
65+
* Required. Oracle directory for online logs.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getOnlineLogDirectory() {
69+
return onlineLogDirectory;
70+
}
71+
72+
/**
73+
* Required. Oracle directory for online logs.
74+
* @param onlineLogDirectory onlineLogDirectory or {@code null} for none
75+
*/
76+
public LogFileDirectories setOnlineLogDirectory(java.lang.String onlineLogDirectory) {
77+
this.onlineLogDirectory = onlineLogDirectory;
78+
return this;
79+
}
80+
81+
@Override
82+
public LogFileDirectories set(String fieldName, Object value) {
83+
return (LogFileDirectories) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public LogFileDirectories clone() {
88+
return (LogFileDirectories) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 to use LogMiner CDC method.
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 LogMiner extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public LogMiner set(String fieldName, Object value) {
35+
return (LogMiner) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public LogMiner clone() {
40+
return (LogMiner) super.clone();
41+
}
42+
43+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ public final class MigrationJob extends com.google.api.client.json.GenericJson {
150150
@com.google.api.client.util.Key
151151
private java.lang.String name;
152152

153+
/**
154+
* Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB
155+
* for PostgreSQL** migrations.
156+
* The value may be {@code null}.
157+
*/
158+
@com.google.api.client.util.Key
159+
private OracleToPostgresConfig oracleToPostgresConfig;
160+
153161
/**
154162
* Optional. Data dump parallelism settings used by the migration.
155163
* The value may be {@code null}.
@@ -513,6 +521,25 @@ public MigrationJob setName(java.lang.String name) {
513521
return this;
514522
}
515523

524+
/**
525+
* Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB
526+
* for PostgreSQL** migrations.
527+
* @return value or {@code null} for none
528+
*/
529+
public OracleToPostgresConfig getOracleToPostgresConfig() {
530+
return oracleToPostgresConfig;
531+
}
532+
533+
/**
534+
* Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB
535+
* for PostgreSQL** migrations.
536+
* @param oracleToPostgresConfig oracleToPostgresConfig or {@code null} for none
537+
*/
538+
public MigrationJob setOracleToPostgresConfig(OracleToPostgresConfig oracleToPostgresConfig) {
539+
this.oracleToPostgresConfig = oracleToPostgresConfig;
540+
return this;
541+
}
542+
516543
/**
517544
* Optional. Data dump parallelism settings used by the migration.
518545
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 to use Oracle ASM to access the log files.
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 OracleAsmLogFileAccess extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public OracleAsmLogFileAccess set(String fieldName, Object value) {
35+
return (OracleAsmLogFileAccess) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public OracleAsmLogFileAccess clone() {
40+
return (OracleAsmLogFileAccess) super.clone();
41+
}
42+
43+
}

0 commit comments

Comments
 (0)