Skip to content

Commit d773fe6

Browse files
committed
feat(pubsub): expose a publisher client
1 parent f081cec commit d773fe6

File tree

18 files changed

+1916
-2
lines changed

18 files changed

+1916
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pubsub/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ tracing.workspace = true
4141
wkt.workspace = true
4242

4343
[dev-dependencies]
44+
anyhow.workspace = true
4445
tokio-test.workspace = true
46+
tokio.workspace = true

src/pubsub/src/generated.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
// limitations under the License.
1414

1515
pub(crate) mod gapic;
16+
pub(crate) mod gapic_internal;

src/pubsub/src/generated/gapic/.sidekick.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ included-ids = """\
3838
.google.pubsub.v1.Subscriber.CreateSnapshot,\
3939
.google.pubsub.v1.Subscriber.UpdateSnapshot,\
4040
.google.pubsub.v1.Subscriber.DeleteSnapshot,\
41-
.google.pubsub.v1.Subscriber.Seek\
41+
.google.pubsub.v1.Subscriber.Seek,\
42+
.google.pubsub.v1.PublishRequest,\
43+
.google.pubsub.v1.PublishResponse\
4244
"""
4345

4446
[codec]
4547
copyright-year = '2025'
4648
template-override = 'templates/http-client'
4749
package-name-override = 'google-cloud-pubsub'
4850
name-overrides = '.google.pubsub.v1.Publisher=TopicAdmin,.google.pubsub.v1.Subscriber=SubscriptionAdmin'
51+
internal-types = ".google.pubsub.v1.PublishRequest"

0 commit comments

Comments
 (0)