Reference documentation and code samples for the Google Cloud Build V2 Client class DeleteRepositoryRequest.
Message for deleting a Repository.
Generated from protobuf message google.devtools.cloudbuild.v2.DeleteRepositoryRequest
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the Repository to delete. Format: projects/*/locations/*/connections/*/repositories/*
.
↳ etag
string
The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
↳ validate_only
bool
If set, validate the request, but do not actually post it.
getName
Required. The name of the Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*
.
string
setName
Required. The name of the Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*
.
var
string
$this
getEtag
The current etag of the repository.
If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
string
setEtag
The current etag of the repository.
If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
var
string
$this
getValidateOnly
If set, validate the request, but do not actually post it.
bool
setValidateOnly
If set, validate the request, but do not actually post it.
var
bool
$this
static::build
name
string
Required. The name of the Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*
. Please see Google\Cloud\Build\V2\RepositoryManagerClient::repositoryName()
for help formatting this field.