An expression for filtering the results of the request. Filter rules are
case insensitive. The fields eligible for filtering are:
name
owner
annotations
Examples of using a filter:
To filter the results of your request to files with the name my_file.txt
in project my-project in the us-central region, in repository
my-repo, append the following filter expression to your request:
To filter the results of your request to files with the annotation
key-value pair [external_link: external_link_value], append the
following filter expression to your request:
"annotations.external_link:external_link_value"
To filter just for a specific annotation key external_link, append the
following filter expression to your request:
"annotations.external_link"
If the annotation key or value contains special characters, you can escape
them by surrounding the value with backticks. For example, to filter the
results of your request to files with the annotation key-value pair
[external.link:https://example.com/my-file], append the following
filter expression to your request:
[[["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\u003eListFilesRequest\u003c/code\u003e class is used to request a list of files from the Artifact Registry v1 API, with the latest version being 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \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 for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties to manage the request 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, allowing for specific filtering and ordering of file results.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter the results by name, owner, or annotations, using wildcards and escaping special characters in the \u003ccode\u003eFilter\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe available documentation versions, displayed on the page, show a range of versions from 1.0.0 to the current latest version 2.9.0.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class ListFilesRequest (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest) \n\n public sealed class ListFilesRequest : IPageRequest, IMessage\u003cListFilesRequest\u003e, IEquatable\u003cListFilesRequest\u003e, IDeepCloneable\u003cListFilesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class ListFilesRequest.\n\nThe request to list files. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListFilesRequest \n\nImplements\n----------\n\n[IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListFilesRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListFilesRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListFilesRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest), [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.ArtifactRegistry.V1](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1.dll\n\nConstructors\n------------\n\n### ListFilesRequest()\n\n public ListFilesRequest()\n\n### ListFilesRequest(ListFilesRequest)\n\n public ListFilesRequest(ListFilesRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nAn expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n- `name`\n- `owner`\n- `annotations`\n\nExamples of using a filter:\n\nTo filter the results of your request to files with the name `my_file.txt`\nin project `my-project` in the `us-central` region, in repository\n`my-repo`, append the following filter expression to your request:\n\n- `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt\"`\n\n You can also use wildcards to match any number of characters before or\n after the value:\n- `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-*\"`\n\n- `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt\"`\n- `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file*\"`\n\n To filter the results of your request to files owned by the version `1.0`\n in package `pkg1`, append the following filter expression to your request:\n- `owner=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0\"`\n\n To filter the results of your request to files with the annotation\n key-value pair \\[`external_link`: `external_link_value`\\], append the\n following filter expression to your request:\n- `\"annotations.external_link:external_link_value\"`\n\n To filter just for a specific annotation key `external_link`, append the\n following filter expression to your request:\n- `\"annotations.external_link\"`\n\n If the annotation key or value contains special characters, you can escape\n them by surrounding the value with backticks. For example, to filter the\n results of your request to files with the annotation key-value pair\n \\[`external.link`:`https://example.com/my-file`\\], append the following\n filter expression to your request:\n- ``\"annotations.`external.link`:`https://example.com/my-file`\"``\n\n You can also filter with annotations with a wildcard to\n match any number of characters before or after the value:\n- ``\"annotations.*_link:`*example.com*`\"``\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nThe field to order the results by.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nThe maximum number of files to return. Maximum page size is 1,000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nThe next_page_token value returned from a previous list request, if any.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The name of the repository whose files will be listed. For\nexample: \"projects/p1/locations/us-central1/repositories/repo1\n\n### ParentAsRepositoryName\n\n public RepositoryName ParentAsRepositoryName { get; set; }\n\n[RepositoryName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RepositoryName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ListFilesRequest#Google_Cloud_ArtifactRegistry_V1_ListFilesRequest_Parent) resource name property."]]