Google Cloud Build V2 Client - Class FetchReadWriteTokenRequest (1.0.1)

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

Message for fetching SCM read/write token.

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

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setRepository

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
repository string

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

Returns
Type Description
FetchReadWriteTokenRequest