Google Cloud Dataform V1beta1 Client - Class QueryRepositoryDirectoryContentsRequest (0.3.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The repository's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCommitSha

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

Returns
TypeDescription
string

setCommitSha

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPath

Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.

Returns
TypeDescription
string

setPath

Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this