Decommission the deprecated {Get,Set}IamPolicy functions #5929
Labels
api: bigtableadmin
Issues related to the Cloud Bigtable Admin API API.
api: storage
Issues related to the Cloud Storage API.
type: cleanup
An internal cleanup or hygiene concern.
Storage and Bigtable have deprecated functions to manipulate IAM policies designed and written before IAM conditions. These functions no longer work with all IAM policies, and have been deprecated since around 2019-07 (see #2854 and #2900), albeit with just a Doxygen comment.
In #5928 we will have diagnostics issued at the call site for these functions. These functions will be retired, that is, completely removed, on 2022-04-01 or shortly after. The replacement functions are:
storage::Client::SetBucketIamPolicy()
->storage::Client::SetNativeBucketIamPolicy()
storage::Client::GetBucketIamPolicy()
->storage::Client::GetNativeBucketIamPolicy()
bigtable::InstanceAdmin::GetIamPolicy()
->bigtable::InstanceAdmin::GetNativeIamPolicy()
bigtable::InstanceAdmin::SetIamPolicy()
->bigtable::InstanceAdmin::SetIamPolicy(std::string const&, google::iam::v1::Policy const&)
We will also need to deprecate and remove (I think as a separate step) the IAM types, namely:
google::cloud::IamPolicy
google::cloud::IamBindings
google::cloud::IamBinding
The text was updated successfully, but these errors were encountered: