Reference documentation and code samples for the Google Cloud Dataform V1 Client class QueryRepositoryDirectoryContentsRequest.
QueryRepositoryDirectoryContents request message.
Generated from protobuf message google.cloud.dataform.v1.QueryRepositoryDirectoryContentsRequest
Namespace
Google \ Cloud \ Dataform \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The repository's name.
↳ commit_sha
string
Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
↳ path
string
Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
↳ page_size
int
Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
↳ page_token
string
Optional. Page token received from a previous QueryRepositoryDirectoryContents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to QueryRepositoryDirectoryContents, with the exception of page_size, must match the call that provided the page token.
getName
Required. The repository's name.
Returns
Type
Description
string
setName
Required. The repository's name.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCommitSha
Optional. The Commit SHA for the commit to query from. If unset, the
directory will be queried from HEAD.
Returns
Type
Description
string
setCommitSha
Optional. The Commit SHA for the commit to query from. If unset, the
directory will be queried from HEAD.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPath
Optional. The directory's full path including directory name, relative to
root. If left unset, the root is used.
Returns
Type
Description
string
setPath
Optional. The directory's full path including directory name, relative to
root. If left unset, the root is used.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. Maximum number of paths to return. The server may return fewer
items than requested. If unspecified, the server will pick an appropriate
default.
Returns
Type
Description
int
setPageSize
Optional. Maximum number of paths to return. The server may return fewer
items than requested. If unspecified, the server will pick an appropriate
default.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. Page token received from a previous
QueryRepositoryDirectoryContents call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
QueryRepositoryDirectoryContents, with the exception of page_size, must
match the call that provided the page token.
Returns
Type
Description
string
setPageToken
Optional. Page token received from a previous
QueryRepositoryDirectoryContents call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
QueryRepositoryDirectoryContents, 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Dataform V1 Client - Class QueryRepositoryDirectoryContentsRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1.QueryRepositoryDirectoryContentsRequest)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1.QueryRepositoryDirectoryContentsRequest) \nReference documentation and code samples for the Google Cloud Dataform V1 Client class QueryRepositoryDirectoryContentsRequest.\n\n`QueryRepositoryDirectoryContents` request message.\n\nGenerated from protobuf message `google.cloud.dataform.v1.QueryRepositoryDirectoryContentsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The repository's name.\n\n### setName\n\nRequired. The repository's name.\n\n### getCommitSha\n\nOptional. The Commit SHA for the commit to query from. If unset, the\ndirectory will be queried from HEAD.\n\n### setCommitSha\n\nOptional. The Commit SHA for the commit to query from. If unset, the\ndirectory will be queried from HEAD.\n\n### getPath\n\nOptional. The directory's full path including directory name, relative to\nroot. If left unset, the root is used.\n\n### setPath\n\nOptional. The directory's full path including directory name, relative to\nroot. If left unset, the root is used.\n\n### getPageSize\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### setPageSize\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### getPageToken\n\nOptional. Page token received from a previous\n`QueryRepositoryDirectoryContents` call. Provide this to retrieve the\nsubsequent page.\n\nWhen paginating, all other parameters provided to\n`QueryRepositoryDirectoryContents`, with the exception of `page_size`, must\nmatch the call that provided the page token.\n\n### setPageToken\n\nOptional. Page token received from a previous\n`QueryRepositoryDirectoryContents` call. Provide this to retrieve the\nsubsequent page.\n\nWhen paginating, all other parameters provided to\n`QueryRepositoryDirectoryContents`, with the exception of `page_size`, must\nmatch the call that provided the page token."]]