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

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

Error information explaining why a package was not imported.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsGcsSource

Google Cloud Storage location requested.

↳ error Google\Rpc\Status

The detailed error status.

getGcsSource

Google Cloud Storage location requested.

Returns
Type Description
Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

Parameter
Name Description
var Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsGcsSource
Returns
Type Description
$this

getError

The detailed error status.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

The detailed error status.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getSource

Returns
Type Description
string