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 \ RepositoryMethods
__construct
Constructor.
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 format projects/*/secrets/*/versions/*
.
↳ ssh_authentication_config
GitRemoteSettings\SshAuthenticationConfig
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.
string
setUrl
Required. The Git remote's URL.
var
string
$this
getDefaultBranch
Required. The Git remote's default branch name.
string
setDefaultBranch
Required. The Git remote's default branch name.
var
string
$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/*
.
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/*
.
var
string
$this
getSshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
hasSshAuthenticationConfig
clearSshAuthenticationConfig
setSshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
$this
getTokenStatus
Output only. Deprecated: The field does not contain any token status information.
int
setTokenStatus
Output only. Deprecated: The field does not contain any token status information.
var
int
$this