Google Cloud Artifact Registry V1 Client - Class ImportYumArtifactsErrorInfo (0.5.1)

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

Error information explaining why a package was not imported.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\ArtifactRegistry\V1\ImportYumArtifactsGcsSource

Google Cloud Storage location requested.

↳ error Google\Rpc\Status

The detailed error status.

getGcsSource

Google Cloud Storage location requested.

Returns
TypeDescription
Google\Cloud\ArtifactRegistry\V1\ImportYumArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

Parameter
NameDescription
var Google\Cloud\ArtifactRegistry\V1\ImportYumArtifactsGcsSource
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