Google Cloud Build V2 Client - Class FetchReadTokenRequest (1.1.2)
Stay organized with collections
Save and categorize content based on your preferences.
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.
Parameter
Name
Description
data
mixed
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.
[[["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."],[],[]]