Skip to content

Commit 7e57d4a

Browse files
feat(securityposture): update the API
#### securityposture:v1 The following keys were added: - resources.organizations.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.organizations.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.organizations.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type
1 parent c979111 commit 7e57d4a

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

discovery/securityposture-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@
220220
"description": "The standard list page token.",
221221
"location": "query",
222222
"type": "string"
223+
},
224+
"returnPartialSuccess": {
225+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
226+
"location": "query",
227+
"type": "boolean"
223228
}
224229
},
225230
"path": "v1/{+name}/operations",
@@ -898,7 +903,7 @@
898903
}
899904
}
900905
},
901-
"revision": "20250819",
906+
"revision": "20251028",
902907
"rootUrl": "https://securityposture.googleapis.com/",
903908
"schemas": {
904909
"AssetDetails": {
@@ -1265,6 +1270,13 @@
12651270
"$ref": "Operation"
12661271
},
12671272
"type": "array"
1273+
},
1274+
"unreachable": {
1275+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
1276+
"items": {
1277+
"type": "string"
1278+
},
1279+
"type": "array"
12681280
}
12691281
},
12701282
"type": "object"

src/apis/securityposture/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,10 @@ export namespace securityposture_v1 {
392392
* A list of operations that matches the specified filter in the request.
393393
*/
394394
operations?: Schema$Operation[];
395+
/**
396+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
397+
*/
398+
unreachable?: string[] | null;
395399
}
396400
/**
397401
* Response message for ListPostureDeployments.
@@ -1437,13 +1441,16 @@ export namespace securityposture_v1 {
14371441
* pageSize: 'placeholder-value',
14381442
* // The standard list page token.
14391443
* pageToken: 'placeholder-value',
1444+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1445+
* returnPartialSuccess: 'placeholder-value',
14401446
* });
14411447
* console.log(res.data);
14421448
*
14431449
* // Example response
14441450
* // {
14451451
* // "nextPageToken": "my_nextPageToken",
1446-
* // "operations": []
1452+
* // "operations": [],
1453+
* // "unreachable": []
14471454
* // }
14481455
* }
14491456
*
@@ -1590,6 +1597,10 @@ export namespace securityposture_v1 {
15901597
* The standard list page token.
15911598
*/
15921599
pageToken?: string;
1600+
/**
1601+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1602+
*/
1603+
returnPartialSuccess?: boolean;
15931604
}
15941605

15951606
export class Resource$Organizations$Locations$Posturedeployments {

0 commit comments

Comments
 (0)