Skip to content

Commit

Permalink
docs(pubsub): Fix region tags for Pub/Sub ingestion from GCS samples (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpri10 authored Oct 7, 2024
1 parent 2e14032 commit 44bfd51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/pubsub/samples/topic_admin_samples.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void CreateTopicWithKinesisIngestion(
void CreateTopicWithCloudStorageIngestion(
google::cloud::pubsub_admin::TopicAdminClient client,
std::vector<std::string> const& argv) {
//! [pubsub_create_topic_with_cloud_storage_ingestion]
// [START pubsub_create_topic_with_cloud_storage_ingestion]
namespace pubsub = ::google::cloud::pubsub;
namespace pubsub_admin = ::google::cloud::pubsub_admin;
[](pubsub_admin::TopicAdminClient client, std::string project_id,
Expand Down Expand Up @@ -267,7 +267,7 @@ void CreateTopicWithCloudStorageIngestion(
std::cout << "The topic was successfully created: " << topic->DebugString()
<< "\n";
}
//! [pubsub_create_topic_with_cloud_storage_ingestion]
// [END pubsub_create_topic_with_cloud_storage_ingestion]
(std::move(client), argv.at(0), argv.at(1), argv.at(2), argv.at(3),
argv.at(4), argv.at(5), argv.at(6));
}
Expand Down

0 comments on commit 44bfd51

Please sign in to comment.