File tree 2 files changed +1
-3
lines changed
main/java/com/google/cloud/storage
test/java/com/google/cloud/storage/it
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1228,8 +1228,7 @@ private MatchGlob(String val) {
1228
1228
1229
1229
@ Override
1230
1230
public Mapper <ListObjectsRequest .Builder > listObjects () {
1231
- return CrossTransportUtils .throwHttpJsonOnly (
1232
- com .google .cloud .storage .Storage .BlobListOption .class , "matchGlob(String)" );
1231
+ return b -> b .setMatchGlobBytes (ByteString .copyFromUtf8 (val ));
1233
1232
}
1234
1233
}
1235
1234
Original file line number Diff line number Diff line change @@ -563,7 +563,6 @@ public void testListBlobsCurrentDirectoryIncludesBothObjectsAndSyntheticDirector
563
563
564
564
@ Test
565
565
// When gRPC support is added for matchGlob, enable this test for gRPC.
566
- @ Exclude (transports = Transport .GRPC )
567
566
public void testListBlobsWithMatchGlob () throws Exception {
568
567
BucketInfo bucketInfo = BucketInfo .newBuilder (generator .randomBucketName ()).build ();
569
568
try (TemporaryBucket tempBucket =
You can’t perform that action at this time.
0 commit comments