Get a resource's KMS key name that's used to encrypt an object.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code sample
C++
For more information, see the Cloud Storage C++ API reference documentation.
Python
For more information, see the Cloud Storage Python API reference documentation.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser