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 webpage details the \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class, which is a message type used to create OS policy assignments within the Google Cloud OS Config API, specifically within version 2.0.0 of the .NET library.\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, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eOsPolicyAssignment\u003c/code\u003e, \u003ccode\u003eOsPolicyAssignmentId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which are used to specify the OS policy assignment, its ID, and its parent resource location, respectively, and it has 2 constructors for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOsPolicyAssignmentId\u003c/code\u003e must adhere to specific formatting rules, including lowercase letters, numbers, hyphens, a letter at the start, and either a letter or a number at the end, while being between 1-63 characters and unique within the project.\u003c/p\u003e\n"],["\u003cp\u003eMultiple older versions of this class are available to review, from 2.4.0 down to 1.3.0, with the 2.4.0 version being the most current.\u003c/p\u003e\n"]]],[],null,[]]