public sealed class FetchGitAheadBehindRequest : IMessage<FetchGitAheadBehindRequest>, IEquatable<FetchGitAheadBehindRequest>, IDeepCloneable<FetchGitAheadBehindRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class FetchGitAheadBehindRequest.
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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFetchGitAheadBehindRequest\u003c/code\u003e class, part of the Dataform v1beta1 API, is used to request information about how far ahead or behind a workspace is compared to a Git remote.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eIt features properties for specifying the workspace's name (\u003ccode\u003eName\u003c/code\u003e) and the name of the remote Git branch to compare against (\u003ccode\u003eRemoteBranch\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkspaceName\u003c/code\u003e property offers a structured view of the workspace's name, facilitating easier interaction with the workspace resource.\u003c/p\u003e\n"],["\u003cp\u003eThis class also offers two constructors, one parameterless and one which takes in another \u003ccode\u003eFetchGitAheadBehindRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]