Google Cloud Build V2 Client - Class BatchCreateRepositoriesRequest (0.8.0)

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 \ V2

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

setRequests

Required. The request messages specifying the repositories to create.

Parameter
Name
Description
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 Google\Cloud\Build\V2\RepositoryManagerClient::connectionName() for help formatting this field.

requests
array< Google\Cloud\Build\V2\CreateRepositoryRequest >

Required. The request messages specifying the repositories to create.

Design a Mobile Site
View Site in Mobile | Classic
Share by: