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

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 ImportAptArtifactsGcsSource

Google Cloud Storage location requested.

↳ error Google\Rpc\Status

The detailed error status.

getGcsSource

Google Cloud Storage location requested.

Returns
Type Description
ImportAptArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

Parameter
Name Description
var 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