Cloud Run Admin API (run:v2)

2026-08-12

1 new method

Additions

    Methods
  • run.projects.locations.sourceUploads.upload

      HTTP Method : POST

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}:uploadSource

      Mediaupload :

        Accept : */*

        Maxsize : 262144000

        Protocols :

          Resumable :

            Path : /resumable/upload/v2/{+parent}:uploadSource

            Multipart : Yes

          Simple :

            Multipart : Yes

            Path : /upload/v2/{+parent}:uploadSource

      Path : v2/{+parent}:uploadSource

      Parameters :

        parent

          Description : Required. The project and location in which the source archive should be uploaded to, specified in the format `projects/*/locations/*`.

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

      Parameter Order : parent

      Description : 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.

      Supportsmediaupload : Yes

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/run