Google Cloud Artifact Registry V1 Client - Class DeletePackageRequest (0.4.4)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class DeletePackageRequest.

The request to delete a package.

Generated from protobuf message google.devtools.artifactregistry.v1.DeletePackageRequest

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the package to delete.

getName

Required. The name of the package to delete.

Returns
TypeDescription
string

setName

Required. The name of the package to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the package to delete. Please see Google\Cloud\ArtifactRegistry\V1\ArtifactRegistryClient::packageName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ArtifactRegistry\V1\DeletePackageRequest