You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Client.create_hmac_key method, taking service_account_email and returning a tuple, (metadata, secret), where metadata is an HMACKeyMetadata instance and secret is the bytes returned by the hmacKeys.create API. (Storage: add 'Client.list_hmac_keys' method. #8043)
Add Client.list_hmac_keys method, taking optional service_account_email, max_results, and show_deleted_keys, and returning an iterator whose items are HMACKeyMetadata instances. (Storage: add 'Client.list_hmac_keys' method. #8043)
(@tseaver) Working from the internal support request / user guide, steps are:
google.cloud.storage.hmac.HMACKeyMetadata(representing resource returned from create / get / list operations, and passed to update). Holds reference to a client, and maps resource entities onto properties. (Storage: add 'google.cloud.storage.hmac_keys.HMACKeyMetadata' resource class. #8041)Client.create_hmac_keymethod, takingservice_account_emailand returning a tuple,(metadata, secret), wheremetadatais anHMACKeyMetadatainstance andsecretis the bytes returned by thehmacKeys.createAPI. (Storage: add 'Client.list_hmac_keys' method. #8043)Client.list_hmac_keysmethod, taking optionalservice_account_email,max_results, andshow_deleted_keys, and returning an iterator whose items areHMACKeyMetadatainstances. (Storage: add 'Client.list_hmac_keys' method. #8043)HMACKeyMetadata.existsmethod. (Storage: Add 'HMACKeyMetadata.{exists,reload,update,delete}' API methods. #8045)HMACKeyMetadata.reloadmethod. (Storage: Add 'HMACKeyMetadata.{exists,reload,update,delete}' API methods. #8045)HMACKeyMetadata.updatemethod, pushing the current value of theHMACKeyMetadata.stateproperty. (Storage: Add 'HMACKeyMetadata.{exists,reload,update,delete}' API methods. #8045)HMACKeyMetadata.deletemethod. (Storage: Add 'HMACKeyMetadata.{exists,reload,update,delete}' API methods. #8045)