Skip to content

Commit f1c9934

Browse files
Merge pull request #62 from gleanwork/speakeasy-sdk-regen-1765505291
chore: 🐝 Update SDK - Generate 0.12.12
2 parents 23890c0 + 3e55af4 commit f1c9934

File tree

10 files changed

+115
-35
lines changed

10 files changed

+115
-35
lines changed

.speakeasy/gen.lock

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: 74646e230b3f40b8ae92d641bbb73b26
4+
docChecksum: 155a8a099a04ddbed1268d2c31ba186a
55
docVersion: 0.9.0
66
speakeasyVersion: 1.675.4
77
generationVersion: 2.779.2
8-
releaseVersion: 0.12.11
9-
configChecksum: 6d297fef00957c9be5a11ab69f739e0c
8+
releaseVersion: 0.12.12
9+
configChecksum: 6b3abe5ac2fcc9c2e11b6b02465871fc
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
persistentEdits:
13-
generation_id: 9a9e9b92-6e57-4757-a626-2c8e2b181bb9
14-
pristine_commit_hash: ef45dab753934b77d2b35a8b67869776a964e0c7
15-
pristine_tree_hash: 90b2f38f80f2a1b1f2935e7631a044c5987a3c7f
13+
generation_id: 043e62c2-8461-4dd3-93f8-3c45bfcdb8a1
14+
pristine_commit_hash: 194673f80b5af90b43a2e7e531890af9aac7591f
15+
pristine_tree_hash: d5bac1aac3ee701a86ec21063a813893ee04f3b0
1616
features:
1717
java:
1818
additionalDependencies: 0.1.0
@@ -1022,8 +1022,8 @@ trackedFiles:
10221022
pristine_git_object: 51c0237020d03cd196c1ec210563364967cead8e
10231023
docs/models/components/ExportInfo.md:
10241024
id: c7996087902c
1025-
last_write_checksum: sha1:b402eb734929d99ff124fe3e7c3b06d98efb3567
1026-
pristine_git_object: 5b2213406d11efa05ac6a590c48bf3184c0d8920
1025+
last_write_checksum: sha1:93a2170166e6f1ae43515b9d1de1d14c1a69cd0e
1026+
pristine_git_object: d435b81bc9fddb7580603f15b672587772e46fbc
10271027
docs/models/components/ExportInfoStatus.md:
10281028
id: 8a617f221b54
10291029
last_write_checksum: sha1:7123b260311651a2ff48d6a66e1c3a573e7752f5
@@ -3038,8 +3038,8 @@ trackedFiles:
30383038
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
30393039
gradle.properties:
30403040
id: 2afbb999f001
3041-
last_write_checksum: sha1:eae6868139eed27d7ed9c04fe21d45a7bc9f6157
3042-
pristine_git_object: bee9568960e30f30d20eb47122bc7bc775709963
3041+
last_write_checksum: sha1:a843ea03418340e65a7bdaceb2dda4731b51de6b
3042+
pristine_git_object: 28e0a8d29e212ca3e5147071ff42e1b7e02c9364
30433043
gradle/wrapper/gradle-wrapper.jar:
30443044
id: ec27dae6e852
30453045
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -3342,8 +3342,8 @@ trackedFiles:
33423342
pristine_git_object: 5e30515ba0d212914ac9a195db6019330b6b0a2b
33433343
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
33443344
id: d5fcc61f5992
3345-
last_write_checksum: sha1:cd45d229370a2cb119c1908ffdc824f52b361428
3346-
pristine_git_object: 1af5fa45a8c0492b8b52739b91f0e0acabe78711
3345+
last_write_checksum: sha1:eb8f6d2ba88836e6df8b3d3dbd65e99e1b44a945
3346+
pristine_git_object: c1f35c3d0bb79a1a005a07289362535d19e114df
33473347
src/main/java/com/glean/api_client/glean_api_client/Search.java:
33483348
id: f22d94b920b5
33493349
last_write_checksum: sha1:f4c52d34b05dafaf8037a2fe5df738f6c44c7132
@@ -4342,8 +4342,8 @@ trackedFiles:
43424342
pristine_git_object: 43cd580d5e8057aa228dcb424b68997016a375e3
43434343
src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfo.java:
43444344
id: ba6d21a1125d
4345-
last_write_checksum: sha1:6e3564240ef20d2de966e9095bc2d8f77d04d504
4346-
pristine_git_object: a3c992f780781efd2b531dc1600efa7c28dd3f56
4345+
last_write_checksum: sha1:7b65357a490ff53b613da6cf39e7f54da38985a4
4346+
pristine_git_object: a7af4f2fed36127d9cf6793c07f671e6cb34b560
43474347
src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java:
43484348
id: 626d316bca66
43494349
last_write_checksum: sha1:0a6421495b7a27cff7c311a1e099121d3db6ff96
@@ -9214,6 +9214,10 @@ generatedTests:
92149214
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
92159215
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
92169216
listpolicies: "2025-06-09T18:03:44Z"
9217+
releaseNotes: |
9218+
## Java SDK Changes:
9219+
* `glean.governance.createfindingsexport()`: `response.exportsize` **Added**
9220+
* `glean.governance.listfindingsexports()`: `response.exports.[].exportSize` **Added**
92179221
generatedFiles:
92189222
- .gitattributes
92199223
- USAGE.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: false
2727
skipResponseBodyAssertions: false
2828
java:
29-
version: 0.12.11
29+
version: 0.12.12
3030
additionalDependencies: []
3131
additionalPlugins: []
3232
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 2716d99b958fa0dbf1a48290203cb28f43c37a92
5+
x-source-commit-sha: 6c18cdaa8da169e191cc66885c326e2ea6d13644
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: ecce1959afb4701947e853c482ed77ed6743e643
25+
x-open-api-commit-sha: c7a6190b989a16d24b879348f08e27efcb304566
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -13074,6 +13074,10 @@ components:
1307413074
- PENDING
1307513075
- COMPLETED
1307613076
- FAILED
13077+
exportSize:
13078+
type: integer
13079+
format: int64
13080+
description: The size of the exported file in bytes
1307713081
ListDlpFindingsExportsResponse:
1307813082
properties:
1307913083
exports:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.675.4
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
6-
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
5+
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
6+
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1765404399
9+
- speakeasy-sdk-regen-1765505291
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
22-
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
21+
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
22+
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:ea86f11921a1f1270cc36a2e0280b5100c2f51cfca411a8de21472b1ebacf29c
24+
codeSamplesRevisionDigest: sha256:9118d4c534254f586011a33995b011403ca46ec22294d08b1626a82fca790380
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:
6565

