Skip to content
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: use qualified client name in samples #10241

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

dbolduc
Copy link
Member

@dbolduc dbolduc commented Nov 14, 2022

Part of the work for #10170

We will need this for speech, which has conflicting client names.

image


This change is Reviewable

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Nov 14, 2022
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: 172694e1d46eac03c3b8399cfc8c4cb280338e91

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: 1c2dad76e8e97d2fe615465f9916bcecc7d6cb60

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Nov 14, 2022

Codecov Report

Base: 93.84% // Head: 93.84% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (1c2dad7) compared to base (e83dc4d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10241      +/-   ##
==========================================
- Coverage   93.84%   93.84%   -0.01%     
==========================================
  Files        1541     1541              
  Lines      142163   142163              
==========================================
- Hits       133419   133417       -2     
- Misses       8744     8746       +2     
Impacted Files Coverage Δ
...lden/samples/golden_kitchen_sink_client_samples.cc 96.96% <ø> (ø)
...olden/samples/golden_thing_admin_client_samples.cc 96.96% <ø> (ø)
generator/internal/sample_generator.cc 100.00% <ø> (ø)
...e/cloud/pubsublite/samples/admin_client_samples.cc 96.96% <ø> (ø)
...d/pubsublite/samples/topic_stats_client_samples.cc 96.96% <ø> (ø)
google/cloud/pubsub/subscriber_connection_test.cc 97.81% <0.00%> (-0.55%) ⬇️
...cloud/pubsub/internal/subscription_session_test.cc 97.98% <0.00%> (-0.51%) ⬇️
google/cloud/storage/parallel_upload.cc 98.28% <0.00%> (-0.35%) ⬇️
...le/cloud/internal/default_completion_queue_impl.cc 97.15% <0.00%> (+0.56%) ⬆️
google/cloud/internal/async_connection_ready.cc 93.61% <0.00%> (+4.25%) ⬆️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dbolduc dbolduc marked this pull request as ready for review November 14, 2022 19:32
@dbolduc dbolduc requested a review from a team as a code owner November 14, 2022 19:32
@@ -48,7 +48,7 @@ Status SampleGenerator::GenerateHeader() {
HeaderSystemIncludes({"iostream", "fstream", "string", "vector"});

HeaderPrint(R"""(
// main-dox-marker: $client_class_name$
// main-dox-marker: $product_namespace$::$client_class_name$
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL

@dbolduc dbolduc merged commit 623ad74 into googleapis:main Nov 14, 2022
@dbolduc dbolduc deleted the doc-qualified-sample-names branch November 14, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants