Skip to content

Commit 51aca10

Browse files
authored
feat: Add toString method for CustomPlacementConfig (#1602)
1 parent 950358b commit 51aca10

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java

+5
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ public int hashCode() {
353353
return Objects.hashCode(dataLocations);
354354
}
355355

356+
@Override
357+
public String toString() {
358+
return MoreObjects.toStringHelper(this).add("dataLocations", dataLocations).toString();
359+
}
360+
356361
public static Builder newBuilder() {
357362
return new Builder();
358363
}

0 commit comments

Comments
 (0)