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\u003eThis document outlines the \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class, which is used to send a request to create an OS policy assignment.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.OsConfig.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.OsConfig.V1.dll\u003c/code\u003e assembly and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this documentation available, with the latest version being 2.4.0, and this document is describing version 1.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class requires setting properties like \u003ccode\u003eOsPolicyAssignment\u003c/code\u003e which is the actual OS policy to create, \u003ccode\u003eOsPolicyAssignmentId\u003c/code\u003e for the logical name, and \u003ccode\u003eParent\u003c/code\u003e for the resource location, each with specific constraints and requirements.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class also has \u003ccode\u003eParentAsLocationName\u003c/code\u003e which is a property of type \u003ccode\u003eLocationName\u003c/code\u003e that offers a typed view of the \u003ccode\u003eParent\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]