Skip to content

Commit 469ed8e

Browse files
feat(storagebatchoperations): update the API
#### storagebatchoperations:v1 The following keys were added: - schemas.Counters.properties.totalBytesFound.description - schemas.Counters.properties.totalBytesFound.format - schemas.Counters.properties.totalBytesFound.readOnly - schemas.Counters.properties.totalBytesFound.type - schemas.Job.properties.dryRun.description - schemas.Job.properties.dryRun.type
1 parent aced662 commit 469ed8e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

discovery/storagebatchoperations-v1.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@
487487
}
488488
}
489489
},
490-
"revision": "20251022",
490+
"revision": "20251029",
491491
"rootUrl": "https://storagebatchoperations.googleapis.com/",
492492
"schemas": {
493493
"Bucket": {
@@ -562,6 +562,12 @@
562562
"readOnly": true,
563563
"type": "string"
564564
},
565+
"totalBytesFound": {
566+
"description": "Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.",
567+
"format": "int64",
568+
"readOnly": true,
569+
"type": "string"
570+
},
565571
"totalObjectCount": {
566572
"description": "Output only. Number of objects listed.",
567573
"format": "int64",
@@ -702,6 +708,10 @@
702708
"description": "Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.",
703709
"type": "string"
704710
},
711+
"dryRun": {
712+
"description": "Optional. If true, the job will run in dry run mode, returning the total object count and, if the object configuration is a prefix list, the bytes found from source. No transformations will be performed.",
713+
"type": "boolean"
714+
},
705715
"errorSummaries": {
706716
"description": "Output only. Summarizes errors encountered with sample error log entries.",
707717
"items": {

src/apis/storagebatchoperations/v1.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ export namespace storagebatchoperations_v1 {
179179
* Output only. Number of objects completed.
180180
*/
181181
succeededObjectCount?: string | null;
182+
/**
183+
* Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.
184+
*/
185+
totalBytesFound?: string | null;
182186
/**
183187
* Output only. Number of objects listed.
184188
*/
@@ -255,6 +259,10 @@ export namespace storagebatchoperations_v1 {
255259
* Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
256260
*/
257261
description?: string | null;
262+
/**
263+
* Optional. If true, the job will run in dry run mode, returning the total object count and, if the object configuration is a prefix list, the bytes found from source. No transformations will be performed.
264+
*/
265+
dryRun?: boolean | null;
258266
/**
259267
* Output only. Summarizes errors encountered with sample error log entries.
260268
*/
@@ -1071,6 +1079,7 @@ export namespace storagebatchoperations_v1 {
10711079
* // "createTime": "my_createTime",
10721080
* // "deleteObject": {},
10731081
* // "description": "my_description",
1082+
* // "dryRun": false,
10741083
* // "errorSummaries": [],
10751084
* // "loggingConfig": {},
10761085
* // "name": "my_name",
@@ -1366,6 +1375,7 @@ export namespace storagebatchoperations_v1 {
13661375
* // "createTime": "my_createTime",
13671376
* // "deleteObject": {},
13681377
* // "description": "my_description",
1378+
* // "dryRun": false,
13691379
* // "errorSummaries": [],
13701380
* // "loggingConfig": {},
13711381
* // "name": "my_name",

0 commit comments

Comments
 (0)