Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class GitRemoteSettings.
Controls Git remote configuration for a repository.
Generated from protobuf message google.cloud.dataform.v1beta1.Repository.GitRemoteSettings
Namespace
Google \ Cloud \ Dataform \ V1beta1 \ RepositoryMethods
__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
Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format |
↳ token_status |
int
Output only. Indicates the status of the Git access token. |
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
Required. 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
Required. 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 |
getTokenStatus
Output only. Indicates the status of the Git access token.
Returns | |
---|---|
Type | Description |
int |
setTokenStatus
Output only. Indicates the status of the Git access token.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |