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

Deprecate pubsub::IAMPolicyOptions #14763

Open
dbolduc opened this issue Oct 3, 2024 · 0 comments
Open

Deprecate pubsub::IAMPolicyOptions #14763

dbolduc opened this issue Oct 3, 2024 · 0 comments
Labels
api: pubsub Issues related to the Pub/Sub API. type: cleanup An internal cleanup or hygiene concern.

Comments

@dbolduc
Copy link
Member

dbolduc commented Oct 3, 2024

This API is irrelevant now that we have native mixin support in pubsub. We should deprecate it, and remove/update any instances of it in our repo (e.g. in samples).

/**
* Convenience function to initialize a
* `google::cloud::iam::IAMPolicyConnection`.
*
* To manage the IAM policies of Pub/Sub resources you need to configure the
* `google::cloud::IAMPolicyClient` to use `pubsub.googleapis.com` as the
* `google::cloud::EndpointOption` and `google::cloud::AuthorityOption`.
*
* This function returns an object that is initialized with these values, you
* can provide additional configuration, or override some of the values before
* passing the object to `google::cloud::iam::MakeIAMPolicyConnection`.
*
* @ingroup google-cloud-pubsub-options
*/
Options IAMPolicyOptions(Options opts = {});

@dbolduc dbolduc added type: cleanup An internal cleanup or hygiene concern. api: pubsub Issues related to the Pub/Sub API. labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

1 participant