2.15.0 (latest) 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 Repository.Types.VulnerabilityScanningConfig : IMessage<Repository.Types.VulnerabilityScanningConfig>, IEquatable<Repository.Types.VulnerabilityScanningConfig>, IDeepCloneable<Repository.Types.VulnerabilityScanningConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class Repository.Types.VulnerabilityScanningConfig.

Config on whether to perform vulnerability scanning for resources in this
repository, as well as output fields describing current state.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ArtifactRegistry.V1.dll

## Constructors

### VulnerabilityScanningConfig()

    public VulnerabilityScanningConfig()

### VulnerabilityScanningConfig(VulnerabilityScanningConfig)

    public VulnerabilityScanningConfig(Repository.Types.VulnerabilityScanningConfig other)

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

## Properties

### EnablementConfig

    public Repository.Types.VulnerabilityScanningConfig.Types.EnablementConfig EnablementConfig { get; set; }

Optional. Config for whether this repository has vulnerability scanning
disabled.

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

### EnablementState

    public Repository.Types.VulnerabilityScanningConfig.Types.EnablementState EnablementState { get; set; }

Output only. State of feature enablement, combining repository enablement
config and API enablement state.

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

### EnablementStateReason

    public string EnablementStateReason { get; set; }

Output only. Reason for the repository state.

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

### LastEnableTime

    public Timestamp LastEnableTime { get; set; }

Output only. The last time this repository config was enabled.

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