Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class SyncWorkspaceRefsRequest.
SyncWorkspaceRefs request message.
Generated from protobuf message google.cloud.dataform.v1beta1.SyncWorkspaceRefsRequest
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace} |
↳ remote_branch_name |
string
Optional. The name of the branch in the Git remote to which the refs should be fetched for. If left unset, all remote branches will be fetched. |
↳ deepen |
int
Optional. Can be used to deepen the commit history of shallow clones. Git documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---deependepth |
getName
Required. The workspace resource name.
Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The workspace resource name.
Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRemoteBranchName
Optional. The name of the branch in the Git remote to which the refs should be fetched for. If left unset, all remote branches will be fetched.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRemoteBranchName
Optional. The name of the branch in the Git remote to which the refs should be fetched for. If left unset, all remote branches will be fetched.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeepen
Optional. Can be used to deepen the commit history of shallow clones.
Git documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---deependepth
| Returns | |
|---|---|
| Type | Description |
int |
|
setDeepen
Optional. Can be used to deepen the commit history of shallow clones.
Git documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---deependepth
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|