Skip to content

Commit fcbcead

Browse files
chore: regenerate datastream client
1 parent ebb6aa7 commit fcbcead

36 files changed

+3324
-22
lines changed

clients/google-api-services-datastream/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-datastream</artifactId>
25-
<version>v1-rev20260114-2.0.0</version>
25+
<version>v1-rev20260204-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-datastream:v1-rev20260114-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datastream:v1-rev20260204-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Datastream extends com.google.api.client.googleapis.services.json.A
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -499,7 +499,10 @@ public Get set(String parameterName, Object value) {
499499
}
500500
}
501501
/**
502-
* Lists information about the supported locations for this service.
502+
* Lists information about the supported locations for this service. This method can be called in
503+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
504+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
505+
* public locations as well as private or other locations specifically visible to the project.
503506
*
504507
* Create a request for the method "locations.list".
505508
*
@@ -523,7 +526,10 @@ public class List extends DatastreamRequest<com.google.api.services.datastream.v
523526
java.util.regex.Pattern.compile("^projects/[^/]+$");
524527

525528
/**
526-
* Lists information about the supported locations for this service.
529+
* Lists information about the supported locations for this service. This method can be called in
530+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
531+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
532+
* public locations as well as private or other locations specifically visible to the project.
527533
*
528534
* Create a request for the method "locations.list".
529535
*
@@ -6050,8 +6056,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
60506056
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
60516057
* <li>Android: {@code newCompatibleTransport} from
60526058
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
6053-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
6054-
* </li>
6059+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
60556060
* </ul>
60566061
* @param jsonFactory JSON factory, which may be:
60576062
* <ul>
Lines changed: 67 additions & 0 deletions
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.datastream.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 Datastream API. For a detailed explanation 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 BadRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Describes all violations in a client request.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<FieldViolation> fieldViolations;
39+
40+
/**
41+
* Describes all violations in a client request.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<FieldViolation> getFieldViolations() {
45+
return fieldViolations;
46+
}
47+
48+
/**
49+
* Describes all violations in a client request.
50+
* @param fieldViolations fieldViolations or {@code null} for none
51+
*/
52+
public BadRequest setFieldViolations(java.util.List<FieldViolation> fieldViolations) {
53+
this.fieldViolations = fieldViolations;
54+
return this;
55+
}
56+
57+
@Override
58+
public BadRequest set(String fieldName, Object value) {
59+
return (BadRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public BadRequest clone() {
64+
return (BadRequest) super.clone();
65+
}
66+
67+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.datastream.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 Datastream API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DebugInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Additional debugging information provided by the server.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String detail;
38+
39+
/**
40+
* The stack trace entries indicating where the error occurred.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<java.lang.String> stackEntries;
45+
46+
/**
47+
* Additional debugging information provided by the server.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getDetail() {
51+
return detail;
52+
}
53+
54+
/**
55+
* Additional debugging information provided by the server.
56+
* @param detail detail or {@code null} for none
57+
*/
58+
public DebugInfo setDetail(java.lang.String detail) {
59+
this.detail = detail;
60+
return this;
61+
}
62+
63+
/**
64+
* The stack trace entries indicating where the error occurred.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<java.lang.String> getStackEntries() {
68+
return stackEntries;
69+
}
70+
71+
/**
72+
* The stack trace entries indicating where the error occurred.
73+
* @param stackEntries stackEntries or {@code null} for none
74+
*/
75+
public DebugInfo setStackEntries(java.util.List<java.lang.String> stackEntries) {
76+
this.stackEntries = stackEntries;
77+
return this;
78+
}
79+
80+
@Override
81+
public DebugInfo set(String fieldName, Object value) {
82+
return (DebugInfo) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public DebugInfo clone() {
87+
return (DebugInfo) super.clone();
88+
}
89+
90+
}
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
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.datastream.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 Datastream API. For a detailed explanation see:
30+
* <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>
31+
* </p>
32+
*
33+
* @author Google, Inc.
34+
*/
35+
@SuppressWarnings("javadoc")
36+
public final class ErrorInfo extends com.google.api.client.json.GenericJson {
37+
38+
/**
39+
* The logical grouping to which the "reason" belongs. The error domain is typically the
40+
* registered service name of the tool or product that generates the error. Example:
41+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
42+
* domain must be a globally unique value that identifies the infrastructure. For Google API
43+
* infrastructure, the error domain is "googleapis.com".
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String domain;
48+
49+
/**
50+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
51+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
52+
* When identifying the current value of an exceeded limit, the units should be contained in the
53+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
54+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
55+
* instances that can be created in a single (batch) request.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.util.Map<String, java.lang.String> metadata;
60+
61+
/**
62+
* The reason of the error. This is a constant value that identifies the proximate cause of the
63+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
64+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.String reason;
69+
70+
/**
71+
* The logical grouping to which the "reason" belongs. The error domain is typically the
72+
* registered service name of the tool or product that generates the error. Example:
73+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
74+
* domain must be a globally unique value that identifies the infrastructure. For Google API
75+
* infrastructure, the error domain is "googleapis.com".
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getDomain() {
79+
return domain;
80+
}
81+
82+
/**
83+
* The logical grouping to which the "reason" belongs. The error domain is typically the
84+
* registered service name of the tool or product that generates the error. Example:
85+
* "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error
86+
* domain must be a globally unique value that identifies the infrastructure. For Google API
87+
* infrastructure, the error domain is "googleapis.com".
88+
* @param domain domain or {@code null} for none
89+
*/
90+
public ErrorInfo setDomain(java.lang.String domain) {
91+
this.domain = domain;
92+
return this;
93+
}
94+
95+
/**
96+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
97+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
98+
* When identifying the current value of an exceeded limit, the units should be contained in the
99+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
100+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
101+
* instances that can be created in a single (batch) request.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.util.Map<String, java.lang.String> getMetadata() {
105+
return metadata;
106+
}
107+
108+
/**
109+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
110+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
111+
* When identifying the current value of an exceeded limit, the units should be contained in the
112+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
113+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
114+
* instances that can be created in a single (batch) request.
115+
* @param metadata metadata or {@code null} for none
116+
*/
117+
public ErrorInfo setMetadata(java.util.Map<String, java.lang.String> metadata) {
118+
this.metadata = metadata;
119+
return this;
120+
}
121+
122+
/**
123+
* The reason of the error. This is a constant value that identifies the proximate cause of the
124+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
125+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
126+
* @return value or {@code null} for none
127+
*/
128+
public java.lang.String getReason() {
129+
return reason;
130+
}
131+
132+
/**
133+
* The reason of the error. This is a constant value that identifies the proximate cause of the
134+
* error. Error reasons are unique within a particular domain of errors. This should be at most 63
135+
* characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
136+
* @param reason reason or {@code null} for none
137+
*/
138+
public ErrorInfo setReason(java.lang.String reason) {
139+
this.reason = reason;
140+
return this;
141+
}
142+
143+
@Override
144+
public ErrorInfo set(String fieldName, Object value) {
145+
return (ErrorInfo) super.set(fieldName, value);
146+
}
147+
148+
@Override
149+
public ErrorInfo clone() {
150+
return (ErrorInfo) super.clone();
151+
}
152+
153+
}

0 commit comments

Comments
 (0)