Skip to content

Commit 3baa9ac

Browse files
yoshi-automationfeywind
authored andcommitted
feat(vmmigration): update the API
#### vmmigration:v1alpha1 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 #### vmmigration: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 9bd9a7b commit 3baa9ac

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

discovery/vmmigration-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,11 @@
780780
"description": "The standard list page token.",
781781
"location": "query",
782782
"type": "string"
783+
},
784+
"returnPartialSuccess": {
785+
"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.",
786+
"location": "query",
787+
"type": "boolean"
783788
}
784789
},
785790
"path": "v1/{+name}/operations",
@@ -2543,7 +2548,7 @@
25432548
}
25442549
}
25452550
},
2546-
"revision": "20250911",
2551+
"revision": "20251002",
25472552
"rootUrl": "https://vmmigration.googleapis.com/",
25482553
"schemas": {
25492554
"AccessKeyCredentials": {
@@ -5227,6 +5232,13 @@
52275232
"$ref": "Operation"
52285233
},
52295234
"type": "array"
5235+
},
5236+
"unreachable": {
5237+
"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.",
5238+
"items": {
5239+
"type": "string"
5240+
},
5241+
"type": "array"
52305242
}
52315243
},
52325244
"type": "object"

discovery/vmmigration-v1alpha1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,11 @@
780780
"description": "The standard list page token.",
781781
"location": "query",
782782
"type": "string"
783+
},
784+
"returnPartialSuccess": {
785+
"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.",
786+
"location": "query",
787+
"type": "boolean"
783788
}
784789
},
785790
"path": "v1alpha1/{+name}/operations",
@@ -2543,7 +2548,7 @@
25432548
}
25442549
}
25452550
},
2546-
"revision": "20250911",
2551+
"revision": "20251002",
25472552
"rootUrl": "https://vmmigration.googleapis.com/",
25482553
"schemas": {
25492554
"AccessKeyCredentials": {
@@ -5262,6 +5267,13 @@
52625267
"$ref": "Operation"
52635268
},
52645269
"type": "array"
5270+
},
5271+
"unreachable": {
5272+
"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.",
5273+
"items": {
5274+
"type": "string"
5275+
},
5276+
"type": "array"
52655277
}
52665278
},
52675279
"type": "object"

src/apis/vmmigration/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,6 +1836,10 @@ export namespace vmmigration_v1 {
18361836
* A list of operations that matches the specified filter in the request.
18371837
*/
18381838
operations?: Schema$Operation[];
1839+
/**
1840+
* 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.
1841+
*/
1842+
unreachable?: string[] | null;
18391843
}
18401844
/**
18411845
* Response message for 'ListReplicationCycles' request.
@@ -6019,13 +6023,16 @@ export namespace vmmigration_v1 {
60196023
* pageSize: 'placeholder-value',
60206024
* // The standard list page token.
60216025
* pageToken: 'placeholder-value',
6026+
* // 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.
6027+
* returnPartialSuccess: 'placeholder-value',
60226028
* });
60236029
* console.log(res.data);
60246030
*
60256031
* // Example response
60266032
* // {
60276033
* // "nextPageToken": "my_nextPageToken",
6028-
* // "operations": []
6034+
* // "operations": [],
6035+
* // "unreachable": []
60296036
* // }
60306037
* }
60316038
*
@@ -6171,6 +6178,10 @@ export namespace vmmigration_v1 {
61716178
* The standard list page token.
61726179
*/
61736180
pageToken?: string;
6181+
/**
6182+
* 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.
6183+
*/
6184+
returnPartialSuccess?: boolean;
61746185
}
61756186

61766187
export class Resource$Projects$Locations$Sources {

src/apis/vmmigration/v1alpha1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,10 @@ export namespace vmmigration_v1alpha1 {
18571857
* A list of operations that matches the specified filter in the request.
18581858
*/
18591859
operations?: Schema$Operation[];
1860+
/**
1861+
* 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.
1862+
*/
1863+
unreachable?: string[] | null;
18601864
}
18611865
/**
18621866
* Response message for 'ListReplicationCycles' request.
@@ -6191,13 +6195,16 @@ export namespace vmmigration_v1alpha1 {
61916195
* pageSize: 'placeholder-value',
61926196
* // The standard list page token.
61936197
* pageToken: 'placeholder-value',
6198+
* // 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.
6199+
* returnPartialSuccess: 'placeholder-value',
61946200
* });
61956201
* console.log(res.data);
61966202
*
61976203
* // Example response
61986204
* // {
61996205
* // "nextPageToken": "my_nextPageToken",
6200-
* // "operations": []
6206+
* // "operations": [],
6207+
* // "unreachable": []
62016208
* // }
62026209
* }
62036210
*
@@ -6343,6 +6350,10 @@ export namespace vmmigration_v1alpha1 {
63436350
* The standard list page token.
63446351
*/
63456352
pageToken?: string;
6353+
/**
6354+
* 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.
6355+
*/
6356+
returnPartialSuccess?: boolean;
63466357
}
63476358

63486359
export class Resource$Projects$Locations$Sources {

0 commit comments

Comments
 (0)