Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit dce91f4

Browse files
fix: Updating behavior of source_upload_url during Get/List function calls (#265)
Regenerating cloud functions docs PiperOrigin-RevId: 388967811 Source-Link: googleapis/googleapis@909c3ad Source-Link: https://github.com/googleapis/googleapis-gen/commit/13181e495b2878975896de174f4a0ccd41fe2bc4
1 parent 0908628 commit dce91f4

File tree

3 files changed

+54
-14
lines changed

3 files changed

+54
-14
lines changed

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java

+36-9
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,10 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
10221022
*
10231023
* <pre>
10241024
* The Google Cloud Storage signed URL used for source uploading, generated
1025-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
1025+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
1026+
* The signature is validated on write methods {Create, Update}
1027+
* The signature is stripped from the Function object on read methods {Get,
1028+
* List}
10261029
* </pre>
10271030
*
10281031
* <code>string source_upload_url = 16;</code>
@@ -1037,7 +1040,10 @@ public boolean hasSourceUploadUrl() {
10371040
*
10381041
* <pre>
10391042
* The Google Cloud Storage signed URL used for source uploading, generated
1040-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
1043+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
1044+
* The signature is validated on write methods {Create, Update}
1045+
* The signature is stripped from the Function object on read methods {Get,
1046+
* List}
10411047
* </pre>
10421048
*
10431049
* <code>string source_upload_url = 16;</code>
@@ -1065,7 +1071,10 @@ public java.lang.String getSourceUploadUrl() {
10651071
*
10661072
* <pre>
10671073
* The Google Cloud Storage signed URL used for source uploading, generated
1068-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
1074+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
1075+
* The signature is validated on write methods {Create, Update}
1076+
* The signature is stripped from the Function object on read methods {Get,
1077+
* List}
10691078
* </pre>
10701079
*
10711080
* <code>string source_upload_url = 16;</code>
@@ -3462,7 +3471,10 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
34623471
*
34633472
* <pre>
34643473
* The Google Cloud Storage signed URL used for source uploading, generated
3465-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3474+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3475+
* The signature is validated on write methods {Create, Update}
3476+
* The signature is stripped from the Function object on read methods {Get,
3477+
* List}
34663478
* </pre>
34673479
*
34683480
* <code>string source_upload_url = 16;</code>
@@ -3478,7 +3490,10 @@ public boolean hasSourceUploadUrl() {
34783490
*
34793491
* <pre>
34803492
* The Google Cloud Storage signed URL used for source uploading, generated
3481-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3493+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3494+
* The signature is validated on write methods {Create, Update}
3495+
* The signature is stripped from the Function object on read methods {Get,
3496+
* List}
34823497
* </pre>
34833498
*
34843499
* <code>string source_upload_url = 16;</code>
@@ -3507,7 +3522,10 @@ public java.lang.String getSourceUploadUrl() {
35073522
*
35083523
* <pre>
35093524
* The Google Cloud Storage signed URL used for source uploading, generated
3510-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3525+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3526+
* The signature is validated on write methods {Create, Update}
3527+
* The signature is stripped from the Function object on read methods {Get,
3528+
* List}
35113529
* </pre>
35123530
*
35133531
* <code>string source_upload_url = 16;</code>
@@ -3536,7 +3554,10 @@ public com.google.protobuf.ByteString getSourceUploadUrlBytes() {
35363554
*
35373555
* <pre>
35383556
* The Google Cloud Storage signed URL used for source uploading, generated
3539-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3557+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3558+
* The signature is validated on write methods {Create, Update}
3559+
* The signature is stripped from the Function object on read methods {Get,
3560+
* List}
35403561
* </pre>
35413562
*
35423563
* <code>string source_upload_url = 16;</code>
@@ -3558,7 +3579,10 @@ public Builder setSourceUploadUrl(java.lang.String value) {
35583579
*
35593580
* <pre>
35603581
* The Google Cloud Storage signed URL used for source uploading, generated
3561-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3582+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3583+
* The signature is validated on write methods {Create, Update}
3584+
* The signature is stripped from the Function object on read methods {Get,
3585+
* List}
35623586
* </pre>
35633587
*
35643588
* <code>string source_upload_url = 16;</code>
@@ -3578,7 +3602,10 @@ public Builder clearSourceUploadUrl() {
35783602
*
35793603
* <pre>
35803604
* The Google Cloud Storage signed URL used for source uploading, generated
3581-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
3605+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
3606+
* The signature is validated on write methods {Create, Update}
3607+
* The signature is stripped from the Function object on read methods {Get,
3608+
* List}
35823609
* </pre>
35833610
*
35843611
* <code>string source_upload_url = 16;</code>

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java

+12-3
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ public interface CloudFunctionOrBuilder
158158
*
159159
* <pre>
160160
* The Google Cloud Storage signed URL used for source uploading, generated
161-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
161+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
162+
* The signature is validated on write methods {Create, Update}
163+
* The signature is stripped from the Function object on read methods {Get,
164+
* List}
162165
* </pre>
163166
*
164167
* <code>string source_upload_url = 16;</code>
@@ -171,7 +174,10 @@ public interface CloudFunctionOrBuilder
171174
*
172175
* <pre>
173176
* The Google Cloud Storage signed URL used for source uploading, generated
174-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
177+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
178+
* The signature is validated on write methods {Create, Update}
179+
* The signature is stripped from the Function object on read methods {Get,
180+
* List}
175181
* </pre>
176182
*
177183
* <code>string source_upload_url = 16;</code>
@@ -184,7 +190,10 @@ public interface CloudFunctionOrBuilder
184190
*
185191
* <pre>
186192
* The Google Cloud Storage signed URL used for source uploading, generated
187-
* by [google.cloud.functions.v1.GenerateUploadUrl][]
193+
* by calling [google.cloud.functions.v1.GenerateUploadUrl].
194+
* The signature is validated on write methods {Create, Update}
195+
* The signature is stripped from the Function object on read methods {Get,
196+
* List}
188197
* </pre>
189198
*
190199
* <code>string source_upload_url = 16;</code>

proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -243,7 +243,11 @@ message CloudFunction {
243243
SourceRepository source_repository = 4;
244244

245245
// The Google Cloud Storage signed URL used for source uploading, generated
246-
// by [google.cloud.functions.v1.GenerateUploadUrl][]
246+
// by calling [google.cloud.functions.v1.GenerateUploadUrl].
247+
//
248+
// The signature is validated on write methods {Create, Update}
249+
// The signature is stripped from the Function object on read methods {Get,
250+
// List}
247251
string source_upload_url = 16;
248252
}
249253

0 commit comments

Comments
 (0)