Google Cloud Artifact Registry V1beta2 Client - Class ImportYumArtifactsRequest (0.3.13)

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

The request to import new yum artifacts.

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

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

hasGcsSource

setGcsSource

Google Cloud Storage location where input content is located.

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