diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index ba32ac9d3..ed1648987 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -91,7 +91,7 @@
com.google.cloud
google-cloud-storage
- 2.39.0
+ 2.40.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index c0045060c..235f3c4c7 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -90,7 +90,7 @@
com.google.cloud
google-cloud-storage
- 2.39.0
+ 2.40.0