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

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta04 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/1.0.0-beta03/Google.Cloud.DeveloperConnect.V1.DeploymentEvent)

    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](https://learn.microsoft.com/dotnet/api/system.object) \> DeploymentEvent

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeploymentEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeploymentEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeploymentEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DeveloperConnect.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1)

## Assembly

Google.Cloud.DeveloperConnect.V1.dll

## Constructors

### DeploymentEvent()

    public DeploymentEvent()

### DeploymentEvent(DeploymentEvent)

    public DeploymentEvent(DeploymentEvent other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactDeployment` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The create time of the DeploymentEvent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DeploymentEventName

    public DeploymentEventName DeploymentEventName { get; set; }

[DeploymentEventName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEventName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent#Google_Cloud_DeveloperConnect_V1_DeploymentEvent_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RuntimeConfig

    public RuntimeConfig RuntimeConfig { get; set; }

Output only. The runtime configurations where the DeploymentEvent happened.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### State

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

Output only. The state of the DeploymentEvent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEventhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeploymentEvent.Types.State` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The update time of the DeploymentEvent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |