Google Cloud Run V2 Client - Class SubmitBuildResponse (1.3.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class SubmitBuildResponse.

Response message for submitting a Build.

Generated from protobuf message google.cloud.run.v2.SubmitBuildResponse

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ build_operation Google\LongRunning\Operation

Cloud Build operation to be polled via CloudBuild API.

↳ base_image_uri string

URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.

↳ base_image_warning string

Warning message for the base image.

getBuildOperation

Cloud Build operation to be polled via CloudBuild API.

Returns
Type Description
Google\LongRunning\Operation|null

hasBuildOperation

clearBuildOperation

setBuildOperation

Cloud Build operation to be polled via CloudBuild API.

Parameter
Name Description
var Google\LongRunning\Operation
Returns
Type Description
$this

getBaseImageUri

URI of the base builder image in Artifact Registry being used in the build.

Used to opt into automatic base image updates.

Returns
Type Description
string

setBaseImageUri

URI of the base builder image in Artifact Registry being used in the build.

Used to opt into automatic base image updates.

Parameter
Name Description
var string
Returns
Type Description
$this

getBaseImageWarning

Warning message for the base image.

Returns
Type Description
string

setBaseImageWarning

Warning message for the base image.

Parameter
Name Description
var string
Returns
Type Description
$this