Google Cloud Artifact Registry V1 Client - Class ImportAptArtifactsRequest (0.4.4)

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

hasGcsSource

setGcsSource

Google Cloud Storage location where input content is located.

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