Optional. Lists the resource drifts that match the filter expression. A
filter expression filters the resource drifts 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/previews/dep/resourceDrifts/baz
Optional. When requesting a page of resource drifts, 'page_size' specifies
number of resource drifts to return. If unspecified, at most 500 will be
returned. The maximum value is 1000.
Optional. Token returned by previous call to 'ListResourceDrifts' which
specifies the position in the list from where to continue listing the
resource drifts.
Required. The parent in whose context the ResourceDrifts are listed. The
parent value is in the format:
'projects/{project_id}/locations/{location}/previews/{preview}'.
[[["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."],[],[],null,["# Infrastructure Manager v1 API - Class ListResourceDriftsRequest (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.ListResourceDriftsRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.7.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.6.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.5.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.4.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.3.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.2.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.1.0/Google.Cloud.Config.V1.ListResourceDriftsRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.0.0/Google.Cloud.Config.V1.ListResourceDriftsRequest) \n\n public sealed class ListResourceDriftsRequest : IMessage\u003cListResourceDriftsRequest\u003e, IEquatable\u003cListResourceDriftsRequest\u003e, IDeepCloneable\u003cListResourceDriftsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Infrastructure Manager v1 API class ListResourceDriftsRequest.\n\nThe request message for the ListResourceDrifts method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListResourceDriftsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListResourceDriftsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListResourceDriftsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListResourceDriftsRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest), [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### ListResourceDriftsRequest()\n\n public ListResourceDriftsRequest()\n\n### ListResourceDriftsRequest(ListResourceDriftsRequest)\n\n public ListResourceDriftsRequest(ListResourceDriftsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. Lists the resource drifts that match the filter expression. A\nfilter expression filters the resource drifts listed in the response. The\nexpression must be of the form '{field} {operator} {value}' where\noperators: '\\\u003c', '\\\u003e',\n'\\\u003c=',\n'\\\u003e=',\n'!=', '=', ':' are supported (colon ':' represents a HAS operator which is\nroughly synonymous with equality). {field} can refer to a proto or JSON\nfield, or a synthetic field. Field names can be camelCase or snake_case.\n\nExamples:\n\n- Filter by name: name = \"projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nOptional. Field to use to sort the list.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. When requesting a page of resource drifts, 'page_size' specifies\nnumber of resource drifts to return. If unspecified, at most 500 will be\nreturned. The maximum value is 1000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. Token returned by previous call to 'ListResourceDrifts' which\nspecifies the position in the list from where to continue listing the\nresource drifts.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent in whose context the ResourceDrifts are listed. The\nparent value is in the format:\n'projects/{project_id}/locations/{location}/previews/{preview}'.\n\n### ParentAsPreviewName\n\n public PreviewName ParentAsPreviewName { get; set; }\n\n[PreviewName](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest#Google_Cloud_Config_V1_ListResourceDriftsRequest_Parent) resource name property."]]