diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/ListBucketsOptionsTest.cs b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/ListBucketsOptionsTest.cs
index 2a9172fb5666..c432eefb2aa0 100644
--- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/ListBucketsOptionsTest.cs
+++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/ListBucketsOptionsTest.cs
@@ -31,6 +31,7 @@ public void ModifyRequest_DefaultOptions()
Assert.Null(request.MaxResults);
Assert.Null(request.PageToken);
Assert.Null(request.SoftDeleted);
+ Assert.Null(request.ReturnPartialSuccess);
}
[Fact]
@@ -45,6 +46,7 @@ public void ModifyRequest_AllOptions()
PageToken = "nextpage",
Fields = "items(name),nextPageToken",
SoftDeletedOnly = true,
+ ReturnPartialSuccess = true
};
options.ModifyRequest(request);
Assert.Equal(10, request.MaxResults);
@@ -53,6 +55,7 @@ public void ModifyRequest_AllOptions()
Assert.Equal("nextpage", request.PageToken);
Assert.Equal("items(name),nextPageToken", request.Fields);
Assert.True(request.SoftDeleted);
+ Assert.True(request.ReturnPartialSuccess);
}
}
}
diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.csproj b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.csproj
index c1dac22ac237..03b942ed2b00 100644
--- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.csproj
+++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/ListBucketsOptions.cs b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/ListBucketsOptions.cs
index 13881e8bce8f..5b0bfc98bc8f 100644
--- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/ListBucketsOptions.cs
+++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/ListBucketsOptions.cs
@@ -67,6 +67,12 @@ public sealed class ListBucketsOptions
///
public bool? SoftDeletedOnly { get; set; }
+ ///
+ /// If true, buckets from reachable locations are returned. The resource names of buckets from unreachable locations will be available on the Unreachable
+ /// property of a raw response from . The default is false.
+ ///
+ public bool? ReturnPartialSuccess { get; set; }
+
///
/// Modifies the specified request for all non-null properties of this options object.
///
@@ -97,6 +103,10 @@ internal void ModifyRequest(ListRequest request)
{
request.SoftDeleted = SoftDeletedOnly;
}
+ if (ReturnPartialSuccess != null)
+ {
+ request.ReturnPartialSuccess = ReturnPartialSuccess;
+ }
}
}
}
diff --git a/generator-input/apis.json b/generator-input/apis.json
index c699eda6571b..19367d8f501e 100644
--- a/generator-input/apis.json
+++ b/generator-input/apis.json
@@ -5599,7 +5599,7 @@
"description": "Recommended Google client library to access the Google Cloud Storage API. It wraps the Google.Apis.Storage.v1 client library, making common operations simpler in client code. Google Cloud Storage stores and retrieves potentially large, immutable data objects.",
"dependencies": {
"Google.Api.Gax.Rest": "default",
- "Google.Apis.Storage.v1": "1.69.0.3707"
+ "Google.Apis.Storage.v1": "1.71.0.3920"
},
"testDependencies": {
"Google.Api.Gax.Testing": "default",
@@ -7420,4 +7420,4 @@
]
}
]
-}
\ No newline at end of file
+}