Google Cloud Developer Connect V1 Client - Class ArtifactDeployment (0.6.1)

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

The ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.

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

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ id
string

Output only. Unique identifier of ArtifactDeployment .

↳ artifact_reference
string

Output only. The artifact that is deployed.

↳ artifact_alias
string

Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0

↳ source_commit_uris
string[]

Output only. The source commits at which this artifact was built. Extracted from provenance.

↳ deploy_time
Google\Protobuf\Timestamp

Output only. The time at which the deployment was deployed.

↳ undeploy_time
Google\Protobuf\Timestamp

Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.

↳ container_status_summary
string

Output only. The summary of container status of the artifact deployment. Format as ContainerStatusState-Reason : restartCount e.g. "Waiting-ImagePullBackOff : 3"

getId

Output only. Unique identifier of ArtifactDeployment .

Returns
Type
Description
string

setId

Output only. Unique identifier of ArtifactDeployment .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getArtifactReference

Output only. The artifact that is deployed.

Returns
Type
Description
string

setArtifactReference

Output only. The artifact that is deployed.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getArtifactAlias

Output only. The artifact alias in the deployment spec, with Tag/SHA.

e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0

Returns
Type
Description
string

setArtifactAlias

Output only. The artifact alias in the deployment spec, with Tag/SHA.

e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSourceCommitUris

Output only. The source commits at which this artifact was built. Extracted from provenance.

Returns
Type
Description

setSourceCommitUris

Output only. The source commits at which this artifact was built. Extracted from provenance.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getDeployTime

Output only. The time at which the deployment was deployed.

Returns
Type
Description

hasDeployTime

clearDeployTime

setDeployTime

Output only. The time at which the deployment was deployed.

Parameter
Name
Description
Returns
Type
Description
$this

getUndeployTime

Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.

Returns
Type
Description

hasUndeployTime

clearUndeployTime

setUndeployTime

Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.

Parameter
Name
Description
Returns
Type
Description
$this

getContainerStatusSummary

Output only. The summary of container status of the artifact deployment.

Format as ContainerStatusState-Reason : restartCount e.g. "Waiting-ImagePullBackOff : 3"

Returns
Type
Description
string

setContainerStatusSummary

Output only. The summary of container status of the artifact deployment.

Format as ContainerStatusState-Reason : restartCount e.g. "Waiting-ImagePullBackOff : 3"

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: