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

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
Name Description
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
Type Description
Google\Cloud\ArtifactRegistry\V1\ImportYumArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location requested.

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