public sealed class PatchServiceAccountRequest : IMessage<PatchServiceAccountRequest>, IEquatable<PatchServiceAccountRequest>, IDeepCloneable<PatchServiceAccountRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class PatchServiceAccountRequest.
The service account patch request.
You can patch only the display_name and description fields. You must use
the update_mask field to specify which of these fields you want to patch.
Only the fields specified in the request are guaranteed to be returned in
the response. Other fields may be empty in the response.
[[["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 documentation is for version 2.2.0 of the \u003ccode\u003ePatchServiceAccountRequest\u003c/code\u003e class within the Google Cloud IAM Admin V1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePatchServiceAccountRequest\u003c/code\u003e allows updating a service account's \u003ccode\u003edisplay_name\u003c/code\u003e and \u003ccode\u003edescription\u003c/code\u003e, requiring the \u003ccode\u003eupdate_mask\u003c/code\u003e field to specify which to change.\u003c/p\u003e\n"],["\u003cp\u003eThe response to a patch request will only contain the fields requested and others may be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchServiceAccountRequest\u003c/code\u003e class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e and \u003ccode\u003eUpdateMask\u003c/code\u003e are the key properties to use when constructing a Patch Service Account Request, allowing users to specify which service account and field to patch.\u003c/p\u003e\n"]]],[],null,[]]