public sealed class DiscoveryGenerationCadence : IMessage<DiscoveryGenerationCadence>, IEquatable<DiscoveryGenerationCadence>, IDeepCloneable<DiscoveryGenerationCadence>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryGenerationCadence.
What must take place for a profile to be updated and how
frequently it should occur.
New tables are scanned as quickly as possible depending on system
capacity.
public DiscoveryInspectTemplateModifiedCadence InspectTemplateModifiedCadence { get; set; }
Governs when to update data profiles when the inspection rules
defined by the InspectTemplate change.
If not set, changing the template will not cause a data profile to update.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDiscoveryGenerationCadence\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API defines the frequency and conditions for updating data profiles, including when schemas, tables, or inspection templates are modified.\u003c/p\u003e\n"],["\u003cp\u003eData profiles can be updated at a set frequency using the \u003ccode\u003eRefreshFrequency\u003c/code\u003e property, regardless of changes to the underlying data, defaulting to never if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInspectTemplateModifiedCadence\u003c/code\u003e, \u003ccode\u003eSchemaModifiedCadence\u003c/code\u003e, and \u003ccode\u003eTableModifiedCadence\u003c/code\u003e properties dictate when profiles should be updated due to changes in inspection rules, schemas, and tables, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Google.Cloud.Dlp.V2 library is 4.16.0, and there are numerous other versions available, spanning from 2.15.0 to 4.15.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Data Loss Prevention v2 API - Class DiscoveryGenerationCadence (4.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.18.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.17.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.16.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.15.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.14.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.13.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.12.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.11.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.10.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.9.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.8.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.7.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.6.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.5.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.4.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.3.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.2.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.1.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.0.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.5.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.4.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.3.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.2.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.16.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.15.0/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence) \n\n public sealed class DiscoveryGenerationCadence : IMessage\u003cDiscoveryGenerationCadence\u003e, IEquatable\u003cDiscoveryGenerationCadence\u003e, IDeepCloneable\u003cDiscoveryGenerationCadence\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryGenerationCadence.\n\nWhat must take place for a profile to be updated and how\nfrequently it should occur.\nNew tables are scanned as quickly as possible depending on system\ncapacity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiscoveryGenerationCadence \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoveryGenerationCadence](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveryGenerationCadence](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveryGenerationCadence](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryGenerationCadence), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dlp.V2](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dlp.V2.dll\n\nConstructors\n------------\n\n### DiscoveryGenerationCadence()\n\n public DiscoveryGenerationCadence()\n\n### DiscoveryGenerationCadence(DiscoveryGenerationCadence)\n\n public DiscoveryGenerationCadence(DiscoveryGenerationCadence other)\n\nProperties\n----------\n\n### InspectTemplateModifiedCadence\n\n public DiscoveryInspectTemplateModifiedCadence InspectTemplateModifiedCadence { get; set; }\n\nGoverns when to update data profiles when the inspection rules\ndefined by the `InspectTemplate` change.\nIf not set, changing the template will not cause a data profile to update.\n\n### RefreshFrequency\n\n public DataProfileUpdateFrequency RefreshFrequency { get; set; }\n\nFrequency at which profiles should be updated, regardless of whether the\nunderlying resource has changed. Defaults to never.\n\n### SchemaModifiedCadence\n\n public DiscoverySchemaModifiedCadence SchemaModifiedCadence { get; set; }\n\nGoverns when to update data profiles when a schema is modified.\n\n### TableModifiedCadence\n\n public DiscoveryTableModifiedCadence TableModifiedCadence { get; set; }\n\nGoverns when to update data profiles when a table is modified."]]