Skip to content

Commit 58aaa96

Browse files
yoshi-automationfeywind
authored andcommitted
feat(datacatalog): update the API
#### datacatalog:v1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.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 696db3f commit 58aaa96

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

discovery/datacatalog-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,11 @@
13631363
"description": "The standard list page token.",
13641364
"location": "query",
13651365
"type": "string"
1366+
},
1367+
"returnPartialSuccess": {
1368+
"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.",
1369+
"location": "query",
1370+
"type": "boolean"
13661371
}
13671372
},
13681373
"path": "v1/{+name}/operations",
@@ -2339,7 +2344,7 @@
23392344
}
23402345
}
23412346
},
2342-
"revision": "20250720",
2347+
"revision": "20250928",
23432348
"rootUrl": "https://datacatalog.googleapis.com/",
23442349
"schemas": {
23452350
"Binding": {
@@ -4893,6 +4898,13 @@
48934898
"$ref": "Operation"
48944899
},
48954900
"type": "array"
4901+
},
4902+
"unreachable": {
4903+
"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.",
4904+
"items": {
4905+
"type": "string"
4906+
},
4907+
"type": "array"
48964908
}
48974909
},
48984910
"type": "object"

src/apis/datacatalog/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,6 +1841,10 @@ export namespace datacatalog_v1 {
18411841
* A list of operations that matches the specified filter in the request.
18421842
*/
18431843
operations?: Schema$Operation[];
1844+
/**
1845+
* 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.
1846+
*/
1847+
unreachable?: string[] | null;
18441848
}
18451849
/**
18461850
* This resource represents a long-running operation that is the result of a network API call.
@@ -8547,13 +8551,16 @@ export namespace datacatalog_v1 {
85478551
* pageSize: 'placeholder-value',
85488552
* // The standard list page token.
85498553
* pageToken: 'placeholder-value',
8554+
* // 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.
8555+
* returnPartialSuccess: 'placeholder-value',
85508556
* });
85518557
* console.log(res.data);
85528558
*
85538559
* // Example response
85548560
* // {
85558561
* // "nextPageToken": "my_nextPageToken",
8556-
* // "operations": []
8562+
* // "operations": [],
8563+
* // "unreachable": []
85578564
* // }
85588565
* }
85598566
*
@@ -8694,6 +8701,10 @@ export namespace datacatalog_v1 {
86948701
* The standard list page token.
86958702
*/
86968703
pageToken?: string;
8704+
/**
8705+
* 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.
8706+
*/
8707+
returnPartialSuccess?: boolean;
86978708
}
86988709

86998710
export class Resource$Projects$Locations$Tagtemplates {

0 commit comments

Comments
 (0)