Google Cloud Artifact Registry V1beta2 Client - Class ImportAptArtifactsErrorInfo (0.5.1)

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

Error information explaining why a package was not imported.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\ArtifactRegistry\V1beta2\ImportAptArtifactsGcsSource

Google Cloud Storage location requested.

↳ error Google\Rpc\Status

The detailed error status.

getGcsSource

Google Cloud Storage location requested.

Returns
TypeDescription
Google\Cloud\ArtifactRegistry\V1beta2\ImportAptArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

Parameter
NameDescription
var Google\Cloud\ArtifactRegistry\V1beta2\ImportAptArtifactsGcsSource
Returns
TypeDescription
$this

getError

The detailed error status.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

The detailed error status.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string