Google Cloud Run V2 Client - Class UploadSourceRequest (1.15.0)

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.

Returns
Type Description
UploadSourceRequest