public static interface SourceUploadGrpc.AsyncServiceThe Cloud Run Source Upload API allows you to upload source code to deploy Cloud Run resources.
Methods
uploadSource(UploadSourceRequest request, StreamObserver<UploadSourceResponse> responseObserver)
public default void uploadSource(UploadSourceRequest request, StreamObserver<UploadSourceResponse> responseObserver) Uploads a source archive to a Google Cloud Storage bucket through Cloud
Run. The uploaded source object should be used for Cloud Run resource
deployments. User is responsible for managing the lifecycle of the uploaded
object.
If uploading through the Cloud Run API to Cloud Storage is not desired, you
can use the IAM Deny Policy to deny the run.locations.uploadSource
permission for all principals.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<UploadSourceResponse> |