public sealed class PushGitCommitsRequest : IMessage<PushGitCommitsRequest>, IEquatable<PushGitCommitsRequest>, IDeepCloneable<PushGitCommitsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class PushGitCommitsRequest.
Optional. The name of the branch in the Git remote to which commits should
be pushed. 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\u003eThis documentation details the \u003ccode\u003ePushGitCommitsRequest\u003c/code\u003e class within the Dataform v1beta1 API, specifically for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePushGitCommitsRequest\u003c/code\u003e class is used to structure messages for pushing Git commits and inherits from \u003ccode\u003eobject\u003c/code\u003e, while also implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and one to create an instance based on an existing \u003ccode\u003ePushGitCommitsRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eName\u003c/code\u003e (required, representing the workspace name), \u003ccode\u003eRemoteBranch\u003c/code\u003e (optional, for specifying a branch in the Git remote), and \u003ccode\u003eWorkspaceName\u003c/code\u003e (a typed view over the \u003ccode\u003eName\u003c/code\u003e property).\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class PushGitCommitsRequest (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest) \n\n public sealed class PushGitCommitsRequest : IMessage\u003cPushGitCommitsRequest\u003e, IEquatable\u003cPushGitCommitsRequest\u003e, IDeepCloneable\u003cPushGitCommitsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class PushGitCommitsRequest.\n\n`PushGitCommits` request message. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PushGitCommitsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PushGitCommitsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PushGitCommitsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PushGitCommitsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### PushGitCommitsRequest()\n\n public PushGitCommitsRequest()\n\n### PushGitCommitsRequest(PushGitCommitsRequest)\n\n public PushGitCommitsRequest(PushGitCommitsRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The workspace's name.\n\n### RemoteBranch\n\n public string RemoteBranch { get; set; }\n\nOptional. The name of the branch in the Git remote to which commits should\nbe pushed. If left unset, the repository's default branch name will be\nused.\n\n### WorkspaceName\n\n public WorkspaceName WorkspaceName { get; set; }\n\n[WorkspaceName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkspaceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.PushGitCommitsRequest#Google_Cloud_Dataform_V1Beta1_PushGitCommitsRequest_Name) resource name property."]]