Google Cloud Build V2 Client - Class FetchGitRefsResponse (0.12.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ ref_names array

Name of the refs fetched.

getRefNames

Name of the refs fetched.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRefNames

Name of the refs fetched.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this