Google Cloud Build V1 Client - Class GetBuildRequest (0.9.0)

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

Request to get a build.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ project_id string

Required. ID of the project.

↳ id string

Required. ID of the build.

getName

The name of the Build to retrieve.

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

Returns
TypeDescription
string

setName

The name of the Build to retrieve.

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. ID of the build.

Returns
TypeDescription
string

setId

Required. ID of the build.

Parameter
NameDescription
var string
Returns
TypeDescription
$this