Google Cloud Dataform V1beta1 Client - Class PullGitCommitsRequest (0.2.3)

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

PullGitCommits request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The workspace's name.

↳ remote_branch string

Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.

↳ author Google\Cloud\Dataform\V1beta1\CommitAuthor

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

getName

Required. The workspace's name.

Returns
TypeDescription
string

setName

Required. The workspace's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRemoteBranch

Optional. The name of the branch in the Git remote from which to pull commits.

If left unset, the repository's default branch name will be used.

Returns
TypeDescription
string

setRemoteBranch

Optional. The name of the branch in the Git remote from which to pull commits.

If left unset, the repository's default branch name will be used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAuthor

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CommitAuthor|null

hasAuthor

clearAuthor

setAuthor

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\CommitAuthor
Returns
TypeDescription
$this