public sealed class DataMaskingPolicy : IMessage<DataMaskingPolicy>, IEquatable<DataMaskingPolicy>, IDeepCloneable<DataMaskingPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Data Policy v1 API class DataMaskingPolicy.
The data masking policy that is used to specify data masking rule.
The name of the BigQuery routine that contains the custom masking
routine, in the format of
projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}.
[[["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 latest version of the \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class is 1.5.0, part of the Google.Cloud.BigQuery.DataPolicies.V1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataMaskingPolicy\u003c/code\u003e is a class used to define data masking rules, implementing interfaces like IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers the ability to utilize either a predefined masking expression or a custom masking routine specified by name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class is found in the \u003ccode\u003eGoogle.Cloud.BigQuery.DataPolicies.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.BigQuery.DataPolicies.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for the \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class; one is parameterless and the other allows for the creation of a new \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e based on an existing one.\u003c/p\u003e\n"]]],[],null,[]]