Google Cloud Developer Connect V1 Client - Class ArtifactConfig (0.4.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ArtifactConfig.

The artifact config of the artifact that is deployed.

Generated from protobuf message google.cloud.developerconnect.v1.ArtifactConfig

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ google_artifact_registry GoogleArtifactRegistry

Optional. Set if the artifact is stored in Artifact regsitry.

↳ google_artifact_analysis GoogleArtifactAnalysis

Optional. Set if the artifact metadata is stored in Artifact analysis.

↳ uri string

Required. Immutable. The URI of the artifact that is deployed. e.g. us-docker.pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest because it captures a lineage of artifacts.

getGoogleArtifactRegistry

Optional. Set if the artifact is stored in Artifact regsitry.

Returns
Type Description
GoogleArtifactRegistry|null

hasGoogleArtifactRegistry

setGoogleArtifactRegistry

Optional. Set if the artifact is stored in Artifact regsitry.

Parameter
Name Description
var GoogleArtifactRegistry
Returns
Type Description
$this

getGoogleArtifactAnalysis

Optional. Set if the artifact metadata is stored in Artifact analysis.

Returns
Type Description
GoogleArtifactAnalysis|null

hasGoogleArtifactAnalysis

setGoogleArtifactAnalysis

Optional. Set if the artifact metadata is stored in Artifact analysis.

Parameter
Name Description
var GoogleArtifactAnalysis
Returns
Type Description
$this

getUri

Required. Immutable. The URI of the artifact that is deployed.

e.g. us-docker.pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest because it captures a lineage of artifacts.

Returns
Type Description
string

setUri

Required. Immutable. The URI of the artifact that is deployed.

e.g. us-docker.pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest because it captures a lineage of artifacts.

Parameter
Name Description
var string
Returns
Type Description
$this

getArtifactStorage

Returns
Type Description
string

getArtifactMetadataStorage

Returns
Type Description
string