Google Cloud Run V2 Client - Class UploadSourceRequest (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Run V2 Client class UploadSourceRequest.
The request message for the UploadSource method.
Generated from protobuf message google.cloud.run.v2.UploadSourceRequest
Namespace
Google \ Cloud \ Run \ V2
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getParent
Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
Returns
Type
Description
string
setParent
Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getService
The name of Cloud Run Service upload source archive will be used for.
Returns
Type
Description
string
hasService
setService
The name of Cloud Run Service upload source archive will be used for.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTarget
Returns
Type
Description
string
static::build
Parameter
Name
Description
parent
string
Required. The project and location in which the source archive should be
uploaded to, specified in the format projects/*/locations/*. Please see
SourceUploadClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-12-03 UTC."],[],[]]