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

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
Name Description
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
Type Description
string

setName

Required. The name of the package to delete.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\ArtifactRegistry\V1\DeletePackageRequest