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 \ V1Methods
__construct
Constructor.
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
↳ 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
.
string
setId
Output only. Unique identifier of ArtifactDeployment
.
var
string
$this
getArtifactReference
Output only. The artifact that is deployed.
string
setArtifactReference
Output only. The artifact that is deployed.
var
string
$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
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
var
string
$this
getSourceCommitUris
Output only. The source commits at which this artifact was built. Extracted from provenance.
setSourceCommitUris
Output only. The source commits at which this artifact was built. Extracted from provenance.
var
string[]
$this
getDeployTime
Output only. The time at which the deployment was deployed.
hasDeployTime
clearDeployTime
setDeployTime
Output only. The time at which the deployment was deployed.
$this
getUndeployTime
Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
hasUndeployTime
clearUndeployTime
setUndeployTime
Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
$this
getContainerStatusSummary
Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string
setContainerStatusSummary
Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
var
string
$this

