Google Cloud Dataform V1beta1 Client - Class QueryRepositoryDirectoryContentsRequest (0.4.5)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class QueryRepositoryDirectoryContentsRequest.

QueryRepositoryDirectoryContents request message.

Generated from protobuf message google.cloud.dataform.v1beta1.QueryRepositoryDirectoryContentsRequest

Namespace

Google \ Cloud \ Dataform \ V1beta1

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 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 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 must match the call that provided the page token.

Parameter
Name Description
var string
Returns
Type Description
$this