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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `CreateOSPolicyAssignmentRequest` class within the `Google.Cloud.OsConfig.V1` namespace, specifically version 1.8.0, and references to more recent and earlier versions."],["The `CreateOSPolicyAssignmentRequest` class is used to create an OS policy assignment, and it inherits from `Object` while implementing `IMessage\u003cCreateOSPolicyAssignmentRequest\u003e`, `IEquatable\u003cCreateOSPolicyAssignmentRequest\u003e`, `IDeepCloneable\u003cCreateOSPolicyAssignmentRequest\u003e`, and `IBufferMessage` interfaces."],["The class includes constructors for creating instances, both with default values and by copying from another `CreateOSPolicyAssignmentRequest` object."],["It has properties such as `OsPolicyAssignment` (the assignment to create), `OsPolicyAssignmentId` (the logical name of the assignment), `Parent` (the parent resource name), and `ParentAsLocationName` (a location name view over parent)."],["The class requires the user to adhere to specific guidelines and naming conventions, such as the OS policy assignment id needing to be between 1-63 characters, starting with a letter, containing only lowercase letters, numbers and hyphens, and being unique within the project."]]],[]]