public sealed class CreateRepositoryRequest : IMessage<CreateRepositoryRequest>, IEquatable<CreateRepositoryRequest>, IDeepCloneable<CreateRepositoryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class CreateRepositoryRequest.
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
[[["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 document provides reference information for the \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e class within the Google Cloud Build v2 API, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e class is used for creating a new repository and inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains several properties to set, including \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsConnectionName\u003c/code\u003e, \u003ccode\u003eRepository\u003c/code\u003e, and \u003ccode\u003eRepositoryId\u003c/code\u003e, all of which are required to configure the request for creating a new repository.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e class also has a constructor that accepts another \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e object as a parameter for copying purposes, and has another that has no parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe page indicates there are previous versions of this documentation, including 1.0.0, 1.1.0, and 1.2.0, as well as a link to the latest version 1.4.0, each with their own relevant documentation.\u003c/p\u003e\n"]]],[],null,[]]