Developer Connect v1 API - Class DeploymentEvent (1.0.0-beta04)

public sealed class DeploymentEvent : IMessage<DeploymentEvent>, IEquatable<DeploymentEvent>, IDeepCloneable<DeploymentEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class DeploymentEvent.

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

Inheritance

object > DeploymentEvent

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

DeploymentEvent()

public DeploymentEvent()

DeploymentEvent(DeploymentEvent)

public DeploymentEvent(DeploymentEvent other)
Parameter
Name Description
other DeploymentEvent

Properties

ArtifactDeployments

public RepeatedField<ArtifactDeployment> ArtifactDeployments { get; }

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.

Property Value
Type Description
RepeatedFieldArtifactDeployment

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The create time of the DeploymentEvent.

Property Value
Type Description
Timestamp

DeployTime

public Timestamp DeployTime { get; set; }

Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.

Property Value
Type Description
Timestamp

DeploymentEventName

public DeploymentEventName DeploymentEventName { get; set; }

DeploymentEventName-typed view over the Name resource name property.

Property Value
Type Description
DeploymentEventName

Name

public string Name { get; set; }

Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}

Property Value
Type Description
string

RuntimeConfig

public RuntimeConfig RuntimeConfig { get; set; }

Output only. The runtime configurations where the DeploymentEvent happened.

Property Value
Type Description
RuntimeConfig

RuntimeDeploymentUri

public string RuntimeDeploymentUri { get; set; }

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.

Property Value
Type Description
string

State

public DeploymentEvent.Types.State State { get; set; }

Output only. The state of the DeploymentEvent.

Property Value
Type Description
DeploymentEventTypesState

UndeployTime

public Timestamp UndeployTime { get; set; }

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.

Property Value
Type Description
Timestamp

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time of the DeploymentEvent.

Property Value
Type Description
Timestamp