我使用下面的代码为Google云端存储上的文件生成已签名的网址,但是当我点击我获得的链接时SignatureDoesNotMatch
from google.cloud.storage._signing import generate_signed_url
from google.oauth2.service_account import Credentials
signed_url = generate_signed_url(credentials=Credentials.from_service_account_file(google_cloud_platform__key_path),
resource=self.canonicalized_resource,
expiration=self.expiration,
content_type=self.content_type
)