From 264984cda2a6a1b75a4e5d78268b35d247ebdd99 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sat, 7 Aug 2021 11:48:26 +0000 Subject: [PATCH] fix: Updating behavior of source_upload_url during Get/List function calls (#93) Regenerating cloud functions docs PiperOrigin-RevId: 388967811 Source-Link: https://github.com/googleapis/googleapis/commit/909c3adecc663893b2eaecd3c2f9b2528a2c6bea Source-Link: https://github.com/googleapis/googleapis-gen/commit/13181e495b2878975896de174f4a0ccd41fe2bc4 --- google/cloud/functions_v1/types/functions.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/google/cloud/functions_v1/types/functions.py b/google/cloud/functions_v1/types/functions.py index 6dae135..eb2e29e 100644 --- a/google/cloud/functions_v1/types/functions.py +++ b/google/cloud/functions_v1/types/functions.py @@ -77,8 +77,12 @@ class CloudFunction(proto.Message): The source repository where a function is hosted. source_upload_url (str): The Google Cloud Storage signed URL used for source - uploading, generated by - [google.cloud.functions.v1.GenerateUploadUrl][] + uploading, generated by calling + [google.cloud.functions.v1.GenerateUploadUrl]. + + The signature is validated on write methods {Create, Update} + The signature is stripped from the Function object on read + methods {Get, List} https_trigger (google.cloud.functions_v1.types.HttpsTrigger): An HTTPS endpoint type of source that can be triggered via URL.