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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source 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
Type Description
ImportYumArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location where input content is located.

Parameter
Name Description
var ImportYumArtifactsGcsSource
Returns
Type Description
$this

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string