# Cloud Build V2 API - Class Google::Cloud::Build::V2::BatchCreateRepositoriesRequest (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::BatchCreateRepositoriesRequest.

Message for creating repositoritories in batch.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- 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.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #requests

    def requests() -> ::Array<::Google::Cloud::Build::V2::CreateRepositoryRequest>

**Returns**

- (::Array\<[::Google::Cloud::Build::V2::CreateRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-CreateRepositoryRequest)\>) --- Required. The request messages specifying the repositories to create.

### #requests=

    def requests=(value) -> ::Array<::Google::Cloud::Build::V2::CreateRepositoryRequest>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Build::V2::CreateRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-CreateRepositoryRequest)\>) --- Required. The request messages specifying the repositories to create.
**Returns**

- (::Array\<[::Google::Cloud::Build::V2::CreateRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-CreateRepositoryRequest)\>) --- Required. The request messages specifying the repositories to create.