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\u003eThe \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e class is used to send a message for creating a repository within the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, ensuring compatibility and specific functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eParent\u003c/code\u003e property that specifies the connection to host the new repository and can be accessed in a type-safe way using the \u003ccode\u003eParentAsConnectionName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepository\u003c/code\u003e property is a required field, that defines the repository to create, and \u003ccode\u003eRepositoryId\u003c/code\u003e is also required, it defines the unique identifier for the repository.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e can be initialized using either a default constructor or a constructor that takes another \u003ccode\u003eCreateRepositoryRequest\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]