Reference documentation and code samples for the Google Cloud Build V2 Client class CreateRepositoryRequest.
Message for creating a Repository.
Generated from protobuf message google.devtools.cloudbuild.v2.CreateRepositoryRequest
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
↳ repository
↳ repository_id
string
Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
getParent
Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
string
setParent
Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
var
string
$this
getRepository
Required. The repository to create.
hasRepository
clearRepository
setRepository
Required. The repository to create.
$this
getRepositoryId
Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
string
setRepositoryId
Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
var
string
$this
static::build
parent
string
Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there. Please see Google\Cloud\Build\V2\RepositoryManagerClient::connectionName() for help formatting this field.
repository
repositoryId
string
Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.