Google Cloud Artifact Registry V1 Client - Class ImportAptArtifactsRequest (1.0.0-RC1)

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

The request to import new apt artifacts.

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

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\ImportAptArtifactsGcsSource

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
Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsGcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage location where input content is located.

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