Lists the Deployments that match the filter expression. A filter
expression filters the resources listed in the response. The expression
must be of the form '{field} {operator} {value}' where operators: '<', '>',
'<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
operator which is roughly synonymous with equality). {field} can refer to a
proto or JSON field, or a synthetic field. Field names can be camelCase or
snake_case.
Examples:
Filter by name:
name = "projects/foo/locations/us-central1/deployments/bar
Filter by labels:
Resources that have a key called 'foo'
labels.foo:*
Resources that have a key called 'foo' whose value is 'bar'
labels.foo = bar
When requesting a page of resources, 'page_size' specifies number of
resources to return. If unspecified, at most 500 will be returned. The
maximum value is 1000.
[[["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\u003eListDeploymentsRequest\u003c/code\u003e class is used to request a list of deployments, supporting filtering, sorting, and pagination.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, \u003ccode\u003eIMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e, enabling diverse operations.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter deployments by fields like name, labels, and state using the \u003ccode\u003eFilter\u003c/code\u003e property and also use \u003ccode\u003eOrderBy\u003c/code\u003e property to sort the deployments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePageSize\u003c/code\u003e and \u003ccode\u003ePageToken\u003c/code\u003e properties allow for control over the number of resources returned and the continuation point in a list, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property specifies the context (project and location) for retrieving deployments, and is also accessible as a \u003ccode\u003eLocationName\u003c/code\u003e-typed view via \u003ccode\u003eParentAsLocationName\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Infrastructure Manager v1 API - Class ListDeploymentsRequest (1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.7.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.6.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.5.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.4.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.3.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.2.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.1.0/Google.Cloud.Config.V1.ListDeploymentsRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.0.0/Google.Cloud.Config.V1.ListDeploymentsRequest) \n\n public sealed class ListDeploymentsRequest : IMessage\u003cListDeploymentsRequest\u003e, IEquatable\u003cListDeploymentsRequest\u003e, IDeepCloneable\u003cListDeploymentsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListDeploymentsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListDeploymentsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListDeploymentsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListDeploymentsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest), [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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.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.Config.V1](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Config.V1.dll\n\nConstructors\n------------\n\n### ListDeploymentsRequest()\n\n public ListDeploymentsRequest()\n\n### ListDeploymentsRequest(ListDeploymentsRequest)\n\n public ListDeploymentsRequest(ListDeploymentsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nLists the Deployments that match the filter expression. A filter\nexpression filters the resources listed in the response. The expression\nmust be of the form '{field} {operator} {value}' where operators: '\\\u003c', '\\\u003e',\n'\\\u003c=', '\\\u003e=', '!=', '=', ':' are supported (colon ':' represents a HAS\noperator which is roughly synonymous with equality). {field} can refer to a\nproto or JSON field, or a synthetic field. Field names can be camelCase or\nsnake_case.\n\nExamples:\n\n- Filter by name:\n name = \"projects/foo/locations/us-central1/deployments/bar\n\n- Filter by labels:\n\n - Resources that have a key called 'foo' labels.foo:\\*\n - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar\n- Filter by state:\n\n - Deployments in CREATING state. state=CREATING\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nField to use to sort the list.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nWhen requesting a page of resources, 'page_size' specifies number of\nresources to return. If unspecified, at most 500 will be returned. The\nmaximum value is 1000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nToken returned by previous call to 'ListDeployments' which specifies the\nposition in the list from where to continue listing the resources.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent in whose context the Deployments are listed. The\nparent value is in the format:\n'projects/{project_id}/locations/{location}'.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest#Google_Cloud_Config_V1_ListDeploymentsRequest_Parent) resource name property."]]