diff --git a/java-dlp/samples/install-without-bom/pom.xml b/java-dlp/samples/install-without-bom/pom.xml
index a9690c1dbb91..3edf31a027f2 100644
--- a/java-dlp/samples/install-without-bom/pom.xml
+++ b/java-dlp/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-pubsub
- 1.119.1
+ 1.120.1
junit
diff --git a/java-dlp/samples/snapshot/pom.xml b/java-dlp/samples/snapshot/pom.xml
index cdfadb17bc81..6ee1daeceb91 100644
--- a/java-dlp/samples/snapshot/pom.xml
+++ b/java-dlp/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-pubsub
- 1.119.1
+ 1.120.1
junit