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

fix(iam): add a print for visibility #12639

Merged
merged 5 commits into from
Oct 1, 2024
Merged

Conversation

iennae
Copy link
Contributor

@iennae iennae commented Sep 27, 2024

Description

providing an example to share with folks who worked on these samples, but there is a number of feedback items on samples of "this sample doesn't do anything".

I think an underlying issue is that while the snippet does what it's documented to do, there is no output so the sample doesn't appear to do anything. i.e., output looks like

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1727410693.815942 2970 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache

For this sample

With this update it will print out the policy to screen so folks can see that it's doing something. I suspect that there are a lot of samples that need to get some kind of treatment so that there is reduced Feedback.

@iennae iennae requested review from a team as code owners September 27, 2024 04:31
@product-auto-label product-auto-label bot added api: iam Issues related to the Identity and Access Management API. samples Issues that are directly related to samples. labels Sep 27, 2024
@iennae iennae merged commit 457dfe3 into main Oct 1, 2024
15 checks passed
@iennae iennae deleted the sigje-add-visibility-example branch October 1, 2024 19:08
riathakkar pushed a commit to riathakkar/python-docs-samples that referenced this pull request Oct 8, 2024
* fix(iam): add a print for visibility

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Trying to get tests running well

* Trying to get tests running well

* lint fix

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Strzelczyk <strzelczyk@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: iam Issues related to the Identity and Access Management API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants