diff --git a/java-talent/samples/install-without-bom/pom.xml b/java-talent/samples/install-without-bom/pom.xml
index 650f7f893c24..152297d1162b 100644
--- a/java-talent/samples/install-without-bom/pom.xml
+++ b/java-talent/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-talent
- 2.4.0
+ 2.4.2
diff --git a/java-talent/samples/snapshot/pom.xml b/java-talent/samples/snapshot/pom.xml
index 190ef3a9bdd3..efb95c528433 100644
--- a/java-talent/samples/snapshot/pom.xml
+++ b/java-talent/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-talent
- 2.4.0
+ 2.4.2