3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Google Cloud Deploy v1 API class RepairRolloutRule.

The `RepairRolloutRule` automation rule will automatically repair a failed
`Rollout`.

## Inheritance

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

## Implements

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

## 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.Deploy.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.md.txt)

## Assembly

Google.Cloud.Deploy.V1.dll

## Constructors

### RepairRolloutRule()

    public RepairRolloutRule()

### RepairRolloutRule(RepairRolloutRule)

    public RepairRolloutRule(RepairRolloutRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RepairRolloutRule` |

## Properties

### Condition

    public AutomationRuleCondition Condition { get; set; }

Output only. Information around the state of the 'Automation' rule.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AutomationRuleCondition` |   |

### Id

    public string Id { get; set; }

Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is
`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Jobs

    public RepeatedField<string> Jobs { get; }

Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in `source_phase`. This value
must consist of lower-case letters, numbers, and hyphens, start with a
letter and end with a letter or a number, and have a max length of 63
characters. In other words, it must match the following regex:
`^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Phases

    public RepeatedField<string> Phases { get; }

Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. This value must consist of lower-case
letters, numbers, and hyphens, start with a letter and end with a letter or
a number, and have a max length of 63 characters. In other words, it must
match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### RepairPhases

    public RepeatedField<RepairPhaseConfig> RepairPhases { get; }

Required. Defines the types of automatic repair phases for failed jobs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldRepairPhaseConfig` |   |