diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md
index 4352a8e6368b..e992043e6594 100644
--- a/java-servicedirectory/README.md
+++ b/java-servicedirectory/README.md
@@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies:
com.google.cloud
google-cloud-servicedirectory
- 2.4.1
+ 2.4.2
```
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-servicedirectory'
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-servicedirectory:2.4.1'
+implementation 'com.google.cloud:google-cloud-servicedirectory:2.4.2'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.4.1"
+libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.4.2"
```
## Authentication
diff --git a/java-servicedirectory/samples/install-without-bom/pom.xml b/java-servicedirectory/samples/install-without-bom/pom.xml
index c4c24bd3688a..db6d0699b1c2 100644
--- a/java-servicedirectory/samples/install-without-bom/pom.xml
+++ b/java-servicedirectory/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-servicedirectory
- 2.4.1
+ 2.4.2
diff --git a/java-servicedirectory/samples/snapshot/pom.xml b/java-servicedirectory/samples/snapshot/pom.xml
index d28bb1f5a52e..54a70a84198c 100644
--- a/java-servicedirectory/samples/snapshot/pom.xml
+++ b/java-servicedirectory/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-servicedirectory
- 2.4.1
+ 2.4.2