DeploymentEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid} |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The create time of the DeploymentEvent. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The update time of the DeploymentEvent. |
runtime_config |
google.cloud.developerconnect_v1.types.RuntimeConfig
Output only. The runtime configurations where the DeploymentEvent happened. |
runtime_deployment_uri |
str
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 |
google.cloud.developerconnect_v1.types.DeploymentEvent.State
Output only. The state of the DeploymentEvent. |
artifact_deployments |
MutableSequence[google.cloud.developerconnect_v1.types.ArtifactDeployment]
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. |
deploy_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times. |
undeploy_time |
google.protobuf.timestamp_pb2.Timestamp
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 undeploy_time), this field will be empty. |
Classes
State
State(value)The state of the DeploymentEvent.