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
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The name of the |
↳ 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 | |
|---|---|
| Type | Description |
string |
|
setName
The name of the Build to retry.
Format: projects/{project}/locations/{location}/builds/{build}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectId
Required. ID of the project.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProjectId
Required. ID of the project.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getId
Required. Build ID of the original build.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Required. Build ID of the original build.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|