public sealed class CreateOSPolicyAssignmentRequest : IMessage<CreateOSPolicyAssignmentRequest>, IEquatable<CreateOSPolicyAssignmentRequest>, IDeepCloneable<CreateOSPolicyAssignmentRequest>, IBufferMessage, IMessage
A request message to create an OS policy assignment
[[["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-12 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class is used to create a request for an OS policy assignment in Google Cloud OS Config.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.OsConfig.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.OsConfig.V1.dll\u003c/code\u003e assembly, and the latest version of this class is 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires an \u003ccode\u003eOSPolicyAssignment\u003c/code\u003e object, a unique \u003ccode\u003eOsPolicyAssignmentId\u003c/code\u003e, and a \u003ccode\u003eParent\u003c/code\u003e resource name which determines the scope and location of the assignment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing methods for object manipulation, comparison, cloning, and serialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOsPolicyAssignmentId\u003c/code\u003e must follow specific naming conventions, such as starting with a letter, using only lowercase letters, numbers, and hyphens, and being unique within the project.\u003c/p\u003e\n"]]],[],null,[]]