Google Cloud Dataform V1 Client - Class GitRemoteSettings (0.10.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Dataform V1 Client class GitRemoteSettings.
Controls Git remote configuration for a repository.
Generated from protobuf message google.cloud.dataform.v1.Repository.GitRemoteSettings
Namespace
Google \ Cloud \ Dataform \ V1 \ Repository
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getUrl
Required. The Git remote's URL.
Returns
Type
Description
string
setUrl
Required. The Git remote's URL.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDefaultBranch
Required. The Git remote's default branch name.
Returns
Type
Description
string
setDefaultBranch
Required. The Git remote's default branch name.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAuthenticationTokenSecretVersion
Optional. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
Returns
Type
Description
string
setAuthenticationTokenSecretVersion
Optional. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
Returns
Type
Description
GitRemoteSettings\SshAuthenticationConfig|null
hasSshAuthenticationConfig
clearSshAuthenticationConfig
setSshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
Parameter
Name
Description
var
GitRemoteSettings\SshAuthenticationConfig
Returns
Type
Description
$this
getTokenStatus
Output only. Deprecated: The field does not contain any token status
information.
[[["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-18 UTC."],[],[]]