|
1 | | -// Copyright 2024 Google LLC |
| 1 | +// Copyright 2025 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
@@ -441,6 +441,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b |
441 | 441 | [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] |
442 | 442 | public virtual string PageToken { get; set; } |
443 | 443 |
|
| 444 | + /// <summary> |
| 445 | + /// When set to `true`, operations that are reachable are returned as normal, and those that are unreachable |
| 446 | + /// are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading |
| 447 | + /// across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is |
| 448 | + /// not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented |
| 449 | + /// otherwise in service or product specific documentation. |
| 450 | + /// </summary> |
| 451 | + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] |
| 452 | + public virtual System.Nullable<bool> ReturnPartialSuccess { get; set; } |
| 453 | + |
444 | 454 | /// <summary>Gets the method name.</summary> |
445 | 455 | public override string MethodName => "list"; |
446 | 456 |
|
@@ -486,6 +496,14 @@ protected override void InitParameters() |
486 | 496 | DefaultValue = null, |
487 | 497 | Pattern = null, |
488 | 498 | }); |
| 499 | + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter |
| 500 | + { |
| 501 | + Name = "returnPartialSuccess", |
| 502 | + IsRequired = false, |
| 503 | + ParameterType = "query", |
| 504 | + DefaultValue = null, |
| 505 | + Pattern = null, |
| 506 | + }); |
489 | 507 | } |
490 | 508 | } |
491 | 509 | } |
@@ -521,6 +539,14 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema |
521 | 539 | [Newtonsoft.Json.JsonPropertyAttribute("operations")] |
522 | 540 | public virtual System.Collections.Generic.IList<Operation> Operations { get; set; } |
523 | 541 |
|
| 542 | + /// <summary> |
| 543 | + /// Unordered list. Unreachable resources. Populated when the request sets |
| 544 | + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to |
| 545 | + /// list all resources across all supported locations. |
| 546 | + /// </summary> |
| 547 | + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] |
| 548 | + public virtual System.Collections.Generic.IList<string> Unreachable { get; set; } |
| 549 | + |
524 | 550 | /// <summary>The ETag of the item.</summary> |
525 | 551 | public virtual string ETag { get; set; } |
526 | 552 | } |
|
0 commit comments