From 2d8a2c585fc71a55a7305008b6c9986d0ccbd592 Mon Sep 17 00:00:00 2001 From: Maitri Mangal Date: Thu, 26 Oct 2023 19:15:21 +0000 Subject: [PATCH 1/3] renaming this file --- ...ple.java => CreateUnwrappedPushSubscriptionExample.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename samples/snippets/src/main/java/pubsub/{CreatePushNoWrapperSubscriptionExample.java => CreateUnwrappedPushSubscriptionExample.java} (94%) diff --git a/samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java b/samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java similarity index 94% rename from samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java rename to samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java index 39e364ae6..d2fef4382 100644 --- a/samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java +++ b/samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java @@ -16,7 +16,7 @@ package pubsub; -// [START pubsub_create_push_no_wrapper_subscription] +// [START pubsub_create_unwrapped_push_subscription] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; @@ -26,7 +26,7 @@ import com.google.pubsub.v1.TopicName; import java.io.IOException; -public class CreatePushNoWrapperSubscriptionExample { +public class CreateUnwrappedPushSubscriptionExample { public static void main(String... args) throws Exception { // TODO(developer): Replace these variables before running the sample. String projectId = "your-project-id"; @@ -60,4 +60,4 @@ public static void createPushSubscriptionExample( } } } -// [END pubsub_create_push_no_wrapper_subscription] +// [END pubsub_create_unwrapped_push_subscription] From 0e027e56b899cff981dc76105b87d0d92d1560f4 Mon Sep 17 00:00:00 2001 From: Maitri Mangal Date: Thu, 26 Oct 2023 19:15:21 +0000 Subject: [PATCH 2/3] docs: renaming this file --- ...ple.java => CreateUnwrappedPushSubscriptionExample.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename samples/snippets/src/main/java/pubsub/{CreatePushNoWrapperSubscriptionExample.java => CreateUnwrappedPushSubscriptionExample.java} (94%) diff --git a/samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java b/samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java similarity index 94% rename from samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java rename to samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java index 39e364ae6..d2fef4382 100644 --- a/samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java +++ b/samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java @@ -16,7 +16,7 @@ package pubsub; -// [START pubsub_create_push_no_wrapper_subscription] +// [START pubsub_create_unwrapped_push_subscription] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; @@ -26,7 +26,7 @@ import com.google.pubsub.v1.TopicName; import java.io.IOException; -public class CreatePushNoWrapperSubscriptionExample { +public class CreateUnwrappedPushSubscriptionExample { public static void main(String... args) throws Exception { // TODO(developer): Replace these variables before running the sample. String projectId = "your-project-id"; @@ -60,4 +60,4 @@ public static void createPushSubscriptionExample( } } } -// [END pubsub_create_push_no_wrapper_subscription] +// [END pubsub_create_unwrapped_push_subscription] From 60e2991a7c40add9134de8fdead98a746ee9f605 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 27 Oct 2023 19:38:23 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 06de7314a..150eb7bd0 100644 --- a/README.md +++ b/README.md @@ -52,20 +52,20 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.24.0') +implementation platform('com.google.cloud:libraries-bom:26.26.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.125.6' +implementation 'com.google.cloud:google-cloud-pubsub:1.125.8' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.125.6" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.125.8" ``` @@ -250,7 +250,6 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-pubsub/tree/m | Create Big Query Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateBigQuerySubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateBigQuerySubscriptionExample.java) | | Create Proto Schema Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateProtoSchemaExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateProtoSchemaExample.java) | | Create Pull Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreatePullSubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreatePullSubscriptionExample.java) | -| Create Push No Wrapper Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreatePushNoWrapperSubscriptionExample.java) | | Create Push Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreatePushSubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreatePushSubscriptionExample.java) | | Create Subscription With Dead Letter Policy Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateSubscriptionWithDeadLetterPolicyExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateSubscriptionWithDeadLetterPolicyExample.java) | | Create Subscription With Exactly Once Delivery | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateSubscriptionWithExactlyOnceDelivery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateSubscriptionWithExactlyOnceDelivery.java) | @@ -259,6 +258,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-pubsub/tree/m | Create Topic Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicExample.java) | | Create Topic With Schema Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaExample.java) | | Create Topic With Schema Revisions Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaRevisionsExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaRevisionsExample.java) | +| Create Unwrapped Push Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateUnwrappedPushSubscriptionExample.java) | | Delete Schema Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/DeleteSchemaExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/DeleteSchemaExample.java) | | Delete Schema Revision Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/DeleteSchemaRevisionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/DeleteSchemaRevisionExample.java) | | Delete Subscription Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/DeleteSubscriptionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/DeleteSubscriptionExample.java) | @@ -408,7 +408,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.125.6 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.125.8 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles