Google Cloud Build V2 Client - Class FetchReadTokenRequest (0.8.0)

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

Message for fetching SCM read token.

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

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ repository string

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

getRepository

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

Returns
TypeDescription
string

setRepository

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
repository string

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*. Please see Google\Cloud\Build\V2\RepositoryManagerClient::repositoryName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Build\V2\FetchReadTokenRequest