[[["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 page provides reference documentation for the \u003ccode\u003eQueryGrantableRolesResponse\u003c/code\u003e class within the Identity and Access Management (IAM) v1 API, used for querying roles.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryGrantableRolesResponse\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIPageResponse\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class is located within the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1.dll\u003c/code\u003e assembly, with the latest version being 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQueryGrantableRolesResponse\u003c/code\u003e has properties like \u003ccode\u003eNextPageToken\u003c/code\u003e to retrieve the next page and \u003ccode\u003eRoles\u003c/code\u003e to list the matching roles, as well as constructors and methods such as \u003ccode\u003eGetEnumerator()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes previous versions of the \u003ccode\u003eQueryGrantableRolesResponse\u003c/code\u003e ranging from version 1.0.0 to 2.3.0, and the most recent being 2.4.0.\u003c/p\u003e\n"]]],[],null,["# Identity and Access Management (IAM) v1 API - Class QueryGrantableRolesResponse (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.QueryGrantableRolesResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.3.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.2.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.1.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/2.0.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.2.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.1.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/1.0.0/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse) \n\n public sealed class QueryGrantableRolesResponse : IMessage\u003cQueryGrantableRolesResponse\u003e, IEquatable\u003cQueryGrantableRolesResponse\u003e, IDeepCloneable\u003cQueryGrantableRolesResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cRole\u003e, IEnumerable\u003cRole\u003e, IEnumerable\n\nReference documentation and code samples for the Identity and Access Management (IAM) v1 API class QueryGrantableRolesResponse.\n\nThe grantable role query response. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e QueryGrantableRolesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QueryGrantableRolesResponse](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QueryGrantableRolesResponse](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QueryGrantableRolesResponse](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.QueryGrantableRolesResponse), [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), [IPageResponse](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs)[Role](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.Role), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Role](/dotnet/docs/reference/Google.Cloud.Iam.Admin.V1/latest/Google.Cloud.Iam.Admin.V1.Role), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) \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### QueryGrantableRolesResponse()\n\n public QueryGrantableRolesResponse()\n\n### QueryGrantableRolesResponse(QueryGrantableRolesResponse)\n\n public QueryGrantableRolesResponse(QueryGrantableRolesResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nTo retrieve the next page of results, set\n`QueryGrantableRolesRequest.page_token` to this value.\n\n### Roles\n\n public RepeatedField\u003cRole\u003e Roles { get; }\n\nThe list of matching roles.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cRole\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]