Google Cloud Build V1 Client - Class RetryBuildRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class RetryBuildRequest.

Specifies a build to retry.

Generated from protobuf message google.devtools.cloudbuild.v1.RetryBuildRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of the Build to retry. Format: projects/{project}/locations/{location}/builds/{build}

↳ project_id string

Required. ID of the project.

↳ id string

Required. Build ID of the original build.

getName

The name of the Build to retry.

Format: projects/{project}/locations/{location}/builds/{build}

Returns
TypeDescription
string

setName

The name of the Build to retry.

Format: projects/{project}/locations/{location}/builds/{build}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectId

Required. ID of the project.

Returns
TypeDescription
string

setProjectId

Required. ID of the project.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getId

Required. Build ID of the original build.

Returns
TypeDescription
string

setId

Required. Build ID of the original build.

Parameter
NameDescription
var string
Returns
TypeDescription
$this