Optional. The maximum number of results to return from this request.
Non-positive values are ignored. If not specified, the server will
determine the number of results to return.
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token must be the value of
next_page_token from the previous response. The values of other method
parameters must be identical to those in the previous call.
[[["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 provides reference documentation for the \u003ccode\u003eListRecommendationsRequest\u003c/code\u003e class within the Google Cloud Recommender v1 API, used to request a list of recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eListRecommendationsRequest\u003c/code\u003e API is 3.7.0, with prior versions dating back to 2.5.0, each linked to its own documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListRecommendationsRequest\u003c/code\u003e implements interfaces such as \u003ccode\u003eIPageRequest\u003c/code\u003e, \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending functionality and integration with other systems.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eListRecommendationsRequest\u003c/code\u003e include \u003ccode\u003eFilter\u003c/code\u003e for refining results, \u003ccode\u003ePageSize\u003c/code\u003e and \u003ccode\u003ePageToken\u003c/code\u003e for managing pagination, and \u003ccode\u003eParent\u003c/code\u003e for specifying the target resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property accepts a variety of resource formats, including project, billing account, folder, and organization-level recommendations.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Recommender v1 API - Class ListRecommendationsRequest (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.6.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.5.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.4.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.3.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.2.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.1.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.0.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.8.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.7.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.6.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.5.0/Google.Cloud.Recommender.V1.ListRecommendationsRequest) \n\n public sealed class ListRecommendationsRequest : IPageRequest, IMessage\u003cListRecommendationsRequest\u003e, IEquatable\u003cListRecommendationsRequest\u003e, IDeepCloneable\u003cListRecommendationsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Recommender v1 API class ListRecommendationsRequest.\n\nRequest for the `ListRecommendations` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListRecommendationsRequest \n\nImplements\n----------\n\n[IPageRequest](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListRecommendationsRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ListRecommendationsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListRecommendationsRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ListRecommendationsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListRecommendationsRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ListRecommendationsRequest), [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) \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.Recommender.V1](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Recommender.V1.dll\n\nConstructors\n------------\n\n### ListRecommendationsRequest()\n\n public ListRecommendationsRequest()\n\n### ListRecommendationsRequest(ListRecommendationsRequest)\n\n public ListRecommendationsRequest(ListRecommendationsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nFilter expression to restrict the recommendations returned. Supported\nfilter fields:\n\n- `state_info.state`\n\n- `recommenderSubtype`\n\n- `priority`\n\n- `targetResources`\n\nExamples:\n\n- `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`\n\n- `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE`\n\n- `priority = P1 OR priority = P2`\n\n- `targetResources :\n //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`\n\n- `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`\n\nThe max allowed filter length is 500 characters.\n\n(These expressions are based on the filter language described at\n\u003chttps://google.aip.dev/160\u003e)\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. The maximum number of results to return from this request.\nNon-positive values are ignored. If not specified, the server will\ndetermine the number of results to return.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. If present, retrieves the next batch of results from the\npreceding call to this method. `page_token` must be the value of\n`next_page_token` from the previous response. The values of other method\nparameters must be identical to those in the previous call.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The container resource on which to execute the request.\nAcceptable formats:\n\n- `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`\n\n- `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`\n\n- `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`\n\n- `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`\n\n- `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`\n\nLOCATION here refers to GCP Locations:\n\u003chttps://cloud.google.com/about/locations/\u003e\nRECOMMENDER_ID refers to supported recommenders:\n\u003chttps://cloud.google.com/recommender/docs/recommenders\u003e.\n\n### ParentAsRecommenderName\n\n public RecommenderName ParentAsRecommenderName { get; set; }\n\n[RecommenderName](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.RecommenderName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ListRecommendationsRequest#Google_Cloud_Recommender_V1_ListRecommendationsRequest_Parent) resource name property."]]