Cloud Run Admin v2 API - Class SourceUpload.SourceUploadBase (2.21.0)

[BindServiceMethod(typeof(SourceUpload), "BindService")]
public abstract class SourceUpload.SourceUploadBase

Reference documentation and code samples for the Cloud Run Admin v2 API class SourceUpload.SourceUploadBase.

Base class for server-side implementations of SourceUpload

Inheritance

object > SourceUpload.SourceUploadBase

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Methods

UploadSource(UploadSourceRequest, ServerCallContext)

public virtual Task<UploadSourceResponse> UploadSource(UploadSourceRequest request, ServerCallContext context)

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

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskUploadSourceResponse

The response to send back to the client (wrapped by a task).