Reference documentation and code samples for the Google Cloud Dataform V1 Client class GitRemoteSettings.
Controls Git remote configuration for a repository.
Generated from protobuf messagegoogle.cloud.dataform.v1.Repository.GitRemoteSettings
Namespace
Google \ Cloud \ Dataform \ V1 \ Repository
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ url
string
Required. The Git remote's URL.
↳ default_branch
string
Required. The Git remote's default branch name.
↳ authentication_token_secret_version
string
Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the formatprojects/*/secrets/*/versions/*.
Optional. Authentication fields for remote uris using SSH protocol.
↳ token_status
int
Output only. Deprecated: The field does not contain any token status information.
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 formatprojects/*/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 formatprojects/*/secrets/*/versions/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
[[["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 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataform V1 Client - Class GitRemoteSettings (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1.Repository.GitRemoteSettings)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1.Repository.GitRemoteSettings)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1.Repository.GitRemoteSettings)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1.Repository.GitRemoteSettings)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1.Repository.GitRemoteSettings)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1.Repository.GitRemoteSettings)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1.Repository.GitRemoteSettings)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1.Repository.GitRemoteSettings)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1.Repository.GitRemoteSettings) \nReference documentation and code samples for the Google Cloud Dataform V1 Client class GitRemoteSettings.\n\nControls Git remote configuration for a repository.\n\nGenerated from protobuf message `google.cloud.dataform.v1.Repository.GitRemoteSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1 \\\\ Repository\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUrl\n\nRequired. The Git remote's URL.\n\n### setUrl\n\nRequired. The Git remote's URL.\n\n### getDefaultBranch\n\nRequired. The Git remote's default branch name.\n\n### setDefaultBranch\n\nRequired. The Git remote's default branch name.\n\n### getAuthenticationTokenSecretVersion\n\nOptional. The name of the Secret Manager secret version to use as an\nauthentication token for Git operations. Must be in the format\n`projects/*/secrets/*/versions/*`.\n\n### setAuthenticationTokenSecretVersion\n\nOptional. The name of the Secret Manager secret version to use as an\nauthentication token for Git operations. Must be in the format\n`projects/*/secrets/*/versions/*`.\n\n### getSshAuthenticationConfig\n\nOptional. Authentication fields for remote uris using SSH protocol.\n\n### hasSshAuthenticationConfig\n\n### clearSshAuthenticationConfig\n\n### setSshAuthenticationConfig\n\nOptional. Authentication fields for remote uris using SSH protocol.\n\n### getTokenStatus\n\nOutput only. Deprecated: The field does not contain any token status\ninformation.\n\n### setTokenStatus\n\nOutput only. Deprecated: The field does not contain any token status\ninformation."]]