Optional. Maximum number of paths to return. The server may return fewer
items than requested. If unspecified, the server will pick an appropriate
default.
Optional. Page token received from a previous QueryDirectoryContents
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
QueryDirectoryContents, with the exception of page_size, must match the
call that provided the page token.
[[["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\u003eThis documentation is for the \u003ccode\u003eQueryDirectoryContentsRequest\u003c/code\u003e class within the Dataform v1beta1 API, specifically version 1.0.0-beta08 (latest).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryDirectoryContentsRequest\u003c/code\u003e class is used to request the contents of a directory and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor and properties such as \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, \u003ccode\u003eWorkspace\u003c/code\u003e, and \u003ccode\u003eWorkspaceAsWorkspaceName\u003c/code\u003e, which are used to define the parameters for the query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkspace\u003c/code\u003e property is required, while \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, and \u003ccode\u003ePath\u003c/code\u003e are optional and let you refine the directory contents query, with \u003ccode\u003eWorkspaceAsWorkspaceName\u003c/code\u003e providing a typed view of the Workspace.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members such as GetHashCode(), GetType() and ToString() from the base object.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class QueryDirectoryContentsRequest (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest) \n\n public sealed class QueryDirectoryContentsRequest : IMessage\u003cQueryDirectoryContentsRequest\u003e, IEquatable\u003cQueryDirectoryContentsRequest\u003e, IDeepCloneable\u003cQueryDirectoryContentsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Dataform v1beta1 API class QueryDirectoryContentsRequest.\n\n`QueryDirectoryContents` request message. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e QueryDirectoryContentsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QueryDirectoryContentsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QueryDirectoryContentsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QueryDirectoryContentsRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest), [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.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### QueryDirectoryContentsRequest()\n\n public QueryDirectoryContentsRequest()\n\n### QueryDirectoryContentsRequest(QueryDirectoryContentsRequest)\n\n public QueryDirectoryContentsRequest(QueryDirectoryContentsRequest other)\n\nProperties\n----------\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. Maximum number of paths to return. The server may return fewer\nitems than requested. If unspecified, the server will pick an appropriate\ndefault.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. Page token received from a previous `QueryDirectoryContents`\ncall. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to\n`QueryDirectoryContents`, with the exception of `page_size`, must match the\ncall that provided the page token.\n\n### Path\n\n public string Path { get; set; }\n\nOptional. The directory's full path including directory name, relative to\nthe workspace root. If left unset, the workspace root is used.\n\n### Workspace\n\n public string Workspace { get; set; }\n\nRequired. The workspace's name.\n\n### WorkspaceAsWorkspaceName\n\n public WorkspaceName WorkspaceAsWorkspaceName { get; set; }\n\n[WorkspaceName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkspaceName)-typed view over the [Workspace](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.QueryDirectoryContentsRequest#Google_Cloud_Dataform_V1Beta1_QueryDirectoryContentsRequest_Workspace) resource name property."]]