public sealed class BatchCreateRepositoriesRequest : IMessage<BatchCreateRepositoriesRequest>, IEquatable<BatchCreateRepositoriesRequest>, IDeepCloneable<BatchCreateRepositoriesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class BatchCreateRepositoriesRequest.
Required. The connection to contain all the repositories being created.
Format: projects//locations//connections/*
The parent field in the CreateRepositoryRequest messages
must either be empty or match this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eBatchCreateRepositoriesRequest\u003c/code\u003e class is 1.4.0, part of the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class facilitates the creation of multiple repositories in a single operation using batch processing.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements 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\u003eThe \u003ccode\u003eBatchCreateRepositoriesRequest\u003c/code\u003e class contains properties for specifying the parent connection and the individual repository creation requests.\u003c/p\u003e\n"],["\u003cp\u003eThe class has both a parameterless constructor, and one that takes another BatchCreateRepositoriesRequest object as an argument.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class BatchCreateRepositoriesRequest (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest) \n\n public sealed class BatchCreateRepositoriesRequest : IMessage\u003cBatchCreateRepositoriesRequest\u003e, IEquatable\u003cBatchCreateRepositoriesRequest\u003e, IDeepCloneable\u003cBatchCreateRepositoriesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class BatchCreateRepositoriesRequest.\n\nMessage for creating repositoritories in batch. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchCreateRepositoriesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchCreateRepositoriesRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchCreateRepositoriesRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchCreateRepositoriesRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest), [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.V2](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V2.dll\n\nConstructors\n------------\n\n### BatchCreateRepositoriesRequest()\n\n public BatchCreateRepositoriesRequest()\n\n### BatchCreateRepositoriesRequest(BatchCreateRepositoriesRequest)\n\n public BatchCreateRepositoriesRequest(BatchCreateRepositoriesRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The connection to contain all the repositories being created.\nFormat: projects/*/locations/*/connections/\\*\nThe parent field in the CreateRepositoryRequest messages\nmust either be empty or match this field.\n\n### ParentAsConnectionName\n\n public ConnectionName ParentAsConnectionName { get; set; }\n\n[ConnectionName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ConnectionName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BatchCreateRepositoriesRequest#Google_Cloud_CloudBuild_V2_BatchCreateRepositoriesRequest_Parent) resource name property.\n\n### Requests\n\n public RepeatedField\u003cCreateRepositoryRequest\u003e Requests { get; }\n\nRequired. The request messages specifying the repositories to create."]]