Add 'Bucket.default_kms_encryption_key' property.#5222
Conversation
ee9afaa to
dc342a7
Compare
frankyn
left a comment
There was a problem hiding this comment.
@tseaver, I notice that tests are not calling the service. Could you add tests which exercise the client library with GCS?
Additionally, for default_kms_key_name, I'm expecting to see an integration test which does the following:
- uploads an object to a bucket with a default kms key name
- verifies the default kms key name was used as the kms key name for the object
- download to verify contents
|
|
||
| See https://cloud.google.com/storage/docs/json_api/v1/buckets | ||
|
|
||
| :setter: Set default KMS encryption key for items in this bucket. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| @default_kms_encryption_key.setter | ||
| def default_kms_encryption_key(self, value): | ||
| """Set default KMS encryption key for items in the bucket. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@frankyn I planned to do the system tests in an additional PR (once we ironed out the API surface). |
|
Thanks for clarifying! |
|
@dpebot please merge when green. |
|
Okay! I'll merge when all statuses are green and all reviewers approve. |
|
Merging in spite of unrelated logging system test failures. |
No description provided.