public sealed class RetryBuildRequest : IMessage<RetryBuildRequest>, IEquatable<RetryBuildRequest>, IDeepCloneable<RetryBuildRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class RetryBuildRequest.
[[["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-19 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eRetryBuildRequest\u003c/code\u003e class in the Cloud Build v1 API is 2.15.0, while the documentation covers versions ranging from 1.0.0 to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetryBuildRequest\u003c/code\u003e class is used to specify a build for retry within the Google Cloud Build service, and is an implementation of several interfaces including \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\u003eKey properties of the \u003ccode\u003eRetryBuildRequest\u003c/code\u003e class include \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eBuildName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e, which are used to identify and locate the build to be retried.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default constructor and one that accepts another \u003ccode\u003eRetryBuildRequest\u003c/code\u003e instance to create a new instance.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class RetryBuildRequest (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.RetryBuildRequest) \n\n public sealed class RetryBuildRequest : IMessage\u003cRetryBuildRequest\u003e, IEquatable\u003cRetryBuildRequest\u003e, IDeepCloneable\u003cRetryBuildRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class RetryBuildRequest.\n\nSpecifies a build to retry. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RetryBuildRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RetryBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.RetryBuildRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RetryBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.RetryBuildRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RetryBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.RetryBuildRequest), [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.CloudBuild.V1](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V1.dll\n\nConstructors\n------------\n\n### RetryBuildRequest()\n\n public RetryBuildRequest()\n\n### RetryBuildRequest(RetryBuildRequest)\n\n public RetryBuildRequest(RetryBuildRequest other)\n\nProperties\n----------\n\n### BuildName\n\n public BuildName BuildName { get; set; }\n\n[BuildName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.BuildName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.RetryBuildRequest#Google_Cloud_CloudBuild_V1_RetryBuildRequest_Name) resource name property.\n\n### Id\n\n public string Id { get; set; }\n\nRequired. Build ID of the original build.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the `Build` to retry.\nFormat: `projects/{project}/locations/{location}/builds/{build}`\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nRequired. ID of the project."]]