gcs/project.py
def update_hmac_key(self, access_id, payload, context=None):
        """Update an existing key in the project."""
        (service_account, key_id) = access_id.split(":", 2)
        sa = self.service_accounts.get(service_account, None)
        if sa is None:
            return testbench.error.notfound(
                "service account for key=%s" % access_id, context
            )
        return sa.update_key(key_id, payload, context)
Update an existing key in the project.
Update an existing key in the project.
Update an existing key in the project .
def update_hmac_key(self, access_id, payload, context=None):
        (service_account, key_id) = access_id.split(":", 2)
        sa = self.service_accounts.get(service_account, None)
        if sa is None:
            return testbench.error.notfound(
                "service account for key=%s" % access_id, context
            )
        return sa.update_key(key_id, payload, context)
def update_hmac_key ( self , access_id , payload , context = None ) : ( service_account , key_id ) = access_id . split ( ":" , 2 ) sa = self . service_accounts . get ( service_account , None ) if sa is None : return testbench . error . notfound ( "service account for key=%s" % access_id , context ) return sa . update_key ( key_id , payload , context )
Update an existing key in the project.
Update an existing key in the project .
"""Update an existing key in the project."""
self
access_id
payload
context