Google Cloud Artifact Registry V1beta2 Client - Class ImportYumArtifactsErrorInfo (0.4.4)

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

Error information explaining why a package was not imported.

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

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\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\V1beta2\ImportYumArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

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