-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc(pubsub): samples for endpoint and auth #10136
Conversation
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Codecov ReportBase: 93.97% // Head: 93.97% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #10136 +/- ##
==========================================
- Coverage 93.97% 93.97% -0.01%
==========================================
Files 1523 1524 +1
Lines 140149 140332 +183
==========================================
+ Hits 131712 131882 +170
- Misses 8437 8450 +13
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
using ::google::cloud::pubsub::examples::RandomTopicId; | ||
|
||
void PublisherSetEndpoint(std::vector<std::string> const& argv) { | ||
namespace examples = ::google::cloud::testing_util; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other samples (rightfully, IMO) include google/cloud/testing_util/example_driver.h
directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
For each `*Client` class add an examples showing how to override the default endpoint and authentication credentials. Reference these examples from the landing page, as this is one of the most common questions for the client libraries.
8600087
to
f95c809
Compare
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
For each
*Client
class add an examples showing how to override the default endpoint and authentication credentials. Reference these examples from the landing page, as this is one of the most common questions for the client libraries.Fixes #10133 and fixes #10132
This change is