Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.
Required. The parent (project and location) where the Memberships will be
listed. Specified in the format projects/*/locations/*.
projects/*/locations/- list memberships in all the regions.
[[["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\u003eListMembershipsRequest\u003c/code\u003e class is a request message for the \u003ccode\u003eGkeHubMembershipService.ListMemberships\u003c/code\u003e method within the GKE Hub v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports listing memberships and includes properties like \u003ccode\u003eFilter\u003c/code\u003e, \u003ccode\u003eOrderBy\u003c/code\u003e, \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e for specifying the criteria for the list.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \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.\u003c/p\u003e\n"],["\u003cp\u003eIt has constructors for creating a new instance or cloning an existing one, and allows setting filters, ordering, pagination, and parent resource location for the membership list request.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a \u003ccode\u003eParentAsLocationName\u003c/code\u003e property that allows for a typed view of the parent location.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class ListMembershipsRequest (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest) \n\n public sealed class ListMembershipsRequest : IPageRequest, IMessage\u003cListMembershipsRequest\u003e, IEquatable\u003cListMembershipsRequest\u003e, IDeepCloneable\u003cListMembershipsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class ListMembershipsRequest.\n\nRequest message for `GkeHubMembershipService.ListMemberships` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListMembershipsRequest \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)[ListMembershipsRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListMembershipsRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListMembershipsRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest), [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.GkeHub.V1Beta1](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1Beta1.dll\n\nConstructors\n------------\n\n### ListMembershipsRequest()\n\n public ListMembershipsRequest()\n\n### ListMembershipsRequest(ListMembershipsRequest)\n\n public ListMembershipsRequest(ListMembershipsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. Lists Memberships that match the filter expression, following the\nsyntax outlined in \u003chttps://google.aip.dev/160\u003e.\n\nExamples:\n\n- Name is `bar` in project `foo-proj` and location `global`:\n\n name = \"projects/foo-proj/locations/global/membership/bar\"\n- Memberships that have a label called `foo`:\n\n labels.foo:\\*\n- Memberships that have a label called `foo` whose value is `bar`:\n\n labels.foo = bar\n- Memberships in the CREATING state:\n\n state = CREATING\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nOptional. One or more fields to compare and use to sort the output.\nSee \u003chttps://google.aip.dev/132#ordering\u003e.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. When requesting a 'page' of resources, `page_size` specifies\nnumber of resources to return. If unspecified or set to 0, all resources\nwill be returned.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. Token returned by previous call to `ListMemberships` which\nspecifies the position in the list from where to continue listing the\nresources.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent (project and location) where the Memberships will be\nlisted. Specified in the format `projects/*/locations/*`.\n`projects/*/locations/-` list memberships in all the regions.\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.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ListMembershipsRequest#Google_Cloud_GkeHub_V1Beta1_ListMembershipsRequest_Parent) resource name property."]]