public sealed class CreateOSPolicyAssignmentRequest : IMessage<CreateOSPolicyAssignmentRequest>, IEquatable<CreateOSPolicyAssignmentRequest>, IDeepCloneable<CreateOSPolicyAssignmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class CreateOSPolicyAssignmentRequest.
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 provides reference documentation for the \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class within the Google Cloud OS Config v1 API, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateOSPolicyAssignmentRequest\u003c/code\u003e class is used to create an OS policy assignment and it 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\u003eThe class contains 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 required fields to define the details of the OS policy assignment and its location.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.4.0, with several other previous versions listed from 2.3.0 down to 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.OsConfig.V1\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.OsConfig.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]