Skip to content

Commit 2293cff

Browse files
1 parent b853aa1 commit 2293cff

18 files changed

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

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

Lines changed: 607 additions & 2 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public final class GoogleCloudClouddmsV1OperationMetadata extends com.google.api
5353

5454
/**
5555
* Output only. Identifies whether the user has requested cancellation of the operation.
56-
* Operations that have successfully been cancelled have Operation.error value with a
57-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
56+
* Operations that have successfully been cancelled have google.longrunning.Operation.error value
57+
* with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
@@ -134,8 +134,8 @@ public GoogleCloudClouddmsV1OperationMetadata setEndTime(String endTime) {
134134

135135
/**
136136
* Output only. Identifies whether the user has requested cancellation of the operation.
137-
* Operations that have successfully been cancelled have Operation.error value with a
138-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
137+
* Operations that have successfully been cancelled have google.longrunning.Operation.error value
138+
* with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
139139
* @return value or {@code null} for none
140140
*/
141141
public java.lang.Boolean getRequestedCancellation() {
@@ -144,8 +144,8 @@ public java.lang.Boolean getRequestedCancellation() {
144144

145145
/**
146146
* Output only. Identifies whether the user has requested cancellation of the operation.
147-
* Operations that have successfully been cancelled have Operation.error value with a
148-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
147+
* Operations that have successfully been cancelled have google.longrunning.Operation.error value
148+
* with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
149149
* @param requestedCancellation requestedCancellation or {@code null} for none
150150
*/
151151
public GoogleCloudClouddmsV1OperationMetadata setRequestedCancellation(java.lang.Boolean requestedCancellation) {
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+
* Response containing the objects for a migration job.
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 ListMigrationJobObjectsResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* List of migration job objects.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<MigrationJobObject> migrationJobObjects;
39+
40+
/**
41+
* A token, which can be sent as `page_token` to retrieve the next page.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String nextPageToken;
46+
47+
/**
48+
* List of migration job objects.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.List<MigrationJobObject> getMigrationJobObjects() {
52+
return migrationJobObjects;
53+
}
54+
55+
/**
56+
* List of migration job objects.
57+
* @param migrationJobObjects migrationJobObjects or {@code null} for none
58+
*/
59+
public ListMigrationJobObjectsResponse setMigrationJobObjects(java.util.List<MigrationJobObject> migrationJobObjects) {
60+
this.migrationJobObjects = migrationJobObjects;
61+
return this;
62+
}
63+
64+
/**
65+
* A token, which can be sent as `page_token` to retrieve the next page.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getNextPageToken() {
69+
return nextPageToken;
70+
}
71+
72+
/**
73+
* A token, which can be sent as `page_token` to retrieve the next page.
74+
* @param nextPageToken nextPageToken or {@code null} for none
75+
*/
76+
public ListMigrationJobObjectsResponse setNextPageToken(java.lang.String nextPageToken) {
77+
this.nextPageToken = nextPageToken;
78+
return this;
79+
}
80+
81+
@Override
82+
public ListMigrationJobObjectsResponse set(String fieldName, Object value) {
83+
return (ListMigrationJobObjectsResponse) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public ListMigrationJobObjectsResponse clone() {
88+
return (ListMigrationJobObjectsResponse) super.clone();
89+
}
90+
91+
}
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+
* Request for looking up a specific migration job object by its source object identifier.
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 LookupMigrationJobObjectRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The source object identifier which maps to the migration job object.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private SourceObjectIdentifier sourceObjectIdentifier;
39+
40+
/**
41+
* Required. The source object identifier which maps to the migration job object.
42+
* @return value or {@code null} for none
43+
*/
44+
public SourceObjectIdentifier getSourceObjectIdentifier() {
45+
return sourceObjectIdentifier;
46+
}
47+
48+
/**
49+
* Required. The source object identifier which maps to the migration job object.
50+
* @param sourceObjectIdentifier sourceObjectIdentifier or {@code null} for none
51+
*/
52+
public LookupMigrationJobObjectRequest setSourceObjectIdentifier(SourceObjectIdentifier sourceObjectIdentifier) {
53+
this.sourceObjectIdentifier = sourceObjectIdentifier;
54+
return this;
55+
}
56+
57+
@Override
58+
public LookupMigrationJobObjectRequest set(String fieldName, Object value) {
59+
return (LookupMigrationJobObjectRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public LookupMigrationJobObjectRequest clone() {
64+
return (LookupMigrationJobObjectRequest) super.clone();
65+
}
66+
67+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ public final class MaterializedViewEntity extends com.google.api.client.json.Gen
3737
@com.google.api.client.util.Key
3838
private java.util.Map<String, java.lang.Object> customFeatures;
3939

40+
/**
41+
* View indices.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<IndexEntity> indices;
46+
47+
static {
48+
// hack to force ProGuard to consider IndexEntity used, since otherwise it would be stripped out
49+
// see https://github.com/google/google-api-java-client/issues/543
50+
com.google.api.client.util.Data.nullOf(IndexEntity.class);
51+
}
52+
4053
/**
4154
* The SQL code which creates the view.
4255
* The value may be {@code null}.
@@ -61,6 +74,23 @@ public MaterializedViewEntity setCustomFeatures(java.util.Map<String, java.lang.
6174
return this;
6275
}
6376

77+
/**
78+
* View indices.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.util.List<IndexEntity> getIndices() {
82+
return indices;
83+
}
84+
85+
/**
86+
* View indices.
87+
* @param indices indices or {@code null} for none
88+
*/
89+
public MaterializedViewEntity setIndices(java.util.List<IndexEntity> indices) {
90+
this.indices = indices;
91+
return this;
92+
}
93+
6494
/**
6595
* The SQL code which creates the view.
6696
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ 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+
* Optional. The objects that need to be migrated.
155+
* The value may be {@code null}.
156+
*/
157+
@com.google.api.client.util.Key
158+
private MigrationJobObjectsConfig objectsConfig;
159+
153160
/**
154161
* Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB
155162
* for PostgreSQL** migrations.
@@ -521,6 +528,23 @@ public MigrationJob setName(java.lang.String name) {
521528
return this;
522529
}
523530

531+
/**
532+
* Optional. The objects that need to be migrated.
533+
* @return value or {@code null} for none
534+
*/
535+
public MigrationJobObjectsConfig getObjectsConfig() {
536+
return objectsConfig;
537+
}
538+
539+
/**
540+
* Optional. The objects that need to be migrated.
541+
* @param objectsConfig objectsConfig or {@code null} for none
542+
*/
543+
public MigrationJob setObjectsConfig(MigrationJobObjectsConfig objectsConfig) {
544+
this.objectsConfig = objectsConfig;
545+
return this;
546+
}
547+
524548
/**
525549
* Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB
526550
* for PostgreSQL** migrations.

0 commit comments

Comments
 (0)