6666
Gradle:
6767
```groovy
68-
implementation 'com.glean.api-client:glean-api-client:0.12.11'
68+
implementation 'com.glean.api-client:glean-api-client:0.12.12'
6969
```
7070

7171
Maven:
7272
```xml
7373
<dependency>
7474
<groupId>com.glean.api-client</groupId>
7575
<artifactId>glean-api-client</artifactId>
76-
<version>0.12.11</version>
76+
<version>0.12.12</version>
7777
</dependency>
7878
```
7979

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,14 @@ Based on:
458458
### Generated
459459
- [java v0.12.11] .
460460
### Releases
461-
- [Maven Central v0.12.11] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.11 - .
461+
- [Maven Central v0.12.11] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.11 - .
462+
463+
## 2025-12-12 06:44:46
464+
### Changes
465+
Based on:
466+
- OpenAPI Doc
467+
- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy
468+
### Generated
469+
- [java v0.12.12] .
470+
### Releases
471+
- [Maven Central v0.12.12] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.12 - .

docs/models/components/ExportInfo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
| `exportId` | *Optional\<String>* | :heavy_minus_sign: | The ID of the export |
1212
| `fileName` | *Optional\<String>* | :heavy_minus_sign: | The name of the file to export the findings to |
1313
| `filter` | [Optional\<DlpFindingFilter>](../../models/components/DlpFindingFilter.md) | :heavy_minus_sign: | N/A |
14-
| `status` | [Optional\<ExportInfoStatus>](../../models/components/ExportInfoStatus.md) | :heavy_minus_sign: | The status of the export |
14+
| `status` | [Optional\<ExportInfoStatus>](../../models/components/ExportInfoStatus.md) | :heavy_minus_sign: | The status of the export |
15+
| `exportSize` | *Optional\<Long>* | :heavy_minus_sign: | The size of the exported file in bytes |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
groupId=com.glean.api-client
22
artifactId=glean-api-client
3-
version=0.12.11
3+
version=0.12.12
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class SDKConfiguration {
2424

2525
private static final String LANGUAGE = "java";
2626
public static final String OPENAPI_DOC_VERSION = "0.9.0";
27-
public static final String SDK_VERSION = "0.12.11";
27+
public static final String SDK_VERSION = "0.12.12";
2828
public static final String GEN_VERSION = "2.779.2";
2929
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
3030
public static final String USER_AGENT =

src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfo.java

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.fasterxml.jackson.annotation.JsonInclude;
1010
import com.fasterxml.jackson.annotation.JsonProperty;
1111
import com.glean.api_client.glean_api_client.utils.Utils;
12+
import java.lang.Long;
1213
import java.lang.Override;
1314
import java.lang.String;
1415
import java.lang.SuppressWarnings;
@@ -63,6 +64,13 @@ public class ExportInfo {
6364
@JsonProperty("status")
6465
private Optional<? extends ExportInfoStatus> status;
6566

67+
/**
68+
* The size of the exported file in bytes
69+
*/
70+
@JsonInclude(Include.NON_ABSENT)
71+
@JsonProperty("exportSize")
72+
private Optional<Long> exportSize;
73+
6674
@JsonCreator
6775
public ExportInfo(
6876
@JsonProperty("createdBy") Optional<? extends DlpPerson> createdBy,
@@ -71,27 +79,30 @@ public ExportInfo(
7179
@JsonProperty("exportId") Optional<String> exportId,
7280
@JsonProperty("fileName") Optional<String> fileName,
7381
@JsonProperty("filter") Optional<? extends DlpFindingFilter> filter,
74-
@JsonProperty("status") Optional<? extends ExportInfoStatus> status) {
82+
@JsonProperty("status") Optional<? extends ExportInfoStatus> status,
83+
@JsonProperty("exportSize") Optional<Long> exportSize) {
7584
Utils.checkNotNull(createdBy, "createdBy");
7685
Utils.checkNotNull(startTime, "startTime");
7786
Utils.checkNotNull(endTime, "endTime");
7887
Utils.checkNotNull(exportId, "exportId");
7988
Utils.checkNotNull(fileName, "fileName");
8089
Utils.checkNotNull(filter, "filter");
8190
Utils.checkNotNull(status, "status");
91+
Utils.checkNotNull(exportSize, "exportSize");
8292
this.createdBy = createdBy;
8393
this.startTime = startTime;
8494
this.endTime = endTime;
8595
this.exportId = exportId;
8696
this.fileName = fileName;
8797
this.filter = filter;
8898
this.status = status;
99+
this.exportSize = exportSize;
89100
}
90101

91102
public ExportInfo() {
92103
this(Optional.empty(), Optional.empty(), Optional.empty(),
93104
Optional.empty(), Optional.empty(), Optional.empty(),
94-
Optional.empty());
105+
Optional.empty(), Optional.empty());
95106
}
96107

97108
/**
@@ -150,6 +161,14 @@ public Optional<ExportInfoStatus> status() {
150161
return (Optional<ExportInfoStatus>) status;
151162
}
152163

164+
/**
165+
* The size of the exported file in bytes
166+
*/
167+
@JsonIgnore
168+
public Optional<Long> exportSize() {
169+
return exportSize;
170+
}
171+
153172
public static Builder builder() {
154173
return new Builder();
155174
}
@@ -282,6 +301,25 @@ public ExportInfo withStatus(Optional<? extends ExportInfoStatus> status) {
282301
return this;
283302
}
284303

304+
/**
305+
* The size of the exported file in bytes
306+
*/
307+
public ExportInfo withExportSize(long exportSize) {
308+
Utils.checkNotNull(exportSize, "exportSize");
309+
this.exportSize = Optional.ofNullable(exportSize);
310+
return this;
311+
}
312+
313+
314+
/**
315+
* The size of the exported file in bytes
316+
*/
317+
public ExportInfo withExportSize(Optional<Long> exportSize) {
318+
Utils.checkNotNull(exportSize, "exportSize");
319+
this.exportSize = exportSize;
320+
return this;
321+
}
322+
285323
@Override
286324
public boolean equals(java.lang.Object o) {
287325
if (this == o) {
@@ -298,15 +336,16 @@ public boolean equals(java.lang.Object o) {
298336
Utils.enhancedDeepEquals(this.exportId, other.exportId) &&
299337
Utils.enhancedDeepEquals(this.fileName, other.fileName) &&
300338
Utils.enhancedDeepEquals(this.filter, other.filter) &&
301-
Utils.enhancedDeepEquals(this.status, other.status);
339+
Utils.enhancedDeepEquals(this.status, other.status) &&
340+
Utils.enhancedDeepEquals(this.exportSize, other.exportSize);
302341
}
303342

304343
@Override
305344
public int hashCode() {
306345
return Utils.enhancedHash(
307346
createdBy, startTime, endTime,
308347
exportId, fileName, filter,
309-
status);
348+
status, exportSize);
310349
}
311350

312351
@Override
@@ -318,7 +357,8 @@ public String toString() {
318357
"exportId", exportId,
319358
"fileName", fileName,
320359
"filter", filter,
321-
"status", status);
360+
"status", status,
361+
"exportSize", exportSize);
322362
}
323363

324364
@SuppressWarnings("UnusedReturnValue")
@@ -338,6 +378,8 @@ public final static class Builder {
338378

339379
private Optional<? extends ExportInfoStatus> status = Optional.empty();
340380

381+
private Optional<Long> exportSize = Optional.empty();
382+
341383
private Builder() {
342384
// force use of static builder() method
343385
}
@@ -469,12 +511,31 @@ public Builder status(Optional<? extends ExportInfoStatus> status) {
469511
return this;
470512
}
471513

514+
515+
/**
516+
* The size of the exported file in bytes
517+
*/
518+
public Builder exportSize(long exportSize) {
519+
Utils.checkNotNull(exportSize, "exportSize");
520+
this.exportSize = Optional.ofNullable(exportSize);
521+
return this;
522+
}
523+
524+
/**
525+
* The size of the exported file in bytes
526+
*/
527+
public Builder exportSize(Optional<Long> exportSize) {
528+
Utils.checkNotNull(exportSize, "exportSize");
529+
this.exportSize = exportSize;
530+
return this;
531+
}
532+
472533
public ExportInfo build() {
473534

474535
return new ExportInfo(
475536
createdBy, startTime, endTime,
476537
exportId, fileName, filter,
477-
status);
538+
status, exportSize);
478539
}
479540

480541
}

0 commit comments

Comments
 (0)