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

Commit

Permalink
fix: Updating behavior of source_upload_url during Get/List function …
Browse files Browse the repository at this point in the history
…calls (#265)

Regenerating cloud functions docs

PiperOrigin-RevId: 388967811

Source-Link: googleapis/googleapis@909c3ad

Source-Link: googleapis/googleapis-gen@13181e4
  • Loading branch information
gcf-owl-bot[bot] committed Aug 10, 2021
1 parent 0908628 commit dce91f4
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,10 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -1037,7 +1040,10 @@ public boolean hasSourceUploadUrl() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down Expand Up @@ -1065,7 +1071,10 @@ public java.lang.String getSourceUploadUrl() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down Expand Up @@ -3462,7 +3471,10 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -3478,7 +3490,10 @@ public boolean hasSourceUploadUrl() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down Expand Up @@ -3507,7 +3522,10 @@ public java.lang.String getSourceUploadUrl() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down Expand Up @@ -3536,7 +3554,10 @@ public com.google.protobuf.ByteString getSourceUploadUrlBytes() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -3558,7 +3579,10 @@ public Builder setSourceUploadUrl(java.lang.String value) {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -3578,7 +3602,10 @@ public Builder clearSourceUploadUrl() {
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ public interface CloudFunctionOrBuilder
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -171,7 +174,10 @@ public interface CloudFunctionOrBuilder
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand All @@ -184,7 +190,10 @@ public interface CloudFunctionOrBuilder
*
* <pre>
* The Google Cloud Storage signed URL used for source uploading, generated
* by [google.cloud.functions.v1.GenerateUploadUrl][]
* 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}
* </pre>
*
* <code>string source_upload_url = 16;</code>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -243,7 +243,11 @@ message CloudFunction {
SourceRepository source_repository = 4;

// The Google Cloud Storage signed URL used for source uploading, generated
// by [google.cloud.functions.v1.GenerateUploadUrl][]
// 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}
string source_upload_url = 16;
}

Expand Down

0 comments on commit dce91f4

Please sign in to comment.