Google Cloud Build V2 Client - Class FetchGitRefsResponse (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Build V2 Client class FetchGitRefsResponse.

Response for fetching git refs

Generated from protobuf message google.devtools.cloudbuild.v2.FetchGitRefsResponse

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ref_names array

Name of the refs fetched.

getRefNames

Name of the refs fetched.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRefNames

Name of the refs fetched.

Parameter
Name Description
var string[]
Returns
Type Description
$this