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 RolloutRestriction : IMessage<RolloutRestriction>, IEquatable<RolloutRestriction>, IDeepCloneable<RolloutRestriction>, IBufferMessage, IMessage

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

Rollout restrictions.

## Inheritance

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

## Implements

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

### RolloutRestriction()

    public RolloutRestriction()

### RolloutRestriction(RolloutRestriction)

    public RolloutRestriction(RolloutRestriction other)

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

## Properties

### Actions

    public RepeatedField<RolloutRestriction.Types.RolloutActions> Actions { get; }

Optional. Rollout actions to be restricted as part of the policy. If left
empty, all actions will be restricted.

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

### Id

    public string Id { get; set; }

Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

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

### Invokers

    public RepeatedField<DeployPolicy.Types.Invoker> Invokers { get; }

Optional. What invoked the action. If left empty, all invoker types will be
restricted.

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

### TimeWindows

    public TimeWindows TimeWindows { get; set; }

Required. Time window within which actions are restricted.

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