Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class FetchGitAheadBehindRequest.
FetchGitAheadBehind
request message.
Generated from protobuf message google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The workspace's name. |
↳ remote_branch |
string
Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used. |
getName
Required. The workspace's name.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The workspace's name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRemoteBranch
Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.
Returns | |
---|---|
Type | Description |
string |
setRemoteBranch
Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |