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
Methods
__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<Google\Cloud\Build\V2\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<Google\Cloud\Build\V2\CreateRepositoryRequest>
|
Returns | |
---|---|
Type | Description |
$this |