Optional limit on the number of service accounts to include in the
response. Further accounts can subsequently be obtained by including the
[ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]
in a subsequent request.
Optional pagination token returned in an earlier
[ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token].
[[["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\u003eThe \u003ccode\u003eListServiceAccountsRequest\u003c/code\u003e class is used to request a list of service accounts in the Identity and Access Management (IAM) v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions available for this request, with 2.4.0 being the latest, along with previous versions available from 2.3.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListServiceAccountsRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e, allowing for cloning, equality comparisons, and message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the request include \u003ccode\u003eName\u003c/code\u003e for specifying the project, \u003ccode\u003ePageSize\u003c/code\u003e for controlling the number of accounts returned, and \u003ccode\u003ePageToken\u003c/code\u003e for pagination.\u003c/p\u003e\n"]]],[],null,["# Identity and Access Management (IAM) v1 API - Class ListServiceAccountsRequest (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.3.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.2.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.1.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.0.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.2.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.1.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.0.0/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest) \n\n public sealed class ListServiceAccountsRequest : IMessage\u003cListServiceAccountsRequest\u003e, IEquatable\u003cListServiceAccountsRequest\u003e, IDeepCloneable\u003cListServiceAccountsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Identity and Access Management (IAM) v1 API class ListServiceAccountsRequest.\n\nThe service account list request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListServiceAccountsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListServiceAccountsRequest](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListServiceAccountsRequest](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListServiceAccountsRequest](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageRequest](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iam.Admin.V1](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iam.Admin.V1.dll\n\nConstructors\n------------\n\n### ListServiceAccountsRequest()\n\n public ListServiceAccountsRequest()\n\n### ListServiceAccountsRequest(ListServiceAccountsRequest)\n\n public ListServiceAccountsRequest(ListServiceAccountsRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequently be obtained by including the\n\\[ListServiceAccountsResponse.next_page_token\\]\\[google.iam.admin.v1.ListServiceAccountsResponse.next_page_token\\]\nin a subsequent request.\n\nThe default is 20, and the maximum is 100.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional pagination token returned in an earlier\n\\[ListServiceAccountsResponse.next_page_token\\]\\[google.iam.admin.v1.ListServiceAccountsResponse.next_page_token\\].\n\n### ProjectName\n\n public ProjectName ProjectName { get; set; }\n\n[ProjectName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/ProjectName.cs)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.ListServiceAccountsRequest#Google_Cloud_Iam_Admin_V1_ListServiceAccountsRequest_Name) resource name property."]]