Reference documentation and code samples for the Google Cloud Build V2 Client class DeleteConnectionRequest.
Message for deleting a Connection.
Generated from protobuf message google.devtools.cloudbuild.v2.DeleteConnectionRequest
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the Connection to delete. Format: projects/*/locations/*/connections/*
.
↳ etag
string
The current etag of the connection. If an etag is provided and does not match the current etag of the connection, 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 Connection to delete.
Format: projects/*/locations/*/connections/*
.
string
setName
Required. The name of the Connection to delete.
Format: projects/*/locations/*/connections/*
.
var
string
$this
getEtag
The current etag of the connection.
If an etag is provided and does not match the current etag of the connection, deletion will be blocked and an ABORTED error will be returned.
string
setEtag
The current etag of the connection.
If an etag is provided and does not match the current etag of the connection, 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 Connection to delete.
Format: projects/*/locations/*/connections/*
. Please see RepositoryManagerClient::connectionName()
for help formatting this field.