diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/MoveObjectTest.cs b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/MoveObjectTest.cs index d27271252b88..7d5bf55ef090 100644 --- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/MoveObjectTest.cs +++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/MoveObjectTest.cs @@ -14,7 +14,6 @@ using Google.Cloud.ClientTesting; using System.IO; -using System.Linq; using System.Net; using System.Threading.Tasks; using Xunit; @@ -35,7 +34,7 @@ public class MoveObjectTest public MoveObjectTest(StorageFixture fixture) { _fixture = fixture; - _bucket = _fixture.HnsBucket; + _bucket = _fixture.InitiallyEmptyBucket; _originName = IdGenerator.FromGuid(); _destinationName = IdGenerator.FromGuid(); _contentType = "application/octet-stream"; diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/StorageFixture.cs b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/StorageFixture.cs index 8bf32ee34564..9148330bf1e1 100644 --- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/StorageFixture.cs +++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/StorageFixture.cs @@ -51,7 +51,7 @@ public sealed class StorageFixture : CloudProjectFixtureBase, ICollectionFixture /// /// Name of a bucket which already exists, but has no canned data. Mostly used - /// for creating objects. + /// for creating and moving objects. /// public string InitiallyEmptyBucket => BucketPrefix + "-empty"; @@ -61,11 +61,6 @@ public sealed class StorageFixture : CloudProjectFixtureBase, ICollectionFixture /// public string SoftDeleteBucket => BucketPrefix + "-soft-delete"; - /// - /// Name of a bucket with hierarchical namespace enabled - /// - public string HnsBucket => BucketPrefix + "-hns"; - /// /// A small amount of content. Do not mutate the array. /// @@ -172,7 +167,6 @@ public StorageFixture() CreateBucket(LabelsTestBucket, multiVersion: false); CreateBucket(InitiallyEmptyBucket, multiVersion: false); CreateBucket(SoftDeleteBucket, multiVersion: false, softDelete: true); - CreateBucket(HnsBucket, multiVersion: false, hnsEnabled: true); RequesterPaysClient = CreateRequesterPaysClient(); if (RequesterPaysClient != null) diff --git a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/StorageClient.MoveObject.cs b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/StorageClient.MoveObject.cs index 7e410a2daa7f..21c8d76040b0 100644 --- a/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/StorageClient.MoveObject.cs +++ b/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/StorageClient.MoveObject.cs @@ -22,7 +22,7 @@ namespace Google.Cloud.Storage.V1; public abstract partial class StorageClient { /// - /// Moves an object within a bucket with hierarchical namespace enabled. This method uses the + /// Moves an object within a bucket. This method uses the /// moveObject underlying API operation for more flexibility and reliability. /// /// Name of the bucket containing the object to move. Must not be null. @@ -41,7 +41,7 @@ public virtual Object MoveObject( } /// - /// Moves an object within a bucket with hierarchical namespace enabled. This method uses the + /// Moves an object within a bucket. This method uses the /// moveObject underlying API operation for more flexibility and reliability. /// /// Name of the bucket containing the object to move. Must not be null.