Skip to content

Commit 779c70e

Browse files
chore: generate libraries at Fri Oct 11 23:10:59 UTC 2024
1 parent bc49fa5 commit 779c70e

File tree

6 files changed

+201
-194
lines changed

6 files changed

+201
-194
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3838

3939
If you are using Maven without the BOM, add this to your dependencies:
4040

41-
<!-- {x-version-update-start:google-cloud-pubsub:released} -->
4241

4342
```xml
4443
<dependency>
@@ -59,15 +58,14 @@ implementation 'com.google.cloud:google-cloud-pubsub'
5958
If you are using Gradle without BOM, add this to your dependencies:
6059

6160
```Groovy
62-
implementation 'com.google.cloud:google-cloud-pubsub:1.133.1'
61+
implementation 'com.google.cloud:google-cloud-pubsub:1.134.0'
6362
```
6463

6564
If you are using SBT, add this to your dependencies:
6665

6766
```Scala
68-
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.133.1"
67+
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.134.0"
6968
```
70-
<!-- {x-version-update-end} -->
7169

7270
## Authentication
7371

@@ -417,7 +415,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
417415
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html
418416
[stability-image]: https://img.shields.io/badge/stability-stable-green
419417
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg
420-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.133.1
418+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.134.0
421419
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
422420
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
423421
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

samples/snippets/src/main/java/pubsub/OpenTelemetryPublisherExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ public static void main(String... args) throws Exception {
4949
public static void openTelemetryPublisherExample(String projectId, String topicId)
5050
throws IOException, ExecutionException, InterruptedException {
5151
Resource resource =
52-
Resource.getDefault().toBuilder()
52+
Resource.getDefault()
53+
.toBuilder()
5354
.put(ResourceAttributes.SERVICE_NAME, "publisher-example")
5455
.build();
5556

samples/snippets/src/main/java/pubsub/OpenTelemetrySubscriberExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public static void main(String... args) throws Exception {
4747

4848
public static void openTelemetrySubscriberExample(String projectId, String subscriptionId) {
4949
Resource resource =
50-
Resource.getDefault().toBuilder()
50+
Resource.getDefault()
51+
.toBuilder()
5152
.put(ResourceAttributes.SERVICE_NAME, "subscriber-example")
5253
.build();
5354

samples/snippets/src/main/java/pubsub/UsePubSubEmulatorExample.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import com.google.pubsub.v1.TopicName;
4040
import io.grpc.ManagedChannel;
4141
import io.grpc.ManagedChannelBuilder;
42-
import java.io.IOException;
4342

4443
public class UsePubSubEmulatorExample {
4544
public static void main(String... args) throws Exception {
@@ -83,4 +82,4 @@ public static void main(String... args) throws Exception {
8382
}
8483
}
8584
}
86-
// [END pubsub_use_emulator]
85+
// [END pubsub_use_emulator]

0 commit comments

Comments
 (0)