Skip to content

Commit fa9ad17

Browse files
chore: Update generation configuration at Tue Oct 15 02:27:24 UTC 2024 (#2230)
* chore: Update generation configuration at Fri Oct 11 02:26:15 UTC 2024 * chore: generate libraries at Fri Oct 11 02:26:38 UTC 2024 * chore: Update generation configuration at Sat Oct 12 02:24:17 UTC 2024 * chore: generate libraries at Sat Oct 12 02:24:38 UTC 2024 * chore: Update generation configuration at Sun Oct 13 02:28:28 UTC 2024 * chore: Update generation configuration at Tue Oct 15 02:27:24 UTC 2024
1 parent be78e64 commit fa9ad17

File tree

7 files changed

+199
-192
lines changed

7 files changed

+199
-192
lines changed

README.md

Lines changed: 0 additions & 2 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>
@@ -67,7 +66,6 @@ If you are using SBT, add this to your dependencies:
6766
```Scala
6867
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.133.1"
6968
```
70-
<!-- {x-version-update-end} -->
7169

7270
## Authentication
7371

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gapic_generator_version: 2.47.0
2-
googleapis_commitish: 10b8dc3b54c9a609dcfda8060b8c4c734a942e8c
2+
googleapis_commitish: f78cd2f7943b9a2eb9734e56a8f3428da75917e2
33
libraries_bom_version: 26.48.0
44
libraries:
55
- api_shortname: pubsub

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)