gcs/project.py
def _check_etag(self, key_resource, etag, where):
        """Verify that ETag values match the current ETag."""
        expected = key_resource.get("etag")
        if etag is None or etag == expected:
            return
        testbench.error.mismatch(
            "ETag for `HmacKeys: update` in %s" % where, expected, etag, None
        )
Verify that ETag values match the current ETag.
Verify that ETag values match the current ETag.
Verify that ETag values match the current ETag .
def _check_etag(self, key_resource, etag, where):
        expected = key_resource.get("etag")
        if etag is None or etag == expected:
            return
        testbench.error.mismatch(
            "ETag for `HmacKeys: update` in %s" % where, expected, etag, None
        )
def _check_etag ( self , key_resource , etag , where ) : expected = key_resource . get ( "etag" ) if etag is None or etag == expected : return testbench . error . mismatch ( "ETag for `HmacKeys: update` in %s" % where , expected , etag , None )
Verify that ETag values match the current ETag.
Verify that ETag values match the current ETag .
"""Verify that ETag values match the current ETag."""
self
key_resource
etag
where