# Telco Automation v1 API - Class Deployment (1.3.0)

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

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/1.2.0/Google.Cloud.TelcoAutomation.V1.Deployment)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/1.1.0/Google.Cloud.TelcoAutomation.V1.Deployment)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/1.0.0/Google.Cloud.TelcoAutomation.V1.Deployment)

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

Reference documentation and code samples for the Telco Automation v1 API class Deployment.

Deployment contains a collection of YAML files (This collection is also known
as package) that can to applied on an orchestration cluster (GKE cluster with
TNA addons) or a workload cluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Deployment

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment), [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.TelcoAutomation.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1)

## Assembly

Google.Cloud.TelcoAutomation.V1.dll

## Constructors

### Deployment()

    public Deployment()

### Deployment(Deployment)

    public Deployment(Deployment other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Deployment creation time.

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

### DeploymentLevel

    public DeploymentLevel DeploymentLevel { get; set; }

Output only. Attributes to where the deployment can inflict changes. The
value can only be \[SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.DeploymentLevel` |   |

### DeploymentName

    public DeploymentName DeploymentName { get; set; }

[DeploymentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.DeploymentName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.Deployment#Google_Cloud_TelcoAutomation_V1_Deployment_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.DeploymentName` |   |

### DisplayName

    public string DisplayName { get; set; }

Optional. Human readable name of a Deployment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Files

    public RepeatedField<File> Files { get; }

Optional. Files present in a deployment.
When invoking UpdateDeployment API, only the modified files should be
included in this. Files that are not included in the update of a deployment
will not be changed.

| **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.TelcoAutomation.V1/latest/Google.Cloud.TelcoAutomation.V1.File` |   |

### Labels

    public MapField<string, string> Labels { get; }

Optional. Labels are key-value attributes that can be set on a deployment
resource by the user.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

The name of the deployment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Repository

    public string Repository { get; set; }

Output only. Name of the repository where the deployment package files are
stored.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RevisionCreateTime

    public Timestamp RevisionCreateTime { get; set; }

Output only. The timestamp that the revision was created.

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

### RevisionId

    public string RevisionId { get; set; }

Output only. Immutable. The revision ID of the deployment.
A new revision is committed whenever a change in deployment is applied.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RollbackSupport

    public bool RollbackSupport { get; set; }

Output only. Indicates if the deployment can be rolled back, exported from
public blueprint.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### SourceBlueprintRevision

    public string SourceBlueprintRevision { get; set; }

Required. The blueprint revision from which this deployment was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### SourceProvider

    public string SourceProvider { get; set; }

Output only. Source provider is the author of a public blueprint, from
which this deployment is created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### State

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

Output only. State of the deployment (DRAFT, APPLIED, DELETING).

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the deployment was updated.

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

### WorkloadCluster

    public string WorkloadCluster { get; set; }

Optional. Immutable. The WorkloadCluster on which to create the Deployment.
This field should only be passed when the deployment_level of the source
blueprint specifies deployments on workload clusters e.g.
WORKLOAD_CLUSTER_DEPLOYMENT.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |