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

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

The request to import new yum artifacts.

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

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 where input content is located.

↳ parent string

The name of the parent resource where the artifacts will be imported.

getGcsSource

Google Cloud Storage location where input content is located.

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

hasGcsSource

setGcsSource

Google Cloud Storage location where input content is located.

Parameter
NameDescription
var Google\Cloud\ArtifactRegistry\V1\ImportYumArtifactsGcsSource
Returns
TypeDescription
$this

getParent

The name of the parent resource where the artifacts will be imported.

Returns
TypeDescription
string

setParent

The name of the parent resource where the artifacts will be imported.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string