Reference documentation and code samples for the Google Cloud Dataform V1 Client class FetchGitAheadBehindRequest.
FetchGitAheadBehind request message.
Generated from protobuf message google.cloud.dataform.v1.FetchGitAheadBehindRequest
Namespace
Google \ Cloud \ Dataform \ V1
Methods
__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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataform V1 Client - Class FetchGitAheadBehindRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1.FetchGitAheadBehindRequest)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1.FetchGitAheadBehindRequest)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1.FetchGitAheadBehindRequest)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1.FetchGitAheadBehindRequest)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1.FetchGitAheadBehindRequest)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1.FetchGitAheadBehindRequest)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1.FetchGitAheadBehindRequest)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1.FetchGitAheadBehindRequest)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1.FetchGitAheadBehindRequest) \nReference documentation and code samples for the Google Cloud Dataform V1 Client class FetchGitAheadBehindRequest.\n\n`FetchGitAheadBehind` request message.\n\nGenerated from protobuf message `google.cloud.dataform.v1.FetchGitAheadBehindRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The workspace's name.\n\n### setName\n\nRequired. The workspace's name.\n\n### getRemoteBranch\n\nOptional. The name of the branch in the Git remote against which this\nworkspace should be compared. If left unset, the repository's default\nbranch name will be used.\n\n### setRemoteBranch\n\nOptional. The name of the branch in the Git remote against which this\nworkspace should be compared. If left unset, the repository's default\nbranch name will be used."]]