public sealed class CreateBuildRequest : IMessage<CreateBuildRequest>, IEquatable<CreateBuildRequest>, IDeepCloneable<CreateBuildRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class CreateBuildRequest.
[[["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\u003eCreateBuildRequest\u003c/code\u003e API class is 2.15.0, with previous versions ranging from 1.0.0 to 2.14.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateBuildRequest\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace used to request the creation of a new build and it implements multiple 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\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and contains properties such as \u003ccode\u003eBuild\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, \u003ccode\u003eParentAsResourceName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e that define the necessary information for creating a build request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateBuildRequest\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eCreateBuildRequest()\u003c/code\u003e and another that takes an existing \u003ccode\u003eCreateBuildRequest\u003c/code\u003e instance, facilitating the cloning of build requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuild\u003c/code\u003e property of type \u003ccode\u003eBuild\u003c/code\u003e is required and the resource to create, and the \u003ccode\u003eParent\u003c/code\u003e property of type \u003ccode\u003estring\u003c/code\u003e is also required, with a format of \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e, and alternative views over the \u003ccode\u003eParent\u003c/code\u003e resource name are also available such as \u003ccode\u003eLocationName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, and \u003ccode\u003eIResourceName\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]