Google Cloud Build V2 Client - Class FetchReadWriteTokenRequest (1.1.2)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Build V2 Client class FetchReadWriteTokenRequest.
Message for fetching SCM read/write token.
Generated from protobuf messagegoogle.devtools.cloudbuild.v2.FetchReadWriteTokenRequest
Namespace
Google \ Cloud \ Build \ V2
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getRepository
Required. The resource name of the repository in the formatprojects/*/locations/*/connections/*/repositories/*.
Returns
Type
Description
string
setRepository
Required. The resource name of the repository in the formatprojects/*/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 formatprojects/*/locations/*/connections/*/repositories/*. Please seeRepositoryManagerClient::repositoryName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]