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\u003eThis document provides reference documentation for the \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class within the BigQuery Data Policy v1 API, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class is designed to define rules for masking data and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and contains properties to manage predefined expressions (\u003ccode\u003ePredefinedExpression\u003c/code\u003e) or a custom masking routine (\u003ccode\u003eRoutine\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided to create new instances of the \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e class, including one that clones from an existing \u003ccode\u003eDataMaskingPolicy\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions of this class available, including the latest version \u003ccode\u003e1.5.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]