public sealed class GlobalSetPolicyRequest : IMessage<GlobalSetPolicyRequest>, IEquatable<GlobalSetPolicyRequest>, IDeepCloneable<GlobalSetPolicyRequest>, IBufferMessage, IMessage
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGlobalSetPolicyRequest\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is used to set policies and is implemented with the interfaces \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\u003eVersion 3.6.0 is the most current version, with a list of previous versions of \u003ccode\u003eGlobalSetPolicyRequest\u003c/code\u003e being readily available.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods to set \u003ccode\u003eBindings\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, and \u003ccode\u003ePolicy\u003c/code\u003e, with the latter being the complete policy applied to a resource.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has constructors to create new instances, with one constructor accepting another \u003ccode\u003eGlobalSetPolicyRequest\u003c/code\u003e instance as a parameter for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe etag property, deprecated in the newer format, is still present to ensure backward compatibility.\u003c/p\u003e\n"]]],[],null,[]]