public sealed class GetBuildRequest : IMessage<GetBuildRequest>, IEquatable<GetBuildRequest>, IDeepCloneable<GetBuildRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class GetBuildRequest.
[[["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 of the \u003ccode\u003eGetBuildRequest\u003c/code\u003e API class is 2.15.0, and the documentation provides links to older versions ranging from 2.14.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetBuildRequest\u003c/code\u003e is a request to get a build within the Cloud Build v1 API, and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing interfaces such as \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 \u003ccode\u003eGetBuildRequest\u003c/code\u003e includes constructors such as \u003ccode\u003eGetBuildRequest()\u003c/code\u003e and \u003ccode\u003eGetBuildRequest(GetBuildRequest other)\u003c/code\u003e, and has properties like \u003ccode\u003eBuildName\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e, which are used to specify and retrieve build details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetBuildRequest\u003c/code\u003e requires both a project ID and a build ID to retrieve a specific build, and the \u003ccode\u003eName\u003c/code\u003e property specifies the build's location and project in a specific format.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace, and is included in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class GetBuildRequest (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.GetBuildRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.GetBuildRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.GetBuildRequest) \n\n public sealed class GetBuildRequest : IMessage\u003cGetBuildRequest\u003e, IEquatable\u003cGetBuildRequest\u003e, IDeepCloneable\u003cGetBuildRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class GetBuildRequest.\n\nRequest to get a build. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetBuildRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GetBuildRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GetBuildRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetBuildRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GetBuildRequest), [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### GetBuildRequest()\n\n public GetBuildRequest()\n\n### GetBuildRequest(GetBuildRequest)\n\n public GetBuildRequest(GetBuildRequest 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.GetBuildRequest#Google_Cloud_CloudBuild_V1_GetBuildRequest_Name) resource name property.\n\n### Id\n\n public string Id { get; set; }\n\nRequired. ID of the build.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the `Build` to retrieve.\nFormat: `projects/{project}/locations/{location}/builds/{build}`\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nRequired. ID of the project."]]