public sealed class CreateDataPolicyRequest : IMessage<CreateDataPolicyRequest>, IEquatable<CreateDataPolicyRequest>, IDeepCloneable<CreateDataPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Data Policy v1 API class CreateDataPolicyRequest.
[[["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\u003eCreateDataPolicyRequest\u003c/code\u003e class within the Google Cloud BigQuery Data Policies v1 API, specifically for version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateDataPolicyRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eCreateDataPolicy\u003c/code\u003e method, designed to create a new data policy, as well as being a class that implements multiple interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that copies another object, as well as a requirement for \u003ccode\u003eDataPolicy\u003c/code\u003e and \u003ccode\u003eParent\u003c/code\u003e properties to create a policy.\u003c/p\u003e\n"],["\u003cp\u003eThe provided class inherits from the object class and provides inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, and also includes properties for setting the data policy and parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property is required, and expects a resource name in the format of \u003ccode\u003eprojects/{project_number}/locations/{location_id}\u003c/code\u003e, while the corresponding \u003ccode\u003eParentAsLocationName\u003c/code\u003e property provides a typed view over it.\u003c/p\u003e\n"]]],[],null,[]]