Skip to content

Commit 708998b

Browse files
1 parent 2e786c0 commit 708998b

34 files changed

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

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
* Describes violations in a client request. This error type focuses on the syntactic aspects of the
21+
* request.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Database Migration API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class BadRequest extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Describes all violations in a client request.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<FieldViolation> fieldViolations;
40+
41+
/**
42+
* Describes all violations in a client request.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.util.List<FieldViolation> getFieldViolations() {
46+
return fieldViolations;
47+
}
48+
49+
/**
50+
* Describes all violations in a client request.
51+
* @param fieldViolations fieldViolations or {@code null} for none
52+
*/
53+
public BadRequest setFieldViolations(java.util.List<FieldViolation> fieldViolations) {
54+
this.fieldViolations = fieldViolations;
55+
return this;
56+
}
57+
58+
@Override
59+
public BadRequest set(String fieldName, Object value) {
60+
return (BadRequest) super.set(fieldName, value);
61+
}
62+
63+
@Override
64+
public BadRequest clone() {
65+
return (BadRequest) super.clone();
66+
}
67+
68+
}
Lines changed: 91 additions & 0 deletions
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+
* Describes additional debugging info.
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 DebugInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Additional debugging information provided by the server.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String detail;
39+
40+
/**
41+
* The stack trace entries indicating where the error occurred.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.String> stackEntries;
46+
47+
/**
48+
* Additional debugging information provided by the server.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getDetail() {
52+
return detail;
53+
}
54+
55+
/**
56+
* Additional debugging information provided by the server.
57+
* @param detail detail or {@code null} for none
58+
*/
59+
public DebugInfo setDetail(java.lang.String detail) {
60+
this.detail = detail;
61+
return this;
62+
}
63+
64+
/**
65+
* The stack trace entries indicating where the error occurred.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.util.List<java.lang.String> getStackEntries() {
69+
return stackEntries;
70+
}
71+
72+
/**
73+
* The stack trace entries indicating where the error occurred.
74+
* @param stackEntries stackEntries or {@code null} for none
75+
*/
76+
public DebugInfo setStackEntries(java.util.List<java.lang.String> stackEntries) {
77+
this.stackEntries = stackEntries;
78+
return this;
79+
}
80+
81+
@Override
82+
public DebugInfo set(String fieldName, Object value) {
83+
return (DebugInfo) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public DebugInfo clone() {
88+
return (DebugInfo) super.clone();
89+
}
90+
91+
}
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
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+
* Describes the cause of the error with structured details. Example of an error when contacting the
21+
* "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain":
22+
* "googleapis.com" "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } }
23+
* This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error
24+
* that is returned when attempting to create a Spanner instance in a region that is out of stock: {
25+
* "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata": { "availableRegions": "us-
26+
* central1,us-east2" } }
27+
*
28+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
29+
* transmitted over HTTP when working with the Database Migration API. For a detailed explanation
30+
* see:
31+
* <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>
32+
* </p>
33+
*
34+
* @author Google, Inc.
35+
*/
36+
@SuppressWarnings("javadoc")
37+
public final class ErrorInfo extends com.google.api.client.json.GenericJson {
38+
39+
/**
40+
* The logical grouping to which the "reason" belongs. The error domain is typically the
41+
* registered service name of the tool or product that generates the error. Example:
42+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
43+
* domain must be a globally unique value that identifies the infrastructure. For Google API
44+
* infrastructure, the error domain is "googleapis.com".
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String domain;
49+
50+
/**
51+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
52+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
53+
* When identifying the current value of an exceeded limit, the units should be contained in the
54+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
55+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
56+
* instances that can be created in a single (batch) request.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.util.Map<String, java.lang.String> metadata;
61+
62+
/**
63+
* The reason of the error. This is a constant value that identifies the proximate cause of the
64+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
65+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String reason;
70+
71+
/**
72+
* The logical grouping to which the "reason" belongs. The error domain is typically the
73+
* registered service name of the tool or product that generates the error. Example:
74+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
75+
* domain must be a globally unique value that identifies the infrastructure. For Google API
76+
* infrastructure, the error domain is "googleapis.com".
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getDomain() {
80+
return domain;
81+
}
82+
83+
/**
84+
* The logical grouping to which the "reason" belongs. The error domain is typically the
85+
* registered service name of the tool or product that generates the error. Example:
86+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
87+
* domain must be a globally unique value that identifies the infrastructure. For Google API
88+
* infrastructure, the error domain is "googleapis.com".
89+
* @param domain domain or {@code null} for none
90+
*/
91+
public ErrorInfo setDomain(java.lang.String domain) {
92+
this.domain = domain;
93+
return this;
94+
}
95+
96+
/**
97+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
98+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
99+
* When identifying the current value of an exceeded limit, the units should be contained in the
100+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
101+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
102+
* instances that can be created in a single (batch) request.
103+
* @return value or {@code null} for none
104+
*/
105+
public java.util.Map<String, java.lang.String> getMetadata() {
106+
return metadata;
107+
}
108+
109+
/**
110+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
111+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
112+
* When identifying the current value of an exceeded limit, the units should be contained in the
113+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
114+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
115+
* instances that can be created in a single (batch) request.
116+
* @param metadata metadata or {@code null} for none
117+
*/
118+
public ErrorInfo setMetadata(java.util.Map<String, java.lang.String> metadata) {
119+
this.metadata = metadata;
120+
return this;
121+
}
122+
123+
/**
124+
* The reason of the error. This is a constant value that identifies the proximate cause of the
125+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
126+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getReason() {
130+
return reason;
131+
}
132+
133+
/**
134+
* The reason of the error. This is a constant value that identifies the proximate cause of the
135+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
136+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
137+
* @param reason reason or {@code null} for none
138+
*/
139+
public ErrorInfo setReason(java.lang.String reason) {
140+
this.reason = reason;
141+
return this;
142+
}
143+
144+
@Override
145+
public ErrorInfo set(String fieldName, Object value) {
146+
return (ErrorInfo) super.set(fieldName, value);
147+
}
148+
149+
@Override
150+
public ErrorInfo clone() {
151+
return (ErrorInfo) super.clone();
152+
}
153+
154+
}

0 commit comments

Comments
 (0)