Optional. The maximum number of targets to return. The service may return
fewer than this value. If unspecified, at most 500 targets will be
returned. The maximum value is 1000; values above 1000 will be coerced to
1000.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eListTargetProjectsRequest\u003c/code\u003e class for the VM Migration v1 API is 2.6.0, and older versions are available, ranging from 2.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListTargetProjectsRequest\u003c/code\u003e is a request message used to list target projects and implements interfaces for message handling, equality, deep cloning, buffering, and paging.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for filtering, ordering, setting page size, and using page tokens to manage large result sets, as well as retrieving data from a specified parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListTargetProjectsRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eFilter\u003c/code\u003e, \u003ccode\u003eOrderBy\u003c/code\u003e, \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which can be set to customize and control the list request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListTargetProjectsRequest\u003c/code\u003e class has two constructors, a parameterless constructor, and one that receives another \u003ccode\u003eListTargetProjectsRequest\u003c/code\u003e as a parameter for creating a new object from an existing one.\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class ListTargetProjectsRequest (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest) \n\n public sealed class ListTargetProjectsRequest : IMessage\u003cListTargetProjectsRequest\u003e, IEquatable\u003cListTargetProjectsRequest\u003e, IDeepCloneable\u003cListTargetProjectsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the VM Migration v1 API class ListTargetProjectsRequest.\n\nRequest message for 'ListTargetProjects' call. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListTargetProjectsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListTargetProjectsRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListTargetProjectsRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListTargetProjectsRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest), [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.VMMigration.V1](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VMMigration.V1.dll\n\nConstructors\n------------\n\n### ListTargetProjectsRequest()\n\n public ListTargetProjectsRequest()\n\n### ListTargetProjectsRequest(ListTargetProjectsRequest)\n\n public ListTargetProjectsRequest(ListTargetProjectsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. The filter request.\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nOptional. the order by fields for the result.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. The maximum number of targets to return. The service may return\nfewer than this value. If unspecified, at most 500 targets will be\nreturned. The maximum value is 1000; values above 1000 will be coerced to\n1000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nRequired. A page token, received from a previous `ListTargets` call.\nProvide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to `ListTargets` must\nmatch the call that provided the page token.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent, which owns this collection of targets.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest#Google_Cloud_VMMigration_V1_ListTargetProjectsRequest_Parent) resource name property."]]