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.
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
the fields in the mask will be modified. If no mask is provided, the
following default mask is used:
[[["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-07 UTC."],[[["\u003cp\u003eThis document describes the \u003ccode\u003eSetIamPolicyRequest\u003c/code\u003e class, which is used to request the setting of an IAM policy.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this resource is 3.4.0, and several previous versions are available, including 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.4.0, 2.3.0, and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetIamPolicyRequest\u003c/code\u003e class implements multiple interfaces, such as \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 has properties for specifying the policy (\u003ccode\u003ePolicy\u003c/code\u003e), the resource it applies to (\u003ccode\u003eResource\u003c/code\u003e and \u003ccode\u003eResourceAsResourceName\u003c/code\u003e), and an optional update mask (\u003ccode\u003eUpdateMask\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instantiated using two constructors: a default constructor, or one taking another \u003ccode\u003eSetIamPolicyRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]