public sealed class SetIamPolicyRequest : IMessage<SetIamPolicyRequest>, IEquatable<SetIamPolicyRequest>, IDeepCloneable<SetIamPolicyRequest>, 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 a
valid policy but certain Cloud Platform services (such as Projects)
might reject them.
[[["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-04-17 UTC."],[[["The `SetIamPolicyRequest` class is a request message for the `SetIamPolicy` method, serving as the primary means to set policies."],["It inherits from `Object` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `SetIamPolicyRequest` class has two constructors: a default one and another that takes a `SetIamPolicyRequest` object as a parameter for initialization."],["The class includes properties like `Policy` (the policy to be applied), `Resource` (the target resource), and `ResourceAsResourceName` (an `IResourceName`-typed view of the resource)."],["The `Policy` property must contain a complete policy, that is limited in size, for the `resource` to be applied."]]],[]]