Google Cloud Artifact Registry V1beta2 Client - Class YumArtifact (0.5.1)

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

A detailed representation of a Yum artifact.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The Artifact Registry resource name of the artifact.

↳ package_name string

Output only. The yum package name of the artifact.

↳ package_type int

Output only. An artifact is a binary or source package.

↳ architecture string

Output only. Operating system architecture of the artifact.

getName

Output only. The Artifact Registry resource name of the artifact.

Returns
TypeDescription
string

setName

Output only. The Artifact Registry resource name of the artifact.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPackageName

Output only. The yum package name of the artifact.

Returns
TypeDescription
string

setPackageName

Output only. The yum package name of the artifact.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPackageType

Output only. An artifact is a binary or source package.

Returns
TypeDescription
int

setPackageType

Output only. An artifact is a binary or source package.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getArchitecture

Output only. Operating system architecture of the artifact.

Returns
TypeDescription
string

setArchitecture

Output only. Operating system architecture of the artifact.

Parameter
NameDescription
var string
Returns
TypeDescription
$this