Reference documentation and code samples for the Google Cloud Build V2 Client class BatchCreateRepositoriesRequest.
Message for creating repositoritories in batch.
Generated from protobuf message google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
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 |
array<CreateRepositoryRequest>
Required. The request messages specifying the repositories to create. |
getParent
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 | |
---|---|
Type | Description |
string |
setParent
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRequests
Required. The request messages specifying the repositories to create.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRequests
Required. The request messages specifying the repositories to create.
Parameter | |
---|---|
Name | Description |
var |
array<CreateRepositoryRequest>
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
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. Please see RepositoryManagerClient::connectionName() for help formatting this field. |
requests |
array<CreateRepositoryRequest>
Required. The request messages specifying the repositories to create. |
Returns | |
---|---|
Type | Description |
BatchCreateRepositoriesRequest |