Resource: DeploymentEvent
The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "runtimeConfig": { object ( |
| Fields | |
|---|---|
name |
Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}/deploymentEvents/{uuid} |
createTime |
Output only. The create time of the DeploymentEvent. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The update time of the DeploymentEvent. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
runtimeConfig |
Output only. The runtime configurations where the DeploymentEvent happened. |
runtimeDeploymentUri |
Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name. |
state |
Output only. The state of the DeploymentEvent. |
artifactDeployments[] |
Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod. |
deployTime |
Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
undeployTime |
Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeployTime), this field will be empty. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
State
The state of the DeploymentEvent.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
No state specified. |
STATE_ACTIVE |
The deployment is active in the runtime. |
STATE_INACTIVE |
The deployment is not in the runtime. |
ArtifactDeployment
The ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.
| JSON representation |
|---|
{ "id": string, "artifactReference": string, "artifactAlias": string, "sourceCommitUris": [ string ], "deployTime": string, "undeployTime": string, "containerStatusSummary": string } |
| Fields | |
|---|---|
id |
Output only. Unique identifier of |
artifactReference |
Output only. The artifact that is deployed. |
artifactAlias |
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 |
sourceCommitUris[] |
Output only. The source commits at which this artifact was built. Extracted from provenance. |
deployTime |
Output only. The time at which the deployment was deployed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
undeployTime |
Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
containerStatusSummary |
Output only. The summary of container status of the artifact deployment. Format as |
Methods |
|
|---|---|
|
Gets a single Deployment Event. |
|
Lists Deployment Events in a given insights config. |